/* Lud's Soccer Academy - Global Styles */
:root {
  --navy: #111111;
  --navy-deep: #000000;
  --emerald: #c8102e;
  --emerald-bright: #e63946;
  --gold: #dc2626;
  --gold-soft: #ef4444;
  --ivory: #f7f5f3;
  --gray-100: #f1f3f5;
  --gray-300: #ced4da;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --shadow-md: 0 8px 24px rgba(0,0,0, 0.10);
  --shadow-lg: 0 20px 50px rgba(0,0,0, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-900);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.5px;
  color: var(--navy);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); letter-spacing: 1.5px; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); margin-bottom: 0.75rem; }
h4 { font-size: 1.2rem; margin-bottom: 0.5rem; font-family: 'Inter', sans-serif; font-weight: 700; }

p { margin-bottom: 1rem; color: var(--gray-700); }

a { color: var(--emerald); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--emerald-bright); }

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

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(0,0,0, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(220,38,38, 0.15);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ivory); font-weight: 800; }
.brand-mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-text { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; letter-spacing: 1.5px; }
.brand-text small { display: block; font-family: 'Inter', sans-serif; font-size: 0.65rem; font-weight: 400; letter-spacing: 2px; color: var(--gold-soft); }

.nav-links { display: flex; gap: 6px; align-items: center; list-style: none; }
.nav-links a {
  color: var(--ivory); padding: 8px 14px; border-radius: 8px;
  font-size: 0.92rem; font-weight: 500; transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active { background: rgba(220,38,38, 0.15); color: var(--gold-soft); }
.nav-links a.cta { background: var(--gold); color: var(--navy); font-weight: 700; padding: 9px 18px; }
.nav-links a.cta:hover { background: var(--gold-soft); color: var(--navy); }

.nav-toggle { display: none; background: none; border: none; color: var(--ivory); font-size: 1.6rem; cursor: pointer; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-deep); padding: 12px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 18px; border-radius: 6px; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block; padding: 14px 28px;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.5px; border-radius: 10px; border: none; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  text-decoration: none; line-height: 1;
}
.btn-primary { background: var(--gold); color: var(--navy); box-shadow: 0 4px 14px rgba(220,38,38, 0.4); }
.btn-primary:hover { background: var(--gold-soft); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(220,38,38, 0.5); color: var(--navy); }
.btn-secondary { background: transparent; color: var(--ivory); border: 2px solid var(--ivory); }
.btn-secondary:hover { background: var(--ivory); color: var(--navy); transform: translateY(-2px); }
.btn-emerald { background: var(--emerald); color: white; }
.btn-emerald:hover { background: var(--emerald-bright); color: white; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--ivory); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.5rem; }

/* ============ HERO ============ */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.85) 100%),
    radial-gradient(ellipse at top right, rgba(200,16,46,0.4), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(220,38,38,0.15), transparent 50%),
    var(--navy);
  color: var(--ivory);
  padding: 100px 24px 110px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 60px, rgba(255,255,255,0.02) 60px 61px);
  pointer-events: none;
}
.hero-inner { max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block; padding: 6px 14px;
  background: rgba(220,38,38,0.15); border: 1px solid rgba(220,38,38,0.4);
  border-radius: 100px; color: var(--gold-soft);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 { color: var(--ivory); margin-bottom: 20px; max-width: 880px; }
.hero h1 span { color: var(--gold); }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(247,246,241,0.85); max-width: 720px; margin-bottom: 14px; }
.hero-intro { color: rgba(247,246,241,0.7); max-width: 720px; margin-bottom: 30px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px; margin-top: 60px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  max-width: 880px;
}
.stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 2.6rem; color: var(--gold); line-height: 1; }
.stat-label { font-size: 0.85rem; color: rgba(247,246,241,0.7); margin-top: 6px; }

/* Compact hero variant for inner pages */
.hero-compact { padding: 70px 24px 70px; }
.hero-compact h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }

/* ============ SECTIONS ============ */
section { padding: 80px 0; }
.section-eyebrow {
  display: inline-block; color: var(--emerald); font-weight: 700;
  font-size: 0.82rem; letter-spacing: 2.5px; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head p { font-size: 1.08rem; }

.alt-bg { background: white; }
.dark-bg { background: var(--navy); color: var(--ivory); }
.dark-bg h2, .dark-bg h3 { color: var(--ivory); }
.dark-bg p { color: rgba(247,246,241,0.8); }
.dark-bg .section-eyebrow { color: var(--gold); }

/* ============ CARDS ============ */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: white; border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-md);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(0,0,0,0.05);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-bright));
  display: grid; place-items: center; color: white; font-size: 1.5rem;
  margin-bottom: 18px;
}
.card-icon.gold { background: linear-gradient(135deg, var(--gold), #7a0d18); color: var(--ivory); }
.card-icon.navy { background: linear-gradient(135deg, var(--navy), var(--navy-deep)); }

.feature-card { padding: 28px; }
.feature-card h4 { color: var(--navy); margin-bottom: 10px; }
.feature-card p { font-size: 0.95rem; margin: 0; }

/* ============ PROGRAM CARDS ============ */
.program-card {
  background: white; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column;
  border: 1px solid rgba(0,0,0,0.06);
}
.program-card-header {
  padding: 28px; color: white;
  background: linear-gradient(135deg, var(--navy), var(--emerald));
}
.program-card-header.gold {
  background: linear-gradient(135deg, var(--gold), #7a0d18);
  color: var(--ivory);
}
.program-card-header h3 { color: inherit; margin-bottom: 8px; }
.program-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.program-card-body ul { list-style: none; padding: 0; margin: 0 0 24px; }
.program-card-body li {
  padding: 8px 0 8px 28px; position: relative;
  border-bottom: 1px solid var(--gray-100); font-size: 0.94rem;
}
.program-card-body li:last-child { border-bottom: none; }
.program-card-body li::before {
  content: '⚽'; position: absolute; left: 0; top: 7px; font-size: 0.9rem;
}
.program-card-body .btn { margin-top: auto; align-self: flex-start; }

/* ============ COACH CARDS ============ */
.coach-card {
  background: white; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.coach-banner {
  height: 170px; position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--emerald) 100%);
}
.coach-banner.gold { background: linear-gradient(135deg, #7a0d18 0%, var(--gold) 100%); }
.coach-avatar {
  width: 200px; height: 260px;
  border-radius: 16px;
  background: #fff; border: 5px solid white;
  box-shadow: 0 8px 22px rgba(0,0,0,0.3);
  position: absolute; bottom: -100px; left: 50%; transform: translateX(-50%);
  overflow: hidden;
}
.coach-avatar img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
  display: block;
}
.coach-body { padding: 125px 28px 28px; text-align: center; }
.coach-accolades { text-align: left; }
.coach-name { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; color: var(--navy); letter-spacing: 1px; }
.coach-title { color: var(--emerald); font-weight: 700; font-size: 0.9rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; }
.coach-accolades { list-style: none; padding: 0; margin: 18px 0; }
.coach-accolades li {
  padding: 6px 0 6px 24px; position: relative; font-size: 0.93rem; color: var(--gray-700);
}
.coach-accolades li::before {
  content: '★'; color: var(--gold); position: absolute; left: 0; top: 6px;
}

/* ============ PRICING TABLE ============ */
.pricing-table {
  width: 100%; border-collapse: collapse;
  background: white; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md);
}
.pricing-table th {
  background: var(--navy); color: var(--ivory);
  text-align: left; padding: 16px 20px;
  font-family: 'Inter', sans-serif; font-size: 0.85rem; letter-spacing: 1.5px;
  text-transform: uppercase; font-weight: 700;
}
.pricing-table td { padding: 16px 20px; border-bottom: 1px solid var(--gray-100); }
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tr:nth-child(even) td { background: var(--gray-100); }
.price-tag { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; color: var(--emerald); letter-spacing: 1px; }
.price-tag.gold { color: var(--gold); }

/* ============ DATES BLOCKS ============ */
.dates-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.date-card {
  background: white; border-radius: var(--radius);
  padding: 24px; border-left: 4px solid var(--emerald);
  box-shadow: var(--shadow-md);
}
.date-card.gold { border-left-color: var(--gold); }
.date-card h4 { color: var(--navy); margin-bottom: 12px; font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; letter-spacing: 1px; }
.date-card ul { list-style: none; padding: 0; }
.date-card li { padding: 4px 0; color: var(--gray-700); }
.date-note {
  background: rgba(220,38,38,0.12); border: 1px solid rgba(220,38,38,0.4);
  border-radius: 8px; padding: 14px 16px; font-size: 0.9rem;
  color: var(--gray-700); margin-top: 16px;
}

/* ============ FORM ============ */
.form-wrap { max-width: 760px; margin: 0 auto; }
.form-section {
  background: white; padding: 32px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); margin-bottom: 24px;
}
.form-section h3 {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem;
  color: var(--navy); border-bottom: 3px solid var(--gold);
  padding-bottom: 10px; margin-bottom: 24px; letter-spacing: 1px;
}
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.85rem; font-weight: 600; color: var(--gray-700);
  margin-bottom: 6px;
}
.form-field label .req { color: #c53030; }
.form-field input, .form-field select, .form-field textarea {
  padding: 11px 14px; border: 1px solid var(--gray-300);
  border-radius: 8px; font-size: 0.95rem; font-family: inherit;
  background: var(--ivory); transition: border 0.2s, box-shadow 0.2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(200,16,46,0.15); background: white;
}
.form-field textarea { min-height: 90px; resize: vertical; }
.checkbox-row {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 0; cursor: pointer;
}
.checkbox-row input { margin-top: 4px; }
.checkbox-row span { font-size: 0.93rem; color: var(--gray-700); }
.payment-summary {
  background: var(--navy); color: var(--ivory);
  padding: 20px; border-radius: var(--radius); margin: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
}
.payment-summary .total {
  font-family: 'Bebas Neue', sans-serif; font-size: 2rem; color: var(--gold);
}

/* ============ ALERT ============ */
.alert {
  border-radius: var(--radius); padding: 18px 22px;
  margin: 20px 0; border-left: 4px solid var(--gold);
  background: rgba(220,38,38,0.1); color: var(--gray-700);
}
.alert.emerald { border-left-color: var(--emerald); background: rgba(200,16,46,0.08); }
.alert.navy { border-left-color: var(--navy); background: rgba(0,0,0,0.05); }
.alert strong { color: var(--navy); }

/* ============ FOOTER ============ */
.footer { background: var(--navy-deep); color: rgba(247,246,241,0.75); padding: 60px 0 30px; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h5 {
  color: var(--gold); font-family: 'Inter', sans-serif;
  font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer a { color: rgba(247,246,241,0.7); display: block; padding: 4px 0; font-size: 0.92rem; }
.footer a:hover { color: var(--gold-soft); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px; text-align: center; font-size: 0.85rem;
  color: rgba(247,246,241,0.5);
}

/* ============ MISC ============ */
.checklist { list-style: none; padding: 0; }
.checklist li {
  padding: 10px 0 10px 36px; position: relative; color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: '✓'; position: absolute; left: 0; top: 10px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--emerald); color: white; display: grid; place-items: center;
  font-size: 0.8rem; font-weight: 700;
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.tag {
  display: inline-block; padding: 5px 12px; background: rgba(200,16,46,0.1);
  color: var(--emerald); border-radius: 100px; font-size: 0.78rem; font-weight: 600;
}
.tag.gold { background: rgba(220,38,38,0.12); color: #991b1b; }

.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--emerald) 100%);
  padding: 60px 32px; border-radius: var(--radius-lg);
  text-align: center; color: var(--ivory); margin: 40px 0;
}
.cta-banner h2 { color: var(--ivory); margin-bottom: 12px; }
.cta-banner p { color: rgba(247,246,241,0.85); max-width: 600px; margin: 0 auto 24px; }

.split-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 760px) { .split-2col { grid-template-columns: 1fr; } }

.contact-info-row {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0; border-bottom: 1px solid var(--gray-100);
}
.contact-info-row:last-child { border-bottom: none; }
.contact-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(200,16,46,0.1); color: var(--emerald);
  display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0;
}

#toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--emerald); color: white; padding: 16px 26px;
  border-radius: 10px; box-shadow: var(--shadow-lg);
  opacity: 0; transition: all 0.3s; pointer-events: none;
  font-weight: 600; z-index: 1000;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ TABLE SCROLL WRAPPER (mobile) ============ */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
.table-scroll .pricing-table { border-radius: 0; }

/* ============ MOBILE NAV CTA SPACING ============ */
@media (max-width: 860px) {
  .nav-links a.cta { margin-top: 10px; border-top: 1px solid rgba(255,255,255,0.08); }
}

/* ============ COACH BIO TEXT ============ */
.coach-body p { color: #111827; }
.coach-body .coach-accolades li { color: #111827; }

/* ============ PROGRAM CARD HEADER — all text white ============ */
.program-card-header p { color: rgba(255,255,255,0.88); margin: 0; }
.program-card-header h3 { color: #fff; }

/* ============ DARKER DIRECTIONS BUTTON ============ */
.btn-dark {
  background: var(--navy); color: var(--ivory);
  border: 2px solid var(--navy);
}
.btn-dark:hover { background: #333; color: var(--ivory); transform: translateY(-2px); }

/* ============ ANIMATIONS ============ */
@media (prefers-reduced-motion: no-preference) {
  /* Hero entrance */
  .hero-inner > * {
    animation: heroFadeUp 1.8s cubic-bezier(0.16,1,0.3,1) both;
  }
  .hero-inner > *:nth-child(1) { animation-delay: 0s; }
  .hero-inner > *:nth-child(2) { animation-delay: 0.25s; }
  .hero-inner > *:nth-child(3) { animation-delay: 0.5s; }
  .hero-inner > *:nth-child(4) { animation-delay: 0.75s; }
  .hero-inner > *:nth-child(5) { animation-delay: 1.0s; }
  @keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(60px); }
    to   { opacity: 1; transform: none; }
  }

  /* Scroll-triggered elements (class toggled by JS) */
  .anim-ready {
    opacity: 0;
    transform: translateY(72px);
    transition: opacity 1.8s cubic-bezier(0.16,1,0.3,1),
                transform 1.8s cubic-bezier(0.16,1,0.3,1);
  }
  .anim-visible { opacity: 1 !important; transform: none !important; }

  /* Stagger siblings inside grid containers */
  .grid > .anim-ready:nth-child(2),
  .dates-grid > .anim-ready:nth-child(2) { transition-delay: 0.22s; }
  .grid > .anim-ready:nth-child(3),
  .dates-grid > .anim-ready:nth-child(3) { transition-delay: 0.44s; }
  .grid > .anim-ready:nth-child(4) { transition-delay: 0.66s; }
}

/* ============ MOBILE NAV — bigger spacing, hide Register CTA ============ */
@media (max-width: 860px) {
  .nav-links { padding: 20px 16px; }
  .nav-links a { padding: 18px 20px; font-size: 1.05rem; }
  .nav-links li:last-child { display: none; }
}

/* ============ COACHES CARTOON — thin white outline ============ */
.coaches-cartoon {
  filter:
    drop-shadow(1px 0 0 rgba(255,255,255,0.85))
    drop-shadow(-1px 0 0 rgba(255,255,255,0.85))
    drop-shadow(0 1px 0 rgba(255,255,255,0.85))
    drop-shadow(0 -1px 0 rgba(255,255,255,0.85))
    drop-shadow(0 0 3px rgba(255,255,255,0.3));
}

/* ============ EMAIL / LONG TEXT — mobile overflow fix ============ */
.contact-info-row a,
.contact-info-row div[style] {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ============ ANIMATION — even slower/more dramatic ============ */
