:root {
  --bg: #f2f2f2;
  --panel: #ffffff;
  --panel-2: #f4f4f4;
  --border: #e0e0e0;
  --text: #111111;
  --muted: #6b7280;
  --accent: #e8873b;
  --font-display: 'Roboto', system-ui, sans-serif;
  --font-mono: 'Roboto Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
}

#header-bar {
  position: absolute;
  top: 24px;
  left: 20px;
  right: 20px;
  height: 48px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  padding: 0 28px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
}
.header-nav-item {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.12s ease;
}
.header-nav-item:hover { color: var(--accent); }
/* Default (desktop) display for the links wrapper — makes it behave
   exactly like the individual <a> tags used to (each its own flex item
   with .header-nav's own 32px gap) now that they're grouped inside this
   div for the mobile dropdown (see #header-menu-toggle below and the
   @media block further down). Without this explicit flex+gap, the div
   would fall back to its default block display, breaking the desktop
   row into a single bunched-up box. */
#header-nav-links { display: flex; align-items: center; gap: 32px; }

/* Hidden on desktop — shown only inside the @media (max-width: 800px)
   block below, which also defines its actual look (flex/gap/etc). */
#header-menu-toggle { display: none; }

@media (max-width: 800px) {
  /* Header stays visible on mobile — nav links collapse behind a
     hamburger toggle instead (same pattern as style.css/viewer.css, for
     consistency across every page). overflow was only ever hidden to
     clip content to the bar's own rounded corners on desktop; the
     dropdown menu below needs room to actually show instead of getting
     clipped by the header's own box. */
  #header-bar { left: 12px; right: 12px; top: 12px; padding: 0 16px; overflow: visible; }
  .header-brand { padding-right: 12px; font-size: 13px; }
  .header-logo-mark { height: 24px; }
  .lang-toggle button { padding: 5px 6px; font-size: 10px; }

  #header-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 5px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
  }
  #header-menu-toggle span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
  }
  #header-nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    padding: 10px;
  }
  #header-nav-links.open { display: flex; }
  #header-nav-links .header-nav-item {
    padding: 11px 12px;
    border-radius: 8px;
  }
  #header-nav-links .header-nav-item:hover { background: var(--panel-2); }
}


.header-brand {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  padding-right: 20px;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-brand:hover { opacity: 0.8; }
.header-logo-mark {
  height: 30px;
  width: auto;
  display: block;
}
.header-logo-right {
  display: flex;
  align-items: center;
  margin-left: auto;
}

#voorbeelden-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 20px 80px;
}
@media (max-width: 800px) {
  #voorbeelden-page { padding-top: 100px; }
}

.voorbeelden-intro {
  max-width: 60ch;
  margin-bottom: 48px;
}
.voorbeelden-intro h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
}
.voorbeelden-intro p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.voorbeelden-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) {
  .voorbeelden-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .voorbeelden-grid { grid-template-columns: 1fr; }
}

.voorbeeld-tile {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.voorbeeld-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.10);
}
.voorbeeld-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--panel-2);
}
.voorbeeld-tile figcaption {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.voorbeeld-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.voorbeeld-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* NL/EN taalknop — zelfde design tokens als de rest van de header. */
.lang-toggle {
  display: flex;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.lang-toggle button {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  background: var(--panel-2);
  color: var(--muted);
  border: none;
  padding: 6px 9px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-toggle button.active {
  background: var(--accent);
  color: #1a1206;
}
.lang-toggle button:not(.active):hover {
  color: var(--text);
}

/* Links naar de stad-specifieke pagina's (voorbeeld-amsterdam.html etc.)
   — zelfde kaart-taal als .voorbeeld-tile hierboven (panel/rand/schaduw/
   hover-lift), maar als simpele tekstlink i.p.v. een afbeeldingstegel. */
.voorbeelden-links {
  margin-top: 56px;
}
.voorbeelden-links h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px;
}
.voorbeelden-links > p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 20px;
  max-width: 60ch;
}
.voorbeelden-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .voorbeelden-links ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .voorbeelden-links ul { grid-template-columns: 1fr; }
}
.voorbeelden-links li { margin: 0; }
.voorbeelden-links a {
  display: block;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.voorbeelden-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.10);
  color: var(--accent);
}
