/* ============================================================
   Shawarma Time & Place — styles.css
   Design: modern Middle-Eastern street food
   charcoal #1A1512 · cream #FAF6F0 · spice red #C23B22 ·
   turmeric gold #D4A24C · herb green #5B7A3E
   ============================================================ */

:root {
  --ink: #1a1512;
  --ink-2: #241d18;
  --cream: #faf6f0;
  --cream-2: #f1e9dd;
  --red: #c23b22;
  --red-dark: #a02e19;
  --gold: #d4a24c;
  --green: #5b7a3e;
  --text: #2b241f;
  --text-soft: #6b5f55;
  --line: rgba(26, 21, 18, 0.12);
  --radius: 14px;
  --font-display: "Archivo Black", "Arial Black", sans-serif;
  --font-body: "Barlow", "Segoe UI", sans-serif;
  --header-h: 72px;
  --shadow: 0 10px 30px rgba(26, 21, 18, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video, iframe { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }

.container { width: min(1180px, 92%); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--cream);
  padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: var(--cream); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 16px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.6); color: #fff; background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.7); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }
.btn--outline-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline-dark:hover { background: var(--ink); color: var(--cream); }
.btn--sm { padding: 12px 22px; font-size: 0.8rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(26, 21, 18, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 162, 76, 0.25);
}
.site-header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--cream); }
.logo:hover { color: var(--gold); }
.logo__img {
  width: 46px; height: 46px; border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(212, 162, 76, 0.6);
  background: var(--cream);
}
.logo__text { font-family: var(--font-display); font-size: 1.02rem; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.1; }
.logo__text em { font-style: normal; color: var(--gold); display: block; font-size: 0.72em; letter-spacing: 0.12em; }

.main-nav { display: flex; gap: 26px; }
.main-nav a {
  color: var(--cream); font-weight: 600; font-size: 0.95rem;
  text-transform: uppercase; letter-spacing: 0.05em;
  padding: 6px 2px; border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.main-nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }

.site-header__actions { display: flex; align-items: center; gap: 16px; }
.lang-switch { color: rgba(250, 246, 240, 0.5); font-size: 0.85rem; display: flex; gap: 6px; align-items: center; }
.lang-switch button,
.lang-switch a {
  background: none; border: 0; cursor: pointer;
  color: rgba(250, 246, 240, 0.65); font: inherit; font-weight: 700;
}
.lang-switch button.is-active,
.lang-switch a.is-active { color: var(--gold); }
.lang-switch button:hover,
.lang-switch a:hover { color: var(--cream); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--cream); border-radius: 2px; transition: 0.25s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center;
  background:
    linear-gradient(rgba(26, 21, 18, 0.82), rgba(26, 21, 18, 0.58)),
    url("/media/ShawarmaTimeAndPlace_Hero.jpg") center / cover no-repeat,
    var(--ink);
  color: var(--cream);
  overflow: hidden;
  padding: 90px 0;
}
.hero__video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero__video ~ .hero__content { position: relative; z-index: 3; }
.hero__content { position: relative; z-index: 3; max-width: 780px; }
.hero__eyebrow {
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--gold); font-size: 0.85rem; margin-bottom: 18px;
}
.hero__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
}
.hero__title span { display: block; }
.hero__title-accent { color: var(--gold); }
.hero__sub { margin: 22px 0 30px; font-size: 1.15rem; max-width: 560px; color: rgba(250, 246, 240, 0.9); }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__badges {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 34px;
}
.hero__arabic {
  position: absolute; z-index: 1; right: -2%; bottom: 6%;
  font-size: clamp(6rem, 22vw, 17rem); line-height: 1;
  color: rgba(212, 162, 76, 0.12);
  pointer-events: none; user-select: none; white-space: nowrap;
}

/* Pill badges (hero) */
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid rgba(212, 162, 76, 0.55);
  background: rgba(26, 21, 18, 0.5);
  border-radius: 999px; padding: 9px 18px;
  font-weight: 600; font-size: 0.92rem; color: rgba(250, 246, 240, 0.95);
}
.pill__img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }

/* ---------- Media placeholders (videos / missing photos) ---------- */
.media-ph {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  gap: 8px; text-align: center;
  border: 2px dashed rgba(26, 21, 18, 0.3);
  background: repeating-linear-gradient(45deg, rgba(26, 21, 18, 0.04) 0 12px, transparent 12px 24px);
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  padding: 14px;
}
.media-ph__label {
  color: var(--text-soft);
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.section--dark .media-ph { border-color: rgba(212, 162, 76, 0.4); background: repeating-linear-gradient(45deg, rgba(212, 162, 76, 0.06) 0 12px, transparent 12px 24px); }
.section--dark .media-ph__label { color: rgba(250, 246, 240, 0.6); }
.media-ph--tall { aspect-ratio: 3 / 4; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--ink); color: var(--cream); }
.section--flush-top { padding-top: 40px; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section__eyebrow {
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--red); font-size: 0.8rem; margin-bottom: 12px;
}
.section--dark .section__eyebrow { color: var(--gold); }
.section__title {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(1.7rem, 4.5vw, 2.6rem); line-height: 1.05;
}
.section__sub { margin-top: 14px; color: var(--text-soft); font-size: 1.05rem; }
.section--dark .section__sub { color: rgba(250, 246, 240, 0.75); }

/* ---------- Signature grid — always 4 in a row ---------- */
.signature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.signature-more { text-align: center; margin-top: 40px; }

/* ---------- Cards (shared) ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .media-ph { border: 0; border-radius: 0; border-bottom: 2px dashed rgba(26, 21, 18, 0.2); aspect-ratio: 16 / 10; }
.card__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card__name { font-family: var(--font-display); font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.02em; color: var(--ink); }
.card__price { font-family: var(--font-display); color: var(--red); font-size: 1.05rem; white-space: nowrap; }
.card__desc { color: var(--text-soft); font-size: 0.95rem; flex: 1; }
.card__badges { display: flex; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.badge {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 4px 10px; border-radius: 999px;
}
.badge--veg { background: rgba(91, 122, 62, 0.15); color: var(--green); }
.badge--sig { background: rgba(212, 162, 76, 0.2); color: #8a6420; }

/* Menu cards on dark background */
.section--dark .card { background: var(--ink-2); border-color: rgba(212, 162, 76, 0.18); }
.section--dark .card__name { color: var(--cream); }
.section--dark .card__desc { color: rgba(250, 246, 240, 0.7); }
.section--dark .card .media-ph { border-bottom-color: rgba(212, 162, 76, 0.3); }

/* ---------- Menu page ---------- */
.menu-page { min-height: 70vh; }
.menu-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-bottom: 44px;
}
.menu-tabs button {
  font-family: var(--font-body); font-weight: 700; font-size: 0.9rem;
  text-transform: uppercase; letter-spacing: 0.05em;
  padding: 10px 20px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(212, 162, 76, 0.4);
  background: transparent; color: rgba(250, 246, 240, 0.75);
  transition: 0.2s;
}
.menu-tabs button:hover { border-color: var(--gold); color: var(--gold); }
.menu-tabs button.is-active { background: var(--red); border-color: var(--red); color: #fff; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
}
.menu-grid .card { animation: cardIn 0.3s ease both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.menu-footnote {
  margin-top: 34px; text-align: center;
  color: rgba(250, 246, 240, 0.55); font-size: 0.9rem; font-style: italic;
}
.menu-order { text-align: center; margin-top: 40px; }

/* ---------- Slogan band ---------- */
.band { background: var(--red); color: #fff; padding: 52px 0; }
.band__inner {
  display: flex; align-items: center; justify-content: center;
  gap: 28px; text-align: left;
}
.band__halal {
  width: 86px; height: 86px; object-fit: contain;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%; padding: 6px;
  flex-shrink: 0;
}
.band__slogan {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(2rem, 5.5vw, 3.4rem); line-height: 1;
  letter-spacing: 0.02em;
}
.band__sub { margin-top: 8px; font-size: 1.05rem; opacity: 0.92; font-weight: 500; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.gallery-grid > * { min-width: 0; }
.gallery-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.gallery-grid .media-ph { aspect-ratio: auto; height: 100%; }
.gallery-grid .media-ph--tall { grid-row: span 2; }
.gallery-grid .gallery-grid__wide { grid-column: span 2; }

/* ---------- Story ---------- */
.story {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start;
}
.story__media { display: grid; gap: 16px; }
.story__img {
  width: 100%; object-fit: cover;
  border-radius: var(--radius);
  border: 3px solid rgba(212, 162, 76, 0.35);
}
.story__img--main { aspect-ratio: 4 / 5; }
.story__text p { margin-bottom: 16px; }
.story__text .section__title { margin-bottom: 20px; }
.story__cta { margin-top: 28px; text-align: center; }

/* Story on dark background */
.section--dark .story__text p { color: rgba(250, 246, 240, 0.82); }
.section--dark .story__text .section__title { color: var(--cream); }
.section--dark .story__chef {
  margin-top: 26px; padding: 22px 24px;
  border-left: 4px solid var(--gold);
  background: var(--ink-2); border-radius: 0 var(--radius) var(--radius) 0;
}
.section--dark .story__chef strong {
  font-family: var(--font-display); text-transform: uppercase;
  color: var(--gold); letter-spacing: 0.04em; display: block; margin-bottom: 8px;
}

/* Story on cream background */
.section--cream .story__text p { color: var(--text-soft); }
.section--cream .story__text .section__title { color: var(--ink); }
.section--cream .story__chef {
  margin-top: 26px; padding: 22px 24px;
  border-left: 4px solid var(--red);
  background: #fff; border-radius: 0 var(--radius) var(--radius) 0;
  border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.section--cream .story__chef strong {
  font-family: var(--font-display); text-transform: uppercase;
  color: var(--red); letter-spacing: 0.04em; display: block; margin-bottom: 8px;
}

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 12px;
}
.review-card__stars { display: flex; gap: 3px; }
.review-card__stars svg { width: 18px; height: 18px; fill: var(--gold); }
.review-card p { color: var(--text-soft); flex: 1; }
.review-card cite { font-style: normal; font-weight: 700; color: var(--ink); font-size: 0.9rem; }
.review-card--ph { border-style: dashed; background: transparent; }

/* ---------- Find us ---------- */
.findus {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 34px;
  align-items: stretch; /* map matches info column height */
}
.findus__map { display: flex; }
.findus__map iframe {
  flex: 1;
  width: 100%; height: 100%; min-height: 340px;
  border: 0; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.findus__info { display: grid; gap: 14px; align-content: center; }
.contact-card {
  display: flex; gap: 16px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; color: var(--text);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--text); }
.contact-card__icon { width: 24px; height: 24px; fill: var(--red); flex-shrink: 0; }

.hours {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px;
}
.hours h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1rem; margin-bottom: 12px; color: var(--ink); }
.hours table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours td { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; font-weight: 700; color: var(--red); }
.hours tr:last-child td { border-bottom: 0; }
.hours__note { margin-top: 10px; font-size: 0.9rem; }

.socials {
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center; /* centered in the column */
}
.socials a {
  padding: 10px 18px; border-radius: 999px;
  background: var(--ink); color: var(--cream);
  font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em;
}
.socials a:hover { background: var(--red); color: #fff; }

/* ---------- CTA banner ---------- */
.cta-banner { background: var(--red); color: #fff; padding: 64px 0; }
.cta-banner__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-banner h2 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
.cta-banner p { opacity: 0.9; margin-top: 8px; max-width: 520px; }
.cta-banner__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(250, 246, 240, 0.75); padding: 64px 0 0; }
.site-footer__grid {
  display: grid; grid-template-columns: 1.3fr 0.8fr 0.9fr; gap: 44px;
  padding-bottom: 44px;
}
.logo--footer { margin-bottom: 16px; }
.logo--footer .logo__img { width: 54px; height: 54px; }
.site-footer__tag { max-width: 340px; font-size: 0.95rem; }
.site-footer__halal {
  margin-top: 14px; display: flex; align-items: center; gap: 10px;
  color: var(--gold); font-weight: 600; font-size: 0.9rem;
}
.site-footer__halal img { width: 34px; height: 34px; border-radius: 50%; padding: 2px; }
.site-footer__links { display: flex; flex-direction: column; gap: 10px; font-size: 0.95rem; }
.site-footer__links strong {
  font-family: var(--font-display); color: var(--cream);
  text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.08em; margin-bottom: 4px;
}
.site-footer__links a { color: rgba(250, 246, 240, 0.75); }
.site-footer__links a:hover { color: var(--gold); }
.site-footer__bottom {
  border-top: 1px solid rgba(250, 246, 240, 0.12);
  padding: 20px 0; font-size: 0.85rem; text-align: center;
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .menu-grid .card { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .story { grid-template-columns: 1fr; gap: 40px; }
  .findus { grid-template-columns: 1fr; }
  .findus__map iframe { min-height: 380px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--ink);
    border-bottom: 1px solid rgba(212, 162, 76, 0.25);
    padding: 10px 4%;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    z-index: 99;
  }
  .main-nav.is-open { transform: none; }
  .main-nav a { padding: 14px 8px; border-bottom: 1px solid rgba(250, 246, 240, 0.08); }
  .nav-toggle { display: flex; }
  .site-header__actions .btn { display: none; }
  .hero { padding: 70px 0; }
  .hero__ctas .btn { width: 100%; text-align: center; }
  .band__inner { flex-direction: column; text-align: center; gap: 18px; }
  .cta-banner__inner { flex-direction: column; align-items: flex-start; }

  /* Signature: keep 4 in a row, compressed */
  .signature-grid { gap: 10px; }
  .signature-grid .card__body { padding: 10px; gap: 5px; }
  .signature-grid .card__top { flex-direction: column; align-items: flex-start; gap: 3px; }
  .signature-grid .card__name { font-size: 0.66rem; }
  .signature-grid .card__price { font-size: 0.78rem; }
  .signature-grid .card__desc {
    font-size: 0.68rem; line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  .signature-grid .badge { font-size: 0.52rem; padding: 2px 6px; }
}

/* Server-rendered menu cards remain available without JavaScript. */
.menu-grid .card[hidden] { display: none; }
