/* ============================================================
   WRC — Gedeelde stijlen
   Nav, CTA/footer, typografie, lay-out en animaties
   ============================================================ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ── ZILLA SLAB (lokaal) ── */
@font-face { font-family:'Zilla Slab'; src:url('zilla-slab/ZillaSlab-Light.ttf') format('truetype'); font-weight:300; font-style:normal; font-display:swap; }
@font-face { font-family:'Zilla Slab'; src:url('zilla-slab/ZillaSlab-LightItalic.ttf') format('truetype'); font-weight:300; font-style:italic; font-display:swap; }
@font-face { font-family:'Zilla Slab'; src:url('zilla-slab/ZillaSlab-Regular.ttf') format('truetype'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Zilla Slab'; src:url('zilla-slab/ZillaSlab-Italic.ttf') format('truetype'); font-weight:400; font-style:italic; font-display:swap; }
@font-face { font-family:'Zilla Slab'; src:url('zilla-slab/ZillaSlab-Medium.ttf') format('truetype'); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:'Zilla Slab'; src:url('zilla-slab/ZillaSlab-MediumItalic.ttf') format('truetype'); font-weight:500; font-style:italic; font-display:swap; }
@font-face { font-family:'Zilla Slab'; src:url('zilla-slab/ZillaSlab-SemiBold.ttf') format('truetype'); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:'Zilla Slab'; src:url('zilla-slab/ZillaSlab-SemiBoldItalic.ttf') format('truetype'); font-weight:600; font-style:italic; font-display:swap; }
@font-face { font-family:'Zilla Slab'; src:url('zilla-slab/ZillaSlab-Bold.ttf') format('truetype'); font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:'Zilla Slab'; src:url('zilla-slab/ZillaSlab-BoldItalic.ttf') format('truetype'); font-weight:700; font-style:italic; font-display:swap; }

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── DESIGN-SYSTEEM VARIABELEN ── */
:root {
  /* Merkkleuren */
  --wrc-dark:       #0F1D33;
  --wrc-body:       #5C6472;
  --wrc-accent:     #407EE7;
  --wrc-dark-text:  #CFD0D2;

  /* Compatibiliteitsnamen (gebruikt door paginaspecifieke CSS) */
  --text-primary:   #0F1D33;
  --text-secondary: #5C6472;
  --text-label:     #86868b;
  --bg-white:       #ffffff;
  --bg-gray:        #f5f5f7;
  --border:         rgba(0,0,0,0.08);

  /* Lettertype */
  --font-display: 'Open Sans', -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

/* ── BASISSTIJLEN ── */
html { scrollbar-gutter: stable; }
body { overflow-x: hidden; }
html, body {
  font-family: 'Open Sans', sans-serif;
  background: var(--bg-white);
  color: var(--text-primary);
}
a { text-decoration: none; }

/* ── LAY-OUT ── */
/* Algemene breedte: max 1200px */
.section-inner      { max-width: 1200px; margin: 0 auto; }
/* Bredere elementen (ADAPT-tegels, productoverzicht): max 1400px */
.section-inner-wide { max-width: 1400px; margin: 0 auto; }

/* Afbeeldingen naast tekst */
.text-image img {
  width: 550px;
  height: 550px;
  object-fit: cover;
  border-radius: 10px;
  max-width: 100%;
}

/* ── TYPOGRAFIE ── */

/* Heading 1 — lichte achtergrond */
.h1, h1 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 4vw, 48px);
  color: var(--wrc-dark);
  line-height: 1.1;
}

/* Heading 1 — donkere achtergrond */
.hero h1, .hero .hero-title,
.cta-section h1 { color: #ffffff; }

/* Body tekst — lichte achtergrond */
.body-text {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: var(--wrc-body);
  line-height: 1.65;
}
/* Body tekst — donkere achtergrond */
.bg-dark .body-text { color: var(--wrc-dark-text); }

/* Onderwerp-labels — lichte achtergrond */
.label-tag {
  font-family: 'Zilla Slab', Georgia, serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--wrc-accent);
}
/* Onderwerp-labels — donkere achtergrond */
.bg-dark .label-tag { color: #ffffff; }

/* Highlight tekst (ADAPT-letters, statistieken) — lichte achtergrond */
.highlight-text {
  font-family: 'Zilla Slab', Georgia, serif;
  font-weight: 400;
  color: var(--wrc-dark);
}
/* Highlight tekst — donkere achtergrond */
.bg-dark .highlight-text { color: #ffffff; }

/* Subheadings (chip met rand) */
.subheading-tag {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--wrc-dark);
  border: 1.5px solid var(--wrc-dark);
  border-radius: 10px;
  padding: 4px 12px;
  display: inline-block;
}
.bg-dark .subheading-tag { color: #ffffff; border-color: #ffffff; }

/* ── NAVIGATIE ── */
nav#main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 72px; padding: 0 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  transition: background 0.30s, backdrop-filter 0.30s, box-shadow 0.30s;
}
nav#main-nav.scrolled {
  background: rgba(20, 18, 16, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.logo-link { display: block; flex-shrink: 0; }
.logo-svg  { height: 34px; width: auto; max-width: 220px; display: block; }

.nav-links {
  display: flex; align-items: center; gap: 32px;
  flex: 1; justify-content: center;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 500; letter-spacing: 0.01em;
  color: rgba(255,255,255,0.72); white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover  { color: #ffffff; }
.nav-link.active { color: #ffffff; }

/* Dropdown ADAPT */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 500; letter-spacing: 0.01em;
  color: rgba(255,255,255,0.72); white-space: nowrap;
  background: none; border: none; cursor: pointer; padding: 0;
  transition: color 0.2s;
}
.nav-dropdown-toggle:hover,
.nav-dropdown.open .nav-dropdown-toggle { color: #ffffff; }
.nav-dropdown-toggle .nav-chevron { transition: transform 0.2s; }
.nav-dropdown.open .nav-dropdown-toggle .nav-chevron { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute; top: calc(100% + 16px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #1a1916;
  border: 1px solid rgba(255,255,255,0.10);
  min-width: 180px; padding: 6px 0;
  opacity: 0; visibility: hidden;
  transition: opacity 0.20s, transform 0.20s, visibility 0.20s;
  box-shadow: 0 8px 28px rgba(0,0,0,0.32);
}
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: block; padding: 11px 20px;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  color: rgba(255,255,255,0.72); text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.nav-dropdown-item:hover { color: #ffffff; background: rgba(255,255,255,0.06); }
/* BUG FIX: actieve dropdown-items zijn wit, niet zwart */
.nav-dropdown-item.active { color: #ffffff; }

/* Nav rechts */
.nav-actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.nav-cta {
  display: inline-flex; align-items: center;
  padding: 9px 22px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.32);
  color: rgba(255,255,255,0.80);
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: background 0.22s, border-color 0.22s, color 0.22s;
}
.nav-cta:hover { background: rgba(255,255,255,0.18); border-color: #ffffff; color: #ffffff; }

.lang-badge {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 600; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
  padding: 6px 8px;
}

/* ── HAMBURGER / MOBIELE NAV ── */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  width: 40px; height: 40px; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: #ffffff; border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-menu {
  display: none;
  position: fixed; top: 72px; left: 0; right: 0;
  background: rgba(20,18,16,0.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 0 24px; z-index: 99;
  flex-direction: column;
}
.nav-mobile-menu.open { display: flex; }

.nav-mobile-link {
  display: block; padding: 14px 24px;
  font-family: var(--font-display);
  font-size: 16px; font-weight: 500;
  color: rgba(255,255,255,0.80); text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
}
.nav-mobile-link:last-child { border-bottom: none; }
.nav-mobile-link:hover, .nav-mobile-link.active { color: #ffffff; }

.nav-mobile-cta {
  display: block; margin: 16px 24px 0;
  padding: 14px 24px; text-align: center;
  background: #ffffff; color: #0F1D33;
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600; letter-spacing: 0.04em;
  text-decoration: none;
}

.nav-mobile-divider {
  height: 1px; background: rgba(255,255,255,0.06);
  margin: 4px 0;
}

@media (max-width: 768px) {
  nav#main-nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-actions .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

/* ── CTA / FOOTER SECTIE ── */
/* Consistent donkere achtergrond op alle pagina's */
.cta-section {
  background-color: #0F1D33;
  background-image: url('Afbeeldingen/_Contact_Achtergrond.png');
  background-size: cover;
  background-position: center;
  padding: 100px max(60px, calc((100% - 1200px) / 2));
  text-align: center;
}
.cta-inner { max-width: 660px; margin: 0 auto; }

.cta-eyebrow {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 600; letter-spacing: 0.20em;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
  margin-bottom: 20px; display: block;
}

/* Footer heading: Zilla Slab Regular 48px wit */
.cta-title {
  font-family: 'Zilla Slab', Georgia, serif;
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.08;
  color: #ffffff;
  margin-bottom: 20px;
}

.cta-body {
  font-family: 'Open Sans', sans-serif;
  font-size: 17px; line-height: 1.72;
  color: rgba(255,255,255,0.62); margin-bottom: 44px;
}

.cta-buttons { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* "Neem contact op": achtergrond #FFFFFF, tekst #0F1D33 */
.cta-btn-primary {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 32px;
  background: #ffffff;
  color: #0F1D33;
  border: 1.5px solid #ffffff;
  font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: 0.04em;
  text-decoration: none; cursor: pointer;
  transition: background 0.22s, border-color 0.22s;
}
.cta-btn-primary:hover { background: rgba(255,255,255,0.88); border-color: rgba(255,255,255,0.88); }

.cta-btn-secondary {
  display: inline-flex; align-items: center; padding: 14px 32px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.30);
  color: rgba(255,255,255,0.80);
  font-family: var(--font-display); font-size: 14px; font-weight: 500;
  text-decoration: none; cursor: pointer;
  transition: border-color 0.22s, background 0.22s;
}
.cta-btn-secondary:hover { border-color: rgba(255,255,255,0.65); background: rgba(255,255,255,0.08); }

@media (max-width: 768px) {
  .cta-section { padding: 60px 24px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-btn-primary, .cta-btn-secondary { justify-content: center; width: 100%; }
}

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal-stagger.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:0.05s; }
.reveal-stagger.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:0.13s; }
.reveal-stagger.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:0.21s; }
.reveal-stagger.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:0.29s; }
.reveal-stagger.visible > *:nth-child(5) { opacity:1; transform:none; transition-delay:0.37s; }
.reveal-stagger.visible > *:nth-child(6) { opacity:1; transform:none; transition-delay:0.45s; }
