/* Battle Zone Boxing — Global Styles */

:root {
  --bg: #0b0c10;
  --bg-alt: #111827;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --blue: #0f66d0;
  --blue-600: #0d57b1;
  --red: #d72638;
  --red-600: #b31e2d;
  --card: #0f1115;
  --border: #1f2937;
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 8px; top: 8px; background: #fff; color: #000; padding: 8px 12px; }

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

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; transition: background 200ms ease, border-color 200ms ease; }
.site-header .nav { display: flex; align-items: center; justify-content: space-between; height: 64px; border-bottom: 1px solid transparent; }
.site-header:not(.scrolled) { background: linear-gradient(rgba(11,12,16,0.6), rgba(11,12,16,0)); }
.site-header.scrolled { background: rgba(11,12,16,0.98); border-color: var(--border); }
.logo { font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; }
.logo .brand-text { letter-spacing: 0.5px; }
.brand-img { height: 28px; width: 28px; object-fit: cover; border-radius: 50%; filter: contrast(1.1) saturate(1.15) brightness(1.05);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 62%, transparent 72%);
          mask-image: radial-gradient(circle at 50% 50%, #000 62%, transparent 72%);
}
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { opacity: 0.9; }
.nav-links a.active { color: var(--blue); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: transform 200ms; }

/* Hero */
.hero { position: relative; min-height: 88vh; display: grid; place-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-fallback { position: absolute; inset: 0; background:
  radial-gradient(60% 60% at 20% 30%, rgba(15,102,208,0.35), transparent 60%),
  radial-gradient(50% 50% at 80% 70%, rgba(215,38,56,0.2), transparent 60%),
  url('../img/hero/hero.jpg') center/cover no-repeat,
  linear-gradient(180deg, #0b0c10 0%, #0b0c10 100%);
  filter: saturate(1.2) brightness(0.9);
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.45)); pointer-events: none; z-index: 0; }
.hero-media { z-index: -1; }
.hero-content { position: relative; z-index: 1; text-align: center; padding: 40px 0; }
.hero h1 { font-size: clamp(36px, 6vw, 68px); margin: 0 0 8px; letter-spacing: 0.5px; }
.hero p { font-size: clamp(16px, 2vw, 22px); color: var(--muted); margin: 0 0 24px; }
.hero-ctas { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.scroll-cue { margin-top: 32px; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.25); padding: 6px 10px; border-radius: 999px; cursor: pointer; opacity: 0.7; }
.scroll-cue:hover { opacity: 1; border-color: rgba(255,255,255,0.45); }
/* Hero Logo Badge */
.hero-logo { width: clamp(72px, 10vw, 120px); height: auto; margin: 0 auto 16px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 12px 28px rgba(0,0,0,0.45), 0 0 0 6px rgba(215,38,56,0.12); filter: saturate(1.1) contrast(1.05) brightness(1.02);
}
/* Hero Wordmark (wide logo support) */
.hero-wordmark { width: clamp(180px, 40vw, 420px); height: auto; margin: 0 auto 16px; display: block;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.5)) saturate(1.05) contrast(1.05);
}
/* Optional: add class "watermark" to .hero to enable a subtle logo background */
.hero.watermark::before { content: ""; position: absolute; inset: 0; background: url('../BattleZone.jpg') center/ clamp(220px, 34vw, 520px) no-repeat; opacity: 0.08; mix-blend-mode: screen; z-index: 0; }

/* Sections */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section h2 { font-size: clamp(24px, 3vw, 36px); margin: 0; }
.link { color: var(--muted); }
.link:hover { color: var(--red); }
/* heading underline accent */
.section-head h2 { position: relative; padding-bottom: 8px; }
.section-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 3px; background: linear-gradient(90deg, var(--red), transparent); border-radius: 3px; }

/* Split */
.split-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.split-media { min-height: 300px; border-radius: 12px; background:
  linear-gradient(135deg, rgba(15,102,208,0.3), rgba(15,102,208,0) 60%),
  url('../img/about/split.jpg') center/cover no-repeat, #0f1115; border: 1px solid var(--border); }
.bullets { display: grid; grid-template-columns: repeat(5, auto); gap: 8px 16px; padding: 0; margin: 16px 0 24px; list-style: none; }
.bullets li { position: relative; padding-left: 14px; }
.bullets li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #fff 0 20%, var(--red) 21% 100%); box-shadow: 0 0 0 2px rgba(215,38,56,0.2); }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.card-grid.faq { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; display: grid; grid-template-rows: 140px auto; transition: transform 180ms ease, box-shadow 240ms ease, border-color 200ms ease; overflow-wrap: break-word; hyphens: auto; position: relative; }
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--blue), var(--red)); opacity: 0.6; }
.card-media { background: linear-gradient(180deg, rgba(15,102,208,0.25), rgba(15,102,208,0)), #0f1115; border-bottom: 1px solid var(--border); }
.card-body { padding: 16px; display: grid; gap: 6px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0 0 12px; color: var(--muted); }
.meta { display: flex; gap: 12px; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
/* FAQ hover emphasis */
.faq .card:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 16px 44px rgba(15,102,208,0.18); border-color: rgba(15,102,208,0.5); }

/* Coaches */
.coach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.coach { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; text-align: center; }
.avatar { width: 96px; height: 96px; margin: 12px auto 10px; border-radius: 50%; background:
  radial-gradient(60% 60% at 50% 40%, rgba(15,102,208,0.35), transparent 60%), #0f1115; border: 1px solid var(--border); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.price-card .price { font-size: 32px; font-weight: 800; margin: 6px 0 12px; color: #fff; }
.price-card.highlight { outline: 2px solid var(--blue); box-shadow: 0 0 0 6px rgba(15,102,208,0.15) inset; position: relative; }
.price-card.highlight::after { content: "Best Value"; position: absolute; top: 12px; right: -8px; background: var(--red); color: #fff; font-size: 12px; padding: 4px 8px; border-radius: 6px; box-shadow: 0 4px 12px rgba(215,38,56,0.25); }
.price-card ul { padding-left: 18px; margin: 8px 0 18px; color: var(--muted); }

/* Slider */
.slider { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid var(--border); background: var(--card); }
.slides { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; transition: transform 300ms ease; }
.slide { padding: 24px; opacity: 0.6; transform: scale(0.98); transition: all 200ms; }
.slide blockquote { margin: 0 0 8px; padding-left: 12px; border-left: 3px solid var(--red); color: #fff; }
.slide.active { opacity: 1; transform: scale(1); }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(17,24,39,0.8); color: #fff; border: 1px solid var(--border); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; }
.slider-btn:hover { border-color: rgba(215,38,56,0.6); box-shadow: 0 0 0 4px rgba(215,38,56,0.18); }
.slider-btn.prev { left: 8px; }
.slider-btn.next { right: 8px; }

/* Gallery Teaser */
.gallery-teaser { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.gallery-teaser .g { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; background: #0f1115; border: 1px solid var(--border); }
.gallery-teaser .g span { position: absolute; inset: 0; background:
  radial-gradient(50% 60% at 40% 40%, rgba(15,102,208,0.28), transparent 60%),
  linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0)); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-grid a { position: relative; display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4 / 3; background: #0f1115; }

/* CTA Band */
.cta-band { background: linear-gradient(90deg, rgba(15,102,208,0.2), rgba(215,38,56,0.2)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; }
.btn-lg { padding: 14px 22px; font-size: 16px; }

/* Footer */
.site-footer { background: #0a0b0e; border-top: 1px solid var(--border); margin-top: 48px; }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 12px; padding: 16px 0; }
.foot .logo { font-weight: 800; display: inline-flex; align-items: center; gap: 10px; }
.foot .logo .brand-img { height: 32px; width: 32px; }
.foot-links { display: grid; grid-template-columns: repeat(2, minmax(120px, 1fr)); gap: 8px 16px; align-content: start; }
.foot-meta { text-align: right; color: var(--muted); }
.small { font-size: 12px; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; transition: transform 120ms ease, box-shadow 200ms ease, background 200ms ease, color 200ms ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 0 0 0 rgba(15,102,208,0); }
.btn-primary:hover { background: var(--blue-600); box-shadow: 0 0 0 6px rgba(15,102,208,0.15); }
.btn-accent { background: var(--red); color: #fff; }
.btn-accent:hover { background: var(--red-600); box-shadow: 0 0 0 6px rgba(215,38,56,0.18); }
.btn-outline { border-color: rgba(255,255,255,0.25); color: #fff; }
.btn-outline:hover { border-color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.06); }
.btn-secondary { background: #1b2332; border-color: #283347; }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: #0e1219; }

/* Reveal Animations */
.reveal { opacity: 0; transform: translateY(12px); transition: all 500ms ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Forms */
form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; color: var(--muted); }
.input, textarea { background: #0e1219; color: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
textarea { min-height: 120px; resize: vertical; }
.help { font-size: 12px; color: var(--muted); }
.error { color: var(--red); font-size: 13px; }
.alert { padding: 10px 12px; border-radius: 10px; border: 1px solid; }
.alert.success { border-color: var(--blue); background: rgba(15,102,208,0.08); }
.alert.error { border-color: var(--red); background: rgba(215,38,56,0.08); }

/* Responsive */
@media (max-width: 1000px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid.faq { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .coach-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-teaser { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .split-grid { grid-template-columns: 1fr; }
  .bullets { grid-template-columns: repeat(3, auto); }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot-links { grid-template-columns: repeat(2, 1fr); }
  .foot-meta { text-align: left; }
}

@media (max-width: 700px) {
  .nav-toggle { display: inline-block; }
  .nav-links { position: absolute; top: 64px; right: 0; left: 0; padding: 16px 24px; background: #0a0b0e; border-bottom: 1px solid var(--border); display: grid; gap: 12px; transform-origin: top; transform: scaleY(0); opacity: 0; transition: transform 150ms ease, opacity 150ms ease; }
  .nav-links.open { transform: scaleY(1); opacity: 1; }
  .card-grid { grid-template-columns: 1fr; }
  .coach-grid { grid-template-columns: 1fr; }
  .gallery-teaser { grid-template-columns: repeat(2, 1fr); }
}

/* Schedule Grid */
.week-grid { display: grid; grid-template-columns: 100px repeat(6, 1fr); grid-auto-rows: 56px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.wg-head { background: #0e1219; border-right: 1px solid var(--border); display: grid; place-items: center; font-weight: 600; }
.wg-head:first-child { background: #0e1219; }
.wg-time { background: #0e1219; border-top: 1px solid var(--border); border-right: 1px solid var(--border); display: grid; place-items: center; font-size: 14px; color: var(--muted); }
.wg-slot { border-top: 1px solid var(--border); border-right: 1px solid var(--border); }
.event { align-self: center; justify-self: center; padding: 6px 10px; border-radius: 8px; font-size: 14px; border: 1px solid transparent; }
.event.fund { background: rgba(15,102,208,0.12); border-color: rgba(15,102,208,0.35); }
.event.adv { background: rgba(215,38,56,0.12); border-color: rgba(215,38,56,0.35); }
.event.tech { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.18); }
.event.cond { background: rgba(15,208,122,0.10); border-color: rgba(15,208,122,0.35); }
.event.open { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.14); }
.event.youth { background: rgba(171,104,255,0.10); border-color: rgba(171,104,255,0.35); }

@media (max-width: 700px) {
  .week-grid { grid-template-columns: 72px repeat(6, 1fr); grid-auto-rows: 64px; }
  .event { font-size: 13px; padding: 6px 8px; }
}

/* Schedule table tags + legend */
.tag { display: inline-block; padding: 4px 8px; border-radius: 999px; font-size: 13px; line-height: 1; border: 1px solid transparent; }
.tag.fund { background: rgba(15,102,208,0.12); border-color: rgba(15,102,208,0.35); }
.tag.adv { background: rgba(215,38,56,0.12); border-color: rgba(215,38,56,0.35); }
.tag.tech { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.18); }
.tag.cond { background: rgba(15,208,122,0.10); border-color: rgba(15,208,122,0.35); }
.tag.open { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.14); }
.tag.youth { background: rgba(171,104,255,0.10); border-color: rgba(171,104,255,0.35); }
.tag.closed { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.14); color: var(--muted); }
.legend-note { font-size: 12px; color: var(--muted); margin-right: 8px; }
.tag { display: inline-flex; align-items: center; }
.tag .coach::before { content: " — "; opacity: 0.9; }
.tag .coach { white-space: nowrap; }
