/* Navigatiemenu – statisch bestand (omzeilt Hugo asset cache) */

.header-inner .logo {
  margin-top: 10px;
  margin-left: 10px;
}

.header-inner {
  display: grid !important;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  max-width: 1100px;
  margin: 0 auto;
}

.header-title {
  text-align: center;
}
.header-title img{
  width: 500px;
  margin-top: 5px;

}
/* ---- Desktop: nav zichtbaar, hamburger verborgen ---- */
.hamburger {
  display: none;
}

.hoofd-nav {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding-bottom: 60px;
}

.nav-link {
  color: #ffffff !important;
  text-decoration: none !important;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 5px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  transition: border-color 0.2s, opacity 0.2s;
}

.nav-link:hover,
.nav-link.actief {
  border-bottom-color: #ffffff;
  opacity: 1;
}

/* ---- Mobiel: hamburger zichtbaar, nav als dropdown ---- */
@media (max-width: 800px) {

  /* Header zelf compact maken */
  header {
    height: 60px;
  }

  /* Verberg de grote plaatjes op mobiel zodat de header compact blijft */
  .header-inner .logo,
  .header-inner > div:last-child {
    display: none;
  }

  /* Header-inner wordt op mobiel een simpele flex-rij */
  .header-inner {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
  }

  .header-title {
    display: none;
  }

  /* Hamburger zichtbaar en goed gestyled */
  .hamburger {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .hamburger span {
    display: block !important;
    width: 26px;
    height: 3px;
    background: #ffffff;
    border-radius: 3px;
    transition: transform 0.25s, opacity 0.25s;
  }

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

  /* Nav dropdown */
  .hoofd-nav {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column !important;
    align-items: flex-start;
    padding: 0.5rem 0 1rem;
    gap: 0;
    background: #0c4a2d;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    z-index: 200;
  }

  .hoofd-nav.open {
    display: flex !important;
  }

  .nav-link {
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    width: 100%;
    font-size: 1rem;
    letter-spacing: 0.06em;
  }

  .nav-link:last-child {
    border-bottom: none !important;
  }
}
