/* ============================================================
   ZELLEVIEW STARTER — design tokens
   This variable set and naming convention has stayed identical
   across 5 client sites. Only the VALUES change per project —
   pick a palette that fits the business (see README for the
   5 past directions: bold/dark, minimalist/warm, playful/bright,
   editorial/brown, nightlife/black-gold), then edit just this block.
   ============================================================ */
:root {
  /* Akireality — warm & approachable: cream base, caramel primary, soft rose secondary */
  --bg: #fbf6ef;              /* page background — warm cream */
  --surface: #ffffff;         /* card / header background */
  --text-primary: #2a211c;    /* headings, body text — warm near-black */
  --text-secondary: #6d6058;  /* supporting text */
  --text-muted: #a79a8d;      /* hints, captions */
  --accent: #c17d54;          /* primary CTA color — caramel */
  --accent-dark: #a4633d;     /* CTA hover state */
  --accent-light: #f4e5d7;    /* pale caramel tint for badges/backgrounds */
  --rose: #d38f86;            /* soft rose — secondary accent */
  --rose-dark: #b96f66;       /* rose hover/text */
  --rose-light: #f7e6e2;      /* pale rose tint */
  --border: #ece2d4;          /* hairline borders */
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-soft: 0 18px 40px -24px rgba(90, 60, 40, 0.45);
  --max-width: 1140px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.65;
}

/* Akireality headings: Fraunces (warm/editorial) */
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  color: var(--text-primary);
}
h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--text-secondary); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ---- Header ---- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}
nav.main-nav { display: flex; align-items: center; gap: 28px; }
nav.main-nav a {
  font-size: 0.94rem;
  color: var(--text-secondary);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
nav.main-nav a:hover,
nav.main-nav a.active { color: var(--text-primary); border-bottom-color: var(--accent); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline { background: transparent; border-color: var(--accent); color: var(--accent-dark); }
.btn-outline:hover { background: var(--accent-light); }

/* Nav CTA: keep the button's own colors — the generic nav-link color rule
   (nav.main-nav a) is more specific than .btn-accent and was turning the
   top-right "Request a Slot" text dark. Re-assert white here. */
nav.main-nav a.btn { border-bottom: none; }
nav.main-nav a.btn-accent,
nav.main-nav a.btn-accent:hover,
nav.main-nav a.btn-accent.active { color: #fff; border-bottom: none; }
nav.main-nav a.btn-outline,
nav.main-nav a.btn-outline:hover { color: var(--accent-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-primary);
  cursor: pointer;
}

/* ---- Hero ---- */
.hero { padding: 72px 0 56px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); /* minmax(0,..) prevents mobile overflow — see README */
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero-actions { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }

.placeholder-media {
  background: linear-gradient(135deg, var(--accent-light), var(--bg));
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-align: center;
  padding: 24px;
}
.hero-media { aspect-ratio: 3/4; }
.hero-photo img { object-position: center 22%; }

/* ---- Sections ---- */
section { padding: 56px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 620px; margin: 0 auto 40px; text-align: center; }
.section-head.left { margin: 0 0 40px; text-align: left; }

/* ---- Grids / cards ----
   Always minmax(0, 1fr), never a bare 1fr — a bare 1fr lets long card
   content push the column past its container width on mobile. Learned
   this the hard way on the first build; every project since starts clean. */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.card .icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent-light);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

/* Product/service card with a photo on top — used on Services/Menu/Products pages */
.offer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.offer-card .placeholder-media { border-radius: 0; border: none; aspect-ratio: 4/3; }
.offer-card .offer-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.offer-card .price-tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.offer-card ul { margin: 12px 0 16px; padding-left: 18px; }
.offer-card li { color: var(--text-secondary); margin-bottom: 6px; font-size: 0.92rem; }
.offer-card .btn { align-self: flex-start; margin-top: auto; }

/* ---- Footer ---- */
footer.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 0 28px;
  margin-top: 40px;
}
footer.site-footer h4 { font-size: 0.95rem; }
footer.site-footer a { color: var(--text-secondary); }
footer.site-footer a:hover { color: var(--text-primary); text-decoration: underline; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  margin-bottom: 28px;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---- Forms ---- */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--text-primary); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-primary);
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.badge-demo {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  font-weight: 600;
}

/* ---- Mobile ----
   The nav-open background MUST be a solid color that contrasts with
   nav.main-nav a's text color. Past bug: an early build used the page's
   light background here while the link color was tuned for a dark header —
   nearly-invisible text. Test this specifically on every new project. */
@media (max-width: 860px) {
  nav.main-nav { display: none; }
  .nav-toggle { display: block; }
  nav.main-nav.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--border);
  }
  nav.main-nav.open a { padding: 10px 0; width: 100%; }
  .hero-grid, .footer-grid, .grid-3, .grid-2, .split, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .split.reverse .split-media { order: -1; }
  .hero-photo { max-width: 420px; margin-inline: auto; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================================================
   AKIREALITY additions — warm photo-led components
   (layered on top of the shared Starter tokens above)
   ============================================================ */

/* Real photo in the hero (replaces .placeholder-media on Home) */
.hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  position: relative;
  background: linear-gradient(135deg, var(--rose-light), var(--accent-light));
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo .photo-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 6px 18px -10px rgba(90, 60, 40, 0.5);
}

/* Soft warm wash behind the hero */
.hero.wash { background: linear-gradient(180deg, var(--rose-light) 0%, var(--bg) 70%); }

/* Trust row of small stats under the hero */
.stat-row { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 34px; }
.stat b { display: block; font-family: 'Fraunces', serif; font-size: 1.7rem; color: var(--accent-dark); line-height: 1; }
.stat span { font-size: 0.85rem; color: var(--text-secondary); }

/* Two-column text + photo section */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4/4.4;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }

/* Accent color for the second accent (soft rose) */
.eyebrow.rose { color: var(--rose-dark); background: var(--rose-light); }
.icon-badge.rose { background: var(--rose-light); color: var(--rose-dark); }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
  aspect-ratio: 1/1;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item.tall { aspect-ratio: 1/1.3; }
.gallery-item .tile-tag {
  position: absolute;
  left: 12px; bottom: 12px;
  background: rgba(255,255,255,0.92);
  color: var(--text-primary);
  font-size: 0.78rem; font-weight: 600;
  padding: 5px 12px; border-radius: 999px;
}
/* Placeholder gallery tiles (no real campaign photos yet) */
.gallery-item.ph {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(135deg, var(--accent-light), var(--rose-light));
  color: var(--text-secondary); font-size: 0.85rem; padding: 20px;
}

/* Quote / testimonial */
.quote {
  max-width: 760px; margin: 0 auto; text-align: center;
}
.quote p {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--text-primary);
  line-height: 1.45;
  font-style: italic;
}
.quote cite { color: var(--text-secondary); font-style: normal; font-weight: 600; font-size: 0.92rem; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-weight: 700; margin-bottom: 14px;
}
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Contact / booking layout */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.contact-line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.contact-line .ic {
  width: 40px; height: 40px; flex: none; border-radius: 10px;
  background: var(--accent-light); color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.contact-line b { display: block; color: var(--text-primary); font-size: 0.95rem; }
.contact-line span, .contact-line a { color: var(--text-secondary); font-size: 0.92rem; }
.contact-line a:hover { color: var(--accent-dark); }

/* Big messaging buttons (booking = direct message) */
.msg-actions { display: grid; gap: 14px; }
.msg-btn {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: var(--surface);
  transition: transform 0.12s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.msg-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); border-color: var(--accent); }
.msg-btn .msg-ic {
  width: 46px; height: 46px; flex: none; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #fff;
}
.msg-btn .wa { background: #25d366; }
.msg-btn .em { background: var(--accent); }
.msg-btn .ph { background: var(--rose-dark); }
.msg-btn .fb { background: #1877f2; font-weight: 700; font-family: Georgia, serif; }
.msg-btn .vb { background: #7360f2; }
.msg-btn b { display: block; color: var(--text-primary); font-size: 1rem; }
.msg-btn small { color: var(--text-secondary); }

/* Checklist */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--text-secondary); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-light); color: var(--accent-dark);
  font-size: 0.72rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* Page hero (inner pages) */
.page-hero { padding: 56px 0 20px; text-align: center; }
.page-hero .container { max-width: 720px; }
