/* FILE: css/10-header.css */
/* =========================================
   Header + navigation
   ========================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  /* IMPORTANT: keep header above the overlay so the drawer stays clickable */
  z-index: 12000;
  background: #050a0f;
  border-bottom: 1px solid var(--border);
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.site-header.is-scrolled { background: #030608; }

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  letter-spacing: 2px;
  color: var(--text);
  text-decoration: none;
  position: relative;
  z-index: 501;
}
.logo span { color: var(--accent); }

.site-nav {
  display: flex;
  gap: 4px;
  align-items: center;
}
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.site-nav a:hover,
.site-nav a.active { color: var(--accent); background: rgba(0,200,255,0.08); }

.nav-cta {
  background: var(--accent) !important;
  color: var(--bg) !important;
  padding: 8px 18px !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  margin-left: 10px;
}
.nav-cta:hover { opacity: 0.85; }

/* Drawer header is only visible on mobile */
.nav-header { display: none; }
.nav-brand { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; letter-spacing: 2px; color: var(--text); }
.nav-brand span { color: var(--accent); }
.nav-close {
  background: rgba(0,200,255,0.1);
  border: 1px solid rgba(0,200,255,0.3);
  color: var(--accent);
  width: 36px; height: 36px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  position: relative;
  z-index: 10001;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  /* Must be BELOW the drawer, ABOVE the page */
  z-index: 11000;
  background: rgba(0,0,0,0.7);
}