/* Navigation Style Sheet */

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(2, 2, 5, 0.7);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.4s ease;
}

nav.sticky {
  background: rgba(2, 2, 5, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(247, 147, 26, 0.15);
  border-bottom: 1px solid rgba(247, 147, 26, 0.1);
}

.nav__bar {
  max-width: var(--maxw, 1200px);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__header {
  display: flex;
  align-items: center;
}

.logo.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo .image-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo:hover .image-logo {
  transform: scale(1.05);
}

.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted, #94a3b8);
  transition: all 0.25s ease;
}

.nav__links li i {
  font-size: 0.85rem;
  opacity: 0.6;
  transition: color 0.25s ease;
}

.nav__links a {
  color: inherit;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav__links li:hover {
  color: var(--brand, #f7931a);
}

.nav__links li:hover i {
  color: var(--brand, #f7931a);
  opacity: 1;
}

/* Call to Action Button in Nav */
.nav__links li:nth-child(5) {
  background: linear-gradient(90deg, var(--brand, #f7931a) 0%, #f77c1a 100%);
  padding: 10px 20px;
  border-radius: 10px;
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(247, 147, 26, 0.2);
}

.nav__links li:nth-child(5) a {
  color: #000 !important;
}

.nav__links li:nth-child(5):hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(247, 147, 26, 0.4);
  color: #000;
}

.nav__links li:nth-child(5):hover i {
  color: #000;
}

/* Hamburger Icon styling */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.hamburger .bar {
  width: 20px;
  height: 2px;
  background-color: #fff;
  margin: 2px 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

/* Hamburger active transformation */
.show-links .bar:first-child {
  transform: rotate(45deg) translate(4px, 4px);
}

.show-links .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.show-links .bar:last-child {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .hamburger {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(2, 2, 5, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 40px;
    gap: 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  }

  .nav__links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__links li {
    width: 100%;
    padding: 8px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  }

  /* Keep CTA button alignment in mobile menu drawer */
  .nav__links li:nth-child(5) {
    background: linear-gradient(90deg, var(--brand, #f7931a) 0%, #f77c1a 100%);
    padding: 12px 24px;
    justify-content: center;
    border-radius: 12px;
    margin-top: 10px;
    border-bottom: none;
  }
}