/* ============================================================
   BISTRO BIENTJE — Design System
   Palette: #1a1a1a (base) | #2b2b2b (surface) | #c9a84c (gold) | #8b6914 (gold-dark) | #fff (text)
   ============================================================ */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #1a1a1a;
  --surface:   #2b2b2b;
  --surface2:  #222222;
  --gold:      #c9a84c;
  --gold-dark: #8b6914;
  --gold-light:#e2c57a;
  --text:      #ffffff;
  --text-muted:#b0a090;
  --text-dim:  #7a6e62;
  --radius:    4px;
  --transition:200ms ease;
  --font-display:'Playfair Display', Georgia, serif;
  --font-script: 'Cormorant Garamond', Georgia, serif;
  --font-body:   'Inter', system-ui, sans-serif;
  --max-w:     1180px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Prevent scroll when menu open */
body.menu-open { overflow: hidden; }

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

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

ul { list-style: none; }

address { font-style: normal; }

/* --- MEDIA FILL UTILITY --- */
.media, .img-fill, figure.photo { position: relative; overflow: hidden; }
.media > img, .img-fill > img, figure.photo > img,
.gallery img, .card img, .hero__img,
.menu-panel-img img, .about-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* --- SCREEN READER --- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }

.script { font-family: var(--font-script); font-weight: 400; font-style: italic; }
.script-italic { font-family: var(--font-script); font-style: italic; font-weight: 400; }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: 720px; margin: 0 auto; padding: 0 1.5rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  text-decoration: none;
}
.btn--gold {
  background: var(--gold);
  color: #1a1a1a;
  border: 2px solid var(--gold);
  font-weight: 600;
}
.btn--gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn--lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn--sm { padding: 0.55rem 1.25rem; font-size: 0.85rem; }
.btn--full { width: 100%; justify-content: center; }
.btn-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ============================================================
   ANNOUNCE BAR
   ============================================================ */
.announce-bar {
  background: var(--gold);
  color: #1a1a1a;
  text-align: center;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  position: relative;
  z-index: 200;
}
.announce-bar a { color: #1a1a1a; font-weight: 700; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26,26,26,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.logo-monogram {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  line-height: 1;
  width: 42px;
  height: 42px;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-name {
  font-family: var(--font-script);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: 0.02em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.desktop-nav a:not(.btn) {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}
.desktop-nav a:not(.btn):hover { color: var(--gold); }

/* ============================================================
   MOBILE MENU TRIGGER
   ============================================================ */
.mobile-menu__trigger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text);
}
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.mobile-menu__trigger.is-open .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu__trigger.is-open .hamburger span:nth-child(2) {
  opacity: 0;
}
.mobile-menu__trigger.is-open .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   MOBILE FULLSCREEN OVERLAY
   ============================================================ */
.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100svh;
  background: var(--bg);
  z-index: 500;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
}
.mobile-menu__overlay.is-open {
  transform: translateX(0);
}
@media (prefers-reduced-motion: reduce) {
  .mobile-menu__overlay { transition: none; }
}

.mobile-menu__panel {
  display: flex;
  flex-direction: column;
  padding: 2rem 2rem 2rem;
  min-height: 100svh;
}
.mobile-menu__close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.5rem;
  margin-bottom: 2rem;
}
.mobile-menu__close svg { width: 28px; height: 28px; }

.mobile-menu__list { flex: 1; }
.mobile-menu__list li { border-bottom: 1px solid rgba(255,255,255,0.07); }
.mobile-menu__item {
  display: block;
  padding: 1.1rem 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.mobile-menu__item:hover { color: var(--gold); }
.mobile-menu__cta {
  color: var(--gold) !important;
  margin-top: 0.5rem;
}
.mobile-menu__footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201,168,76,0.2);
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}
.mobile-menu__footer a { color: var(--gold); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26,26,26,0.35) 0%,
    rgba(26,26,26,0.55) 50%,
    rgba(26,26,26,0.8) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 780px;
}
.hero__monogram {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.08em;
  opacity: 0.25;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.hero__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 500;
}
.hero__title {
  font-family: var(--font-script);
  font-style: italic;
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 400;
  line-height: 1;
  color: var(--text);
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
  margin-bottom: 1rem;
}
.hero__tagline {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--gold);
  animation: bounce 2s infinite;
}
.hero__scroll svg { width: 28px; height: 28px; }
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.section-label.light { color: var(--gold-light); }
.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--text);
  margin-bottom: 0.75rem;
}
.section-title.light { color: var(--text); }
.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ============================================================
   MENU SECTION
   ============================================================ */
.menu-section {
  padding: 6rem 0;
  background: var(--bg);
}

.menu-tabs {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 3rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding-bottom: 0;
}
.menu-tabs::-webkit-scrollbar { display: none; }

.menu-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1.25rem;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
  flex-shrink: 0;
  margin-bottom: -1px;
}
.menu-tab:hover { color: var(--gold); }
.menu-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.menu-panel { display: none; }
.menu-panel.active { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; align-items: start; }

.menu-panel-img {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius);
}
.menu-panel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.menu-list { display: flex; flex-direction: column; gap: 0.25rem; }

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  grid-template-rows: auto auto;
  gap: 0 0.5rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.menu-item:last-of-type { border-bottom: none; }
.menu-item__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  grid-column: 1;
}
.menu-item__dots {
  flex: 1;
  border-bottom: 1px dotted rgba(201,168,76,0.3);
  margin: 0 0.5rem;
  align-self: end;
  margin-bottom: 0.35rem;
  grid-column: 2;
  min-width: 20px;
}
.menu-item__price {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
  grid-column: 3;
  align-self: center;
}
.menu-item__desc {
  grid-column: 1 / -1;
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  line-height: 1.5;
}
.menu-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-style: italic;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(201,168,76,0.15);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  background: var(--surface);
  padding: 0;
  overflow: hidden;  
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
  align-items: stretch;
}
.about-img {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 480px;
}
.about-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-text {
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}
.about-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}
.about-quote {
  font-size: 2rem !important;
  color: var(--gold) !important;
  font-family: var(--font-script) !important;
  font-style: italic !important;
  line-height: 1.2 !important;
  margin: 0.5rem 0;
}

/* ============================================================
   INFO SECTION
   ============================================================ */
.info-section {
  padding: 5rem 0;
  background: var(--surface2);
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.info-card {
  background: var(--surface);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color var(--transition);
}
.info-card:hover { border-color: rgba(201,168,76,0.35); }
.info-icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
}
.info-icon svg { width: 100%; height: 100%; }
.info-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.info-card p, .info-card address { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }
.info-card a.info-link { color: var(--gold); font-size: 0.85rem; font-weight: 500; margin-top: 0.25rem; transition: opacity var(--transition); }
.info-card a.info-link:hover { opacity: 0.75; }

.hours-list { display: flex; flex-direction: column; gap: 0.3rem; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #d0c8be;
  padding: 0.2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hours-list li:last-child { border: none; }
.hours-list li span:first-child { color: #ffffff; font-weight: 600; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-section {
  padding: 5rem 0;
  background: var(--bg);
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-field { display: flex; flex-direction: column; gap: 0.45rem; }
.form-field label {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-field input,
.form-field textarea {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  transition: border-color var(--transition);
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-dim);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-kit {
  background: #111111;
  border-top: 1px solid rgba(201,168,76,0.2);
  padding: 4rem 0 0;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-monogram {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  width: 44px;
  height: 44px;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.footer-logo-name {
  font-family: var(--font-script);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--text);
}
.footer-tagline { font-size: 0.85rem; color: var(--text-dim); margin-top: 0.25rem; }

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-col address {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.9;
}
.footer-col address a { color: var(--text-muted); transition: color var(--transition); }
.footer-col address a:hover { color: var(--gold); }

.footer-hours { display: flex; flex-direction: column; gap: 0.25rem; }
.footer-hours li {
  display: flex;
  justify-content: space-between;
  font-size: 0.83rem;
  color: var(--text-muted);
  padding: 0.15rem 0;
}
.footer-hours li span:first-child { min-width: 30px; }

.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.9rem; color: var(--text-muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  background: #0d0d0d;
  text-align: center;
  padding: 1rem 1.5rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  border-top: 1px solid rgba(201,168,76,0.08);
}

/* ============================================================
   STICKY MOBILE FOOTER BAR
   ============================================================ */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--bg);
  border-top: 1px solid rgba(201,168,76,0.2);
  display: none;
  grid-template-columns: 1fr 1fr;
}
.mobile-sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--surface);
  transition: background var(--transition);
  min-height: 56px;
}
.mobile-sticky-btn svg { width: 20px; height: 20px; }
.mobile-sticky-btn:active { background: #333; }
.mobile-sticky-btn--gold {
  background: var(--gold);
  color: #1a1a1a;
}
.mobile-sticky-btn--gold:active { background: var(--gold-light); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-text { padding: 4rem 2.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Hide desktop nav, show mobile trigger */
  .desktop-nav { display: none; }
  .mobile-menu__trigger { display: flex; align-items: center; }

  /* Mobile sticky bar */
  .mobile-sticky-bar { display: grid; }

  /* Extra padding bottom so footer bar doesn't cover content */
  .footer-kit { padding-bottom: 60px; }

  /* Hero */
  .hero__monogram { font-size: 5rem; }
  .hero__title { font-size: clamp(3.5rem, 15vw, 5rem); }

  /* Menu tabs */
  .menu-tab { padding: 0.75rem 0.9rem; font-size: 0.78rem; }
  .menu-panel.active { grid-template-columns: 1fr; }
  .menu-panel-img { aspect-ratio: 16/9; }

  /* About */
  .about-inner { grid-template-columns: 1fr; }
  .about-img { aspect-ratio: 16/9; }
  .about-img img { width: 100%; height: 100%; object-fit: cover; }
  .about-text { padding: 3rem 1.5rem; }

  /* Info */
  .info-grid { grid-template-columns: 1fr; }

  /* Contact form row */
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 1.75rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero__title { font-size: clamp(3rem, 18vw, 4.5rem); }
  .menu-section { padding: 4rem 0; }
  .about-text { padding: 2.5rem 1.25rem; }
  .info-section { padding: 3rem 0; }
  .contact-section { padding: 3rem 0; }
  .section-header { margin-bottom: 2rem; }
}

/* Fix: about-img container on mobile needs fixed height */
@media (max-width: 768px) {
  .about-img {
    height: 300px;
    aspect-ratio: unset;
  }
}
