/* Caveman & Phoenix Wrestling Clubs — Theme */
:root {
  --bg: #f8f9fa;
  --bg-alt: #eef0f2;
  --card: #ffffff;
  --text: #1e2a3a;
  --heading: #0f1d3a;
  --muted: #5a6a85;
  --line: #e2e2e2;
  --red: #ED1C24;
  --red-dark: #c41018;
  --blue: #0088CB;
  --blue-dark: #006da3;
  --gold: #FFCB05;
  --gold-dark: #e0b200;
  --brand: #ED1C24;
  --brand-dark: #c41018;
  --accent: #0088CB;
  --accent-dark: #006da3;
  --success: #1a7a3a;
  --error: #b8242a;
  --header-bg: #0f1d3a;
  --shadow-sm: 0 2px 8px rgba(15, 29, 58, 0.06);
  --shadow: 0 8px 24px rgba(15, 29, 58, 0.09);
  --shadow-lg: 0 16px 48px rgba(15, 29, 58, 0.13);
  --radius: 10px;
  --radius-lg: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

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

/* --- Skip link (a11y) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--brand);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius);
  z-index: 100;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 8px; }

/* --- Links --- */
a { color: var(--accent); transition: color 0.2s; }
a:hover { color: var(--accent-dark); }
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

/* --- Container --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ==========  HEADER  ========== */
header {
  background: var(--header-bg);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
  gap: 16px;
}
.site-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-title:hover { color: #fff; opacity: 0.88; }

.nav nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.nav nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.nav nav a:hover,
.nav nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.12);
}
.nav nav a.cta-nav {
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}
.nav nav a.cta-nav:hover {
  background: var(--brand-dark);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--header-bg);
    flex-direction: column;
    padding: 16px 20px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  }
  .nav nav.open { display: flex; }
  .nav nav a { padding: 10px 12px; font-size: 0.95rem; }
}

/* ==========  HERO  ========== */
.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--header-bg) 0%, #1a2744 50%, var(--blue-dark) 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 29, 58, 0.5);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 4rem 1.5rem;
  max-width: 800px;
}
.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin: 0 0 1rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-content p {
  font-size: 1.15rem;
  opacity: 0.92;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.hero-content .tagline {
  font-style: italic;
  font-size: 1.05rem;
  opacity: 0.85;
  margin-top: 1.5rem;
}

/* ==========  BUTTONS  ========== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 14px rgba(237, 28, 36, 0.3);
}
.btn-primary:hover {
  background: var(--brand-dark);
  color: #fff;
  box-shadow: 0 6px 20px rgba(237, 28, 36, 0.4);
}
.btn-secondary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 136, 203, 0.3);
}
.btn-secondary:hover {
  background: var(--accent-dark);
  color: #fff;
}
.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.btn-gold {
  background: var(--gold);
  color: var(--heading);
  font-weight: 700;
}
.btn-gold:hover {
  background: var(--gold-dark);
  color: var(--heading);
}

/* ==========  SECTIONS  ========== */
section {
  padding: 4rem 0;
}
section:nth-child(even) {
  background: var(--bg-alt);
}
.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-title h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--heading);
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.section-title p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}
.section-title .accent-line {
  display: block;
  width: 60px;
  height: 4px;
  background: var(--brand);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ==========  CARDS  ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.2s;
}
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 0.75rem;
}
.card p {
  color: var(--muted);
  margin: 0 0 1rem;
}

/* ==========  COACH CARDS  ========== */
.coach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.coach-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.2s;
}
.coach-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.coach-card .coach-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  font-weight: 700;
}
.coach-card .coach-photo {
  width: 160px;
  height: 200px;
  border-radius: var(--radius);
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
  box-shadow: var(--shadow-sm);
}

/* ==========  VIDEO HERO  ========== */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 29, 58, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
}

/* ==========  PROGRAM CARDS WITH IMAGES  ========== */
.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  margin: -2rem -2rem 1.5rem -2rem;
  width: calc(100% + 4rem);
}

/* ==========  PAGE IMAGES  ========== */
.page-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.flyer-img {
  max-width: 500px;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: block;
  margin: 0 auto;
}
.hero-banner-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.coach-card h3 {
  font-size: 1.15rem;
  margin: 0 0 0.25rem;
  color: var(--heading);
}
.coach-card .role {
  color: var(--brand);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.coach-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ==========  PRICING  ========== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.pricing-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: all 0.25s;
}
.pricing-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.pricing-card.featured {
  border-color: var(--brand);
  position: relative;
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}
.pricing-card h3 {
  font-size: 1.25rem;
  color: var(--heading);
  margin: 0 0 0.5rem;
}
.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand);
  margin: 0.5rem 0;
}
.pricing-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
}
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
}
.pricing-card ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 0.95rem;
  padding-left: 24px;
  position: relative;
}
.pricing-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

/* ==========  SCHEDULE TABLE  ========== */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.schedule-table th {
  background: var(--header-bg);
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.schedule-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table tr:hover td { background: var(--bg-alt); }

/* ==========  CONTACT FORM  ========== */
.form-wrapper {
  max-width: 640px;
  margin: 0 auto;
  background: var(--card);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--heading);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 136, 203, 0.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-status {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.form-status.success {
  background: #e6f9ee;
  color: var(--success);
  border: 1px solid #b2e8c8;
}
.form-status.error {
  background: #fde8e8;
  color: var(--error);
  border: 1px solid #f5b5b7;
}

/* ==========  INFO BAR  ========== */
.info-bar {
  background: var(--brand);
  color: #fff;
  text-align: center;
  padding: 12px 20px;
  font-size: 0.92rem;
  font-weight: 500;
}
.info-bar a { color: #fff; text-decoration: underline; }

/* ==========  TWO-COLUMN LAYOUT  ========== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
}
.two-col .text-col h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--heading);
  margin: 0 0 1rem;
}
.two-col .text-col p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ==========  STAT STRIP  ========== */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
  padding: 3rem 0;
}
.stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand);
  display: block;
}
.stat-item .stat-label {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 4px;
}

/* ==========  FOOTER  ========== */
footer {
  background: var(--header-bg);
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col p,
.footer-col a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.8;
}
.footer-col a:hover { color: #fff; }
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a { display: block; }

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s;
}
.social-links a:hover { background: var(--brand); }

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

/* ==========  PAGE HEADER (inner pages)  ========== */
.page-header {
  background: linear-gradient(135deg, var(--header-bg) 0%, #1a2744 100%);
  color: #fff;
  text-align: center;
  padding: 3.5rem 1.5rem 3rem;
}
.page-header h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}
.page-header p {
  font-size: 1.05rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

/* ==========  CAMP CARDS  ========== */
.camp-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--brand);
}
.camp-card h3 {
  color: var(--heading);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}
.camp-card .camp-dates {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.camp-card p { color: var(--muted); margin: 0; }

/* ==========  UTILITIES  ========== */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
