/* =============================================
   PRODAK MONTAGE - Hoofdstijlblad
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ===== DARK MODE (standaard) ===== */
:root {
  --primary: #1A6FA8;
  --primary-dark: #155d8f;
  --primary-light: #2589c7;
  --primary-glow: rgba(26, 111, 168, 0.35);
  --navy: #0f1e35;
  --dark: #0a1220;
  --dark2: #0f1928;
  --dark3: #162035;
  --dark4: #1d2a42;
  --text: #eef2f7;
  --text-muted: #8fa3bb;
  --border: rgba(255,255,255,0.08);
  --radius: 12px;
  --shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* ===== LIGHT MODE ===== */
[data-theme="light"] {
  --primary: #1A6FA8;
  --primary-dark: #155d8f;
  --primary-light: #2589c7;
  --primary-glow: rgba(26, 111, 168, 0.2);
  --navy: #0f1e35;
  --dark: #f0f5fb;
  --dark2: #e2ebf5;
  --dark3: #ffffff;
  --dark4: #dae5f0;
  --text: #0f1e35;
  --text-muted: #4a6680;
  --border: rgba(26, 111, 168, 0.12);
  --radius: 12px;
  --shadow: 0 20px 60px rgba(26,111,168,0.12);
}

/* ===== THEME TOGGLE KNOP ===== */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--dark3);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: rotate(20deg);
}

.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }

[data-theme="light"] .theme-toggle .icon-sun  { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* ===== LIGHT MODE SPECIFIEKE AANPASSINGEN ===== */
[data-theme="light"] .navbar {
  background: rgba(240,245,251,0.92);
  border-bottom-color: rgba(26,111,168,0.15);
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(240,245,251,0.98);
  box-shadow: 0 4px 30px rgba(26,111,168,0.1);
}

[data-theme="light"] footer {
  background: #e2ebf5;
  border-top-color: rgba(26,111,168,0.15);
}

[data-theme="light"] .footer-bottom {
  border-top-color: rgba(26,111,168,0.15);
}

[data-theme="light"] .nav-links a {
  color: var(--text-muted);
}

[data-theme="light"] .nav-links a:hover,
[data-theme="light"] .nav-links a.active {
  color: var(--text);
}

[data-theme="light"] .page-header {
  background: linear-gradient(180deg, #c8ddf0 0%, var(--dark) 100%);
}

[data-theme="light"] .page-header h1,
[data-theme="light"] .page-header h1 span {
  color: #eef2f7;
}

[data-theme="light"] .page-header p {
  color: rgba(238,242,247,0.75);
}

[data-theme="light"] .breadcrumb,
[data-theme="light"] .breadcrumb a,
[data-theme="light"] .breadcrumb span {
  color: rgba(238,242,247,0.65);
}

[data-theme="light"] .card {
  box-shadow: 0 4px 20px rgba(26,111,168,0.08);
}

[data-theme="light"] .card:hover {
  box-shadow: 0 20px 50px rgba(26,111,168,0.15);
}

/* Overgang animatie bij wisselen */
body {
  transition: background 0.4s ease, color 0.4s ease;
}

*, *::before, *::after {
  transition: background-color 0.4s ease, border-color 0.4s ease, color 0.2s ease, box-shadow 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(13, 13, 13, 0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.nav-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
}

.nav-logo-text span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.3s, transform 0.2s !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
}

.nav-phone:hover {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
}

.nav-mobile-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.nav-mobile-btn span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* =============================================
   KNOPPEN
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--primary-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

[data-theme="light"] .btn-outline {
  color: var(--primary);
  border-color: var(--primary);
  background: transparent;
}

[data-theme="light"] .btn-outline:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* WhatsApp floating button */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all 0.3s ease;
  animation: wa-pulse 3s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 30px rgba(37,211,102,0.55);
  background: #20ba5a;
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 4px 30px rgba(37,211,102,0.65), 0 0 0 8px rgba(37,211,102,0.12); }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark3);
  border-top: 2px solid var(--primary);
  padding: 20px 5%;
  z-index: 9999;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.3);
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.cookie-banner.hidden {
  transform: translateY(100%);
  pointer-events: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-icon {
  color: var(--primary);
  font-size: 1.8rem;
  flex-shrink: 0;
}

.cookie-text {
  flex: 1;
  min-width: 200px;
}

.cookie-text strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.cookie-text p {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.cookie-text a {
  color: var(--primary);
  text-decoration: none;
}

.cookie-text a:hover {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.85rem;
}

[data-theme="light"] .cookie-banner {
  background: #fff;
  border-top-color: var(--primary);
  box-shadow: 0 -4px 20px rgba(26,111,168,0.12);
}

/* CTA secties hebben altijd donkere achtergrond – tekst en knoppen blijven licht */
[data-theme="light"] .cta-section h2 {
  color: #eef2f7;
}

[data-theme="light"] .cta-section p {
  color: rgba(238,242,247,0.72);
}

.cta-section .btn-outline,
[data-theme="light"] .cta-section .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  background: transparent;
}

.cta-section .btn-outline:hover,
[data-theme="light"] .cta-section .btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

/* =============================================
   SECTIE ALGEMEEN
   ============================================= */
section {
  padding: 100px 5%;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-title span {
  color: var(--primary);
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.7;
}

/* =============================================
   ANIMATIES
   ============================================= */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px var(--primary-glow); }
  50% { box-shadow: 0 0 50px var(--primary-glow), 0 0 100px rgba(26,111,168,0.1); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 64px 5% 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--dark4);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-contact-item .icon {
  color: var(--primary);
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer-contact-item a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-contact-item a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.footer-bottom a {
  color: var(--primary);
  text-decoration: none;
}

/* =============================================
   PAGE HEADER (voor inner pages)
   ============================================= */
.page-header {
  padding: 160px 5% 80px;
  text-align: center;
  background: linear-gradient(180deg, #1a0a00 0%, var(--dark) 100%);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse at 50% 0%, rgba(26,111,168,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.page-header h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.page-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.85rem;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb span {
  color: var(--text-muted);
}

/* =============================================
   DIVIDER
   ============================================= */
.divider {
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: 20px 0;
}

/* =============================================
   CARDS
   ============================================= */
.card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
  border-color: rgba(26,111,168,0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(26,111,168,0.1);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  section { padding: 70px 5%; }

  .nav-links { display: none; }
  .nav-mobile-btn { display: flex; }
  .nav-phone { display: none !important; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(13,13,13,0.98);
    backdrop-filter: blur(20px);
    padding: 24px 5%;
    border-bottom: 1px solid var(--border);
    gap: 20px;
  }

  .nav-links.open a {
    font-size: 1.1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== WERKGEBIED ===== */
.werkgebied-header { text-align: center; margin-bottom: 36px; }
.werkgebied-header .section-sub { margin: 0 auto; }
.werkgebied-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1000px; margin: 0 auto; }
.werkgebied-link {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 20px; background: var(--dark3); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text); text-decoration: none; font-weight: 600;
  transition: border-color 0.3s, transform 0.3s;
}
.werkgebied-link i { color: var(--primary); }
.werkgebied-link:hover { border-color: var(--primary); transform: translateY(-3px); }
@media (max-width: 900px) { .werkgebied-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .werkgebied-grid { grid-template-columns: 1fr; } }
