/* =====================================================
   F.A.S.T — Fastpitch Access & Support Team
   Design System — Gold/Navy/White
   ===================================================== */

:root {
  --gold:        #FF5A5F;
  --gold-dark:   #E04045;
  --gold-light:  #FF8C8F;
  --navy:        #1B2A4A;
  --navy-dark:   #111D35;
  --navy-light:  #2C4070;
  --yellow:      #FFDF64;
  --yellow-dark: #E6C73D;
  --white:       #FFFFFF;
  --off-white:   #F9F8F5;
  --gray-light:  #F0EEE9;
  --gray-mid:    #C4C0B8;
  --gray-text:   #6B6660;
  --text-dark:   #1A1816;

  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Open Sans', sans-serif;

  --radius:      8px;
  --radius-lg:   16px;
  --shadow-sm:   0 2px 8px rgba(27,42,74,0.10);
  --shadow-md:   0 4px 20px rgba(27,42,74,0.15);
  --shadow-lg:   0 8px 40px rgba(27,42,74,0.20);
  --transition:  all 0.25s ease;
}

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

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { margin-bottom: 1rem; color: var(--gray-text); }
p:last-child { margin-bottom: 0; }
.lead { font-size: 1.2rem; color: var(--gray-text); line-height: 1.7; }

/* ---- Layout ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-dark { background: var(--navy); }
.section-off { background: var(--off-white); }
.section-gold { background: var(--gold); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.text-center { text-align: center; }

/* ---- Section Labels ---- */
.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-dark .section-label { color: var(--gold); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-secondary:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.05rem; }
.btn-sm { padding: 0.55rem 1.25rem; font-size: 0.85rem; }

/* ---- Navigation ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: var(--shadow-md);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1160px;
  margin: 0 auto;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.navbar-logo-mark {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--yellow);
  letter-spacing: -0.02em;
}
.navbar-logo-text {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.3;
  max-width: 160px;
}
.footer-logo-img {
  width: 220px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1rem;
  opacity: 0.9;
}
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.navbar-nav a {
  color: rgba(255,255,255,0.8);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  transition: var(--transition);
  text-decoration: none;
}
.navbar-nav a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.navbar-nav a.active { color: var(--gold); }
.navbar-nav .btn { margin-left: 0.5rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ---- Hero ---- */
.hero {
  background: var(--navy);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255,90,95,0.12) 0%, transparent 65%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,90,95,0.12);
  border: 1px solid rgba(255,90,95,0.35);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero h1 span { color: var(--gold); }
.hero .lead { color: rgba(255,255,255,0.75); margin-bottom: 2.5rem; max-width: 580px; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}
.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---- Mission Strip ---- */
.mission-strip {
  background: var(--yellow);
  padding: 28px 0;
  text-align: center;
}
.mission-strip p {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  letter-spacing: 0.01em;
}

/* ---- Cards ---- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(27,42,74,0.07);
  transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: rgba(255,90,95,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}
.card h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.card p { font-size: 0.9rem; }

/* ---- Program Cards ---- */
.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(27,42,74,0.07);
  transition: var(--transition);
}
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.program-card-header {
  background: var(--navy);
  padding: 1.75rem 2rem;
  position: relative;
}
.program-card-header .icon { font-size: 2rem; margin-bottom: 0.75rem; }
.program-card-header h3 { color: var(--white); margin-bottom: 0.25rem; }
.program-card-header .badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
}
.program-card-body { padding: 1.75rem 2rem; }
.program-card-body ul { display: flex; flex-direction: column; gap: 0.5rem; }
.program-card-body li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--gray-text);
}
.program-card-body li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---- Impact Numbers ---- */
.impact-stat {
  text-align: center;
  padding: 2rem;
}
.impact-stat-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.impact-stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-heading);
  font-weight: 600;
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,90,95,0.2) 0%, transparent 60%);
}
.cta-banner-inner { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.75); max-width: 540px; margin: 0 auto 2rem; }
.cta-banner-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- Donation Section ---- */
.donate-hero {
  background: var(--navy);
  padding: 60px 0;
  text-align: center;
}
.donate-hero h1 { color: var(--white); }
.donate-hero p { color: rgba(255,255,255,0.75); }

.donate-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.donate-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.donate-form-card h2 { margin-bottom: 0.25rem; }
.donate-form-card .subtitle { color: var(--gray-text); margin-bottom: 2rem; font-size: 0.95rem; }

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.amount-btn {
  padding: 0.85rem;
  border: 2px solid var(--gray-light);
  background: var(--white);
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.amount-btn:hover, .amount-btn.active {
  border-color: var(--gold);
  background: rgba(255,90,95,0.08);
  color: var(--navy);
}

.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255,90,95,0.15);
}
.form-input.error { border-color: #E53E3E; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.donate-type-toggle {
  display: flex;
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 4px;
  margin-bottom: 1.5rem;
}
.donate-type-btn {
  flex: 1;
  padding: 0.6rem 1rem;
  border: none;
  background: transparent;
  border-radius: calc(var(--radius) - 2px);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-text);
  cursor: pointer;
  transition: var(--transition);
}
.donate-type-btn.active {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.secure-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--gray-text);
  margin-top: 1rem;
  justify-content: center;
}

/* ---- Thank You / Receipt ---- */
.receipt-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  max-width: 680px;
  margin: 0 auto;
}
.receipt-header {
  text-align: center;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--gray-light);
  margin-bottom: 2rem;
}
.receipt-logo-text {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 0.1em;
}
.receipt-logo-text span { color: var(--gold); }
.receipt-checkmark {
  width: 64px;
  height: 64px;
  background: #ECFDF5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem auto;
  font-size: 2rem;
}
.receipt-amount {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--navy);
}
.receipt-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.receipt-table tr:not(:last-child) td { border-bottom: 1px solid var(--gray-light); }
.receipt-table td { padding: 0.75rem 0; font-size: 0.95rem; }
.receipt-table td:first-child { color: var(--gray-text); width: 45%; }
.receipt-table td:last-child { font-weight: 600; color: var(--navy); text-align: right; }
.receipt-legal {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-size: 0.82rem;
  color: var(--gray-text);
  line-height: 1.6;
  margin: 1.5rem 0;
}
.receipt-footer {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-light);
  font-size: 0.85rem;
  color: var(--gray-text);
}
.receipt-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

@media print {
  .navbar, .receipt-actions, footer, .donate-side { display: none !important; }
  .receipt-card { box-shadow: none; border: 1px solid #ddd; }
  body { background: white; }
}

/* ---- About / Team ---- */
.team-card {
  text-align: center;
  padding: 2rem 1.5rem;
}
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
}
.team-card h4 { margin-bottom: 0.2rem; }
.team-card .role {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 0.75rem;
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(245,166,35,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

/* ---- Footer ---- */
footer {
  background: var(--navy-dark);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}
.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 280px;
}
.footer-col h5 {
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  margin: 0;
}
.footer-ein {
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
}
.footer-logo-mark {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--yellow);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

/* ---- Page Header ---- */
.page-header {
  background: var(--navy);
  padding: 60px 0;
}
.page-header h1 { color: var(--white); }
.page-header p { color: rgba(255,255,255,0.7); max-width: 540px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* ---- Alert ---- */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.alert-success { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.alert-error   { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.alert-info    { background: #EFF6FF; color: #1E40AF; border: 1px solid #BFDBFE; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .donate-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero { padding: 64px 0 56px; }
  .hero-stats { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hamburger { display: flex; }
  .navbar-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }
  .navbar-nav.open { display: flex; }
  .navbar-nav a { padding: 0.75rem 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .amount-grid { grid-template-columns: repeat(3, 1fr); }
  .donate-form-card { padding: 1.5rem; }
  .receipt-card { padding: 1.5rem; }
  .cta-banner-btns { flex-direction: column; align-items: center; }
}
