/* =========================================================================
   Boss Mediterranean Grill — styles (LIGHT theme)
   White / warm-cream surfaces, dark warm ink text, brass-gold accents.
   Matches the printed menu: white background, dark "BOSS" wordmark, gold flame.
   ========================================================================= */

:root {
  --bg: #ffffff;          /* main background */
  --bg-2: #faf6ee;        /* warm off-white (alt sections) */
  --bg-3: #f2ead9;        /* beige (topbar / order / footer) */
  --surface: #ffffff;     /* cards */
  --ink: #241d13;         /* headings / strong text */
  --text: #4c4334;        /* body text */
  --muted: #6f6555;       /* secondary text (readable on white) */
  --gold: #9a6e10;        /* readable gold accent: eyebrows, titles, prices */
  --gold-bright: #c9a24b; /* brand gold: button bg, flame, active pill */
  --gold-light: #e7c97e;  /* light gold: flame core */
  --gold-deep: #7a560c;   /* darkest gold: hover / strong */
  --on-gold: #1c1408;     /* text on gold surfaces */
  --line: rgba(154, 110, 16, 0.28);
  --line-strong: rgba(154, 110, 16, 0.48);
  --red: #b3402a;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1180px;
  --radius: 14px;
  --radius-sm: 9px;
  --nav-h: 70px;
  --shadow: 0 18px 45px rgba(70, 52, 18, 0.12);
  --shadow-sm: 0 6px 18px rgba(70, 52, 18, 0.07);
}

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

* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
iframe { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; padding: 0; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; }

::selection { background: var(--gold-bright); color: var(--on-gold); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ----------------------------- helpers --------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--gold-bright); color: var(--on-gold); padding: 10px 16px; border-radius: 8px;
  font-weight: 600; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.28em; font-size: 0.74rem;
  font-weight: 700; color: var(--gold); margin-bottom: 14px;
}

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section[id], header[id] { scroll-margin-top: 84px; }

.section__title { font-size: clamp(1.9rem, 4.4vw, 3.1rem); color: var(--ink); }
.section__title strong { color: var(--gold); font-weight: 700; }
.section__head { margin-bottom: 48px; }
.section__head.center { text-align: center; max-width: 720px; margin-inline: auto; }
.section__lead { color: var(--muted); margin-top: 14px; font-size: 1.02rem; }

/* ornament divider */
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 20px auto 0; max-width: 280px; }
.ornament__rule { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--line-strong)); }
.ornament__rule:last-child { background: linear-gradient(90deg, var(--line-strong), transparent); }
.ornament__mark { width: 26px; height: 26px; fill: var(--gold-bright); flex: none; }

/* reveal-on-scroll (only active when JS is present) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

.ic { width: 1.05em; height: 1.05em; fill: currentColor; flex: none; }

/* ----------------------------- buttons --------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.02em; padding: 13px 24px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer; transition: all 0.2s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--gold-bright); color: var(--on-gold); border-color: var(--gold-bright); }
.btn--primary:hover { background: var(--gold-deep); color: #fff; border-color: var(--gold-deep); transform: translateY(-2px); }
.btn--outline { color: var(--gold); border-color: var(--line-strong); background: transparent; }
.btn--outline:hover { background: var(--gold-bright); color: var(--on-gold); border-color: var(--gold-bright); transform: translateY(-2px); }
.btn--ghost { color: var(--ink); border-color: rgba(36, 29, 19, 0.2); }
.btn--ghost:hover { color: var(--gold-deep); border-color: var(--gold); transform: translateY(-2px); }
.btn--lg { padding: 15px 30px; font-size: 1rem; }
.btn--sm { padding: 9px 18px; font-size: 0.85rem; }

/* ----------------------------- logo ------------------------------------ */
/* Dark wordmark + gold flame (matches the printed menu). */
.logo { display: block; color: var(--ink); }
.logo__word { font-family: var(--font-display); font-weight: 800; font-size: 118px; fill: currentColor; }
.logo__sub { font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing: 5px; fill: currentColor; }
.logo__o-ring { stroke: currentColor; }
.logo__flame { fill: var(--gold-bright); }
.logo__flame-core { fill: var(--gold-light); }
.logo--nav { height: 46px; width: auto; }
.logo--hero { width: clamp(248px, 44vw, 384px); height: auto; }
.logo--footer { height: 66px; width: auto; }

/* ----------------------------- header ---------------------------------- */
.topbar { background: var(--bg-3); border-bottom: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; padding-block: 6px; }
.topbar__group { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); transition: color 0.2s; }
.topbar__item:hover { color: var(--gold-deep); }
.topbar__item .ic { fill: var(--gold); }
.topbar__sep { color: var(--line-strong); }
.topbar__tag { color: var(--gold-deep); font-weight: 700; letter-spacing: 0.04em; }

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
}
.nav.is-scrolled { box-shadow: 0 8px 26px rgba(70, 52, 18, 0.1); background: rgba(255, 255, 255, 0.98); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--nav-h); gap: 18px; }
.nav__brand { display: inline-flex; align-items: center; }
.nav__menu { display: flex; align-items: center; gap: 28px; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a {
  font-weight: 500; font-size: 0.95rem; color: var(--ink); letter-spacing: 0.02em;
  padding: 6px 2px; position: relative; transition: color 0.2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--gold-bright); transition: width 0.25s ease;
}
.nav__links a:hover { color: var(--gold-deep); }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 10px; }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  align-items: center; justify-content: center; background: transparent; border: 0; cursor: pointer;
  position: relative; z-index: 130;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--gold-deep); border-radius: 2px; transition: transform 0.3s, opacity 0.2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------- hero ------------------------------------ */
.hero {
  position: relative; min-height: calc(100svh - var(--nav-h)); display: flex; align-items: center;
  text-align: center; overflow: hidden;
  /* full-screen grill photo behind the logo (drop public/images/hero-grill.jpg);
     until then a warm dark "ember" placeholder shows. */
  background:
    radial-gradient(ellipse at 50% 30%, rgba(216, 140, 38, 0.22), transparent 62%),
    linear-gradient(180deg, rgba(18, 12, 6, 0.58), rgba(12, 8, 4, 0.86)),
    url("/images/hero-grill.jpg") center / cover no-repeat,
    linear-gradient(160deg, #2a1c0f, #120b05);
}
.hero__inner { position: relative; padding-block: 80px; width: 100%; }
.hero__eyebrow {
  text-transform: uppercase; letter-spacing: 0.42em; font-size: 0.78rem; font-weight: 700;
  color: var(--gold-light); margin-bottom: 26px;
}
.hero__logo { display: flex; justify-content: center; margin-bottom: 26px; }
.hero__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 4.6vw, 2.7rem); color: #f6f0e6; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45); }
.hero__sub { color: rgba(245, 239, 230, 0.82); margin-top: 14px; font-size: clamp(0.98rem, 2vw, 1.16rem); letter-spacing: 0.02em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: 40px; height: 40px; opacity: 0.65; animation: bob 2.4s ease-in-out infinite;
}
.hero__scroll svg { width: 100%; height: 100%; fill: var(--gold-light); }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
/* hero now sits on a dark grill photo → light/gold logo + buttons readable on dark */
.logo--on-dark { color: #ecd49a; }
.logo--on-dark .logo__flame { fill: #e2a93a; }
.hero__cta .btn--outline { color: var(--gold-light); border-color: rgba(233, 201, 126, 0.5); }
.hero__cta .btn--outline:hover { background: var(--gold-bright); color: var(--on-gold); border-color: var(--gold-bright); }
.hero__cta .btn--ghost { color: #f3ece0; border-color: rgba(245, 239, 230, 0.32); }
.hero__cta .btn--ghost:hover { color: var(--gold-light); border-color: var(--gold-light); }

/* ----------------------------- features -------------------------------- */
.features { background: var(--bg-2); border-block: 1px solid var(--line); }
.features__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-block: 30px; }
.feature { display: flex; align-items: center; gap: 14px; }
.feature + .feature { position: relative; }
.feature__ic { width: 38px; height: 38px; fill: var(--gold); flex: none; }
.feature strong { display: block; font-family: var(--font-display); font-size: 1.06rem; color: var(--ink); }
.feature span { display: block; font-size: 0.82rem; color: var(--muted); }

/* ----------------------------- about ----------------------------------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.about__media {
  min-height: 460px; border-radius: var(--radius); border: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(36, 29, 19, 0.06)),
    url("/images/interior.jpg") center / cover no-repeat,
    linear-gradient(135deg, #f0e7d6, #e4d7bf);
  box-shadow: var(--shadow); position: relative;
}
.about__media::after {
  content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 8px; pointer-events: none;
}
.about__text p { color: var(--muted); margin-top: 16px; }
.about__text strong { color: var(--ink); }
.about__points { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; margin: 26px 0 30px; }
.about__points li { position: relative; padding-left: 26px; color: var(--ink); font-size: 0.96rem; }
.about__points li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px;
  background: var(--gold-bright); transform: rotate(45deg);
}

/* ----------------------------- menu ------------------------------------ */
.menu { background: var(--bg-2); }
.menu-nav {
  position: sticky; top: var(--nav-h); z-index: 50; margin-bottom: 44px;
  background: rgba(250, 246, 238, 0.97);
  border-block: 1px solid var(--line);
}
.menu-nav__scroll {
  display: flex; gap: 8px; overflow-x: auto; padding: 12px 4px; scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.menu-nav__scroll::-webkit-scrollbar { height: 6px; }
.menu-nav__scroll::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 6px; }
.menu-nav__link {
  flex: none; padding: 8px 16px; border-radius: 999px; font-size: 0.86rem; font-weight: 500;
  color: var(--muted); background: var(--surface); border: 1px solid var(--line); transition: all 0.2s; white-space: nowrap;
}
.menu-nav__link:hover { color: var(--ink); border-color: var(--line-strong); }
.menu-nav__link.is-active { background: var(--gold-bright); color: var(--on-gold); border-color: var(--gold-bright); font-weight: 600; }

.menu-grid { columns: 1; column-gap: 26px; }
.menu-cat {
  scroll-margin-top: 60px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-sm);
  margin: 0 0 26px; break-inside: avoid; -webkit-column-break-inside: avoid;
}
.menu-cat__head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.menu-cat__title { font-size: 1.5rem; color: var(--gold-deep); letter-spacing: 0.01em; }
.menu-cat__note { font-size: 0.82rem; color: var(--muted); font-style: italic; }
.menu-cat__list { display: grid; gap: 18px; }
.menu-item__row { display: flex; align-items: flex-end; gap: 8px; }
.menu-item__name { font-weight: 600; color: var(--ink); font-size: 1.03rem; }
.menu-item__dots { flex: 1 1 auto; min-width: 16px; border-bottom: 1.5px dotted rgba(154, 110, 16, 0.45); transform: translateY(-5px); }
.menu-item__price { font-family: var(--font-display); font-weight: 700; color: var(--gold-deep); font-size: 1.05rem; white-space: nowrap; }
.menu-item__desc { color: var(--muted); font-size: 0.9rem; margin-top: 4px; max-width: 60ch; }
.tag {
  display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; font-size: 0.62rem;
  font-weight: 700; letter-spacing: 0.08em; vertical-align: middle;
  color: var(--on-gold); background: var(--gold-bright); text-transform: uppercase;
}
.menu-footnote { text-align: center; margin-top: 34px; color: var(--gold-deep); font-family: var(--font-display); font-size: 1.1rem; }

/* ----------------------------- order ----------------------------------- */
.order { background: var(--bg-3); border-block: 1px solid var(--line); }
.order__cta { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.order__note { text-align: center; color: var(--muted); font-size: 0.86rem; margin-top: 26px; font-style: italic; }
.order-online { cursor: pointer; }
/* inline online-ordering embed (FoodBooking ordering page in an iframe, shown on click) */
.order-embed {
  margin-top: 32px; scroll-margin-top: 86px; border: 1px solid var(--line-strong);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff;
}
.order-embed[hidden] { display: none; }
.order-embed__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px; background: var(--bg-2); border-bottom: 1px solid var(--line);
}
.order-embed__label { color: var(--gold-deep); font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.02em; }
.order-embed__close {
  background: transparent; border: 1px solid var(--line-strong); color: var(--ink);
  border-radius: 999px; padding: 5px 14px; font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.order-embed__close:hover { background: var(--gold-bright); color: var(--on-gold); border-color: var(--gold-bright); }
.order-embed__iframe { width: 100%; height: clamp(560px, 82vh, 900px); border: 0; display: block; }

/* ----------------------------- gallery --------------------------------- */
.gallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(186px, 1fr)); grid-auto-rows: 186px; gap: 14px; }
.gallery__item {
  border-radius: var(--radius-sm); border: 1px solid var(--line); overflow: hidden; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(150deg, #f6efe0, #ece2cf); color: var(--muted);
}
.gallery__item--wide { grid-column: span 2; grid-row: span 2; }
.gallery__item--photo {
  position: relative; align-items: stretch; justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(36, 29, 19, 0), rgba(36, 29, 19, 0.45)),
    var(--img, url("/images/storefront.jpg")) center / cover no-repeat,
    linear-gradient(150deg, #f6efe0, #ece2cf);
}
.gallery__photocap {
  font-family: var(--font-display); color: #fff; font-size: 1.1rem;
  padding: 18px 20px; width: 100%;
  background: linear-gradient(transparent, rgba(20, 14, 4, 0.72));
}
.gallery__flame { width: 40px; height: 40px; fill: var(--gold-bright); opacity: 0.55; }
.gallery__item--ph figcaption { font-family: var(--font-display); color: var(--gold-deep); font-size: 1rem; text-align: center; padding: 0 12px; }
.gallery__item--ph::after { content: "Photo coming soon"; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.gallery__note { text-align: center; margin-top: 26px; color: var(--muted); }
.gallery__note a { color: var(--gold); font-weight: 600; }

/* ----------------------------- visit ----------------------------------- */
.visit__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.visit__info .section__title { margin-bottom: 26px; }
.visit__block { margin-bottom: 28px; }
.visit__block h3 { font-size: 1.05rem; color: var(--gold-deep); margin-bottom: 8px; letter-spacing: 0.02em; }
.visit__block p { color: var(--ink); }
.visit__block a:hover { color: var(--gold-deep); }
.visit__hours { display: grid; gap: 6px; max-width: 360px; }
.visit__hours li { display: flex; justify-content: space-between; gap: 16px; color: var(--ink); border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.visit__hours li span:last-child { color: var(--muted); }
.visit__map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); min-height: 420px; box-shadow: var(--shadow); }
.visit__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

/* ----------------------------- footer ---------------------------------- */
.footer { background: var(--bg-3); border-top: 1px solid var(--line); padding-top: 60px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 46px; }
.footer__logo { display: inline-flex; }
.footer__tag { color: var(--muted); margin-top: 14px; font-size: 0.9rem; }
.footer__ig { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-deep); margin-top: 16px; font-weight: 600; }
.footer__ig:hover { color: var(--gold); }
.footer__ig .ic { fill: var(--gold); width: 1.2em; height: 1.2em; }
.footer__title { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--gold-deep); margin-bottom: 16px; }
.footer__list { display: grid; gap: 10px; font-size: 0.92rem; }
.footer__list li { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.footer__list--plain li { display: block; }
.footer__list a { color: var(--muted); transition: color 0.2s; }
.footer__list a:hover { color: var(--gold-deep); }
.footer__bottom { border-top: 1px solid var(--line); padding-block: 22px; }
.footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 0.82rem; color: var(--muted); }
.footer__fineprint { color: var(--gold); }

/* ----------------------------- responsive ------------------------------ */
@media (max-width: 960px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { min-height: 320px; order: -1; }
  .visit__grid { grid-template-columns: 1fr; }
  .features__inner { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 820px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); flex-direction: column;
    align-items: flex-start; justify-content: flex-start; gap: 8px; padding: 96px 30px 40px;
    background: var(--bg-2); border-left: 1px solid var(--line); z-index: 120;
    transform: translateX(100%); transition: transform 0.32s ease; box-shadow: -20px 0 50px rgba(70, 52, 18, 0.14);
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__links { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
  .nav__links a { font-size: 1.15rem; padding: 12px 0; width: 100%; }
  .nav__actions { flex-direction: column; align-items: stretch; width: 100%; margin-top: 18px; gap: 12px; }
  .nav__actions .btn { width: 100%; }
  .menu-cat__list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar__item--addr, .topbar__tag { display: none; }
  .topbar__inner { justify-content: center; }
  .hero__cta .btn, .hero__cta .order-online { width: 100%; }
  .order__cta .btn, .order__cta .order-online { width: 100%; }
  .features__inner { grid-template-columns: 1fr; gap: 18px; }
  .footer__grid { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-column: span 2; grid-row: span 1; }
  .about__points { grid-template-columns: 1fr; }
}

@media (min-width: 900px) {
  .menu-grid { columns: 2; }
}
