/* =====================
   NAVBAR (FINAL)
===================== */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  padding: 26px 64px;

  display: flex;
  justify-content: flex-end;
  align-items: center;

  background: transparent;
  z-index: 1000;
}

/* =====================
   DESKTOP NAV LINKS
===================== */
.desktop-nav {
  display: flex;
}

.nav-right {
  display: flex;
  gap: 42px;
}

.nav-right a {
  position: relative;

  font-family: 'Montserrat', sans-serif;
  font-size: 17px;          /* ⬆ increased */
  font-weight: 600;
  letter-spacing: 0.8px;

  color: #ffffff;
  text-decoration: none;
  opacity: 0.85;

  transition: all 0.3s ease;
}

/* underline */
.nav-right a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;

  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #ff6f9f, #a77bff);
  transition: width 0.3s ease;
}

.nav-right a:hover {
  opacity: 1;
}

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

/* =====================
   HAMBURGER
===================== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 7px;

  background: none;
  border: none;
  cursor: pointer;

  z-index: 1200;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* =====================
   MOBILE MENU
===================== */
.mobile-menu {
  position: fixed;
  inset: 0;

  background: rgba(10, 5, 30, 0.85);
  backdrop-filter: blur(14px);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 34px;

  transform: translateY(-100%);
  transition: transform 0.4s ease;

  z-index: 1100;
}

.mobile-menu a {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;          /* ⬆ bigger */
  font-weight: 600;
  letter-spacing: 1px;

  color: #ffffff;
  text-decoration: none;
}

/* =====================
   MOBILE BEHAVIOUR
===================== */
@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .navbar {
    justify-content: flex-end;
    padding: 20px 24px;
  }

  .mobile-menu.active {
    transform: translateY(0);
  }

  /* hamburger animation */
  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}
