/* ============================================================
   Ginger Lounge — static site stylesheet
   Dark, elegant theme · Playfair Display headings · Montserrat body
   ============================================================ */

:root {
  --bg: #101010;
  --bg-alt: #171717;
  --panel: #1d1d1d;
  --text: #f4f1ec;
  --text-dim: #b4b0aa;
  --accent: #c1272d;
  --accent-bright: #e2453f;
  --gold: #e2453f;
  --line: rgba(255, 255, 255, 0.14);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--accent-bright); }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Header / nav ---------- */
.site-header {
  transition: box-shadow 250ms var(--ease-out);
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 12, 12, 0.93);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.brand img { height: 44px; width: auto; mix-blend-mode: screen; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.site-nav ul {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  align-items: center;
}
.site-nav a {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-nav a:hover, .site-nav a.active { color: var(--gold); }

.site-nav .has-sub { position: relative; }
.site-nav .has-sub > a::after { content: " ▾"; font-size: 0.7em; }
.site-nav .sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5rem 0;
  min-width: 190px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}
.site-nav .has-sub:hover .sub,
.site-nav .has-sub:focus-within .sub { display: block; }
.site-nav .sub li { display: block; }
.site-nav .sub a { display: block; padding: 0.55rem 1.1rem; letter-spacing: 0.08em; }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
}
.nav-cta { transition: background-color 160ms ease, transform 160ms var(--ease-out); }
.nav-cta:hover { background: var(--accent-bright); }
.nav-cta:active { transform: scale(0.97); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  border: 2px solid var(--accent);
  background: var(--accent);
  color: #fff;
  transition: transform 160ms var(--ease-out), background-color 160ms ease, border-color 160ms ease, box-shadow 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    background: var(--accent-bright);
    border-color: var(--accent-bright);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(193,39,45,0.35);
  }
}
.btn:active { transform: scale(0.97); }
.btn.ghost { background: transparent; color: var(--text); border-color: rgba(255,255,255,0.45); }
.btn.ghost:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,8,8,0.55) 0%, rgba(8,8,8,0.75) 70%, var(--bg) 100%);
}
.hero .wrap { position: relative; padding-top: 5rem; padding-bottom: 5rem; }
.hero .kicker { color: var(--gold); }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  max-width: 16ch;
  margin: 0.4rem 0 1rem;
}
.hero p.lead { max-width: 46ch; font-size: 1.05rem; color: var(--text-dim); margin-bottom: 2rem; }
.hero .actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero.compact { min-height: 44vh; text-align: center; }
.hero.compact h1 { margin-left: auto; margin-right: auto; }
.hero.compact p.lead { margin-left: auto; margin-right: auto; }
.hero.compact .actions { justify-content: center; }

/* ---------- Sections ---------- */
section { padding: 4.5rem 0; }
section.alt { background: var(--bg-alt); }

.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-bright);
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0.4rem 0 0.8rem; }
.section-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin: 1rem auto 0;
  background: var(--accent);
}
.section-head p { color: var(--text-dim); }

/* ---------- Split (image + text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.split .photo img {
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(0,0,0,0.45);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 0.4rem 0 1rem; }
.split p { color: var(--text-dim); margin-bottom: 1rem; }
.split .btn { margin-top: 0.8rem; }

/* ---------- Menu cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.card {
  transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out);
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,8,8,0.05) 30%, rgba(8,8,8,0.88) 100%);
  transition: background 250ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-5px); box-shadow: 0 22px 45px rgba(0,0,0,0.5); }
  .card:hover::before { background: linear-gradient(180deg, rgba(8,8,8,0.15) 10%, rgba(8,8,8,0.92) 100%); }
}
.card:active { transform: scale(0.99); }
.card .card-body { position: relative; padding: 1.6rem; width: 100%; }
.card h3 { font-size: 1.5rem; color: #fff; margin-bottom: 0.3rem; }
.card p { font-size: 0.9rem; color: var(--text-dim); margin-bottom: 0.9rem; }
.card .link {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.card:hover .link { color: var(--accent-bright); }
.card a.cover { position: absolute; inset: 0; z-index: 2; }

/* ---------- Banqueting band ---------- */
.banquet {
  background:
    linear-gradient(rgba(12, 12, 12, 0.9), rgba(12, 12, 12, 0.9)),
    url("../assets/img/food-1.jpg") center/cover fixed;
  background-image:
    linear-gradient(rgba(12, 12, 12, 0.9), rgba(12, 12, 12, 0.9)),
    image-set(url("../assets/img/food-1-1600.webp") type("image/webp"),
              url("../assets/img/food-1.jpg") type("image/jpeg"));
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.banquet h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 0.4rem 0 1rem; }
.banquet .price { color: var(--gold); font-family: var(--serif); font-size: 1.5rem; margin-bottom: 1rem; }
.banquet p { max-width: 60ch; margin: 0 auto 1rem; color: var(--text-dim); }
.banquet .small { font-size: 0.78rem; max-width: 68ch; opacity: 0.8; }
.banquet .btn { margin-top: 1.2rem; }

/* ---------- Reviews ---------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.6rem;
}
.review {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  border-radius: 10px;
  padding: 2.4rem 1.8rem 1.8rem;
  display: flex;
  flex-direction: column;
}
.review::before {
  content: "\201C";
  position: absolute;
  top: 0.4rem;
  left: 1.2rem;
  font-family: var(--serif);
  font-size: 3.2rem;
  line-height: 1;
  color: var(--accent-bright);
  opacity: 0.55;
}
.review .stars { color: var(--gold); letter-spacing: 0.2em; margin-bottom: 0.8rem; }
.review blockquote { font-size: 0.95rem; color: var(--text-dim); flex: 1; }
.review cite { display: block; margin-top: 1rem; font-style: normal; font-weight: 700; color: var(--text); font-size: 0.85rem; }

/* ---------- Menu pages ---------- */
.menu-section { padding: 3rem 0 0.5rem; }
.menu-section:last-of-type { padding-bottom: 3rem; }
.menu-section h2 {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--text);
  margin-bottom: 0.5rem;
}
.menu-section h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  margin: 0.9rem auto 0;
  background: var(--accent);
}
.menu-sub { margin-top: 2.2rem; }
.menu-sub h3 {
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  text-align: center;
  margin-bottom: 0.3rem;
}
.menu-sub .sub-desc { text-align: center; color: var(--text-dim); font-size: 0.9rem; max-width: 60ch; margin: 0 auto 1rem; }

.menu-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 3rem;
  margin-top: 1.4rem;
}
.menu-item { padding: 0.85rem 0; border-bottom: 1px dashed rgba(255,255,255,0.14); }
.menu-item .row {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  justify-content: space-between;
}
.menu-item .name { font-weight: 700; font-size: 0.95rem; letter-spacing: 0.04em; }
.menu-item .price { color: var(--gold); font-weight: 700; white-space: nowrap; font-size: 0.95rem; }
.menu-item .desc { color: var(--text-dim); font-size: 0.86rem; margin-top: 0.25rem; }

sup.diet {
  color: var(--accent-bright);
  font-size: 0.62em;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-left: 0.35em;
  font-family: var(--sans);
}
.diet-legend {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  padding-top: 2.2rem;
}
.diet-legend sup.diet { margin-left: 0; font-size: 0.8em; }

.menu-note {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.4rem 1.8rem;
  margin: 3rem 0 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.menu-note strong { color: var(--gold); text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 0.4rem; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.gallery-grid a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .gallery-grid a:hover img { transform: scale(1.05); }
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 6px; }
.lightbox button {
  position: absolute;
  top: 1rem;
  right: 1.4rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  cursor: pointer;
}

/* ---------- Info / contact ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.6rem;
  text-align: center;
}
.info-tile {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 2rem 1.4rem;
}
.info-tile h3 { color: var(--gold); font-size: 1.2rem; margin-bottom: 0.7rem; }
.info-tile p { color: var(--text-dim); font-size: 0.95rem; }
.info-tile a { color: var(--text); font-weight: 600; }
.info-tile a:hover { color: var(--accent-bright); }

.map-embed {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 3rem;
}
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(35%) contrast(95%); }

/* ---------- Footer ---------- */
.site-footer {
  background: #0d0d0d;
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 2rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.site-footer h4 {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.site-footer p, .site-footer li { color: var(--text-dim); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer .brand-blurb img { height: 40px; margin-bottom: 1rem; mix-blend-mode: screen; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.09);
  padding-top: 1.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .cards { grid-template-columns: 1fr; }
  .menu-items { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #141414;
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 1rem 1.25rem 1.5rem;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid rgba(255,255,255,0.09); }
  .site-nav a { display: block; padding: 0.9rem 0; }
  .site-nav .sub {
    display: block;
    position: static;
    transform: none;
    border: 0;
    background: none;
    box-shadow: none;
    padding: 0 0 0 1rem;
    min-width: 0;
  }
  .site-nav .sub li { border-bottom: 0; }
  .site-nav .sub a { padding: 0.5rem 0; }
  .site-nav .nav-cta { text-align: center; margin-top: 1rem; border-radius: 8px; }
  .hero { min-height: 60vh; }
}


/* ---------- Menu jump navigation ---------- */
.menu-jump {
  position: sticky;
  top: 72px;
  z-index: 40;
  background: rgba(14, 14, 14, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.menu-jump ul {
  list-style: none;
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding: 0.65rem 1.25rem;
  max-width: 1140px;
  margin: 0 auto;
  scrollbar-width: none;
}
.menu-jump ul::-webkit-scrollbar { display: none; }
.menu-jump a {
  display: block;
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
}
.menu-jump a { transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease, transform 150ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .menu-jump a:hover { color: var(--text); border-color: var(--line); }
}
.menu-jump a:active { transform: scale(0.96); }
.menu-jump a.active { color: #fff; background: var(--accent); }
.menu-section { scroll-margin-top: 140px; }

/* ---------- Scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 550ms var(--ease-out), transform 550ms var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
  }
  .reveal.shown { opacity: 1; transform: none; }
}

/* ---------- Header scroll shadow ---------- */
.site-header.scrolled { box-shadow: 0 8px 28px rgba(0,0,0,0.45); }

/* ---------- Reviews footer link ---------- */
.reviews-more {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  font-weight: 700;
  transition: top 150ms var(--ease-out);
}
.skip-link:focus { top: 1rem; color: #fff; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Print: menus come out as clean black-on-white lists ---------- */
@media print {
  :root { --text: #000; --text-dim: #333; --gold: #8a1c20; }
  body { background: #fff; color: #000; }
  .site-header, .site-nav, .nav-toggle, .skip-link, .menu-jump,
  .banquet, .site-footer, .hero .actions, .map-embed { display: none !important; }
  .hero { min-height: 0; background: none !important; }
  .hero::before { display: none; }
  .hero h1, .hero .kicker, .hero p.lead { color: #000; text-shadow: none; }
  section { padding: 1rem 0; background: none !important; }
  .menu-section h2 { color: #000; }
  .menu-sub h3 { color: #000; }
  .menu-item { border-bottom-color: #ccc; break-inside: avoid; }
  .menu-item .name { color: #000; }
  .menu-item .price { color: #000; }
  .menu-item .desc { color: #444; }
  .menu-items { grid-template-columns: 1fr 1fr; gap: 0.2rem 2rem; }
  .menu-note { border-color: #999; color: #333; background: none; }
  .diet-legend { color: #333; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
