/*
Theme Name: Kassita Theme
Theme URI: https://darkassita.be
Author: Dar Kassita
Description: Fine Moroccan Dining — volledig bewerkbaar WordPress thema. Vereist Classic Editor plugin.
Version: 6.2.0
License: GNU General Public License v2 or later
Text Domain: kassita-theme
Tags: restaurant, moroccan, fine-dining, gallery, poster, dark, luxury
*/

/* ============================================================
   TOKENS
============================================================ */
:root {
  --cream:        #F8F4E6;
  --dark:         #130E08;
  --dark2:        #1C1409;
  --dark3:        #241A0D;
  --gold:         #C9A764;
  --gold2:        #E8CFA0;
  --border:       rgba(201,167,100,0.18);
  --border-light: rgba(248,244,230,0.08);
  --serif:        'Playfair Display', Georgia, serif;
  --sans:         'Cormorant Garamond', 'Times New Roman', serif;
  --hdr-h:        80px;
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--dark);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* Subtle grain */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9000;
}

/* ============================================================
   HEADER
============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--hdr-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  z-index: 500;
  transition: background 0.4s var(--ease), height 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}

#site-header.scrolled {
  background: rgba(19,14,8,0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  height: 64px;
  border-bottom-color: var(--border);
}

/* Branding */
.site-branding { display: flex; flex-direction: column; gap: 2px; }
.site-branding a { display: flex; flex-direction: column; gap: 2px; }

.brand-name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1;
  transition: color 0.3s;
}
.brand-name:hover { color: var(--gold2); }

.brand-sub {
  font-size: 8px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--sans);
  font-weight: 300;
}

/* Nav */
#primary-navigation ul { display: flex; }

#primary-navigation ul li a {
  display: block;
  padding: 8px 16px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(248,244,230,0.75);
  position: relative;
  transition: color 0.3s;
}

#primary-navigation ul li a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 16px; right: 16px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

#primary-navigation ul li a:hover,
#primary-navigation .current-menu-item > a { color: var(--cream); }
#primary-navigation ul li a:hover::after,
#primary-navigation .current-menu-item > a::after { transform: scaleX(1); }

/* Header rechtergroep: taal + hamburger samen */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Brand link */
.brand-link { display: flex; flex-direction: column; gap: 3px; text-decoration: none; }

/* Language switcher */
.lang-switcher { display: flex; border: 1px solid var(--border); }

.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  font-size: 9.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(248,244,230,0.45);
  font-family: var(--sans);
  transition: all 0.25s;
  border-right: 1px solid var(--border);
  cursor: pointer;
  min-height: 32px;
  min-width: 32px;
}
.lang-btn:last-child { border-right: none; }
.lang-btn:hover, .lang-btn.active {
  background: var(--gold);
  color: var(--dark);
}

/* Hamburger — verborgen op desktop, zichtbaar op mobiel */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--border);
  padding: 10px 12px;
  min-width: 44px;
  min-height: 44px;
  flex-shrink: 0;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--cream);
  transition: all 0.3s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.admin-bar #site-header { top: 32px; }

/* ============================================================
   MOBILE MENU DRAWER
============================================================ */
@media (max-width: 960px) {
  #site-header        { padding: 0 24px; }
  .menu-toggle        { display: flex; }

  /* Nav verbergen op mobiel, verschijnt als drawer */
  #primary-navigation {
    position: fixed;
    top: var(--hdr-h); left: 0; right: 0; bottom: 0;
    background: rgba(13,9,5,0.99);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform 0.38s var(--ease);
    z-index: 498;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px 0 40px;
  }
  #primary-navigation.open { transform: translateX(0); }

  #primary-navigation ul { flex-direction: column; }
  #primary-navigation ul li a {
    padding: 16px 28px;
    font-size: 13px;
    letter-spacing: 3px;
    border-bottom: 1px solid var(--border-light);
    color: rgba(248,244,230,0.7);
  }
  #primary-navigation ul li a:hover { color: var(--cream); background: rgba(201,167,100,0.06); }
  #primary-navigation ul li a::after { display: none; }
  #primary-navigation ul li:last-child a { border-bottom: none; }
}

/* ============================================================
   HERO
============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: heroZoom 14s ease forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

/* Hero VIDEO achtergrond */
.hero-video-wrap {
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero-video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(19,14,8,0.2) 0%,
    rgba(19,14,8,0.55) 40%,
    rgba(19,14,8,0.88) 100%
  );
}

.hero-content {
  position: relative; z-index: 2;
  padding: calc(var(--hdr-h) + 60px) 24px 100px;
  max-width: 800px; width: 100%;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 9px; letter-spacing: 5px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 1s 0.2s var(--ease) forwards;
}
.hero-kicker::before, .hero-kicker::after {
  content: '';
  display: block;
  width: 26px; height: 1px;
  background: var(--gold);
}

.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 9vw, 100px);
  font-weight: 800;
  line-height: 0.92;
  margin-bottom: 10px;
  opacity: 0;
  animation: fadeUp 1s 0.4s var(--ease) forwards;
}
.hero-h1 em {
  display: block;
  font-style: italic;
  font-weight: 600;
  color: var(--gold2);
  font-size: 0.62em;
  letter-spacing: 0.06em;
  margin-top: 6px;
}

.hero-sub {
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 300;
  color: rgba(248,244,230,0.68);
  max-width: 480px;
  margin: 28px auto 44px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 1s 0.6s var(--ease) forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s 0.8s var(--ease) forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0;
  animation: fadeUp 1s 1.2s var(--ease) forwards;
}
.scroll-cue-label {
  font-size: 8px; letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(248,244,230,0.3);
}
.scroll-cue-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(201,167,100,0.5), transparent);
  animation: scrollPulse 2.5s 1.5s ease infinite;
}
@keyframes scrollPulse {
  0%,100% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%     { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60%     { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  80%     { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 44px;
  background: var(--cream);
  color: var(--dark);
  border: 1px solid var(--cream);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s, border-color 0.35s;
  white-space: nowrap;
  -webkit-appearance: none;
  appearance: none;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(248,244,230,0.35);
}
.btn-ghost:hover { background: rgba(248,244,230,0.06); border-color: rgba(248,244,230,0.6); color: var(--cream); }

/* ============================================================
   SECTIONS
============================================================ */
.site-section {
  padding: 120px 56px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.site-section.visible { opacity: 1; transform: translateY(0); }

.section-inner { max-width: 1160px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 70px; }

.eyebrow {
  display: inline-flex;
  align-items: center; gap: 12px;
  font-size: 9px; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold);
  font-family: var(--sans); margin-bottom: 16px;
}
.eyebrow::before, .eyebrow::after {
  content: ''; display: block;
  width: 18px; height: 1px; background: var(--gold);
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 600; line-height: 1.08;
  margin-bottom: 22px;
}

.section-rule {
  width: 48px; height: 1px;
  background: var(--gold); margin: 0 auto;
}

/* ============================================================
   ABOUT
============================================================ */
#about { background: var(--dark2); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}

.about-text p {
  font-size: 17px; font-weight: 300;
  opacity: 0.82; margin-bottom: 18px; line-height: 1.85;
}

.about-pull {
  font-family: var(--serif);
  font-style: italic; font-size: 21px;
  color: var(--gold2);
  border-left: 2px solid var(--gold);
  padding-left: 22px;
  margin: 32px 0 36px;
  line-height: 1.55;
}

.about-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }

/* Afbeeldingenkolom — ondersteunt 1, 2 of 3 foto's */
.about-images {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
/* Als 2+ afbeeldingen: toon ze als een grid */
.about-multi-img .about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
/* Eerste afbeelding bij meerdere: volle breedte bovenaan */
.about-multi-img .about-images .about-img-wrap:first-child {
  grid-column: 1 / -1;
}
/* Gouden hoek-accenten op de eerste afbeelding */
.about-images .about-img-wrap:first-child::before,
.about-images .about-img-wrap:first-child::after {
  content: '';
  position: absolute;
  width: 40px; height: 40px;
  border-color: var(--gold); border-style: solid;
  pointer-events: none; z-index: 2;
}
.about-images .about-img-wrap:first-child::before { top: -10px; left: -10px; border-width: 1px 0 0 1px; }
.about-images .about-img-wrap:first-child::after  { bottom: -10px; right: -10px; border-width: 0 1px 1px 0; }

.about-img-wrap {
  width: 100%; overflow: hidden;
  position: relative;
  border-radius: 1px;
}
.about-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  filter: brightness(0.88) contrast(1.03);
  transition: transform 0.6s var(--ease), filter 0.4s;
}
.about-img-wrap:hover img {
  transform: scale(1.03);
  filter: brightness(0.96) contrast(1.04);
}

/* Legacy fallback */
.about-img { position: relative; }
.about-img img {
  width: 100%; height: 480px; object-fit: cover;
  filter: brightness(0.82) contrast(1.04);
}
.about-img::before, .about-img::after {
  content: '';
  position: absolute;
  width: 44px; height: 44px;
  border-color: var(--gold); border-style: solid;
  pointer-events: none;
}
.about-img::before { top: -12px; left: -12px; border-width: 1px 0 0 1px; }
.about-img::after  { bottom: -12px; right: -12px; border-width: 0 1px 1px 0; }

.img-placeholder {
  width: 100%; height: 480px;
  background: var(--dark3);
  border: 1px dashed var(--border);
  display: flex; align-items: center; justify-content: center;
  color: rgba(248,244,230,0.2);
  font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; text-align: center; padding: 20px; line-height: 2;
}

/* ============================================================
   MENU / GERECHTEN
============================================================ */
#menu { border-top: 1px solid var(--border); }

.menu-tabs {
  display: flex; justify-content: center;
  border: 1px solid var(--border);
  width: fit-content; margin: 0 auto 52px;
  flex-wrap: wrap;
}
.menu-tab {
  background: none; border: none;
  border-right: 1px solid var(--border);
  color: rgba(248,244,230,0.45);
  padding: 10px 26px;
  font-family: var(--sans); font-size: 10px;
  letter-spacing: 2.5px; text-transform: uppercase;
  cursor: pointer; transition: all 0.25s;
}
.menu-tab:last-child { border-right: none; }
.menu-tab:hover, .menu-tab.active { background: var(--gold); color: var(--dark); }

.dishes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
}

.dish-card {
  background: var(--dark2);
  position: relative; overflow: hidden;
  transition: background 0.3s;
  display: flex; flex-direction: column;
}
.dish-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
  z-index: 2;
}
.dish-card:hover { background: var(--dark3); }
.dish-card:hover::after { transform: scaleX(1); }

/* Foto van het gerecht — behoudt originele verhouding */
.dish-img-wrap {
  width: 100%;
  overflow: hidden;
  flex-shrink: 0;
}
.dish-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
  filter: brightness(0.88) saturate(0.9);
}
.dish-card:hover .dish-img-wrap img {
  transform: scale(1.04);
  filter: brightness(1) saturate(1.05);
}

.dish-body { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; }

.dish-cat {
  font-size: 9px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 10px;
}
.dish-card h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.dish-card p  { font-size: 14px; font-weight: 300; opacity: 0.6; margin-bottom: 20px; line-height: 1.65; flex: 1; }
.dish-foot    { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.dish-price   { font-family: var(--serif); font-size: 22px; color: var(--gold2); }
.no-dishes    { grid-column:1/-1; text-align:center; padding:80px; opacity:0.25; font-size:11px; letter-spacing:2px; text-transform:uppercase; }

/* ============================================================
   GALLERY
============================================================ */
#gallery { background: var(--dark2); border-top: 1px solid var(--border); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
/* Verwijder vaste rij-hoogte — elk item behoudt zijn eigen verhouding */
.gallery-item:nth-child(1) { grid-column: span 2; }
.gallery-item:nth-child(5) { grid-column: span 2; }

.gallery-item {
  position: relative; overflow: hidden;
  cursor: pointer; background: var(--dark3);
  /* aspect-ratio wordt via inline style gezet vanuit PHP */
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.4s;
  filter: brightness(0.78) saturate(0.85);
  display: block;
}
.gallery-item:hover img { transform: scale(1.07); filter: brightness(0.95) saturate(1.1); }

.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(19,14,8,0.4);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.35s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-plus {
  width: 44px; height: 44px;
  border: 1px solid rgba(248,244,230,0.7);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--cream);
  transform: rotate(45deg) scale(0.6);
  transition: transform 0.35s var(--ease);
}
.gallery-item:hover .gallery-plus { transform: rotate(0deg) scale(1); }
.gallery-empty { grid-column:1/-1; text-align:center; padding:100px; opacity:0.2; font-size:11px; letter-spacing:2px; text-transform:uppercase; }

/* ============================================================
   LIGHTBOX
============================================================ */
#kassita-lightbox {
  display: none; position: fixed; inset: 0;
  background: rgba(8,5,2,0.97);
  z-index: 9999;
  align-items: center; justify-content: center;
}
#kassita-lightbox.active { display: flex; }

#lightbox-img {
  max-width: 88vw; max-height: 86vh;
  object-fit: contain;
  box-shadow: 0 32px 80px rgba(0,0,0,0.9);
}

.lb-close {
  position: absolute; top: 20px; right: 22px;
  width: 44px; height: 44px;
  background: none; border: 1px solid rgba(248,244,230,0.2);
  color: var(--cream); font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}
.lb-close:hover { border-color: var(--gold); color: var(--gold); }

.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  background: rgba(19,14,8,0.6); border: 1px solid rgba(248,244,230,0.15);
  color: var(--cream); font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.lb-nav:hover { background: rgba(201,167,100,0.2); border-color: var(--gold); }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }

.lb-counter {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  font-size: 9.5px; letter-spacing: 3px;
  color: rgba(248,244,230,0.3); font-family: var(--sans);
}

/* ============================================================
   POSTER / AANBIEDING
============================================================ */
.poster-section {
  position: relative; overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--border);
}

/* Foto als achtergrond — behoudt originele verhouding */
.poster-bg-wrap {
  position: relative; width: 100%;
  min-height: 420px; /* minimale hoogte als geen aspect-ratio bekend */
}
.poster-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.22) saturate(0.5);
  display: block;
}

/* Legacy .poster-bg (CSS background) */
.poster-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.2) saturate(0.5);
}

.poster-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(19,14,8,0.15) 0%, rgba(19,14,8,0.55) 100%);
}

/* Tekstinhoud — gecentreerd bovenop de foto */
.poster-fg {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 60px 40px;
  max-width: 100%;
}

/* Als er geen foto is: gewone padding */
.poster-section:not(:has(.poster-bg-wrap)):not(:has(.poster-bg)) .poster-fg {
  position: relative; padding: 120px 56px;
}

.poster-label {
  font-size: 9px; letter-spacing: 5px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 18px;
}
.poster-title {
  font-family: var(--serif);
  font-size: clamp(28px, 5vw, 64px);
  font-weight: 600; margin-bottom: 20px; line-height: 1.05;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}
.poster-body {
  font-size: 17px; font-weight: 300; opacity: 0.85;
  margin-bottom: 32px; line-height: 1.75;
  max-width: 580px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.poster-price {
  font-family: var(--serif);
  font-size: 58px; color: var(--gold2);
  margin-bottom: 36px; line-height: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.poster-price sup { font-size: 28px; vertical-align: super; line-height: 0; }

/* ============================================================
   RESERVATION
============================================================ */
#reservation { background: var(--dark3); border-top: 1px solid var(--border); }

.res-wrap { max-width: 580px; margin: 0 auto; }

.res-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
}

.res-field {
  position: relative;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.res-field:nth-child(even) { border-right: none; }
.res-field.full { grid-column: 1 / -1; border-right: none; }
.res-field.submit-row { grid-column: 1 / -1; border-right: none; border-bottom: none; }

.res-label {
  display: block;
  font-size: 8px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--gold);
  font-family: var(--sans);
  padding: 14px 20px 0;
  pointer-events: none;
}

.res-form input,
.res-form select,
.res-form textarea {
  display: block; width: 100%;
  padding: 6px 20px 14px;
  background: transparent; border: none;
  color: var(--cream);
  font-family: var(--sans); font-size: 15px; font-weight: 300;
  outline: none;
  -webkit-appearance: none; appearance: none;
  transition: background 0.25s;
}
.res-form textarea { resize: vertical; min-height: 90px; padding-top: 8px; }
.res-form select option { background: var(--dark); color: var(--cream); }
.res-form input::placeholder,
.res-form textarea::placeholder { color: rgba(248,244,230,0.22); font-style: italic; }

.res-field:focus-within { background: rgba(201,167,100,0.06); }

.res-form .btn {
  width: 100%; padding: 20px;
  border: none; border-top: 1px solid var(--border);
  font-size: 11px; letter-spacing: 3px;
}

#res-confirm {
  text-align: center; margin-top: 20px;
  font-family: var(--serif); font-style: italic;
  font-size: 16px; color: var(--gold);
  min-height: 24px; line-height: 1.5;
}

/* ============================================================
   CONTACT
============================================================ */
#contact { border-top: 1px solid var(--border); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px; align-items: start;
}

.contact-item { margin-bottom: 34px; }

.contact-lbl {
  font-size: 8.5px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold);
  font-family: var(--sans); margin-bottom: 8px;
}

.contact-val {
  font-size: 16px; font-weight: 300;
  line-height: 1.7; color: rgba(248,244,230,0.8);
}
.contact-val a { color: inherit; transition: color 0.25s; }
.contact-val a:hover { color: var(--gold2); }

.contact-map {
  background: var(--dark3);
  border: 1px solid var(--border);
  overflow: hidden;
  min-height: 360px;
  display: flex; align-items: center; justify-content: center;
}
.contact-map iframe {
  display: block; width: 100%; height: 360px; border: 0;
  filter: brightness(0.75) saturate(0.5);
}
.map-placeholder {
  text-align: center; opacity: 0.2; padding: 20px;
  font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; line-height: 2.5;
}
.map-placeholder-icon { font-size: 40px; margin-bottom: 12px; display: block; }

/* ============================================================
   FOOTER
============================================================ */
#site-footer {
  background: #0D0905;
  border-top: 1px solid var(--border);
  padding: 80px 56px 36px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 64px;
  max-width: 1160px; margin: 0 auto 60px;
}

.footer-logo-name {
  font-family: var(--serif);
  font-size: 17px; font-weight: 800;
  letter-spacing: 5px; text-transform: uppercase;
  margin-bottom: 4px;
}
.footer-logo-sub {
  font-size: 8.5px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.footer-tagline { font-size: 14px; font-weight: 300; opacity: 0.45; line-height: 1.75; max-width: 260px; }

.footer-col h4 {
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); font-family: var(--sans); font-weight: 500;
  margin-bottom: 20px;
}
.footer-col p,
.footer-col a {
  display: block; font-size: 13px; font-weight: 300;
  opacity: 0.45; margin-bottom: 10px; line-height: 1.65;
  color: var(--cream); transition: opacity 0.2s;
}
.footer-col a:hover { opacity: 1; }
/* Nav ul in footer */
.footer-col ul li a { display: block; font-size: 13px; font-weight: 300; opacity: 0.45; margin-bottom: 10px; color: var(--cream); transition: opacity 0.2s; }
.footer-col ul li a:hover { opacity: 1; }

.footer-bottom {
  max-width: 1160px; margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; opacity: 0.3; font-family: var(--sans);
}

/* ============================================================
   ENTRY CONTENT (Classic Editor)
============================================================ */
.entry-content h2, .entry-content h3 { font-family: var(--serif); margin: 28px 0 12px; }
.entry-content p  { margin-bottom: 16px; font-weight: 300; line-height: 1.8; }
.entry-content a  { color: var(--gold); border-bottom: 1px solid rgba(201,167,100,0.3); }
.entry-content a:hover { border-color: var(--gold); }
.entry-content ul,
.entry-content ol { margin: 0 0 16px 24px; opacity: 0.85; }
.entry-content blockquote {
  border-left: 2px solid var(--gold);
  padding-left: 22px;
  font-family: var(--serif); font-style: italic;
  font-size: 19px; margin: 28px 0;
}

/* ============================================================
   RESPONSIVE — GROOT TABLET (1024px)
============================================================ */
@media (max-width: 1024px) {
  .site-section        { padding: 96px 40px; }
  #site-footer         { padding: 72px 40px 36px; }
  #site-header         { padding: 0 32px; }

  .about-grid          { grid-template-columns: 1fr; gap: 48px; }
  .about-images        { order: -1; }
  .about-img           { order: -1; }
  .about-img img,
  .img-placeholder     { height: 340px; }

  .dishes-grid         { grid-template-columns: 1fr 1fr; }

  .gallery-grid        { grid-template-columns: repeat(3, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 2; }
  .gallery-item:nth-child(5) { grid-column: span 1; }

  .contact-layout      { grid-template-columns: 1fr; gap: 40px; }
  .footer-top          { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ============================================================
   RESPONSIVE — TABLET (768px)
============================================================ */
@media (max-width: 768px) {
  :root { --hdr-h: 68px; }

  /* Header: branding links, hamburger + taal rechts */
  #site-header         { padding: 0 24px; gap: 12px; }
  .menu-toggle         { display: flex; }

  /* Sections */
  .site-section        { padding: 80px 28px; }
  #site-footer         { padding: 64px 28px 32px; }
  .poster-section      { padding: 80px 28px !important; }

  /* Poster fix: fg niet meer absoluut als geen bg */
  .poster-fg           { padding: 0 24px; }

  /* Titels */
  .section-title       { font-size: 32px; }
  .section-header      { margin-bottom: 52px; }

  /* Hero */
  .hero-h1             { font-size: clamp(38px, 10vw, 60px); }
  .hero-sub            { font-size: 15px; }
  .hero-content        { padding: calc(var(--hdr-h) + 40px) 24px 80px; }

  /* About */
  .about-grid          { grid-template-columns: 1fr; gap: 40px; }
  .about-images        { order: -1; }
  .about-actions       { flex-direction: column; gap: 12px; }
  .about-actions .btn  { width: 100%; text-align: center; max-width: 100%; }

  /* Menu */
  .dishes-grid         { grid-template-columns: 1fr 1fr; gap: 1px; }
  .menu-tabs           { flex-wrap: wrap; gap: 0; justify-content: center; }
  .menu-tab            { font-size: 10px; padding: 8px 16px; }

  /* Galerij */
  .gallery-grid        { grid-template-columns: 1fr 1fr; gap: 4px; }
  .gallery-item:nth-child(n) { grid-column: span 1; }
  .gallery-item:nth-child(1) { grid-column: span 2; }

  /* Reservering */
  .res-form            { grid-template-columns: 1fr; }
  .res-field           { border-right: none !important; }
  .res-field.full      { border-right: none; }

  /* Contact */
  .contact-layout      { grid-template-columns: 1fr; gap: 36px; }
  .contact-map         { min-height: 280px; }
  .contact-map iframe  { height: 280px; }

  /* Footer */
  .footer-top          { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ============================================================
   RESPONSIVE — MOBIEL (480px)
   Dit is het meest kritieke breakpoint
============================================================ */
@media (max-width: 480px) {
  :root { --hdr-h: 60px; }

  /* ── Header ── */
  #site-header         { padding: 0 16px; gap: 8px; }
  .brand-name          { font-size: 15px; letter-spacing: 3px; }
  .brand-sub           { font-size: 7px; letter-spacing: 2px; }
  /* Taalknopjes kleiner op mobiel */
  .lang-switcher       { gap: 0; }
  .lang-btn            { padding: 5px 9px; font-size: 9px; }
  /* Zorg dat header items niet overlappen */
  #site-header         { flex-wrap: nowrap; justify-content: space-between; }
  .site-branding       { flex: 1; min-width: 0; }
  .site-logo-img       { max-height: 36px !important; }

  /* ── Sections ── */
  .site-section        { padding: 64px 20px; }
  #site-footer         { padding: 52px 20px 28px; }
  .section-inner       { width: 100%; }

  /* ── Hero ── */
  .hero-content        { padding: calc(var(--hdr-h) + 32px) 20px 72px; }
  .hero-h1             { font-size: clamp(30px, 9vw, 44px); line-height: 1.1; }
  .hero-sub            { font-size: 14px; margin: 20px auto 32px; padding: 0; }
  .hero-kicker         { font-size: 8px; letter-spacing: 3px; margin-bottom: 20px; }
  .hero-actions        { flex-direction: column; align-items: stretch; gap: 10px; padding: 0 8px; }
  .hero-actions .btn   { width: 100%; text-align: center; padding: 15px 24px; }
  .scroll-cue          { display: none; } /* Verberg op mobiel */

  /* ── Sectieopmaak ── */
  .section-title       { font-size: 26px; line-height: 1.15; }
  .section-header      { margin-bottom: 40px; }
  .eyebrow             { font-size: 8px; letter-spacing: 3px; }
  .eyebrow::before,
  .eyebrow::after      { width: 12px; }

  /* ── About ── */
  .about-grid          { gap: 36px; }
  .about-text p        { font-size: 15px; }
  .about-pull          { font-size: 17px; padding-left: 16px; }
  .about-img img,
  .img-placeholder     { height: 200px; }
  .about-multi-img .about-images      { grid-template-columns: 1fr; }
  .about-multi-img .about-images .about-img-wrap:first-child { grid-column: 1; }
  /* Verberg gouden hoekaccenten op klein scherm */
  .about-images .about-img-wrap:first-child::before,
  .about-images .about-img-wrap:first-child::after,
  .about-img::before, .about-img::after { display: none; }

  /* ── Menu ── */
  .dishes-grid         { grid-template-columns: 1fr; gap: 1px; }
  .dish-body           { padding: 20px 18px 24px; }
  .dish-card h3        { font-size: 18px; }
  .dish-cat            { font-size: 8px; }
  .dish-price          { font-size: 19px; }
  .menu-tabs           { width: 100%; }
  .menu-tab            { flex: 1; text-align: center; font-size: 9px; padding: 10px 8px; }

  /* ── Galerij ── */
  .gallery-grid        { grid-template-columns: 1fr 1fr; gap: 3px; }
  .gallery-item:nth-child(1) { grid-column: span 2; }
  .gallery-item:nth-child(5) { grid-column: span 1; }

  /* ── Poster ── */
  .poster-section      { padding: 72px 20px !important; }
  .poster-fg           { padding: 0 12px; }
  .poster-title        { font-size: clamp(22px, 7vw, 32px); }
  .poster-body         { font-size: 14px; margin-bottom: 24px; }
  .poster-price        { font-size: 44px; margin-bottom: 28px; }
  .poster-price sup    { font-size: 22px; }

  /* ── Reservering ── */
  .res-wrap            { padding: 0; }
  .res-form            { grid-template-columns: 1fr; border: 1px solid var(--border); }
  .res-field           { border-right: none !important; }
  .res-label           { font-size: 8px; padding: 12px 16px 0; }
  .res-form input,
  .res-form select,
  .res-form textarea   { padding: 4px 16px 12px; font-size: 15px; }
  .res-form textarea   { min-height: 80px; }
  .res-form .btn       { padding: 18px; font-size: 10px; letter-spacing: 2px; }
  #res-confirm         { font-size: 14px; margin-top: 16px; }

  /* ── Contact ── */
  .contact-layout      { gap: 32px; }
  .contact-item        { margin-bottom: 20px; }
  .contact-lbl         { font-size: 8px; letter-spacing: 2px; }
  .contact-val         { font-size: 15px; }
  .contact-val a       { display: inline-block; padding: 4px 0; }
  .contact-map         { min-height: 240px; }
  .contact-map iframe  { height: 240px; }
  .contact-directions-btn { width: 100%; text-align: center; margin-top: 4px; }

  /* ── Footer ── */
  .footer-top          { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom       { flex-direction: column; gap: 8px; text-align: center; font-size: 11px; }
  .footer-logo-name    { font-size: 16px; letter-spacing: 4px; }
  .footer-logo-sub     { font-size: 8px; }
  .footer-tagline      { font-size: 13px; max-width: 100%; }

  /* ── Lightbox ── */
  .lb-nav              { width: 40px; height: 40px; font-size: 20px; }
  .lb-prev             { left: 6px; }
  .lb-next             { right: 6px; }
  #lightbox-img        { max-width: 96vw; max-height: 80vh; }
  .lb-close            { top: 12px; right: 12px; width: 40px; height: 40px; }
}

/* ============================================================
   RESPONSIVE — KLEIN MOBIEL (360px)
============================================================ */
@media (max-width: 360px) {
  #site-header         { padding: 0 12px; gap: 6px; }
  .brand-name          { font-size: 13px; letter-spacing: 2px; }
  .lang-btn            { padding: 4px 7px; font-size: 8px; }
  .hero-h1             { font-size: 28px; }
  .section-title       { font-size: 22px; }
  .gallery-grid        { grid-template-columns: 1fr 1fr; }
  .btn                 { padding: 13px 18px; font-size: 10px; letter-spacing: 2px; }
  .dishes-grid         { grid-template-columns: 1fr; }
}

/* ============================================================
   TOUCH-APPARATEN — minimale 44px klikgebieden
============================================================ */
@media (hover: none) and (pointer: coarse) {
  .btn, .btn-ghost     { min-height: 48px; }
  .lang-btn            { min-width: 36px; min-height: 36px; }
  .menu-tab            { min-height: 44px; }
  .menu-toggle         { min-width: 44px; min-height: 44px; }
  .lb-nav              { min-width: 52px; min-height: 52px; }
  .gallery-item        { -webkit-tap-highlight-color: transparent; }
  /* Scroll zonder zoom op inputs */
  input, select, textarea { font-size: 16px !important; }
}

/* ============================================================
   BODY SCROLL LOCK (mobiel menu open)
============================================================ */
body.nav-open          { overflow: hidden; }
