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

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.98);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--red-primary);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.3px;
}

.logo-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--red-light);
  letter-spacing: 0.5px;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  padding: 8px 16px;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: white;
  background: rgba(255,255,255,0.08);
}

.nav-link.active {
  color: var(--red-light);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-actions .btn-outline {
  color: white;
  border-color: rgba(255,255,255,0.3);
}

.nav-actions .btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: rgba(10,10,10,0.98);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px;
}

.mobile-menu.open {
  display: block;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.mobile-link {
  display: block;
  padding: 12px 16px;
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.mobile-link:hover {
  background: rgba(255,255,255,0.08);
  color: white;
}

.mobile-auth {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* DEVNTRIC text always visible beside logo on all screen sizes */
@media (max-width: 480px) {
  .logo-name {
    font-size: 15px;
  }
  .logo-sub {
    font-size: 10px;
  }
}
