/* Navigation Dropdown */
:root { --z-dropdown: 10005; --z-dropdown-content: 10010; }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; margin: 0; padding: 0; }
.nav-item-dropdown label.nav-link { cursor: pointer; display: flex; align-items: center; }

.nav-dropdown {
  position: fixed;
  inset: 0;
  z-index: var(--z-dropdown);
  background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(30, 37, 37, 1) 14%, rgba(255, 255, 255, 0.25) 100%);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease-out, visibility 0s linear 0.2s;
  border: none;
  transform: translateZ(0);
}

body.nav-open .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity 0.2s ease-out, visibility 0s;
}

.nav-toggle:checked ~ .nav-link svg rect:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle:checked ~ .nav-link svg rect:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle:checked ~ .nav-link svg rect:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-item-dropdown { overflow: visible; }

/* Dropdown Content Container */
.nav-dropdown .container {
  height: 100%;
}

.dropdown-content {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: var(--z-dropdown-content);
}

/* Dropdown Content & Links */
.dropdown-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 90%;
  text-align: center;
}

.dropdown-link {
  display: block;
  text-decoration: none;
  font-size: 3rem;
  line-height: 1.4;
  font-weight: 400;
  transition: color 0.15s ease;
  margin-bottom: 8px;
  font-family: 'Neue Haas Grotesk', sans-serif;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.5);
}

.dropdown-link:first-child {
  color: #ffffff;
}

.dropdown-link:hover {
  color: #ffffff;
}

.dropdown-link:last-child {
  margin-bottom: 0;
}

/* Badge in dropdown */
.nav-dropdown .nav-badge {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  margin-inline: auto;
  width: 256px;
  height: auto;
  opacity: 0.9;
  pointer-events: none;
  z-index: var(--z-dropdown-content);
}

/* Responsive adjustments */
@media screen and (max-width: 767px) {
  .dropdown-link {
    font-size: 3.5rem;
  }
}

@media screen and (max-width: 479px) {
  .dropdown-column {
    padding: 100px 24px 0 24px;
  }
  
  .dropdown-link {
    font-size: 2.8rem;
  }
}
