/* ============================
   NAV BAR
   ============================ */

.nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: 64px;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 12, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #1f2a3a;
  z-index: 1000;
}

/* ============================
   BRAND (LOGO + TEXT)
   ============================ */

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: #e6e9ee;
}

.nav-logo {
  height: 26px;   /* adjust this number */
  max-height: 26px;
  width: auto;
}


.brand-text {
  font-weight: 600;
  letter-spacing: 0.3em;
  font-size: 0.85rem;
}

/* ============================
   NAV LINKS
   ============================ */

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #e6e9ee;
  text-decoration: none;
  position: relative;
  font-size: 0.9rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: #3a7bd5;
  transition: width 0.3s ease;
}

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

/* ============================
   MOBILE MENU
   ============================ */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #e6e9ee;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    right: 0;
    background: #0b0f14;
    flex-direction: column;
    width: 220px;
    padding: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav-links.open {
    transform: translateX(0);
  }
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  background: rgba(10, 14, 20, 0.85);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

nav a {
  color: rgba(220, 230, 255, 0.85);
  text-decoration: none;
  font-family: "Segoe UI", "Inter", system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-left: 28px;
  position: relative;
  transition: color 0.25s ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: rgba(140,180,255,0.6);
  transition: width 0.25s ease;
}

nav a:hover {
  color: rgba(180, 205, 255, 1);
}

nav a:hover::after {
  width: 100%;
}
