/* =============================================
   NAVBAR STYLES
   ============================================= */

/* Glass effect background */
.navbar-glass {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

#main-navbar.scrolled .navbar-glass {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Navigation link indicator */
.nav-indicator {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #C45C49, #a84d3d);
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.nav-link:hover .nav-indicator,
.nav-link.active .nav-indicator {
  transform: translateX(-50%) scaleX(0.8);
}

/* Cluster dropdown item - active state */
.cluster-item.active {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-left: 3px solid #C45C49;
}

/* Cluster menu visibility */
#cluster-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Mobile menu overlay */
#mobile-menu-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Mobile menu panel */
#mobile-menu-panel.show {
  transform: translateX(0);
}

/* Hamburger animation */
#mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

#mobile-menu-btn.active .hamburger-line:nth-child(3) {
  width: 24px;
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav link transitions */
.mobile-nav-link {
  transition: all 0.2s ease;
}

.mobile-nav-link:active {
  transform: scale(0.98);
}

