/* FILE: css/components/navbar.css */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  z-index: 100;
  background: rgba(5, 5, 7, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-main);
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links li {
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.3s;
}
.nav-links li:hover,
.nav-links li.active {
  color: var(--text-main);
  text-shadow: 0 0 10px var(--accent-primary);
}

/* --- SOUND CONTROL --- */
.sound-control {
  cursor: pointer;
  color: #ffffff !important; /* FORCED WHITE */
  font-size: 1.1rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  margin-left: 20px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
}

.sound-control:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(157, 78, 221, 0.4);
  color: var(--accent-primary) !important;
}

.sound-control.muted {
  color: #ff4757 !important;
  border-color: rgba(255, 71, 87, 0.5);
}

/* Mobile */
.mobile-menu-btn {
  display: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 7, 0.98);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  backdrop-filter: blur(20px);
}
.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
}
.mobile-links a {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text-muted);
  transition: 0.3s;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .sound-control {
    margin-left: auto;
    margin-right: 20px;
  }
}
