/* ============================================================
   Breaking Barriers & Beyond — Design System
   Visual language: warm, editorial, community-rooted
   ============================================================ */

/* --- Custom Properties --- */
:root {
  /* Palette */
  --cream: #faf6f0;
  --warm-white: #fdfaf5;
  --charcoal: #2c2420;
  --charcoal-soft: #4a3f3a;
  --teal: #0d7c7c;
  --teal-dark: #095e5e;
  --teal-light: #e8f4f4;
  --amber: #d4953a;
  --amber-light: #f5e6c8;
  --coral: #d45d5d;
  --coral-light: #f8e0d8;
  --navy: #1a2530;
  --navy-light: #2a3a4a;

  /* Typography */
  --font-display: 'Prata', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(44, 36, 32, 0.06);
  --shadow-md: 0 8px 30px rgba(44, 36, 32, 0.08);
  --shadow-lg: 0 20px 60px rgba(44, 36, 32, 0.12);
  --shadow-glow: 0 0 40px rgba(212, 149, 58, 0.15);

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 250ms;
  --dur-med: 400ms;
  --dur-slow: 700ms;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: var(--space-md);
  color: var(--charcoal);
}

.section-title.light {
  color: var(--warm-white);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--space-xs);
}

.section-label.light {
  color: var(--amber-light);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.875rem 2rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
}

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 124, 124, 0.3);
}

.btn-light {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--amber);
  color: var(--charcoal);
}

.btn-secondary:hover {
  background: #e8c04a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 149, 58, 0.3);
}

.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: 1.0625rem;
}

/* --- Section --- */
.section {
  padding: var(--space-xl) 0;
  position: relative;
}

/* ===== HEADER / NAVIGATION ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.75rem 0;
  background: transparent;
  transition: background var(--dur-med) var(--ease-out), padding var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}

.site-header.scrolled {
  background: rgba(250, 246, 240, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.5rem 0;
  box-shadow: 0 1px 0 rgba(44, 36, 32, 0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 130px;
  height: auto;
  transition: width var(--dur-med) var(--ease-out);
  filter: brightness(1.1);
}

.scrolled .logo {
  width: 110px;
  filter: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--dur-fast) var(--ease-out);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--amber);
  transition: width var(--dur-med) var(--ease-out);
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover::after {
  width: 100%;
}

/* Header links get darker on scroll */
.scrolled .nav-link {
  color: var(--charcoal-soft);
}

.scrolled .nav-link::after {
  background: var(--teal);
}

.scrolled .nav-link:hover {
  color: var(--teal);
}

/* Donate button - white outline on transparent header, teal filled on scroll */
.nav-donate {
  background: transparent;
  color: #fff !important;
  padding: 0.5rem 1.5rem;
  border-radius: 100px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

.nav-donate::after { display: none; }

.nav-donate:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  transform: translateY(-1px);
}

.scrolled .nav-donate {
  background: var(--teal);
  color: #fff !important;
  border-color: var(--teal);
}

.scrolled .nav-donate:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  z-index: 1001;
}

.hamburger .bar {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--dur-fast) var(--ease-out);
  transform-origin: center;
}

.scrolled .hamburger .bar,
.menu-open .hamburger .bar {
  background: var(--charcoal);
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(212, 149, 58, 0.2) 0%, rgba(13, 124, 124, 0.2) 50%, rgba(26, 37, 48, 0.4) 100%),
    linear-gradient(to bottom, rgba(26, 37, 48, 0.3) 0%, rgba(26, 37, 48, 0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: 0 var(--space-md);
  padding-top: 80px;
}

.hero-sup {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.4);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  margin-bottom: var(--space-lg);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.7s forwards;
}

.hero-content .btn {
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.9s forwards;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.3; }
}

/* ===== WHO WE ARE ===== */
.who-we-are {
  background: var(--warm-white);
  padding-bottom: 0;
}

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.who-p {
  margin-bottom: var(--space-sm);
  color: var(--charcoal-soft);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.who-p strong {
  color: var(--charcoal);
  font-weight: 600;
}

.who-image-wrap {
  position: relative;
}

.who-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
}

.who-image-accent {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--amber);
  border-radius: var(--radius-lg);
  z-index: 0;
}

/* Section divider SVG */
.section-divider {
  position: relative;
  z-index: 2;
  margin-top: var(--space-xl);
  line-height: 0;
}

.section-divider svg {
  display: block;
  width: 100%;
  height: 100px;
}

.top-divider {
  margin-top: 0;
  margin-bottom: var(--space-lg);
}

/* ===== GET INVOLVED ===== */
.get-involved {
  background: var(--navy);
  color: var(--warm-white);
}

.involved-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.involved-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform var(--dur-med) var(--ease-out), background var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}

.involved-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-glow);
}

.involved-card-accent {
  border-color: rgba(212, 149, 58, 0.3);
  background: rgba(212, 149, 58, 0.08);
}

.involved-card-accent:hover {
  background: rgba(212, 149, 58, 0.15);
  box-shadow: 0 0 40px rgba(212, 149, 58, 0.1);
}

.card-icon {
  margin-bottom: var(--space-sm);
  color: var(--amber);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.card-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: var(--space-md);
  flex: 1;
}

/* ===== EVENTS ===== */
.events {
  background:
    linear-gradient(to bottom, var(--warm-white) 0%, rgba(212, 149, 58, 0.04) 50%, var(--warm-white) 100%),
    var(--warm-white);
  position: relative;
  padding-top: 0;
}

/* Subtle geometric pattern overlay */
.events::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(13, 124, 124, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(212, 149, 58, 0.04) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

.events .container {
  position: relative;
  z-index: 1;
}

.events .section-title {
  position: relative;
  display: inline-block;
}

.events .section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--amber));
  margin-top: 0.5rem;
  border-radius: 3px;
}

.event-featured {
  margin-top: var(--space-lg);
}

.event-card-primary {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-lg);
  background:
    linear-gradient(135deg, var(--cream) 0%, #fff 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  border: 1px solid rgba(44, 36, 32, 0.06);
  box-shadow: 0 4px 20px rgba(44, 36, 32, 0.04);
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}

/* Teal accent stripe on top */
.event-card-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--amber));
  z-index: 2;
}

.event-card-primary:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

/* Event flyer image */
.event-flyer-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  align-self: start;
}

.event-flyer-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
  pointer-events: none;
}

.event-flyer {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform var(--dur-slow) var(--ease-out);
}

.event-card-primary:hover .event-flyer {
  transform: scale(1.03);
}

/* ===== RETRO-REDEFINED — full-width layout ===== */
.event-card-primary--retro {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.event-card-primary--retro .event-body {
  text-align: left;
}

.event-card-primary--retro .event-body .event-title {
  margin-top: 0.5rem;
}

/* 4-in-a-row image gallery */
.retro-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.retro-gallery__item {
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 3;
  box-shadow: 0 2px 8px rgba(44, 36, 32, 0.08);
  transition: box-shadow var(--dur-med) var(--ease-out);
}

.retro-gallery__item:hover {
  box-shadow: 0 4px 16px rgba(44, 36, 32, 0.14);
}

.retro-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-slow) var(--ease-out);
}

.retro-gallery__item:hover img {
  transform: scale(1.06);
}

/* YouTube video embed — responsive 16:9 */
.retro-video {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(44, 36, 32, 0.1);
}

.retro-video__embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}

.retro-video__embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Futsal gallery inside the event card */
.futsal-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.625rem;
  margin-top: var(--space-sm);
}

.futsal-gallery .gallery-item {
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 4 / 3;
  box-shadow: 0 2px 8px rgba(44, 36, 32, 0.06);
}

.futsal-gallery .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-med) var(--ease-out);
  cursor: pointer;
}

.futsal-gallery .gallery-item:hover img {
  transform: scale(1.08);
}

.event-card-secondary {
  display: flex;
  gap: var(--space-md);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  border: 1px solid rgba(44, 36, 32, 0.06);
  box-shadow: 0 2px 12px rgba(44, 36, 32, 0.03);
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}

/* Amber accent stripe on left */
.event-card-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--amber), var(--teal));
  z-index: 1;
}

.event-card-secondary:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.event-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--charcoal), var(--navy));
  color: var(--warm-white);
  border-radius: var(--radius-md);
  flex-shrink: 0;
  margin-bottom: var(--space-sm);
  box-shadow: 0 4px 12px rgba(44, 36, 32, 0.12);
  position: relative;
}

.event-date-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.event-date-badge.sm {
  width: 80px;
  height: 80px;
}

.event-month {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
}

.event-day {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  margin-top: 2px;
}

.event-body {
  flex: 1;
}

.event-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin-bottom: var(--space-xs);
}

.event-desc {
  color: var(--charcoal-soft);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.event-cta-text {
  font-weight: 500;
  color: var(--teal);
  font-style: italic;
}

.event-meta {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
  font-size: 0.875rem;
  color: var(--charcoal-soft);
}

.event-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.event-meta svg {
  flex-shrink: 0;
  opacity: 0.5;
}

.event-sponsor {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.125rem;
  margin-bottom: var(--space-sm);
  padding: 0.5rem 1rem 0.5rem 0;
}

.event-sponsor span {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--charcoal-soft);
  opacity: 0.7;
}

.event-sponsor strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--charcoal);
}

/* Retro-Redefined inline details */
.event-detail-line {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-wrap: wrap;
  margin-top: var(--space-sm);
  font-size: 0.925rem;
  color: var(--charcoal-soft);
}

.event-detail-line svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.5;
}

.event-partner {
  margin-top: 0.25rem;
  font-size: 0.925rem;
  color: var(--charcoal-soft);
}

.event-partner strong {
  font-family: var(--font-display);
  color: var(--charcoal);
  font-weight: 400;
}

.event-secondary {
  margin-top: var(--space-md);
  position: relative;
}

/* Decorative divider between events */
.event-secondary::before {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--amber), transparent);
  margin: 0 auto var(--space-md);
  border-radius: 2px;
  opacity: 0.4;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--charcoal);
  color: var(--warm-white);
  overflow: hidden;
}

.testimonials-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 30% 50%, rgba(13, 124, 124, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 70% 50%, rgba(212, 149, 58, 0.04) 0%, transparent 60%);
  z-index: 0;
}

.testimonials .container {
  position: relative;
  z-index: 1;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: transform var(--dur-med) var(--ease-out), background var(--dur-med) var(--ease-out);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.6;
  color: var(--amber);
  margin-bottom: var(--space-sm);
  opacity: 0.5;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-md);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  opacity: 0.6;
}

.testimonial-author strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
}

.testimonial-author span {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== CTA ===== */
.cta {
  background: var(--warm-white);
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: var(--space-sm);
}

.cta-text {
  font-size: 1.125rem;
  color: var(--charcoal-soft);
  margin-bottom: var(--space-lg);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.footer-logo {
  width: 140px;
  margin-bottom: var(--space-sm);
  background: #fff;
  padding: 0.625rem 1rem;
  border-radius: var(--radius-sm);
  filter: none;
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

.footer-links h4,
.footer-donate h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--warm-white);
  margin-bottom: var(--space-sm);
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--dur-fast) var(--ease-out);
  position: relative;
  padding-left: 0;
  transition: color var(--dur-fast) var(--ease-out), padding-left var(--dur-fast) var(--ease-out);
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: 0;
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-out);
}

.footer-links a:hover {
  color: var(--amber);
  padding-left: 1.25rem;
}

.footer-links a:hover::before {
  opacity: 1;
}

.footer-donate p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: var(--amber);
  transition: color var(--dur-fast) var(--ease-out);
}

.footer-bottom a:hover {
  color: var(--amber-light);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */

/* Tablet & below */
@media (max-width: 1024px) {
  .who-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .who-image {
    height: 360px;
  }

  .involved-grid {
    grid-template-columns: 1fr 1fr;
  }

  .event-card-primary {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .event-flyer {
    height: 300px;
  }

  .event-date-badge {
    margin: 0 auto;
  }

  .event-meta {
    justify-content: center;
  }

  .event-body {
    text-align: center;
  }

  .event-card-primary .btn {
    margin: 0 auto;
  }

  .event-sponsor {
    align-items: center;
    text-align: center;
    padding: 0.5rem 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .footer-donate {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 5rem;
  }

  .section {
    padding: var(--space-lg) 0;
  }

  /* Navigation */
  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    transition: right var(--dur-med) var(--ease-out);
    z-index: 999;
  }

  .main-nav.open .nav-list {
    right: 0;
  }

  .nav-list .nav-link {
    color: var(--charcoal-soft);
    font-size: 1.125rem;
  }

  .nav-list .nav-link:hover {
    color: var(--teal);
  }

  .nav-list .nav-donate {
    color: #fff !important;
    border-color: var(--teal);
    background: var(--teal);
  }

  .nav-list .nav-donate:hover {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
  }

  .hamburger {
    display: flex;
  }

  /* Overlay when mobile menu is open */
  body.menu-open::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(44, 36, 32, 0.4);
    z-index: 998;
    animation: fadeIn 0.3s var(--ease-out);
  }

  .involved-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .futsal-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .event-card-secondary {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: calc(var(--space-md) + 4px);
  }

  .event-card-secondary::before {
    width: 100%;
    height: 4px;
    top: 0;
    left: 0;
    bottom: auto;
    background: linear-gradient(90deg, var(--amber), var(--teal));
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .who-image {
    height: 280px;
  }

  .hero-title {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .section-title {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .event-card-primary {
    padding: var(--space-md);
  }

  .event-title {
    font-size: 1.35rem;
  }

  .retro-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .futsal-gallery {
    grid-template-columns: 1fr;
  }

  .retro-gallery {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .hero-scroll {
    display: none;
  }

  .event-meta {
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
  }

  .btn-lg {
    padding: 1rem 1.75rem;
    font-size: 1rem;
  }

  .logo {
    width: 130px;
  }

  .scrolled .logo {
    width: 110px;
  }

  .event-flyer {
    height: 240px;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
