/* ═══════════════════════════════
   BZKS — Global Stylesheet
═══════════════════════════════ */

/* ─── CSS Variabelen ─── */
:root {
  --black:      #0a0b0d;
  --dark:       #111318;
  --dark2:      #181c22;
  --dark3:      #1e232c;
  --white:      #f0f2f5;
  --grey:       #8a939e;
  --grey-light: #c2c8d0;

  --sec:        #1a6edb;
  --sec-light:  #2b82f5;
  --sec-glow:   rgba(26, 110, 219, 0.15);

  --it:         #7c3aed;
  --it-light:   #9d5cf5;
  --it-glow:    rgba(124, 58, 237, 0.15);

  --accent:       var(--sec);
  --accent-light: var(--sec-light);
  --accent-glow:  var(--sec-glow);
}

body.page-it {
  --accent:       var(--it);
  --accent-light: var(--it-light);
  --accent-glow:  var(--it-glow);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Exo 2', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

img {
  max-width: 100%;
  display: block;
}

/* ─── Typography ─── */
h1, h2, h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1;
}

h1 { font-size: clamp(36px, 8vw, 80px); }
h2 { font-size: clamp(28px, 5vw, 48px); }
h3 { font-size: clamp(20px, 3vw, 28px); }

p {
  line-height: 1.75;
  color: var(--grey);
  font-weight: 300;
}

/* ─── Utility ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.section { padding: 100px 0; }

.section-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  font-family: 'Rajdhani', sans-serif;
}

.section-title {
  margin-bottom: 16px;
  color: var(--white);
}

.section-sub {
  font-size: 15px;
  max-width: 480px;
  margin-bottom: 48px;
}

.accent-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* ─── Buttons ─── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 32px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  color: #fff;
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  padding: 13px 32px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: var(--accent-glow);
  color: var(--accent-light);
}

/* ─── Nav ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 70px;
  display: flex;
  align-items: center;
  background: rgba(10, 11, 13, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: border-color 0.3s;
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey-light);
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 9px 22px;
  font-size: 12px !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--accent-light) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: rgba(10,11,13,0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  flex-direction: column;
  padding: 24px 24px 32px;
  z-index: 99;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey-light);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color 0.2s;
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .mob-cta {
  background: var(--accent);
  color: #fff !important;
  text-align: center;
  padding: 14px;
  margin-top: 8px;
}

/* ─── Footer ─── */
footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 32px 0;
}

footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo img { height: 28px; }

.footer-copy {
  font-size: 12px;
  color: var(--grey);
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 12px;
  color: var(--grey);
  letter-spacing: 1px;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent); }

/* ─── Animaties ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.fade-up { animation: fadeUp 0.8s ease forwards; }

/* ═══════════════════════════════
   MOBILE RESPONSIVE — 768px
═══════════════════════════════ */
@media (max-width: 768px) {

  /* Container & sections */
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }

  /* Nav */
  .nav-links { display: none; }
  .hamburger { display: flex; }
  nav .container { padding: 0 20px; }

  /* Footer */
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Alle inline grids naar 1 kolom */
  div[style*="display: grid"],
  div[style*="display:grid"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  /* Grids met 2 kolommen die WEL naast elkaar mogen blijven */
  div[style*="grid-template-columns: 1fr 1fr"][style*="gap: 12px"],
  div[style*="grid-template-columns:1fr 1fr"][style*="gap:12px"] {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  /* Certificering 2 kolommen op mobiel */
  div[style*="repeat(4, 1fr)"] {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 2px !important;
  }

  /* Hero */
  #hero {
    padding: 100px 0 56px !important;
    min-height: auto !important;
  }

  /* Knoppen full width */
  .btn-primary,
  .btn-outline {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  /* Hero knoppen naast elkaar houden */
  div[style*="display: flex; gap: 16px"][style*="flex-wrap: wrap"] {
    flex-direction: column !important;
    gap: 12px !important;
  }

  /* Stats rij */
  div[style*="display: flex; gap: 40px"] {
    gap: 16px !important;
    flex-wrap: wrap !important;
  }

  /* Over ons box padding */
  div[style*="padding: 48px"] {
    padding: 24px !important;
  }

  /* Kaart placeholder hoogte */
  div[style*="height: 280px"] {
    height: 160px !important;
  }

  /* Contact grid */
  div[style*="grid-template-columns: 1fr 1.6fr"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 40px !important;
  }

  /* Formulier rijen */
  div[style*="grid-template-columns:1fr 1fr; gap:14px"],
  div[style*="grid-template-columns: 1fr 1fr; gap: 14px"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
  }

  /* Code blok */
  div[style*="font-family: 'Courier New'"] {
    font-size: 11px !important;
    padding: 20px 16px !important;
    overflow-x: auto !important;
  }

  /* Tech stack pills wrappen */
  div[style*="display: flex; gap: 12px; flex-wrap: wrap"] {
    gap: 8px !important;
  }

  /* CTA balk */
  div[style*="display: flex; align-items: center; justify-content: space-between"] {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 20px !important;
  }

  /* Werkwijze 4 stappen */
  div[style*="repeat(4, 1fr)"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
  }

  /* Diensten grid */
  div[style*="repeat(3, 1fr)"],
  div[style*="repeat(2, 1fr)"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
  }

  /* Hero margin-top stats */
  div[style*="margin-top: 64px"] {
    margin-top: 36px !important;
  }

  /* Section sub max-width */
  .section-sub {
    max-width: 100%;
  }

  /* Inputs full width */
  input, textarea, select {
    width: 100% !important;
  }
}

/* ═══════════════════════════════
   EXTRA SMALL — 480px
═══════════════════════════════ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  /* Certificering 1 kolom op heel klein scherm */
  div[style*="repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Steden grid 1 kolom */
  div[style*="grid-template-columns: 1fr 1fr"][style*="gap: 12px"] {
    grid-template-columns: 1fr !important;
  }

  /* Footer links stapelen */
  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
}
