/* ============================================
   VFW Post 7035 - Base Styles
   Global: reset, variables, typography, layout,
           buttons, nav, header, footer
   ============================================ */

:root {
  --navy:       #0d1b2a;
  --navy-mid:   #162840;
  --navy-light: #1e3a5f;
  --gold:       #c9923a;
  --gold-light: #e8b060;
  --gold-pale:  #f5e6cc;
  --white:      #ffffff;
  --off-white:  #f7f5f0;
  --gray:       #8a8f99;
  --gray-light: #e8e8e8;
  --text:       #1a1a2e;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Sans 3', 'Helvetica Neue', sans-serif;

  --radius:    4px;
  --shadow:    0 4px 24px rgba(13, 27, 42, 0.12);
  --shadow-lg: 0 12px 48px rgba(13, 27, 42, 0.2);
  --container: 1100px;
  --header-h:  80px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }
ul { list-style: none; }

/* ---- Container ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 13px 32px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s;
  border: 2px solid transparent;
}
.btn--gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 146, 58, 0.35);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}
.btn--navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--white);
  transform: translateY(-2px);
}
.btn--lg { padding: 16px 44px; font-size: 16px; }
.btn--full { width: 100%; text-align: center; }

/* ---- Section Titles ---- */
.section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 16px;
  text-align: center;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 12px auto 0;
}
.section-title--left { text-align: left; }
.section-title--left::after { margin-left: 0; }
.section-subtitle {
  text-align: center;
  color: var(--gray);
  margin-bottom: 40px;
  font-size: 1rem;
}

/* ---- Page Hero (shared by interior pages) ---- */
.page-hero {
  background: var(--navy);
  padding: 72px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
}
.page-hero--gold {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}
.page-hero-badge {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--gold);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 12px;
}
.page-hero p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
}

/* ============================================
   TOP BAR
   ============================================ */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  padding: 8px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 0.03em;
}
.topbar-fb {
  color: var(--gold-light);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.topbar-fb:hover { color: var(--white); }

/* ============================================
   HEADER & NAV
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-mid);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-emblem {
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  animation: emblem-pulse 3s ease-in-out infinite;
}
@keyframes emblem-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.7; }
}
.header-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.header-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.header-tagline {
  font-size: 11px;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all 0.2s;
  position: relative;
}
.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.nav-link.active::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -3px; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
}
.nav-link--donate {
  background: var(--gold);
  color: var(--white) !important;
  padding: 8px 18px;
}
.nav-link--donate:hover { background: var(--gold-light) !important; }
.nav-link--donate.active::after { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 64px 0 0;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-mission { font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-col p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 24px;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-ein { font-size: 11px !important; letter-spacing: 0.06em; color: rgba(255,255,255,0.25) !important; }

/* ---- Fade-up animation (shared) ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   RESPONSIVE - SHARED
   ============================================ */
@media (max-width: 720px) {
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    background: var(--navy-mid);
    padding: 16px;
    gap: 4px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav--open { display: flex; }
  .nav-link { padding: 12px 16px; }
  .nav-toggle { display: flex; }
  .site-header { position: relative; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 960px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}