/* =====================
   NAVBAR (GLASS PREMIUM)
===================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 2000;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 18px 32px;

  /* Layered glass background */
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.95) 0%,
    rgba(15, 23, 42, 0.85) 55%,
    rgba(15, 23, 42, 0.72) 100%
  );

  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);

  border-bottom: 1px solid rgba(255, 255, 255, 0.18);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 10px 28px rgba(0, 0, 0, 0.55);
}

/* Subtle glow separator */
.navbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(56, 189, 248, 0.7),
    transparent
  );
  opacity: 0.6;
}

/* =====================
   LOGO
===================== */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;

  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.logo-img {
  height: 40px;
  width: auto;
}

/* =====================
   NAV LINKS (DESKTOP)
===================== */
.nav-links {
  list-style: none;
  display: flex;
  gap: 14px;

  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: #eafcff;
  text-decoration: none;

  font-size: 14.5px;
  font-weight: 600;
  opacity: 0.95;

  padding: 9px 18px;
  border-radius: 20px;

  transition: 
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

/* Hover */
.nav-links li a:hover {
  color: #38bdf8;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* Active */
.nav-links li a.active {
  color: #ffffff;
  background: linear-gradient(
    135deg,
    rgba(56, 189, 248, 0.45),
    rgba(255, 255, 255, 0.15)
  );
  box-shadow: 0 8px 22px rgba(56, 189, 248, 0.45);
}

/* =====================
   HAMBURGER
===================== */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
}

.hamburger span {
  width: 26px;
  height: 3px;
  margin: 4px 0;

  background: #ffffff;
  border-radius: 2px;
}

/* =====================
   MOBILE MENU
===================== */
@media (max-width: 768px) {

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    right: 18px;
    width: 240px;

    flex-direction: column;
    gap: 6px;

    padding: 18px;
    display: none;

    background: linear-gradient(
      180deg,
      rgba(15, 23, 42, 0.98),
      rgba(15, 23, 42, 0.92)
    );

    backdrop-filter: blur(20px);
    border-radius: 18px;

    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    text-align: center;
  }

  .nav-links li a {
    width: 100%;
    padding: 12px 16px;
  }

  .nav-logo {
    font-size: 16px;
  }

  .logo-img {
    height: 36px;
  }
}
