/* Gedeelde menu-stijlen voor pagina's met eigen opmaak (blog, badge).
   Bijgewerkt vanuit site.css; wijzig daar en genereer opnieuw. */

.topbanner {
      background: var(--accent);
      color: #fff;
      text-align: center;
      padding: 0.6rem 1rem;
      font-size: 0.88rem;
      font-weight: 600;
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 200;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1rem;
    }

.banner-full  { display: none; }

.banner-short { display: none; }

.banner-blog-link { display: none; }

nav {
      position: fixed;
      top: 2.2rem; left: 0; right: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1rem 2rem;
      background: rgba(13, 22, 53, 0.92);
      backdrop-filter: blur(12px);
    }

.nav-logo {
      font-size: 1.6rem;
      font-weight: 800;
      color: #fff;
      letter-spacing: -0.5px;
    }

.nav-logo span { color: var(--gold); }

nav ul {
      list-style: none;
      display: flex;
      gap: 2rem;
    }

nav ul a {
      color: rgba(255,255,255,0.8);
      text-decoration: none;
      font-size: 0.9rem;
      font-weight: 500;
      transition: color 0.2s;
    }

nav ul a:hover { color: var(--gold); }

.nav-cta {
      background: var(--accent);
      color: #fff !important;
      padding: 0.5rem 1.2rem;
      border-radius: 6px;
      font-weight: 600 !important;
    }

.nav-cta:hover { background: #a30d24 !important; color: #fff !important; }

#nav-hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 5px;
      flex-shrink: 0;
    }

#nav-hamburger span {
      display: block;
      width: 22px;
      height: 2px;
      background: #fff;
      border-radius: 2px;
      transition: all 0.25s;
    }

#mobile-nav-overlay {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 9000;
      background: var(--primary);
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }

#mobile-nav-overlay.open { display: flex; }

#mobile-nav-close {
      position: absolute;
      top: 1.25rem; right: 1.25rem;
      background: rgba(255,255,255,0.1);
      border: none;
      color: #fff;
      font-size: 1.6rem;
      width: 44px; height: 44px;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      line-height: 1;
    }

#mobile-nav-overlay ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.25rem;
      padding: 0;
      width: 100%;
    }

#mobile-nav-overlay ul li a {
      color: rgba(255,255,255,0.85);
      text-decoration: none;
      font-size: 1.4rem;
      font-weight: 700;
      padding: 0.75rem 2rem;
      display: block;
      text-align: center;
      transition: color 0.2s;
    }

#mobile-nav-overlay ul li a:hover { color: var(--gold); }

.mobile-nav-cta {
      background: var(--accent);
      color: #fff !important;
      border-radius: 12px;
      margin-top: 0.5rem;
      padding: 0.9rem 2.5rem !important;
    }

/* Uitgelichte items en de huidige pagina */
nav ul li a.nav-hl {
  color: var(--gold); font-weight: 800;
  border: 1.5px solid rgba(245, 200, 0, 0.45);
  border-radius: 9px; padding: 0.35rem 0.75rem;
  transition: background 0.2s, color 0.2s;
}
nav ul li a.nav-hl:hover { background: var(--gold); color: var(--primary); }
nav ul li a.actief { color: #fff; border-bottom: 3px solid var(--gold); padding-bottom: 0.15rem; }
nav ul li a.nav-hl.actief { background: var(--gold); color: var(--primary); border-color: var(--gold); }
#mobile-nav-overlay ul li a.nav-hl { color: var(--gold); font-weight: 800; }
#mobile-nav-overlay ul li a.actief { color: var(--gold); text-decoration: underline; text-underline-offset: 6px; }

/* Het menu telt negen items; onder 1024px past dat niet meer naast het logo,
   dus daar schakelen we over op het overlay-menu. */
@media (max-width: 1024px) {
  nav ul { display: none; }
  #nav-hamburger { display: flex; }
}
@media (max-width: 600px) {
  .topbanner { font-size: 0.72rem; padding: 0.4rem 0.6rem; white-space: normal; }
  .banner-full { display: none; }
  .banner-short { display: inline; }
  .banner-blog-link { display: none; }
  nav { top: 1.85rem; padding: 0.65rem 1rem; }
}
