.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo img {
  height: 150px;
  width: 150px;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  color: var(--white);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .2px;
  padding: 8px 0;
  opacity: .95;
}

.nav-link:hover {
  opacity: 1;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width .25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

/* Voeg overlay toe voor betere UX */
.nav::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: -1;
}

.nav.open::before {
  opacity: 1;
  visibility: visible;
}

/* Tablet en Mobile Responsive */
@media (max-width: 1024px) {
  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -150%;
    width: 100%;
    height: 100vh;
    background: var(--rbblauw);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 16px;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    overflow-y: auto;
  }

  .nav-link {
    font-size: 20px;
    padding: 12px 0;
  }

  .nav-link::after {
    bottom: 4px;
  }

  .nav-logo img {
    height: 100px;
    width: 100px;
  }

  .nav.open {
    right: 0;
  }

  .nav-logo img {
    height: 100px;
    width: 100px;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -150%;
    width: 100%;
    height: 100vh;
    background: var(--rbblauw);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 16px;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    overflow-y: auto;
  }

}

@media (max-width: 428px) {
  .nav {
    width: 100%;
  }
  
  .nav-logo img {
    height: 80px;
    width: 80px;
  }
}