/*
Theme Name: MJ Kota Joint
Theme URI: https://ketnalcreations.co.za/
Author: Ketnal Creations
Author URI: https://ketnalcreations.co.za/
Description: A bold, single-screen landing page theme for MJ Kota Joint — full-bleed kota photography behind a clean white contact card. Built for a fast, mobile-first "find us and call us" experience.
Version: 1.2.0
Requires at least: 5.5
Tested up to: 6.6
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mj-kota-joint
Tags: one-column, custom-logo, custom-colors, full-width-template, restaurant, landing-page
*/

/* ==========================================================================
   MJ Kota Joint — landing page styles
   ========================================================================== */

:root{
  --mj-ink:#0d0d0d;
  --mj-ink-soft:#5a5550;
  --mj-line:#eae5df;
  --mj-accent:#c8461d;
  --mj-accent-dark:#a5360f;
  --mj-card:#ffffff;
  --mj-radius:28px;
  --mj-shadow:0 34px 90px -22px rgba(40,22,10,.52), 0 10px 28px -12px rgba(40,22,10,.30), 0 0 0 1px rgba(255,255,255,.65);
}

*,*::before,*::after{box-sizing:border-box;}

html{ -webkit-text-size-adjust:100%; }

body{
  margin:0;
  min-height:100vh;
  font-family:"Helvetica Neue",Helvetica,Arial,"Segoe UI",sans-serif;
  color:var(--mj-ink);
  line-height:1.5;
  background-color:#241710;
  -webkit-font-smoothing:antialiased;
}

/* --- Background layers ---------------------------------------------------- */

.mj-bg{
  position:fixed;
  inset:0;
  z-index:0;
  background-image:var(--mj-bg-image);
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
}

/* Light white wash. Two layers: a soft halo that lifts the card off the photo,
   and a gentle overall veil so the kota stays clearly visible right to the edges. */
.mj-bg::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(62% 58% at 50% 50%, rgba(255,255,255,.62) 0%, rgba(255,255,255,.46) 45%, rgba(255,255,255,.20) 75%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(255,255,255,.34) 0%, rgba(255,255,255,.16) 45%, rgba(255,255,255,.20) 72%, rgba(255,255,255,.36) 100%);
}

/* --- Layout --------------------------------------------------------------- */

.mj-stage{
  position:relative;
  z-index:1;
  min-height:100vh;
  min-height:100svh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 20px;
}

.mj-card{
  width:100%;
  max-width:620px;
  background:var(--mj-card);
  border-radius:var(--mj-radius);
  box-shadow:var(--mj-shadow);
  padding:52px 46px 34px;
  text-align:center;
  animation:mj-rise .7s cubic-bezier(.22,1,.36,1) both;
}

@keyframes mj-rise{
  from{opacity:0;transform:translateY(22px) scale(.985);}
  to{opacity:1;transform:none;}
}

/* --- Logo ----------------------------------------------------------------- */

.mj-logo{
  display:block;
  width:260px;
  max-width:74%;
  height:auto;
  margin:0 auto 6px;
}

.mj-logo-text{
  margin:0 0 4px;
  font-size:clamp(38px,9vw,58px);
  font-weight:800;
  letter-spacing:-.02em;
  line-height:1;
}

/* --- Tagline -------------------------------------------------------------- */

.mj-tagline{
  margin:14px 0 0;
  font-size:13px;
  font-weight:700;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:var(--mj-ink-soft);
}

.mj-rule{
  display:flex;
  gap:7px;
  justify-content:center;
  align-items:center;
  margin:22px 0 28px;
}
.mj-rule span{
  display:block;
  height:4px;
  width:26px;
  border-radius:4px;
  background:#f0d9cf;
}
.mj-rule span:nth-child(3){
  width:44px;
  background:var(--mj-accent);
}

/* --- Info rows ------------------------------------------------------------ */

.mj-info{
  display:grid;
  gap:22px;
  text-align:left;
  margin-bottom:30px;
}

@media (min-width:520px){
  .mj-info{grid-template-columns:1fr 1fr;gap:24px 20px;}
  .mj-info-item--wide{grid-column:1 / -1;}
}

.mj-info-item{
  display:flex;
  gap:14px;
  align-items:flex-start;
}

.mj-icon{
  flex:0 0 auto;
  width:38px;
  height:38px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fdf0eb;
  color:var(--mj-accent);
}
.mj-icon svg{width:18px;height:18px;display:block;}

.mj-info-label{
  margin:0 0 3px;
  font-size:10px;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#98918a;
}

.mj-info-value{
  margin:0;
  font-size:15px;
  font-weight:600;
  color:var(--mj-ink);
}

.mj-info-value a{
  color:inherit;
  text-decoration:none;
  border-bottom:1px solid rgba(200,70,29,.35);
  padding-bottom:1px;
  transition:border-color .18s ease,color .18s ease;
}
.mj-info-value a:hover,
.mj-info-value a:focus-visible{
  color:var(--mj-accent);
  border-bottom-color:var(--mj-accent);
}

.mj-phones,
.mj-emails{list-style:none;margin:0;padding:0;display:grid;gap:2px;}

/* Addresses are long and must not push the card wider on small screens */
.mj-emails .mj-info-value{
  font-size:14px;
  word-break:break-word;
  overflow-wrap:anywhere;
}

/* The email row spans the full card, so sit the addresses side by side.
   auto columns keep them as a tight pair rather than stretching to half-widths. */
@media (min-width:520px){
  .mj-emails{grid-template-columns:auto auto;justify-content:start;gap:4px 30px;}
}

/* --- Buttons -------------------------------------------------------------- */

.mj-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:center;
  margin-bottom:30px;
}

.mj-btn{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:15px 26px;
  border-radius:999px;
  font-size:13px;
  font-weight:700;
  letter-spacing:.09em;
  text-transform:uppercase;
  text-decoration:none;
  border:1.5px solid transparent;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.mj-btn svg{width:16px;height:16px;flex:0 0 auto;}

.mj-btn-primary{
  background:var(--mj-accent);
  color:#fff;
  box-shadow:0 12px 26px -10px rgba(200,70,29,.75);
}
.mj-btn-primary:hover,
.mj-btn-primary:focus-visible{
  background:var(--mj-accent-dark);
  transform:translateY(-2px);
  box-shadow:0 18px 32px -12px rgba(200,70,29,.8);
}

.mj-btn-ghost{
  background:#fff;
  color:var(--mj-ink);
  border-color:var(--mj-line);
}
.mj-btn-ghost:hover,
.mj-btn-ghost:focus-visible{
  border-color:var(--mj-ink);
  transform:translateY(-2px);
}

.mj-btn:focus-visible{outline:3px solid rgba(200,70,29,.4);outline-offset:3px;}

/* --- Footer --------------------------------------------------------------- */

.mj-footer{
  border-top:1px solid var(--mj-line);
  padding-top:20px;
  font-size:12px;
  color:#98918a;
}
.mj-footer p{margin:0 0 5px;}
.mj-footer p:last-child{margin-bottom:0;}
.mj-footer a{
  color:var(--mj-ink-soft);
  font-weight:600;
  text-decoration:none;
  border-bottom:1px solid var(--mj-line);
}
.mj-footer a:hover,
.mj-footer a:focus-visible{color:var(--mj-accent);border-bottom-color:var(--mj-accent);}

/* --- Editor / WP content fallback ---------------------------------------- */

.mj-page-content{
  margin:0 0 28px;
  text-align:left;
  font-size:15px;
  color:var(--mj-ink-soft);
}
.mj-page-content:empty{display:none;}
.mj-page-content img{max-width:100%;height:auto;}

.screen-reader-text{
  position:absolute!important;
  width:1px;height:1px;
  overflow:hidden;clip:rect(1px,1px,1px,1px);
  clip-path:inset(50%);
  white-space:nowrap;
}

/* --- Small screens -------------------------------------------------------- */

@media (max-width:520px){
  .mj-stage{padding:24px 16px;}
  .mj-card{padding:38px 24px 26px;border-radius:22px;}
  .mj-actions{flex-direction:column;}
  .mj-btn{width:100%;justify-content:center;}
  .mj-tagline{letter-spacing:.16em;font-size:11px;}
}

@media (prefers-reduced-motion:reduce){
  .mj-card{animation:none;}
  .mj-btn,.mj-info-value a{transition:none;}
}

/* WordPress custom logo inherits the bundled logo sizing */
.custom-logo-link{display:block;line-height:0;}
.custom-logo{
  display:block;
  width:260px;
  max-width:74%;
  height:auto;
  margin:0 auto 6px;
}
