/* ============================================================
   Header Custom — Legacy Yacht Sales
   Header is a transparent overlay on the hero section.
   No background image here — the hero provides the imagery.
   ============================================================ */

/* Stronger gradient at top so nav text stays readable over any image/video */
.site-header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 220px;
  background: linear-gradient(
    to bottom,
    rgba(2,13,20,.88) 0%,
    rgba(2,13,20,.55) 55%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* Nav pill backgrounds — clearly visible over hero imagery */
.nav a {
  background: rgba(4, 18, 50, 0.82) !important;
  border: 1px solid rgba(255, 255, 255, 0.30) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-shadow: 0 1px 4px rgba(0,0,0,.50);
  border-radius: 999px !important;
  padding: 8px 16px !important;
}

.nav a:hover {
  background: rgba(10, 40, 110, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.50) !important;
  transform: translateY(-1px);
}

.nav a[aria-current="page"] {
  background: rgba(201, 166, 70, 0.25) !important;
  border-color: rgba(201, 166, 70, 0.60) !important;
  color: #f0d080 !important;
}

.site-header > * {
  position: relative;
  z-index: 1;
}

/* Inner pages: sticky dark header */
.site-header.sticky {
  position: sticky;
  top: 0;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 4px 24px rgba(2,13,20,.30);
}
.site-header.sticky::before { display: none; }
