/* ============================================================
   MENU / NAVIGATIE
   ============================================================ */

/* Navigatiebalk */
.main-nav {
  border-bottom: 1px solid #ddd;
  padding-block: 16px;
}

/*
  Flex-container
  - logo links
  - menu rechts
*/
.nav-inner {
  display: flex;
  align-items: center;
}

/* Logo-link */
.brand {
  display: flex;
  align-items: center;
}

/* Logo-afbeelding */
.logo {
  display: block;
  height: 50px;
  width: auto;
}

/*
  Menu rechts
  margin-left:auto duwt de UL naar rechts
*/
.nav-list {
  display: flex;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
  gap: 25px;
}

/* Link styling */
.nav-list a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
}

.nav-list a:hover {
  color: #0073e6;
}

/* ============================================================
   HAMBURGER BUTTON
   ============================================================ */

.nav-toggle {
  display: none;
  margin-left: auto;
  font-size: 28px;
  background: none;
  border: 1px solid #ccc;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 8px;
}

/* Screenreader-only tekst */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {

  /* hamburger tonen */
  .nav-toggle {
    display: block;
  }

  /* menu standaard verborgen */
  .nav-list {
    display: none;
    flex-direction: column;
    gap: 16px;
    margin: 16px 0 0 0;
    width: 100%;
  }

  /* menu open */
  .nav-list.is-open {
    display: flex;
  }

  /* logo + hamburger op 1 regel */
  .nav-inner {
    flex-wrap: wrap;
  }

}

/* Actief menu-item */

.nav-list a.active {
  font-weight: 700;
  border-bottom: 2px solid #0073e6;
}