@font-face {
  font-family: 'BoardMarker';
  src: url('../fonts/BoardMarker.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --donkerblauw: #2b2e83;
  --lichtblauw:  #89a5d6;
  --geel:        #f4ea46;
  --bg:          #f5f6fa;
  --wit:         #ffffff;
  --tekst:       #1a1c3a;
  --muted:       #6b7280;
  --border:      #e2e5f0;
  --radius:      14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--tekst);
  line-height: 1.6;
}

/* ── HEADER (gedeeld over alle pagina's) ──────────────── */
header.site-header {
  background: var(--donkerblauw);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-left { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.header-left img.logo { width: 48px; height: 48px; border-radius: 50%; }
.header-title { font-family: 'BoardMarker', sans-serif; font-size: 1.5rem; color: var(--geel); line-height: 1; }
.header-sub { font-size: 0.75rem; color: var(--lichtblauw); margin-top: 2px; }
nav.main-nav { display: flex; align-items: center; gap: 4px; }
nav.main-nav a {
  color: var(--lichtblauw);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
nav.main-nav a:hover { background: rgba(255,255,255,0.08); color: var(--wit); }
nav.main-nav a.active { color: var(--wit); background: rgba(255,255,255,0.12); }
.header-yt {
  display: flex; align-items: center; gap: 8px;
  background: var(--geel); color: var(--donkerblauw);
  font-weight: 700; font-size: 0.82rem;
  text-decoration: none; border-radius: 8px; padding: 8px 14px;
  transition: opacity 0.2s; flex-shrink: 0;
}
.header-yt:hover { opacity: 0.85; }
.header-yt svg { width: 16px; height: 16px; }

/* Hamburger-menu staat inline in partials/header.php */

@media (max-width: 768px) {
  nav.main-nav { display: none; }
}
@media (max-width: 640px) {
  header.site-header { padding: 0 16px; min-height: 60px; }
}

/* ── FOOTER (gedeeld) ─────────────────────────────────── */
footer.site-footer { background: var(--donkerblauw); padding: 36px 24px; text-align: center; }
footer.site-footer img { width: 48px; margin-bottom: 12px; }
footer.site-footer p { font-size: 0.8rem; color: var(--lichtblauw); max-width: 520px; margin: 0 auto 6px; }
footer.site-footer a { color: var(--geel); text-decoration: none; }

/* ── kleine paginakop (blog, aanbevolen) ──────────────── */
.page-hero {
  background: var(--donkerblauw);
  padding: 26px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before { content: ''; position: absolute; top: -60px; right: -60px; width: 300px; height: 300px; background: var(--geel); border-radius: 50%; opacity: 0.06; }
.page-hero::after { content: ''; position: absolute; bottom: -80px; left: -40px; width: 240px; height: 240px; background: var(--lichtblauw); border-radius: 50%; opacity: 0.12; }
.page-hero h2 { font-family: 'BoardMarker', sans-serif; font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--wit); position: relative; z-index: 1; }
.page-hero p { color: var(--lichtblauw); max-width: 540px; margin: 10px auto 0; position: relative; z-index: 1; }

@media (max-width: 640px) {
  .page-hero { padding: 20px 16px; }
}

/* ── PROSE (about-me, samenwerken) ────────────────────── */
.prose-main { max-width: 1200px; margin: 0 auto; padding: 32px 24px 56px; }
.about-intro { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; margin-bottom: 20px; }
.about-photo .prose-figure.round { width: 280px; margin: 0 auto; }
.collab-icon { width: 160px; margin: 0 auto; }
.collab-icon svg { width: 100%; height: auto; display: block; }
@media (max-width: 640px) { .about-intro { grid-template-columns: 1fr; } .about-photo { text-align: center; } }
.prose-main h2 {
  font-family: 'BoardMarker', sans-serif;
  font-size: 1.5rem;
  color: var(--donkerblauw);
  margin: 24px 0 10px;
}
.prose-main h2:first-child { margin-top: 0; }
.prose-main p { margin-bottom: 14px; }
.prose-main ul { margin: 0 0 14px 22px; }
.prose-main li { margin-bottom: 6px; }
.prose-main .lead { font-size: 1rem; color: var(--tekst); }
.prose-figure { width: 100%; border-radius: var(--radius); margin-bottom: 28px; }
.prose-figure.round { border-radius: 50%; width: 160px; display: block; margin: 0 auto 28px; }
.cta-banner {
  background: var(--donkerblauw); border-radius: var(--radius); padding: 32px;
  text-align: center; margin: 24px 0; position: relative; overflow: hidden;
}
.cta-banner::before { content: ''; position: absolute; top: -50px; right: -50px; width: 200px; height: 200px; background: var(--geel); border-radius: 50%; opacity: 0.08; }
.cta-banner p { color: var(--lichtblauw); margin-bottom: 16px; position: relative; z-index: 1; }
.cta-banner .btn-cta { position: relative; z-index: 1; background: var(--geel); color: var(--donkerblauw); display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; border-radius: 10px; padding: 12px 22px; }

/* ── PRINCIPLES LIST ──────────────────────────────────── */
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.principle-card {
  background: var(--wit); border: 2px solid var(--border); border-radius: 10px;
  padding: 12px 16px;
}
.principle-card strong { color: var(--donkerblauw); display: block; margin-bottom: 3px; }
.principle-card span { font-size: 0.88rem; color: var(--muted); }
@media (max-width: 640px) { .principles-grid { grid-template-columns: 1fr; } }

/* ── CONTACT FORM ─────────────────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.contact-form label { font-weight: 700; color: var(--donkerblauw); font-size: 0.9rem; margin-bottom: 6px; display: block; }
.contact-form input, .contact-form textarea {
  width: 100%; border: 2px solid var(--border); border-radius: 8px;
  padding: 12px 14px; font-size: 0.95rem; font-family: inherit;
  background: var(--wit); color: var(--tekst);
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--lichtblauw); }
.contact-form button {
  background: var(--donkerblauw); color: var(--wit); border: none;
  border-radius: 10px; padding: 13px 22px; font-size: 0.95rem; font-weight: 700;
  cursor: pointer; transition: background 0.2s; align-self: flex-start;
}
.contact-form button:hover { background: #1e2060; }
.form-success {
  background: #eaf7ec; border: 2px solid #b6e6bd; color: #1e6b2e;
  border-radius: 10px; padding: 16px 18px; margin-top: 20px; font-weight: 600;
}
.form-error {
  background: #fdecec; border: 2px solid #f3b9b9; color: #a32a2a;
  border-radius: 10px; padding: 16px 18px; margin-top: 20px; font-weight: 600;
}
