/* ============================================================
   250 Years of Freedom — nav.css
   Single source of truth for navigation across all pages.
   Link this BEFORE any page-specific <style> block.
   ============================================================ */

/* ── CSS CUSTOM PROPERTIES ── */
:root {
  --red:       #B22234;
  --red-dark:  #8B1A27;
  --red-bright:#D42B3F;
  --navy:      #002868;
  --navy-dark: #001840;
  --navy-mid:  #00307A;
  --gold:      #C9A84C;
  --gold-light:#E8C96A;
  --cream:     #F5F0E8;
  --off-white: #FAF8F4;
  --white:     #FFFFFF;
  --text:      #1A1A2E;
  --muted:     #6B7280;
}

/* ── BASE RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  background: var(--off-white);
  color: var(--text);
  overflow-x: hidden;
}

/* ── FIXED NAV BAR ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(0, 24, 64, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 64px;
}

/* ── LOGO ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-badge {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red) 0%, var(--navy) 100%);
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-logo-text span { color: var(--gold); }

/* ── NAV LINKS ── */
.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
  margin: 0; padding: 0;
  flex-shrink: 0;
}
.nav-links > li {
  display: flex;
  align-items: stretch;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 0 0.65rem;
  display: flex;
  align-items: center;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.12);
}
.nav-links a.active {
  color: var(--gold);
}

/* ── CONTACT CTA BUTTON ── */
.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  border-radius: 4px !important;
  padding: 0 1rem !important;
  margin-left: 0.25rem;
}
.nav-cta:hover {
  background: var(--red-bright) !important;
  color: var(--white) !important;
}

/* ── HAMBURGER ── */
#site-hamburger {
  display: none;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px 4px;
  flex-shrink: 0;
  box-sizing: border-box;
}
#site-hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  margin: 5px auto;
}

/* ── MOBILE MENU ── */
#site-mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  z-index: 9998;
  background: rgba(0, 24, 64, 0.98);
  flex-direction: column;
  padding: 1rem 0;
  border-bottom: 2px solid var(--gold);
}
#site-mobile-menu a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: block;
  transition: color 0.2s;
}
#site-mobile-menu a:hover  { color: var(--gold); }
#site-mobile-menu a.active { color: var(--gold); }
#site-mobile-menu .mobile-cta {
  color: #fff !important;
  background: var(--red);
  margin: 0.75rem 1.5rem 0;
  border-radius: 4px;
  text-align: center;
  border-bottom: none;
}
#site-mobile-menu .mobile-cta:hover { background: var(--red-bright); }

/* ── STRIPE DIVIDER ── */
.stripe-divider {
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--red)   0%,
    var(--red)   33%,
    var(--white) 33%,
    var(--white) 66%,
    var(--navy)  66%
  );
}

/* ── FLAG STRIPE (footer) ── */
.flag-stripe {
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--red)   0px,
    var(--red)   20px,
    var(--white) 20px,
    var(--white) 40px
  );
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links a { font-size: 0.76rem; padding: 0 0.5rem; letter-spacing: 0.8px; }
}
@media (max-width: 768px) {
  .nav-links { display: none !important; }
  #site-hamburger { display: block !important; }
}

/* ── PARAGRAPH TYPOGRAPHY ── */
/* DM Sans for all body/content paragraphs — clean geometric sans-serif */
p {
  font-family: 'DM Sans', 'Barlow', sans-serif;
  font-size: 0.95rem;
  line-height: 1.8;
  font-weight: 400;
}

/* Padding inside common content containers that hold <p> text */
.hero-body,
.hero-desc,
.inv-body,
.inv-desc,
.event-row-desc,
.event-info,
.about-body,
.about-body p,
.garden-text p,
.mover-cat-desc,
.mover-section-header + p,
.cat-desc,
.card-desc,
.card-body p,
.explore-card-desc,
.moment-desc,
.inv-desc,
.explore-card-body,
.museum-contact,
.footer-brand p {
  padding: 0.35rem 0.6rem;
}

/* Hero paragraphs inside dark hero sections — already have outer padding */
.page-hero p,
.hero-content p,
.split-content p,
.quote-band p,
.intro-banner p,
.cta-band p {
  padding: 0;
  font-family: 'DM Sans', 'Barlow', sans-serif;
}

/* Card body text in movers / heroes sections */
.hero-card .hero-desc,
.hero-card .hero-quote {
  padding: 0.25rem 0.5rem;
}

/* Person bios in movers */
.hero-body {
  padding: 0.5rem 1.3rem 1.1rem;
}
