/* ================================================================
   nav.css — Top navigation bar
   ================================================================ */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 64px;
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(99, 102, 241, 0.12);
  transition: background 0.3s;
}

/* Logo — "HS." */
.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.3px;
}
.nav-logo span {
  color: var(--indigo);
}

/* Link list */
.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--slate);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover {
  color: var(--cream);
  background: rgba(99, 102, 241, 0.1);
}
/* Active section highlight — toggled by js/nav.js */
.nav-links a.active {
  color: var(--indigo-glow);
}

/* "Get in touch" button on the right */
.nav-cta {
  font-size: 13px;
  font-weight: 500;
  background: var(--indigo);
  color: var(--white);
  border: none;
  cursor: pointer;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover {
  background: var(--indigo-glow);
  transform: translateY(-1px);
}

/* Hamburger icon (mobile only) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: 0.3s;
}


/* ── MOBILE ── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--navy-2);
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    gap: 4px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 10px 14px;
  }
  .nav-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}
