/* ---------------------------------------------------------------
   NAV.CSS — AIRSHADOW Navigation
   --------------------------------------------------------------- */

/* --- NAVIGATION PRINCIPALE --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --- LOGO --- */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: #FFD700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-logo-text {
  background: linear-gradient(135deg, #FFD700, #FF6B35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- MENU DESKTOP --- */
.nav-menu {
  display: none;
  align-items: center;
  gap: 40px;
}

.nav-item {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  position: relative;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #FFD700, #FF6B35);
  transition: width 0.3s ease;
}

.nav-item:hover {
  color: #FFD700;
}

.nav-item:hover::after {
  width: 100%;
}

/* --- BOUTON MENU MOBILE --- */
.nav-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 4px;
}

.nav-menu-toggle span {
  width: 100%;
  height: 2px;
  background: #FFD700;
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- MENU MOBILE --- */
.nav-mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

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

.nav-mobile-content {
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nav-mobile-item {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.nav-mobile-item:hover {
  color: #FFD700;
  padding-left: 10px;
}

.nav-mobile-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 20px 0;
}

/* --- BOUTONS AUTH --- */
.nav-cta-outline {
  color: rgba(255, 255, 255, 0.8);
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
}

.nav-cta-outline:hover {
  border-color: #FFD700;
  color: #FFD700;
}

.nav-cta-primary {
  background: linear-gradient(135deg, #FFD700, #FF6B35);
  color: #000;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.nav-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.nav-mobile-cta {
  display: block;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  margin-bottom: 10px;
}

.nav-mobile-cta.primary {
  background: linear-gradient(135deg, #FFD700, #FF6B35);
  color: #000;
  border: none;
}

.nav-mobile-cta:hover {
  transform: translateY(-2px);
}

/* --- PROFIL MEMBRE --- */
.member-profile {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFD700, #FF6B35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.member-name {
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
}

.logout-btn {
  color: rgba(255, 255, 255, 0.6);
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.logout-btn:hover {
  color: #FF6B35;
  background: rgba(255, 107, 53, 0.1);
}

.nav-mobile-profile {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.nav-mobile-logout {
  display: block;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  padding: 15px;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.nav-mobile-logout:hover {
  color: #FF6B35;
}

/* --- RESPONSIVE --- */
@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
  }
  
  .nav-menu-toggle {
    display: none;
  }
}

@media (max-width: 1023px) {
  .desktop-only {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .mobile-only {
    display: none !important;
  }
}

/* --- SCROLL EFFECT --- */
.nav.scrolled {
  background: rgba(0, 0, 0, 0.98);
  height: 70px;
}

.nav.scrolled .nav-container {
  height: 70px;
}

.nav.scrolled .nav-mobile-menu {
  top: 70px;
}
