/* ══════════════════════════════════════════
   BOO-Sticks · Shared Stylesheet
   ══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

:root {
  --cream: #f5f0e8;
  --warm-white: #faf8f4;
  --bamboo: #8b7355;
  --bamboo-dark: #5c4d35;
  --bamboo-light: #c4a97a;
  --bamboo-pale: #e8dcc8;
  --forest: #2d4a2d;
  --forest-mid: #3d6b3d;
  --forest-light: #5a8f5a;
  --charcoal: #1c1c1c;
  --mid-gray: #6b6b6b;
  --light-gray: #e8e5df;
  --gold: #c49a3c;
  --gold-light: #e8c76a;
  --red-flag: #c0392b;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--warm-white);
  color: var(--charcoal);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem;
  height: 72px;
  background: rgba(250,248,244,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bamboo-pale);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 900;
  color: var(--forest); letter-spacing: -0.02em;
  text-decoration: none;
}
.nav-logo span { color: var(--bamboo); }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }

.nav-links a {
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--charcoal); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--forest); }

.nav-links a.active {
  border-bottom: 2px solid var(--bamboo);
  padding-bottom: 2px;
}

.nav-cta {
  background: var(--forest); color: #fff !important;
  padding: 0.5rem 1.25rem; border-radius: 4px;
}
.nav-cta:hover { background: var(--forest-mid); color: #fff !important; }
.nav-cta.active { border-bottom: none !important; }

.veteran-badge {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red-flag);
}
.veteran-badge::before { content: '★'; font-size: 0.9rem; }

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none; flex-direction: column;
  justify-content: center; gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  padding: 6px; border-radius: 4px;
  transition: background 0.15s; z-index: 110; flex-shrink: 0;
}
.nav-hamburger:hover { background: var(--cream); }
.nav-hamburger span {
  display: block; height: 2px;
  background: var(--charcoal); border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease, width 0.3s ease;
  transform-origin: center;
}
.nav-hamburger span:nth-child(1) { width: 22px; }
.nav-hamburger span:nth-child(2) { width: 16px; }
.nav-hamburger span:nth-child(3) { width: 22px; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 22px; }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 22px; }

/* ── MOBILE DRAWER ── */
.mobile-nav-overlay {
  display: none; position: fixed; inset: 0; z-index: 98;
  background: rgba(28,28,28,0.45); backdrop-filter: blur(2px);
  opacity: 0; transition: opacity 0.3s ease;
}
.mobile-nav-overlay.show { opacity: 1; }

.mobile-nav-drawer {
  position: fixed; top: 72px; left: 0; right: 0; z-index: 99;
  background: var(--warm-white); border-bottom: 1px solid var(--bamboo-pale);
  padding: 0; max-height: 0; overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), padding 0.3s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.mobile-nav-drawer.open { max-height: 500px; padding: 1rem 0 1.5rem; }
.mobile-nav-drawer ul { list-style: none; padding: 0 1.5rem; }
.mobile-nav-drawer li { border-bottom: 1px solid var(--light-gray); }
.mobile-nav-drawer li:last-child { border-bottom: none; }
.mobile-nav-drawer a {
  display: block; padding: 1rem 0; font-size: 1rem;
  font-weight: 500; color: var(--charcoal);
  text-decoration: none; transition: color 0.2s;
}
.mobile-nav-drawer a:hover { color: var(--forest); }
.mobile-nav-drawer .mobile-cta {
  display: block; margin: 1.25rem 1.5rem 0;
  background: var(--forest); color: #fff !important;
  text-align: center; padding: 0.85rem 1rem; border-radius: 4px;
  font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
}
.mobile-nav-drawer .mobile-cta:hover { background: var(--forest-mid); }

/* ── PAGE HERO (interior pages) ── */
.page-hero {
  background: var(--cream);
  padding: 5rem 5rem 4rem;
  border-bottom: 1px solid var(--bamboo-pale);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: attr(data-watermark);
  position: absolute;
  right: -2rem; bottom: -2rem;
  font-family: 'Playfair Display', serif;
  font-size: 14rem; font-weight: 900;
  color: rgba(139,115,85,0.05);
  line-height: 1; pointer-events: none; user-select: none;
}
.page-hero-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--bamboo);
  margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.page-hero-label::before {
  content: ''; display: inline-block;
  width: 24px; height: 1px; background: var(--bamboo);
}
.page-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900; color: var(--forest);
  line-height: 1.08; margin-bottom: 1rem;
}
.page-hero-title em { font-style: italic; color: var(--bamboo-dark); }
.page-hero-sub {
  font-size: 1.05rem; line-height: 1.7;
  color: var(--mid-gray); max-width: 60ch;
}

/* ── SECTIONS ── */
.section { padding: 6rem 5rem; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--charcoal); }

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--bamboo); margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem,3.5vw,3rem);
  font-weight: 700; color: var(--forest);
  line-height: 1.15; margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--bamboo-dark); }
.section-body { font-size: 1rem; line-height: 1.75; color: var(--mid-gray); max-width: 55ch; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--forest); color: #fff;
  padding: 0.9rem 2rem; border-radius: 4px;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.03em;
  text-decoration: none; transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--forest-mid); transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--charcoal);
  padding: 0.9rem 2rem; border-radius: 4px;
  border: 1.5px solid var(--light-gray);
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0.03em;
  text-decoration: none; transition: border-color 0.2s, transform 0.15s;
}
.btn-secondary:hover { border-color: var(--bamboo); transform: translateY(-1px); }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--charcoal); color: #fff;
  display: flex; justify-content: center;
  gap: 4rem; padding: 2rem 5rem; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.85rem; }
.trust-icon { font-size: 1.3rem; }
.trust-label { font-weight: 500; color: rgba(255,255,255,0.9); }

/* ── NEWSLETTER ── */
.newsletter {
  background: var(--bamboo-pale);
  padding: 5rem; text-align: center;
}
.newsletter-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700;
  color: var(--forest); margin-bottom: 0.75rem;
}
.newsletter-sub { font-size: 0.95rem; color: var(--bamboo-dark); margin-bottom: 2rem; }
.newsletter-form {
  display: flex; gap: 0; max-width: 440px; margin: 0 auto;
  border-radius: 4px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.newsletter-input {
  flex: 1; padding: 0.85rem 1.25rem; border: none;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  background: #fff; outline: none;
}
.newsletter-btn {
  background: var(--forest); color: #fff; border: none;
  padding: 0 1.5rem; font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem; font-weight: 600; cursor: pointer;
  white-space: nowrap; transition: background 0.2s;
}
.newsletter-btn:hover { background: var(--forest-mid); }

/* ── FOOTER ── */
footer {
  background: var(--charcoal); color: rgba(255,255,255,0.6);
  padding: 4rem 5rem 3rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 900; color: #fff;
  margin-bottom: 1rem; display: block; text-decoration: none;
}
.footer-logo span { color: var(--bamboo-light); }
.footer-desc { font-size: 0.85rem; line-height: 1.7; margin-bottom: 1.5rem; max-width: 40ch; }
.footer-flag { font-size: 1.5rem; margin-right: 0.5rem; }
.footer-vet { font-size: 0.8rem; font-weight: 600; color: var(--gold-light); letter-spacing: 0.08em; text-transform: uppercase; }
.footer-col h4 { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--bamboo-light); }
.footer-bottom {
  background: #111; padding: 1.25rem 5rem;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.78rem; color: rgba(255,255,255,0.35);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; animation: fadeUp 0.7s ease forwards; }
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.25s; }
.fade-up-3 { animation-delay: 0.4s; }
.fade-up-4 { animation-delay: 0.55s; }
.fade-up-5 { animation-delay: 0.7s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav { padding: 0 1.5rem; }
  .section { padding: 4rem 2.5rem; }
  .page-hero { padding: 4rem 2.5rem 3rem; }
  footer { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 3rem 2.5rem; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { padding: 1.25rem 2.5rem; }
  .trust-bar { gap: 2rem; padding: 2rem; }
  .newsletter { padding: 3rem 2.5rem; }
}
@media (max-width: 640px) {
  nav { padding: 0 1rem; }
  .nav-links { display: none; }
  .veteran-badge { display: none; }
  .nav-hamburger { display: flex; }
  .section { padding: 3rem 1.5rem; }
  .page-hero { padding: 3rem 1.5rem 2.5rem; }
  footer { grid-template-columns: 1fr; padding: 3rem 1.5rem; }
  .footer-brand { grid-column: 1; }
  .trust-bar { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 2rem 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; padding: 1.25rem 1.5rem; text-align: center; }
  .newsletter { padding: 3rem 1.5rem; }
}
