/* =========================================================
   ARCHETYPE: KLASSIEK
   Voor de meerderheid: ocakbaşı, lokanta, balıkçı, familiezaken,
   specialiteitenzaken met een grote kaart.

   Uitgangspunt: één diepe merkkleur, condensed kopletter, grote
   foto's, en de kaart als hoofdstuk. Kleuren komen per klant uit
   klant.json en worden door bouw.py in de <head> gezet.
   ========================================================= */

@font-face {
  font-family: 'Oswald';
  src: url('oswald.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-kop:   'Oswald', 'Haettenschweiler', 'Arial Narrow', system-ui, sans-serif;
  --font-tekst: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --kop-gewicht: 600;
  --kop-kast: uppercase;
  --kop-spatie: 0.01em;
  --knop-radius: 0;
  --balk-hoogte: 74px;
}

/* ═══ KOP ═══════════════════════════════════════════════ */
.kop-balk {
  position: sticky; top: 0; z-index: 60;
  background: var(--renk-merk);
  color: var(--renk-merk-yazi);
}
.kop-balk__ic {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 62px;
}
.merknaam {
  font-family: var(--font-kop); font-size: 1.25rem;
  text-transform: uppercase; letter-spacing: .04em;
  text-decoration: none; line-height: 1;
}
.merknaam small {
  display: block; font-family: var(--font-tekst);
  font-size: .62rem; letter-spacing: .18em; opacity: .72;
  text-transform: uppercase; margin-top: 3px;
}

/* navigatie op groot scherm */
.hoofdnav { display: none; }
@media (min-width: 900px) {
  .hoofdnav { display: flex; gap: 26px; align-items: center; }
  .hoofdnav a {
    font-family: var(--font-kop); text-transform: uppercase;
    letter-spacing: .06em; font-size: .95rem; text-decoration: none;
    padding: 6px 0; border-bottom: 2px solid transparent;
  }
  .hoofdnav a[aria-current="page"] { border-bottom-color: var(--renk-vurgu); }
  .nav-knop { display: none; }
}

.nav-knop {
  display: grid; place-items: center; gap: 5px;
  width: 46px; height: 46px; margin-right: -10px;
}
.nav-knop span {
  display: block; width: 24px; height: 2px;
  background: currentColor; transition: transform .2s ease, opacity .2s ease;
}
.nav-knop[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-knop[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-knop[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* schermvullend menu-overlay */
.nav-laag {
  position: fixed; inset: 0; z-index: 70;
  background: var(--renk-merk); color: var(--renk-merk-yazi);
  display: none; flex-direction: column;
  padding: 84px 20px calc(40px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
}
.nav-laag[data-open="true"] { display: flex; }
.nav-laag ul { display: grid; gap: 4px; text-align: center; }
.nav-laag a {
  display: block; padding: 12px 0; text-decoration: none;
  font-family: var(--font-kop); text-transform: uppercase;
  font-size: clamp(1.6rem, 7vw, 2.2rem); letter-spacing: .02em;
}
.nav-laag a[aria-current="page"] { color: var(--renk-vurgu); }
.nav-laag__voet {
  margin-top: auto; padding-top: 32px; text-align: center;
  font-size: .95rem; opacity: .82; line-height: 1.8;
}
.nav-laag__voet a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }

/* De merknaam komt kant-en-klaar in hoofdletters uit klant.json.
   Reden: text-transform:uppercase past onder lang="tr" de Turkse regel
   toe en maakt van "Spice" dan "SPİCE". Voor Turkse namen is dat juist
   gewenst, voor Engelse namen fout — dus zetten we het zelf. */
.merknaam, .hero h1 { text-transform: none; }

/* ═══ HERO ══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: min(76vh, 620px);
  display: flex; align-items: flex-end;
  color: #fff; background: #16110e;
  overflow: hidden;
}
.hero__foto {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.86) 0%, rgba(0,0,0,.42) 46%, rgba(0,0,0,.12) 100%);
}
.hero__ic { position: relative; z-index: 2; width: 100%; padding-bottom: var(--r5); }
.hero__rozet {
  display: inline-block; font-family: var(--font-kop);
  text-transform: uppercase; letter-spacing: .14em; font-size: .76rem;
  padding: 6px 12px; background: var(--renk-vurgu); color: var(--renk-vurgu-yazi);
  margin-bottom: var(--r3);
}
.hero h1 { text-shadow: 0 2px 22px rgba(0,0,0,.45); }
.hero__slogan {
  margin-top: var(--r3); font-size: 1.1rem; max-width: 30ch;
  text-shadow: 0 1px 12px rgba(0,0,0,.5);
}
.hero__acties { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--r4); }
/* kleine variant voor de subpagina's — hoogte staat hier, niet inline,
   anders botst hij op groot scherm met de vaste rijhoogte van het tweeluik */
.hero--klein { min-height: min(46vh, 340px); }

@media (min-width: 900px) {
  /* Eén grote foto over de volle breedte, ook op desktop. Vraagt wel om een
     bronfoto van minstens 1400px breed — daaronder wordt hij zichtbaar zacht. */
  .hero { min-height: min(78vh, 660px); }
  .hero--klein { min-height: 320px; }
  .hero__ic { padding-bottom: var(--r6); }
  .hero h1 { font-size: clamp(3rem, 5vw, 4.6rem); }
}

/* ═══ BEOORDELINGEN ═════════════════════════════════════ */
.puan {
  background: var(--renk-zemin-2);
  border-bottom: 1px solid var(--renk-cizgi);
  padding: 18px 0;
}
.puan__ic { display: flex; justify-content: center; gap: 14px; align-items: center; text-align: center; }
.puan strong { font-family: var(--font-kop); font-size: 1.7rem; line-height: 1; }
.puan .puan-bron { font-size: .84rem; color: var(--renk-soluk); display: block; }
.yildiz {
  position: relative; display: inline-block; white-space: nowrap;
  font-size: 1rem; letter-spacing: 2px; line-height: 1; color: var(--renk-cizgi);
}
.yildiz::before { content: "★★★★★"; }
.yildiz i { position: absolute; left: 0; top: 0; bottom: 0; overflow: hidden; color: var(--renk-vurgu); }
.yildiz i::before { content: "★★★★★"; }

/* ═══ INTRO ═════════════════════════════════════════════ */
.intro p { font-size: 1.12rem; line-height: 1.75; }
.intro p + p { margin-top: var(--r3); }

/* ═══ GERECHTKAARTEN (fase 1) ═══════════════════════════ */
.kaarten { display: grid; gap: 22px; }
@media (min-width: 620px) { .kaarten { grid-template-columns: repeat(2, 1fr); gap: 26px; } }
@media (min-width: 900px) { .kaarten { grid-template-columns: repeat(3, 1fr); } }

.gerecht { display: flex; flex-direction: column; }
.gerecht__foto {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  background: var(--renk-zemin-2);
}
.gerecht__tekst { padding: 16px 0 0; }
.gerecht__rij { display: flex; align-items: baseline; gap: 12px; }
.gerecht__naam {
  font-family: var(--font-kop); text-transform: none;  /* zie kast() in bouw.py */
  font-size: 1.12rem; letter-spacing: .02em; line-height: 1.2;
}
.gerecht__lijn { flex: 1; border-bottom: 1px dotted var(--renk-cizgi); transform: translateY(-4px); }
.gerecht__prijs {
  font-family: var(--font-kop); font-size: 1.12rem;
  color: var(--renk-vurgu-koyu); white-space: nowrap;
}
.gerecht__om { margin-top: 5px; color: var(--renk-soluk); font-size: .96rem; }

/* dieet-iconen */
.dieet { display: inline-flex; gap: 5px; vertical-align: middle; margin-left: 7px; }
.dieet span {
  display: inline-grid; place-items: center;
  width: 19px; height: 19px; border-radius: 50%;
  font-size: .6rem; font-weight: 700; line-height: 1;
  border: 1.5px solid currentColor;
}
.dieet .veg  { color: #3f7d34; }
.dieet .vgn  { color: #2f7a63; }
.dieet .aci  { color: #c0392b; }

/* ═══ CATEGORIESTRIP + PRIJSLIJST (fase 2) ══════════════ */
.strip {
  position: sticky; top: 62px; z-index: 40;
  background: var(--renk-zemin);
  border-bottom: 1px solid var(--renk-cizgi);
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.strip::-webkit-scrollbar { display: none; }
.strip ul { display: flex; gap: 0; min-width: max-content; }
.strip a {
  display: block; padding: 15px 18px; white-space: nowrap;
  font-family: var(--font-kop); text-transform: uppercase;
  font-size: .9rem; letter-spacing: .05em; text-decoration: none;
  border-bottom: 3px solid transparent;
}
.strip a:hover, .strip a:focus-visible { border-bottom-color: var(--renk-cizgi); }

.menu-groep { scroll-margin-top: 118px; }
.menu-groep + .menu-groep { margin-top: var(--r6); }
.lijst { display: grid; gap: 2px; }
@media (min-width: 900px) { .lijst { grid-template-columns: 1fr 1fr; column-gap: 52px; } }
.lijst > * { border-bottom: 1px solid var(--renk-cizgi); }
.lijst .gerecht__tekst { padding: 14px 0; }

/* Regel met miniatuur. Klein en vierkant gehouden: op een breed scherm
   staat de lijst in twee kolommen en die moet te scannen blijven. De foto
   dient ter herkenning, niet als blikvanger. */
.lijst-rij { display: flex; align-items: center; gap: 14px; }
.lijst-rij .gerecht__tekst { flex: 1; min-width: 0; }
.lijst-foto {
  flex: none; width: 72px; height: 72px; object-fit: cover;
  background: var(--renk-zemin-2);
}

/* ═══ GALERIJ ═══════════════════════════════════════════ */
.galeri { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.galeri img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--renk-zemin-2); }
.galeri img:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }
.galeri img:last-child:nth-child(even) { grid-column: span 2; aspect-ratio: 16 / 10; }
@media (min-width: 720px) {
  .galeri { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .galeri img:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; height: 100%; }
  .galeri img:last-child:nth-child(even):not(:first-child) { grid-column: auto; aspect-ratio: 1; }
}

/* ═══ INFO, UREN, KENMERKEN ═════════════════════════════ */
.info { display: grid; gap: 26px; }
@media (min-width: 760px) { .info { grid-template-columns: 1fr 1fr; gap: 44px; } }
.info h3 {
  font-size: .82rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--renk-vurgu-koyu); margin-bottom: 10px;
}
.info a { text-decoration: none; border-bottom: 1px solid var(--renk-cizgi); }
.telefoon-groot {
  font-family: var(--font-kop); font-size: 1.75rem; line-height: 1.1;
  color: var(--renk-merk); text-decoration: none; border: 0 !important;
  display: inline-block; margin-top: 4px;
}

.uren td { padding: 9px 0; border-bottom: 1px solid var(--renk-cizgi); font-size: .98rem; }
.uren td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.uren tr:last-child td { border-bottom: 0; }

.kenmerken { display: flex; flex-wrap: wrap; gap: 8px; }
.kenmerk {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 15px; font-size: .93rem;
  border: 1px solid var(--renk-cizgi); border-radius: 999px;
}
.kenmerk::before { content: "✓"; color: var(--renk-vurgu); font-weight: 700; }

.teslimat { display: flex; flex-wrap: wrap; gap: 10px; }
.teslimat a {
  padding: 11px 18px; border: 1px solid var(--renk-cizgi);
  text-decoration: none; font-size: .95rem;
}

/* ═══ VOET ══════════════════════════════════════════════ */
.voet {
  background: var(--renk-merk); color: var(--renk-merk-yazi);
  padding: var(--r6) 0 var(--r5);
}
.voet__grid { display: grid; gap: 30px; }
@media (min-width: 720px) { .voet__grid { grid-template-columns: repeat(3, 1fr); } }
.voet h3 {
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  opacity: .68; margin-bottom: 10px;
}
.voet a { text-decoration: none; }
.voet__nav { display: grid; gap: 6px; }
.voet__nav a { font-family: var(--font-kop); text-transform: uppercase; letter-spacing: .05em; }
.voet__slot {
  margin-top: var(--r5); padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.16);
  font-size: .82rem; opacity: .6;
}

/* ═══ VASTE BALK ONDERAAN (3 knoppen) ═══════════════════ */
/* Bij dit archetype: reserveren, kaart, bellen. Geen WhatsApp-balk
   over de volle breedte — dat was de marangoz-oplossing. */
.balk {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 65;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--renk-merk); color: var(--renk-merk-yazi);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -3px 18px rgba(0,0,0,.16);
}
.balk a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; min-height: 74px; padding: 8px 4px; text-decoration: none;
  font-family: var(--font-kop); text-transform: uppercase;
  font-size: .78rem; letter-spacing: .06em; text-align: center;
}
.balk a + a { border-left: 1px solid rgba(255,255,255,.16); }
.balk a:active { background: rgba(255,255,255,.09); }
.balk svg { width: 21px; height: 21px; fill: currentColor; }
.balk a[data-nadruk] { background: var(--renk-vurgu); color: var(--renk-vurgu-yazi); }
@media (min-width: 900px) { .balk { display: none; } body { padding-bottom: 0; } }

/* zachte sectie-achtergrond, gebruikt om ritme aan te brengen */
.bolum--zacht { background: var(--renk-zemin-2); }

/* ═══ OPROEP (foto naast tekst met knop) ════════════════ */
.cta__ic { display: grid; gap: var(--r5); align-items: center; }
@media (min-width: 800px) { .cta__ic { grid-template-columns: 1fr 1fr; gap: var(--r6); } }
.cta__foto { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--renk-zemin); }
.cta__tekst .knop { margin-top: var(--r4); }
