/* Basis typografie en reset */
:root {
  --brand-dark: #0e1b2a; /* diepe blauwgrijs, statig */
  --brand-mid: #2f4b66;  /* secundair donker */
  --brand-accent: #c0a46b; /* goudtint voor accenten, passend bij vesting/klassiek */
  --brand-bg: #f7f8fa;
  --text: #1b1f24;
  --muted: #6b7280;
  --maxw: 1100px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", "Avenir Next", Avenir, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--text);
  background: var(--brand-bg);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header en navigatie */
header.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #ffffffcc; backdrop-filter: blur(6px);
  border-bottom: 1px solid #e5e7eb;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 96px; height: 96px; object-fit: contain; }
.brand .title { font-size: 20px; font-weight: 700; color: var(--brand-dark); letter-spacing: 0.3px; }
.brand .byline { font-family: "Pacifico", "Dancing Script", cursive; font-size: 14px; color: var(--brand-accent); margin-top: -4px; }

.nav ul { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.nav a { padding: 8px 10px; border-radius: 8px; color: var(--brand-mid); font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { background: #eef2f7; color: var(--brand-dark); }

/* Hamburger knop (desktop: verborgen) */
.menu-toggle { display: none; border: 1px solid #e5e7eb; background: #fff; color: var(--brand-dark); border-radius: 10px; padding: 10px 12px; font-weight: 700; cursor: pointer; }
.menu-toggle:focus { outline: 2px solid var(--brand-accent); outline-offset: 2px; }

/* Hero */
.hero { position: relative; background: linear-gradient(180deg, #0e1b2a 0%, #1b2a3a 100%); color: white; overflow: hidden; }
.hero .inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; padding: 56px 0; }
.hero h1 { font-size: 40px; line-height: 1.2; margin: 0 0 12px; font-weight: 800; }
.hero p { font-size: 18px; color: #e5ecf3; margin: 0 0 16px; }
.hero .cta { display: inline-flex; align-items: center; gap: 10px; background: var(--brand-accent); color: #0f172a; padding: 12px 16px; border-radius: 10px; font-weight: 700; }
.hero .photo { border-radius: 14px; overflow: hidden; border: 1px solid #1f3448; box-shadow: 0 10px 30px rgba(0,0,0,0.25); }

/* Secties */
section { padding: 56px 0; }
section h2 { font-size: 28px; margin: 0 0 8px; color: var(--brand-dark); }
section .sub { color: var(--muted); margin: 0 0 24px; }

/* Compacte secties (strakker, minder hoogte) */
.section-compact { padding: 24px 0; }
.section-compact h1 { font-size: 28px; margin: 0 0 6px; }
.section-compact .sub { margin: 0; }

/* Kleuraccent secties */
.section-accent {
  background: linear-gradient(180deg, #0e1b2a 0%, #1b2a3a 100%);
  color: #e5ecf3;
}
.section-accent h1, .section-accent h2, .section-accent h3 { color: #ffffff; }
.section-accent .sub { color: #ffffff; }
.section-accent .card { background: #0f1f2d; border-color: #1f3448; }
.section-accent .card h3 { color: #e2e8f0; }
.section-accent .card p { color: #cbd5e1; }

.section-gold { background: linear-gradient(180deg, #fffaf0 0%, #f7edd6 100%); }
.section-gold h2 { color: #2f4b66; }
.section-gold .card { background: #fff; border-color: #e6d8b6; }
.section-gold .sub { color: #2f4b66; }

/* Highlight blok met visuele accenten */
.highlight {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
}
.highlight h2 { margin: 0 0 10px; }
.highlight .points { display: grid; gap: 10px; }
.highlight .point { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.highlight .point .dot {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand-accent); color: #0f172a;
  display: grid; place-items: center; font-weight: 800;
}
.highlight .media { border-radius: 14px; overflow: hidden; border: 1px solid #e5e7eb; }
.highlight .media img { width: 100%; height: 100%; object-fit: cover; }

/* Nettere typografie voor contact-details */
.contact-details { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.contact-details p { margin: 0; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 14px; }
.contact-details strong { color: var(--brand-mid); }
.contact-details a { color: var(--brand-mid); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 18px; box-shadow: 0 6px 18px rgba(0,0,0,0.04); }
.card h3 { margin: 0 0 6px; font-size: 18px; color: var(--brand-mid); }
.card p { margin: 0; color: #475569; }

/* Gouden nummer-/bullet-stijl voor tegels */
.cards-numbered { counter-reset: tile; }
.cards-numbered .card h3 { position: relative; padding-left: 40px; color: var(--brand-mid); }
.cards-numbered .card h3::before {
  counter-increment: tile;
  content: counter(tile);
  position: absolute; left: 0; top: -2px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand-accent); color: #0f172a;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
}

/* Team */
.team { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.person { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 18px; display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: start; }
.person img { width: 120px; height: 120px; border-radius: 12px; object-fit: cover; }
.person h3 { margin: 0 0 6px; }
.person p { margin: 0; color: #475569; }

/* Galerij */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.gallery img { width: 100%; height: 160px; object-fit: cover; border-radius: 12px; border: 1px solid #e5e7eb; }

/* Footer */
footer { background: #0f172a; color: #cbd5e1; padding: 28px 0; }
footer a { color: #e2e8f0; }
.footer-docs { margin-top: 16px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.footer-docs a { text-decoration: underline; }
/* Zorg dat links binnen de witte contact-tegels in de footer donker en leesbaar zijn */
footer .contact-details p { color: var(--brand-mid); }
footer .contact-details a,
footer .contact-details a:visited { color: var(--brand-mid); }
.footer-docs { margin-top: 16px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.footer-docs a { text-decoration: underline; }
/* Extra onderruimte zodat pagina niet abrupt eindigt */
main { padding-bottom: 60px; }

/* Contact formulier */
.form { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 18px; }
.form label { display: block; font-weight: 600; color: var(--brand-mid); margin: 12px 0 6px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 12px 12px; border-radius: 10px; border: 1px solid #d1d5db; font: inherit;
}
.form textarea { min-height: 120px; resize: vertical; }
.form button { margin-top: 14px; background: var(--brand-accent); color: #0f172a; padding: 12px 16px; border: 0; border-radius: 10px; font-weight: 700; cursor: pointer; }
.form button:hover { filter: brightness(0.95); }

/* Responsief */
@media (max-width: 960px) {
  .hero .inner { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .contact-details { grid-template-columns: 1fr; }
  .highlight { grid-template-columns: 1fr; }

  /* Mobiele navigatie */
  .brand img { width: 56px; height: 56px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; touch-action: manipulation; position: relative; z-index: 1002; }
  .nav { position: sticky; top: 0; z-index: 1000; }
  .nav ul { 
    position: fixed; left: 16px; right: 16px; top: 72px;
    display: none; flex-direction: column; gap: 0; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 8px; box-shadow: 0 20px 40px rgba(0,0,0,0.12); z-index: 1001;
    max-height: calc(100vh - 96px); overflow: auto;
  }
  .nav[data-menu-open="true"] ul { display: flex; }
  .nav a { padding: 14px 12px; border-radius: 8px; }
  .nav li + li a { border-top: 1px solid #f1f5f9; }

  /* Donkere backdrop achter het mobiele menu */
  .nav[data-menu-open="true"]::after {
    content: ""; position: fixed; inset: 0; background: rgba(2,6,23,0.45); z-index: 1000;
  }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
}

