/* Add this to a new file: aca-explorer-modern-navbar.css */

/* Modern Navbar - 2025 Style */
.nav-container {
  background: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
  backdrop-filter: blur(10px); /* Frosted glass effect */
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0;
}

.nav-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
}

/* Modern layout with flexible content */
.nav-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Left side with logo and title */
.nav-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Center with main navigation */
.nav-center {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

/* Right side with controls */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Logo styling */
.nav-logo {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(45deg, var(--aca-red), var(--aca-yellow), var(--aca-green), var(--aca-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo svg {
  height: 2rem;
  width: auto;
}

/* Title styling */
.nav-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-title span {
  font-weight: 700;
  color: var(--aca-red);
}

/* Language switcher */
.language-switch {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 0.75rem;
  border-radius: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #333;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.language-switch:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Navigation controls */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Page selector */
.nav-select {
  position: relative;
  min-width: 250px;
}

.nav-current {
  padding: 0.75rem 1.25rem;
  background: white;
  border-radius: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  font-weight: 600;
}

.nav-current:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.nav-current:after {
  content: "▼";
  font-size: 0.75rem;
  margin-left: 0.75rem;
  opacity: 0.5;
}

/* Dropdown menu */
.nav-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 0;
  right: 0;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
  overflow: hidden;
  padding: 0.5rem;
  max-height: 80vh;
  overflow-y: auto;
}

.nav-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Menu items */
.nav-item {
  padding: 0.75rem 1rem;
  margin: 0.25rem 0;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 0.5rem;
}

.nav-item a {
  text-decoration: none;
  color: inherit;
  display: block;
  font-weight: 500;
}

.nav-item:hover {
  background: rgba(0, 0, 0, 0.03);
}

.nav-item.current {
  background: var(--aca-red);
  color: white;
}

/* Cool indicator line for navigation */
.nav-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: transparent;
  overflow: hidden;
}

.nav-indicator:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, 
    var(--aca-red) 0%, 
    var(--aca-yellow) 33%, 
    var(--aca-green) 67%, 
    var(--aca-blue) 100%
  );
  animation: slide 8s linear infinite;
}

@keyframes slide {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .nav-title {
    font-size: 1rem;
  }
  
  .nav-select {
    min-width: 180px;
  }
}

@media (max-width: 768px) {
  .nav-content {
    justify-content: space-between;
  }
  
  .nav-center {
    display: none;
  }
}