/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --carolina: #4B9CD3;
  --navy: #0a1f44;
  --gold: #f4b41a;
  --cream: #f5f7fa;
  --white: #ffffff;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--carolina);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
.hidden { display: none !important; }

/* === LAYOUT === */
.container { max-width: 1152px; margin: 0 auto; padding: 0 24px; }
.section { max-width: 1152px; margin: 0 auto; padding: 80px 24px; }
.text-center { text-align: center; }
.max-w-2xl { max-width: 672px; margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 768px; margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 896px; margin-left: auto; margin-right: auto; }

/* === TYPOGRAPHY === */
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.h-section { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.02em; }
.text-gold { color: var(--gold); text-shadow: 0 1px 3px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.08); }
.text-navy { color: var(--navy); }
.text-carolina { color: var(--carolina); }
.text-cream { color: var(--cream); }
.opacity-90 { opacity: 0.9; }
.opacity-80 { opacity: 0.8; }
.opacity-70 { opacity: 0.7; }

/* === BUTTONS === */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  transition: filter 0.2s;
}
.btn-primary:hover { filter: brightness(0.95); }

.btn-secondary {
  display: inline-block;
  background: var(--carolina);
  color: white;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  transition: opacity 0.2s;
}
.btn-secondary:hover { opacity: 0.9; }

/* === NAV === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245,247,250,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(10,31,68,0.1);
}
.nav-inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { font-weight: 800; font-size: 1.25rem; color: var(--navy); }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 32px; font-size: 0.875rem; font-weight: 600; }
.nav-links a { color: var(--carolina); }
.nav-links a:hover { color: var(--navy); }
.nav-donate { padding: 8px 20px !important; font-size: 0.875rem !important; }

/* === HERO === */
.hero {
  padding: 64px 24px 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: url('photos/hero.jpg') center top / cover no-repeat;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,31,68,0.75) 0%, rgba(10,31,68,0.88) 100%);
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero-eyebrow { text-transform: uppercase; letter-spacing: 0.1em; font-size: 19px; font-weight: 700; color: var(--gold); margin-bottom: 24px; }
.hero-eyebrow .name { font-size: 22px; }
.hero h1 { font-size: 3.5rem; color: white; line-height: 1.05; }
.hero h1 .gold { color: var(--gold); }
.hero .subtitle { margin-top: 32px; font-size: 1.25rem; max-width: 768px; margin-left: auto; margin-right: auto; color: rgba(255,255,255,0.9); }
.hero .cta-row { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* === EVENTS CALENDAR === */
.events-section { background: var(--navy); color: var(--cream); }
.events-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 48px; }
.calendar-box {
  background: rgba(245,247,250,0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(245,247,250,0.2);
  padding: 24px;
}
.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.cal-header h3 { font-weight: 800; font-size: 1.125rem; }
.cal-nav {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(245,247,250,0.1);
  border: none;
  color: var(--cream);
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.cal-nav:hover { background: rgba(245,247,250,0.2); }
.cal-days-header { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-size: 0.75rem; font-weight: 700; opacity: 0.6; margin-bottom: 8px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-size: 0.875rem; }
.cal-day { padding: 8px 0; border-radius: 6px; position: relative; transition: background 0.2s; }
.cal-day.today { background: var(--gold); color: var(--navy); font-weight: 800; }
.cal-day.has-event { font-weight: 700; }
.cal-day.has-event::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.cal-day.empty { opacity: 0; }
.cal-day.dim { opacity: 0.5; }
.notion-link { display: block; text-align: center; margin-top: 24px; font-size: 0.875rem; font-weight: 700; color: var(--gold); }
.notion-link:hover { text-decoration: underline; }

.upcoming-events h3 { font-weight: 800; font-size: 1.25rem; margin-bottom: 8px; }
.event-card {
  background: rgba(245,247,250,0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(245,247,250,0.2);
  padding: 20px;
  margin-bottom: 16px;
}
.event-date { font-size: 0.875rem; font-weight: 700; color: var(--gold); text-transform: uppercase; }
.event-title { margin-top: 4px; font-size: 1.125rem; font-weight: 800; }
.event-location { margin-top: 4px; font-size: 0.875rem; opacity: 0.8; }
.event-desc { margin-top: 8px; font-size: 0.875rem; opacity: 0.9; }

/* === PHOTO CAROUSEL === */
.carousel-section { padding: 80px 0; background: white; overflow: hidden; }
.carousel-section h2 { padding: 0 24px; }
.carousel-wrapper { position: relative; margin-top: 48px; }
.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 24px 16px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-item {
  scroll-snap-align: center;
  flex-shrink: 0;
  width: calc(100vw - 64px);
  max-width: 520px;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(10,31,68,0.05);
}
.carousel-item img,
.carousel-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.08) contrast(1.12) saturate(1.1);
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(10,31,68,0.8);
  color: var(--cream);
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.carousel-btn:hover { background: var(--navy); }
.carousel-btn.prev { left: 8px; }
.carousel-btn.next { right: 8px; }
.carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: 24px; }
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 9999px;
  background: rgba(10,31,68,0.2);
  transition: all 0.3s;
}
.carousel-dot.active { background: var(--gold); width: 24px; }

/* Shirt carousel - one image at a time, full width, contained */
#shirt-carousel-track {
  overflow: hidden;
  padding: 0;
  gap: 0;
  scroll-snap-type: none;
}
#shirt-carousel-track .carousel-item {
  width: 100%;
  flex-shrink: 0;
  aspect-ratio: 3/4;
  background: white;
  border: 1px solid rgba(10,31,68,0.08);
  border-radius: 12px;
  overflow: hidden;
}
#shirt-carousel-track .carousel-item img {
  object-fit: contain;
  filter: none;
  padding: 4px;
}

/* === DONATION STRIP === */
.donate-strip { background: var(--navy); color: var(--cream); }
.donate-strip .inner { padding: 40px 24px; max-width: 1152px; margin: 0 auto; text-align: center; }
.donate-strip h2 { font-size: 1.875rem; }
.donate-amounts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.donate-amounts button { min-width: 90px; text-align: center; }

/* === STORE === */
.store-section { background: white; }
.store-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 24px; max-width: 680px; margin-left: auto; margin-right: auto; align-items: center; }
.shirt-display { width: 100%; border-radius: 12px; background: var(--cream); padding: 8px; position: relative; box-sizing: border-box; overflow: hidden; }
.shirt-img { border-radius: 8px; }
.shirt-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.size-selector { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.size-btn {
  width: 48px; height: 48px;
  border-radius: 6px;
  border: 2px solid rgba(75,156,211,0.2);
  background: transparent;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--carolina);
  transition: all 0.2s;
}
.size-btn.active { border-color: var(--gold); background: var(--gold); color: var(--navy); }
.size-btn:hover { border-color: var(--gold); }

/* === PLAN === */
.plan-section { background: white; }
.plan-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 56px; }
.plan-card {
  border-left: 4px solid var(--gold);
  background: var(--cream);
  padding: 24px;
  border-radius: 0 8px 8px 0;
}
.plan-card h3 { font-size: 1.25rem; font-weight: 800; }
.plan-card p { margin-top: 12px; opacity: 0.9; }

/* === PROOF === */
.proof-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 40px; max-width: 768px; margin-left: auto; margin-right: auto; text-align: left; }
.proof-item { display: flex; gap: 12px; }
.proof-check { color: var(--gold); font-weight: 800; font-size: 1.5rem; line-height: 1; }
.proof-text { font-size: 1.125rem; }

/* === TESTIMONIALS === */
.testimonials-section { background: var(--navy); color: var(--cream); }
.testimonial-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-card {
  scroll-snap-align: center;
  min-width: 280px;
  background: rgba(245,247,250,0.1);
  backdrop-filter: blur(10px);
  padding: 32px;
  border-radius: 12px;
  border: 1px solid rgba(245,247,250,0.2);
}
.testimonial-card p { font-size: 1.125rem; font-style: italic; }
.testimonial-author { margin-top: 16px; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold); font-weight: 700; }

/* === EMAIL SIGNUP === */
.signup-section { background: var(--cream); border-top: 1px solid rgba(10,31,68,0.1); border-bottom: 1px solid rgba(10,31,68,0.1); }
.signup-form { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.signup-form input {
  width: 100%;
  padding: 16px 20px;
  border-radius: 6px;
  border: 1px solid rgba(10,31,68,0.2);
  background: white;
  font-size: 1rem;
  font-family: inherit;
}
.signup-form input:focus { outline: 2px solid var(--carolina); border-color: transparent; }
.signup-success { padding: 40px 0; }
.signup-success .check { font-size: 2rem; margin-bottom: 12px; }

/* === FINAL DONATION === */
.final-donate { background: var(--navy); color: var(--cream); }

/* === FOOTER === */
.site-footer { background: var(--navy); color: var(--cream); margin-top: 80px; }
.site-footer .inner { max-width: 1152px; margin: 0 auto; padding: 48px 24px; text-align: center; }
.site-footer .name { font-weight: 800; font-size: 1.5rem; }
.site-footer .slogan { margin-top: 8px; opacity: 0.8; }
.site-footer .legal { margin-top: 24px; font-size: 0.75rem; opacity: 0.6; }

/* === ABOUT PAGE === */
.about-content { max-width: 768px; }
.about-content h1 { font-size: 2.5rem; line-height: 1.1; }
.about-content .eyebrow { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.875rem; font-weight: 700; color: var(--gold); margin-bottom: 24px; }
.about-body { margin-top: 40px; display: flex; flex-direction: column; gap: 24px; font-size: 1.125rem; line-height: 1.7; }
.about-body .bold { font-weight: 700; }

/* === MODAL === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,31,68,0.7);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-overlay.hidden { display: none; }
.modal {
  background: white;
  border-radius: 12px;
  padding: 32px;
  max-width: 448px;
  width: 100%;
  text-align: left;
}
.modal h3 { font-size: 1.5rem; font-weight: 800; color: var(--navy); }
.modal p.desc { margin-top: 8px; font-size: 0.875rem; color: var(--carolina); }
.modal form { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.modal input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid rgba(10,31,68,0.2);
  font-size: 1rem;
  font-family: inherit;
  color: var(--navy);
}
.modal .fine-print { font-size: 0.75rem; text-align: center; color: rgba(75,156,211,0.6); }
.modal .cancel-btn { margin-top: 16px; font-size: 0.875rem; color: rgba(75,156,211,0.5); background: none; border: none; width: 100%; text-align: center; }
.modal .cancel-btn:hover { color: var(--carolina); }
.modal-success { text-align: center; padding: 16px 0; }
.modal-success .check { font-size: 2rem; margin-bottom: 12px; }
.modal-success h3 { color: var(--navy); }

/* === MOBILE NAV === */
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; color: var(--navy); cursor: pointer; padding: 4px 8px; }

/* Mobile nav open state */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  padding: 16px 24px 24px;
  gap: 20px;
  box-shadow: 0 8px 24px rgba(10,31,68,0.12);
  z-index: 999;
}

/* === RESPONSIVE === */
@media (min-width: 768px) {
  .h-section { font-size: 3rem; }
  .hero h1 { font-size: 4.5rem; }
  .events-grid { grid-template-columns: 1fr 1fr; }
  .store-grid { grid-template-columns: 1fr 1fr; }
  .plan-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-card { min-width: 360px; }
  .nav-links { display: flex; }
  .about-content h1 { font-size: 3.5rem; }
}

@media (min-width: 1024px) {
  .plan-grid { grid-template-columns: 1fr 1fr 1fr; }
  .container { padding: 0 48px; }
  .section { padding: 80px 48px; }
}

@media (max-width: 767px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .hero { padding: 48px 24px 64px; }
  .hero h1 { font-size: 2.5rem; }
  .donate-strip h2 { font-size: 1.5rem; }
  .store-details { text-align: center; }
  .size-selector { justify-content: center; }
}
