/* ============================================================
   navigation.css
   Styles the sticky top navigation bar, the alwaysAI logo,
   navigation links, and the "Speak with an Expert" CTA button.
   ============================================================ */

/* --- Nav bar --- */
nav {
  background: var(--navy);
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* --- Logo --- */
.nav-logo {
  cursor: pointer;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img {
  height: 28px;
  display: block;
}

/* --- Nav links wrapper --- */
.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}

/* --- Individual nav link (white text, always visible on navy) --- */
.nav-link {
  background: none;
  border: none;
  color: var(--od);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Inter', system-ui, sans-serif;
  transition: background 0.15s;
  opacity: 0.85;
}
.nav-link:hover  { background: rgba(255,255,255,0.12); opacity: 1; }
.nav-link.active { background: rgba(255,255,255,0.14); opacity: 1; }

/* --- CTA button (blue background, white text) --- */
.nav-btn-cta {
  background: var(--blue);
  color: var(--white);
  border: none;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Inter', system-ui, sans-serif;
  margin-left: 12px;
  letter-spacing: 0.2px;
  transition: background 0.15s;
}
.nav-btn-cta:hover { background: var(--blue2); }

/* --- Hamburger menu button (visible only on mobile) --- */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
/* Animate spans into an X when open */
.nav-hamburger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger--open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
