/* ==================== HEADER.CSS - VOLLEDIG ==================== */
.header {
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.4s ease;
}

.header.scrolled {
  padding: 12px 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo-link {
  height: 55px;
}

.logo-img {
  height: 100%;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

/* Navigatie */
.nav a {
  margin-left: 28px;
  text-decoration: none;
  color: #1e40af;
  font-weight: 600;
  white-space: nowrap;
  position: relative;
}

.nav a:hover,
.nav a.active {
  color: #3b82f6;
}

/* Verwijder streep onder links */
.nav a:after {
  display: none;
}

.nav a.active:after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #3b82f6;
}

/* ==================== DROPDOWN ==================== */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #1e40af;
  font-weight: 600;
  padding: 8px 12px;
  position: relative;
}

/* Grotere onzichtbare brug zodat hover niet breekt */
.dropdown-toggle::after {
  content: '';
  position: absolute;
  bottom: -20px;     /* was -12px → nu groter */
  left: 0;
  width: 100%;
  height: 35px;      /* was 20px → nu groter */
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  border-radius: 12px;
  padding: 15px 0;
  min-width: 260px;
  z-index: 1100;
  margin-top: -5px;   /* kleine negatieve marge voor extra soepele overgang */
}

.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
  display: block;
}

/* ==================== HAMBURGER + MOBILE ==================== */
.hamburger {
  display: none;
  font-size: 1.9rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #1e40af;
  padding: 5px 10px;
}

.hamburger:hover {
  background: #f1f5f9;
  border-radius: 6px;
}
/* ==================== MOBILE ==================== */
@media (max-width: 768px) {
  .hamburger {
    display: block;
    order: -1;
    margin-right: 15px;
    font-size: 1.9rem;
    color: #1e40af;
  }

  .logo-link {
    margin: 0 auto;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 25px 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    margin: 12px 0;
    font-size: 1.1rem;
  }

  /* Submenu op mobile - netjes op eigen regels */
  .dropdown-menu {
    position: static;
    box-shadow: none;
    background: #f8fafc;
    margin-top: 8px;
    padding: 10px 20px;
    border-radius: 8px;
  }

  .dropdown-menu a {
    display: block;
    padding: 10px 0;
    font-size: 1.05rem;
  }
}