/* Google Fonts import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');

/* Algemene navigatiestijl */
nav {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  letter-spacing: 0.3px;
  /*background-color: #004080; */
  background-color: rgba(0, 64, 128, 0.3); /* blauw met 80% transparantie */
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

.desktop-nav a,
.mobile-nav a {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

/* Desktop navigatie */
.desktop-nav {
  display: flex;
  gap: 2rem;
}

.desktop-nav a {
  display: inline-block;
  box-sizing: border-box;
  color: white;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.3px;
  padding: 0; /* vaste padding */
  transition: color 0.25s ease; /* alleen kleur verandert */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-variation-settings: "wght" 500; /* fix voor variable fonts */
}

.desktop-nav a:hover {
  color: #cce6ff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.5;
  letter-spacing: 0.3px;
  padding: 0; /* vaste padding */
  transition: color 0.25s ease; /* alleen kleur verandert */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-variation-settings: "wght" 500; /* fix voor variable fonts */
}

/* Hamburger menu (mobiel) */
.hamburger {
  display: none;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: white;
  background: transparent;
  border: none;
  transition: color 0.25s ease;
}

.hamburger:hover {
  color: #cce6ff;
}

/* Mobiele navigatie */
.mobile-nav {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  background-color: #004080;
  padding: 1rem 1.5rem;
  box-sizing: border-box;
}

.mobile-nav a {
  display: inline-block;
  color: white;
  text-decoration: none;
  padding: 0.6rem 0;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
  width: 100%;
  text-align: left;
  transition: color 0.25s ease;
  -webkit-font-smoothing: antialiased;
}

.mobile-nav a:hover {
  color: #cce6ff;
  text-decoration: none;
}

/* Responsief gedrag */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .mobile-nav.show {
    display: flex;
  }
}
