:root {
  --blue: #0b5fff;
  --blue-dark: #073a9e;
  --ink: #16202c;
  --muted: #5b6b7b;
  --line: #e3e9f0;
  --bg: #f5f8fc;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(16, 42, 80, 0.10);
  --shadow-lg: 0 18px 50px rgba(16, 42, 80, 0.16);
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, #2a7bff, #073a9e); color: #fff; font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(11, 95, 255, 0.35);
}
.brand-text strong { color: var(--blue); }
.main-nav { display: flex; gap: 6px; }
.main-nav a {
  color: var(--muted); font-weight: 500;
  padding: 7px 14px; border-radius: 999px; transition: background 0.15s ease, color 0.15s ease;
}
.main-nav a.active, .main-nav a:hover { color: var(--blue); background: #eef3ff; text-decoration: none; }

/* Hero */
.hero {
  position: relative;
  background: #073a9e url("../foto.png") center 70% / cover no-repeat;
  color: #fff;
  padding: 110px 0 96px;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
/* Donkere overlay, sterker aan de linkerkant waar de tekst staat */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(6, 18, 38, 0.85) 0%,
    rgba(6, 18, 38, 0.55) 45%,
    rgba(6, 18, 38, 0.15) 100%
  );
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.78rem; font-weight: 600; margin: 0 0 16px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.25);
}
.hero h1 { font-size: 2.7rem; font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 18px; max-width: 760px; }
.hero-lead { font-size: 1.15rem; max-width: 680px; opacity: 0.95; margin: 0 0 28px; }
.hero-lead a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hero-search { position: relative; max-width: 540px; }
.hero-search-icon {
  position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1rem; opacity: 0.6; pointer-events: none;
}
.hero-search input {
  width: 100%; padding: 16px 20px 16px 50px;
  border: none; border-radius: 999px; font-size: 1rem; font-family: var(--font);
  box-shadow: var(--shadow-lg); color: var(--ink);
}
.hero-search input:focus { outline: 3px solid rgba(255, 255, 255, 0.55); }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 14px;
  list-style: none; margin: 32px 0 0; padding: 0;
}
.hero-stats li {
  display: flex; flex-direction: column;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px; padding: 14px 20px; min-width: 130px;
  backdrop-filter: blur(4px);
}
.stat-num { font-size: 1.7rem; font-weight: 800; line-height: 1.1; }
.stat-num small { font-size: 0.9rem; font-weight: 600; opacity: 0.8; margin-left: 2px; }
.stat-label { font-size: 0.82rem; opacity: 0.85; margin-top: 2px; }

/* Sections */
main { padding: 48px 0 64px; }
.section-head { margin-bottom: 26px; }
.section-head h2 { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 6px; }
.section-sub { color: var(--muted); margin: 0; }

/* Airport grid */
.airport-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.airport-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  animation: card-in 0.4s ease both;
}
.airport-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: linear-gradient(90deg, #2a7bff, #073a9e);
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
}
.airport-card:hover {
  text-decoration: none;
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #c9d8ef;
}
.airport-card:hover::before { transform: scaleX(1); }
.airport-card:hover .card-link { gap: 10px; }
@keyframes card-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.card-code {
  font-weight: 700; letter-spacing: 0.06em;
  background: #eef3ff; color: var(--blue);
  padding: 5px 11px; border-radius: 8px; font-size: 0.85rem;
}
.card-badge {
  background: #fff3d6; color: #8a6300;
  padding: 4px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 600;
}
.card-name { margin: 0 0 4px; font-size: 1.25rem; font-weight: 700; }
.card-loc { margin: 0 0 10px; color: var(--muted); font-size: 0.95rem; }
.card-tagline { margin: 0 0 18px; font-size: 0.95rem; color: #3c4b5a; }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 5px; color: var(--blue); font-weight: 600; font-size: 0.92rem; transition: gap 0.2s ease; }
.no-results { color: var(--muted); text-align: center; padding: 40px 0; }

/* Features-sectie */
.features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px; margin-top: 56px;
}
.feature {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px;
}
.feature-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px; font-size: 1.5rem;
  background: #eef3ff; margin-bottom: 14px;
}
.feature h3 { margin: 0 0 8px; font-size: 1.15rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* Detail page */
.breadcrumb { color: var(--muted); font-size: 0.9rem; margin: 28px 0 14px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { color: var(--ink); }

.detail-hero { padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.detail-code {
  display: inline-block; font-weight: 700; letter-spacing: 0.06em;
  background: #eef3ff; color: var(--blue);
  padding: 5px 12px; border-radius: 8px; font-size: 0.9rem; margin: 0 0 12px;
}
.detail-hero h1 { font-size: 2.1rem; margin: 0 0 6px; }
.detail-loc { color: var(--muted); font-size: 1.05rem; margin: 0 0 8px; }
.detail-tagline { font-size: 1.1rem; font-style: italic; color: var(--ink); margin: 0; }

.detail-block { margin: 30px 0; }
.detail-block h2 { font-size: 1.4rem; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid #eef3ff; }
.detail-intro { font-size: 1.08rem; }

/* Facts */
.facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px; margin: 0;
}
.fact {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 16px;
}
.fact dt { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 3px; }
.fact dd { margin: 0; font-weight: 600; }

/* Transport */
.transport-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.transport-item { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.transport-item h3 { margin: 0 0 6px; font-size: 1.05rem; color: var(--blue-dark); }
.transport-item p { margin: 0; color: var(--ink); }

.tips, .nearby { padding-left: 22px; margin: 0; }
.tips li, .nearby li { margin-bottom: 8px; }

/* Buttons */
.btn {
  display: inline-block; background: var(--blue); color: #fff;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; margin-top: 6px;
  box-shadow: 0 6px 18px rgba(11, 95, 255, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--blue-dark); text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(11, 95, 255, 0.34); }
.btn-ghost { background: #fff; color: var(--blue); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { background: #f0f5ff; box-shadow: none; }

.not-found { text-align: center; padding: 60px 0; }
.loading { color: var(--muted); padding: 40px 0; }

/* Dossier (lange leespagina) */
.dossier { max-width: 800px; margin: 0 auto; padding-bottom: 24px; }
.dossier h1 { font-size: 2.1rem; line-height: 1.2; margin: 18px 0 10px; }
.dossier h2 {
  font-size: 1.5rem; margin: 40px 0 14px;
  padding-bottom: 8px; border-bottom: 2px solid #eef3ff;
}
.dossier h3 { font-size: 1.15rem; margin: 26px 0 8px; color: var(--blue-dark); }
.dossier p { margin: 0 0 14px; }
.dossier ul, .dossier ol { margin: 0 0 16px; padding-left: 22px; }
.dossier li { margin-bottom: 8px; }
.dossier a { word-break: break-word; }
.dossier strong { color: var(--ink); }
.dossier em { color: var(--muted); }

.dossier .tldr {
  background: #eef3ff; border: 1px solid #d6e2ff;
  border-radius: 12px; padding: 18px 22px; margin: 0 0 28px;
}
.dossier .tldr h2 { margin-top: 0; border: none; padding: 0; font-size: 1.2rem; }
.dossier .note {
  background: #fff8e6; border-left: 4px solid #f0c34a;
  padding: 14px 18px; border-radius: 8px; margin: 0 0 16px;
  font-size: 0.95rem; color: #5b4a16;
}

/* Tabellen in het dossier */
.table-wrap { overflow-x: auto; margin: 0 0 20px; }
.dossier table {
  border-collapse: collapse; width: 100%; min-width: 480px;
  background: var(--card); font-size: 0.95rem;
}
.dossier th, .dossier td {
  border: 1px solid var(--line); padding: 9px 12px; text-align: left;
}
.dossier thead th { background: #f0f5ff; color: var(--blue-dark); font-weight: 600; }
.dossier tbody tr:nth-child(even) { background: #f8fbff; }

/* Footer */
.site-footer {
  background: #0d1622; color: #c2ccd8;
  padding: 40px 0; margin-top: 56px; font-size: 0.92rem;
}
.site-footer p { margin: 0 0 6px; }
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 14px;
}
.footer-brand strong { color: #5e9bff; }
.footer-note { color: #7e8da0; font-size: 0.85rem; }

/* Responsive */
@media (max-width: 600px) {
  .hero { padding: 72px 0 64px; min-height: auto; }
  .hero h1 { font-size: 2rem; }
  .hero-stats li { flex: 1; min-width: 0; padding: 12px 14px; }
  .stat-num { font-size: 1.35rem; }
  .main-nav { gap: 2px; font-size: 0.88rem; }
  .main-nav a { padding: 6px 10px; }
  .brand-text { font-size: 0.95rem; }
  .dossier h1 { font-size: 1.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
