/* ============================================================
   BISTRO MAIRIE — STYLE.CSS
   Palette: Slate #2C3E50 | Tan #8B7355 | Gold #B5954A | Linen #F5F0E8
   Typography: Cormorant Garamond (display) + Inter (body)
   ============================================================ */

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

:root {
  --slate:   #2C3E50;
  --slate-d: #1e2d3d;
  --tan:     #8B7355;
  --gold:    #B5954A;
  --gold-d:  #9a7e3f;
  --gold-text: #2a1f0a;
  --linen:   #F5F0E8;
  --linen-d: #ede6d8;
  --ink:     #1A1A1A;
  --white:   #FFFFFF;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --radius:  4px;
  --shadow:  0 4px 24px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.18);
  --transition: 220ms ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: #1A1A1A;
  background: #ffffff;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

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

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

ul { list-style: none; }

/* ---- IMAGE-FILL UTILITY (mobile-proof) ---- */
.media, .img-fill, figure.photo {
  position: relative;
  overflow: hidden;
}
.media > img, .img-fill > img, figure.photo > img,
.gallery__item img, .hero__img,
.vins-bg__img, .about-image img,
.events-photo-wrap img, .vins-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- CONTAINER ---- */
.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

/* ---- SECTION BASE ---- */
.section { padding: 96px 0; }
.section--linen  { background: #F5F0E8; }
.section--white  { background: #ffffff; }
.section--slate  { background: #2C3E50; color: #ffffff; position: relative; overflow: hidden; }

/* ---- TYPOGRAPHY ---- */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #8B7355;
  margin-bottom: .75rem;
}
.section-eyebrow--center { text-align: center; }
.section-eyebrow--gold   { color: #B5954A; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: #2C3E50;
  margin-bottom: 1.5rem;
}
.section-title--center { text-align: center; }
.section-title--light  { color: #ffffff; }

.section-intro {
  font-size: 1.05rem;
  color: #555;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85em 2em;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 1em 2.4em; font-size: 1rem; }

/* PRIMARY — warm gold fill — HARDCODED hex, no variable dependency */
.btn--gold {
  background-color: #B5954A !important;
  color: #2a1f0a !important;
  border-color: #B5954A !important;
  font-weight: 700 !important;
}
.btn--gold:hover {
  background-color: #c9a45a !important;
  border-color: #c9a45a !important;
}

/* Ghost on dark */
.btn--ghost {
  background: rgba(255,255,255,.15);
  color: #ffffff;
  border-color: rgba(255,255,255,.8);
}
.btn--ghost:hover { background: rgba(255,255,255,.25); border-color: #ffffff; }

.btn--ghost-light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,.6);
}
.btn--ghost-light:hover { background: rgba(255,255,255,.1); border-color: #ffffff; }

.btn--dark {
  background: #2C3E50;
  color: #ffffff;
  border-color: #2C3E50;
}
.btn--dark:hover { background: #1e2d3d; border-color: #1e2d3d; }

.btn--outline-dark {
  background: transparent;
  color: #2C3E50;
  border-color: #2C3E50;
}
.btn--outline-dark:hover { background: #2C3E50; color: #ffffff; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 1.1rem 0;
  background: transparent;
  transition: background 220ms ease, box-shadow 220ms ease, padding 220ms ease;
}
.site-header.scrolled {
  background: rgba(30,45,61,.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
  padding: .7rem 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.logo { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: .03em;
}
.logo-sub {
  font-family: var(--font-body);
  font-size: .65rem;
  font-weight: 400;
  color: #B5954A;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.desktop-nav ul { display: flex; align-items: center; gap: 2rem; }
.desktop-nav a {
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  transition: color 220ms ease;
}
.desktop-nav a:hover { color: #B5954A; }
.desktop-nav .nav-cta {
  background-color: #B5954A;
  color: #2a1f0a;
  padding: .5em 1.2em;
  border-radius: 4px;
  font-weight: 700;
}
.desktop-nav .nav-cta:hover { background: #c9a45a; color: #2a1f0a; }

/* ============================================================
   MOBILE MENU TRIGGER
   ============================================================ */
.mobile-menu__trigger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 220ms ease, opacity 220ms ease;
}

/* ============================================================
   MOBILE MENU OVERLAY (FULLSCREEN KIT)
   ============================================================ */
.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100svh;
  min-height: 100dvh;
  background: #1e2d3d;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 280ms cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu__overlay[aria-hidden="false"] {
  transform: translateX(0);
}
.mobile-menu__overlay[aria-hidden="true"] {
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu__overlay { transition: none; }
}

.mobile-menu__panel { width: 100%; padding: 1.5rem 2rem 3rem; }

.mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  color: #B5954A;
  padding: .5rem 0;
  margin-bottom: 1rem;
}

.mobile-menu__logo { margin-bottom: 2.5rem; }
.mobile-menu__logo .logo-name { font-size: 2rem; color: #ffffff; }

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  margin-bottom: 2.5rem;
}

.mobile-menu__item {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 400;
  color: rgba(255,255,255,.85);
  padding: .55rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color 220ms ease, padding-left 220ms ease;
}
.mobile-menu__item:hover { color: #B5954A; padding-left: .5rem; }
.mobile-menu__item--cta {
  color: #B5954A;
  border-bottom: none;
  margin-top: .75rem;
  font-weight: 500;
}

.mobile-menu__footer {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.5);
  font-size: .85rem;
  line-height: 1.8;
}
.mobile-menu__footer a { color: #B5954A; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background-color: #1e2d3d;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15,15,15,.30) 0%,
    rgba(15,15,15,.65) 55%,
    rgba(10,10,10,.82) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 7rem 1.5rem 5rem;
  max-width: 860px;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #B5954A;
  margin-bottom: 1.25rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 300;
  line-height: 1.08;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 24px rgba(0,0,0,.6);
}

.hero__sub {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,.92);
  margin-bottom: 2.75rem;
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,.6);
  animation: bounce 2s infinite;
}
.hero__scroll:hover { color: #B5954A; }

@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   OVER ONS
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-text p { color: #444; margin-bottom: 1.25rem; font-size: 1.05rem; }
.about-image figure.photo {
  aspect-ratio: 4/5;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
}

/* ============================================================
   MENU CARDS
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  border-radius: 4px;
  padding: 2.5rem 2rem;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 40px rgba(0,0,0,.18); }
.card--dark { background: #2C3E50; color: #ffffff; }
.card--featured { background: #1e2d3d; border: 1px solid #B5954A; }

.card__icon {
  width: 48px; height: 48px;
  border: 1.5px solid #B5954A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #B5954A;
}
.card__title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 400;
  color: #B5954A;
  margin-bottom: .75rem;
}
.card__body {
  font-size: .95rem;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.card__link {
  font-size: .85rem;
  font-weight: 600;
  color: #B5954A;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.card__link:hover { color: #c9a45a; }

/* ============================================================
   LES VINS — split layout
   ============================================================ */
.vins-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.vins-bg__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .18;
}
.vins-bg__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(30,45,61,.96) 0%, rgba(44,62,80,.88) 100%);
}
.vins-split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 5rem;
  align-items: center;
}
.vins-text { font-size: 1.08rem; color: rgba(255,255,255,.85); margin-bottom: 1.25rem; line-height: 1.75; }
.vins-regions { display: flex; gap: 1.75rem; flex-wrap: wrap; margin-top: 2rem; }
.vins-region {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #B5954A;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  font-style: italic;
}
.vins-region svg { opacity: .8; }
.vins-photo {
  aspect-ratio: 3/4;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,.5);
  border: 1px solid rgba(201,185,154,.25);
}

/* ============================================================
   EVENTS / GROEPEN
   ============================================================ */
.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.events-text p { color: #444; font-size: 1.05rem; margin-bottom: 1.25rem; }
.events-list { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2rem; }
.events-list li { display: flex; align-items: center; gap: .75rem; font-size: 1rem; color: #1A1A1A; }
.events-list li svg { color: #8B7355; flex-shrink: 0; }

.events-visual { display: flex; flex-direction: column; gap: 1rem; }
.events-photo-wrap {
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
}
.events-photo-wrap figure.photo { width: 100%; height: 100%; }
.events-stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.events-stat {
  background: #2C3E50;
  border-radius: 4px;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .4rem;
}
.events-stat__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: #B5954A;
  line-height: 1;
}
.events-stat__label {
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ============================================================
   GALLERY — even 3x2 uniform grid
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: .5rem;
  margin-top: 2.5rem;
}
.gallery__item { overflow: hidden; }
.gallery__item figure.photo { width: 100%; height: 100%; }
.gallery__item figure.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.gallery__item:hover figure.photo img { transform: scale(1.04); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { background: #2C3E50; text-align: center; }
.cta-band__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 1rem;
}
.cta-band__sub { color: rgba(255,255,255,.75); font-size: 1.1rem; margin-bottom: 2.5rem; }
.cta-band__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.cta-band__hours {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-kit {
  background: #1A1A1A;
  color: rgba(255,255,255,.65);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: #ffffff;
  display: block;
  margin-bottom: .75rem;
}
.footer-tagline { font-size: .9rem; color: rgba(255,255,255,.5); line-height: 1.6; }
.footer-heading {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #B5954A;
  margin-bottom: 1.25rem;
}
.footer-list { display: flex; flex-direction: column; gap: .85rem; }
.footer-list li { display: flex; gap: .65rem; align-items: flex-start; font-size: .9rem; line-height: 1.6; }
.footer-list li svg { flex-shrink: 0; margin-top: .15rem; color: #8B7355; }
.footer-list a { color: rgba(255,255,255,.65); transition: color 220ms ease; }
.footer-list a:hover { color: #B5954A; }
.footer-list--links { gap: .5rem; }
.footer-list--links li { display: block; }
.footer-list--links a { font-size: .9rem; }
.footer-hours { display: flex; flex-direction: column; gap: .4rem; }
.footer-hours li { display: flex; justify-content: space-between; font-size: .875rem; gap: 1rem; }
.footer-hours li span:first-child { color: rgba(255,255,255,.6); }
.footer-hours li span:last-child { color: rgba(255,255,255,.9); font-weight: 500; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-demo-note a { color: rgba(255,255,255,.45); text-decoration: underline; }
.footer-demo-note a:hover { color: #B5954A; }

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .desktop-nav { display: none; }
  .mobile-menu__trigger { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image figure.photo { aspect-ratio: 16/9; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .card-grid .card:last-child { grid-column: 1 / -1; max-width: 420px; margin: 0 auto; }
  .vins-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .vins-image-col { order: -1; }
  .vins-photo { aspect-ratio: 16/9; max-height: 340px; }
  .events-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .gallery { grid-auto-rows: 240px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .hero__title { font-size: clamp(2rem, 9vw, 2.8rem); }
  .hero__sub   { font-size: 1rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { text-align: center; justify-content: center; }
  .card-grid { grid-template-columns: 1fr; }
  .card-grid .card:last-child { max-width: 100%; }
  .vins-regions { gap: 1rem; }
  .events-stats-row { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-band__actions { flex-direction: column; align-items: stretch; }
  .cta-band__actions .btn { justify-content: center; }
}
