/* =========================================================
   AAGA Prototype — design language inspired by massgolf.org
   ========================================================= */

:root {
  --navy: #0b2a4a;
  --navy-soft: #143a64;
  --sky: #4a90c2;
  --sky-light: #e6f0f8;
  --sky-pale: #f3f7fb;
  --red: #c8102e;
  --red-dark: #a50d24;
  --ink: #1a2236;
  --muted: #5b6478;
  --line: #d8e1ec;
  --bg: #ffffff;
  --warm: #f7f5f0;

  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 10px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(11, 42, 74, 0.06);
  --shadow: 0 8px 24px rgba(11, 42, 74, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 42, 74, 0.18);

  --font-display: 'Barlow Condensed', 'Oswald', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --container: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.01em;
  margin: 0;
  color: var(--navy);
}

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

/* ---------- Utility bar ---------- */
.utility-bar {
  background: var(--navy);
  color: #cad6e6;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.utility-left {
  display: flex;
  gap: 8px;
  align-items: center;
}
.utility-left .dot { opacity: 0.5; }
.utility-right {
  display: flex;
  gap: 24px;
  align-items: center;
}
.utility-right a {
  color: #cad6e6;
  transition: color 0.2s;
}
.utility-right a:hover { color: #fff; }
.utility-right .donate-link {
  color: #fff;
  font-weight: 600;
  padding: 4px 12px;
  background: var(--red);
  border-radius: var(--radius-pill);
}
.utility-right .donate-link:hover { background: var(--red-dark); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  border-bottom: 3px solid var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.logo-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 4px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 28px;
}
.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.main-nav a:hover {
  border-bottom-color: var(--red);
  color: var(--red);
}
.cta-pill {
  background: var(--red);
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-pill);
  font-weight: 700 !important;
  border-bottom: none !important;
  transition: background 0.2s;
}
.cta-pill:hover {
  background: var(--red-dark);
  border-bottom-color: transparent !important;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,42,74,0.15) 0%, rgba(11,42,74,0.45) 60%, rgba(11,42,74,0.65) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 80px 24px;
  max-width: 1100px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero h1 {
  font-size: clamp(48px, 8vw, 108px);
  line-height: 0.95;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
.hero-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.5);
  display: inline-block;
  padding: 12px 28px;
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}
.hero-cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.hero-slider-dots .dot {
  width: 36px;
  height: 3px;
  background: rgba(255,255,255,0.4);
  border-radius: 2px;
}
.hero-slider-dots .dot.active { background: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-ghost:hover {
  background: #fff;
  color: var(--navy);
}
.btn-text {
  background: transparent;
  color: var(--red);
  padding: 14px 12px;
}
.btn-text:hover { color: var(--red-dark); }

/* ---------- Strip bar ---------- */
.strip-bar {
  background: var(--sky);
  color: #fff;
  position: relative;
}
.strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 24px;
  flex-wrap: wrap;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.strip-label {
  background: var(--red);
  color: #fff;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  letter-spacing: 0.15em;
}
.strip-text { font-weight: 600; text-transform: uppercase; }
.strip-link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.strip-link:hover { opacity: 0.85; }
.strip-more {
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  background: var(--sky);
  color: #fff;
  border: 3px solid #fff;
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.15em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}
.strip-more .more-chip {
  background: var(--red);
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

/* ---------- Featured Section ---------- */
.featured-section {
  background: var(--sky-light);
  padding: 80px 0 64px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature-card-image {
  height: 200px;
  position: relative;
  background-size: cover;
  background-position: center;
}
.card-img-1 {
  background-image: linear-gradient(135deg, rgba(11,42,74,0.6), rgba(11,42,74,0.1)), url('assets/tournament-action.png');
}
.card-img-2 {
  background-image: linear-gradient(135deg, rgba(11,42,74,0.55), rgba(11,42,74,0.05)), url('assets/hero-course.png');
}
.feature-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #fff;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.15em;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}
.feature-card-body {
  padding: 24px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.feature-card-body h3 {
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.feature-card-body p {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 18px;
  flex: 1;
}
.card-link {
  font-weight: 700;
  color: var(--red);
  font-size: 13px;
  letter-spacing: 0.12em;
}
.card-link:hover { color: var(--red-dark); }

/* Upcoming events card */
.feature-card.upcoming {
  padding: 24px 24px 28px;
  background: #fff;
}
.upcoming-title {
  font-size: 22px;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 2px solid var(--sky-light);
  padding-bottom: 14px;
  margin-bottom: 16px;
}
.upcoming-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.upcoming-list li {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.upcoming-list li:last-child { border-bottom: none; padding-bottom: 0; }
.up-date {
  background: var(--sky-light);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 10px 12px;
  text-align: center;
  min-width: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.up-date .m {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--red);
}
.up-date .d {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
}
.up-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
}
.up-body strong {
  color: var(--navy);
  font-size: 15px;
}
.up-body span { color: var(--muted); font-size: 13px; }
.up-body a {
  color: var(--red);
  font-weight: 600;
  font-size: 13px;
  margin-top: 4px;
}

/* ---------- Partner strip ---------- */
.partner-strip {
  background: var(--sky-pale);
  padding: 48px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.partner-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.partner-mark {
  flex-shrink: 0;
}
.partner-copy {
  flex: 1;
  min-width: 280px;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.55;
  text-align: center;
  margin: 0;
}
.partner-copy strong { color: var(--navy); font-weight: 700; }
.partner-mga {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.mga-text {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--red);
  font-size: 28px;
  line-height: 0.9;
  letter-spacing: 0.05em;
}
.mga-sub {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 6px;
  font-weight: 600;
}

/* ---------- Calendar ---------- */
.calendar-section {
  padding: 88px 0;
  background: #fff;
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.eyebrow {
  display: inline-block;
  color: var(--red);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.eyebrow.light { color: #fff; }
.eyebrow.on-dark { color: #fff; }
.section-head h2 {
  font-size: clamp(34px, 4.5vw, 52px);
  text-transform: uppercase;
  margin-bottom: 14px;
  line-height: 1.05;
}
.section-head p {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  position: relative;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cal-card:hover {
  border-color: var(--sky);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.cal-card.highlight {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.cal-card.highlight h4 { color: #fff; }
.cal-card.highlight .cal-venue,
.cal-card.highlight .cal-meta { color: rgba(255,255,255,0.75); }
.cal-card.highlight .cal-month { color: var(--red); }
.cal-card.highlight .cal-day { color: #fff; }
.cal-card.highlight .cal-link { color: #ffd9df; }
.cal-card.highlight:hover { border-color: var(--red); }

.cal-month {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.15em;
  font-size: 14px;
}
.cal-day {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  color: var(--navy);
  margin-bottom: 6px;
}
.cal-pill {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
}
.cal-body h4 {
  font-size: 18px;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 6px;
}
.cal-venue {
  font-size: 13px;
  color: var(--ink);
  margin: 0 0 2px;
  font-weight: 500;
}
.cal-meta {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 10px;
}
.cal-link {
  margin-top: auto;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  align-self: flex-start;
}

/* ---------- Scholarship section ---------- */
.scholarship-section {
  background: var(--warm);
  padding: 88px 0;
}
.scholarship-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.scholarship-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.scholarship-copy .eyebrow { color: var(--red); }
.scholarship-copy h2 {
  font-size: clamp(32px, 4vw, 48px);
  text-transform: uppercase;
  margin-bottom: 16px;
  line-height: 1.05;
}
.lede {
  font-size: 18px;
  color: var(--ink);
  margin: 0 0 24px;
  line-height: 1.55;
}
.lede strong { color: var(--red); }
.scholarship-stats {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.scholarship-stats li {
  background: #fff;
  border-left: 4px solid var(--red);
  padding: 18px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 38px;
  line-height: 1;
  color: var(--navy);
}
.stat-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.scholarship-cta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.scholarship-deadline {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.scholarship-deadline strong { color: var(--navy); }

/* ---------- Band section (junior dev) ---------- */
.band-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  color: #fff;
}
.band-image {
  position: absolute;
  inset: 0;
}
.band-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,42,74,0.85) 0%, rgba(11,42,74,0.55) 70%, rgba(11,42,74,0.3) 100%);
}
.band-inner {
  position: relative;
  z-index: 2;
  max-width: 600px;
}
.band-inner h2 {
  color: #fff;
  font-size: clamp(36px, 5vw, 60px);
  text-transform: uppercase;
  margin-bottom: 16px;
  line-height: 1.05;
}
.band-inner p {
  font-size: 17px;
  color: rgba(255,255,255,0.92);
  margin: 0 0 28px;
  line-height: 1.6;
}

/* ---------- Sponsors ---------- */
.sponsors {
  background: #fff;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.sponsors-title {
  text-align: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin: 0 0 28px;
}
.sponsors-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.sponsor-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--muted);
  letter-spacing: 0.08em;
  padding: 12px 24px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  opacity: 0.7;
  transition: all 0.2s;
}
.sponsor-logo:hover {
  opacity: 1;
  color: var(--navy);
  border-color: var(--navy);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #08203b;
  color: #b6c2d3;
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.footer-logo strong {
  display: block;
  color: #fff;
  font-size: 17px;
}
.footer-logo span {
  color: #8a98ad;
  font-size: 13px;
}
.footer-mission {
  font-size: 14px;
  line-height: 1.6;
  color: #8a98ad;
  max-width: 360px;
  margin: 0;
}
.footer-col h5 {
  font-size: 13px;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-weight: 700;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col a {
  color: #b6c2d3;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--red); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #6a7a91;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: 1fr; }
  .calendar-grid { grid-template-columns: repeat(2, 1fr); }
  .scholarship-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav ul { display: none; }
  .main-nav { gap: 12px; }
}

@media (max-width: 640px) {
  .utility-bar { font-size: 12px; }
  .utility-right { gap: 14px; }
  .hero { min-height: 480px; }
  .hero-content { padding: 60px 20px; }
  .hero h1 { font-size: 44px; }
  .hero-sub { font-size: 14px; padding: 10px 18px; }
  .featured-section, .calendar-section, .scholarship-section { padding: 56px 0; }
  .calendar-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .scholarship-stats { grid-template-columns: 1fr; }
  .partner-inner { flex-direction: column; }
  .logo-sub { display: none; }
}
