/* =============================================
   AYCLIFFE JUNIORS RUNNING CLUB — Main Styles
   Palette: Electric Blue / Red / Black
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --blue:       #1a73e8;
  --blue-dark:  #0d47a1;
  --blue-light: #4fa3f7;
  --red:        #d32f2f;
  --red-bright: #f44336;
  --black:      #0a0a0a;
  --black-soft: #111827;
  --black-card: #1a1f2e;
  --white:      #ffffff;
  --grey-light: #e8eaf0;
  --grey-mid:   #9ca3af;
  --radius:     8px;
  --radius-lg:  16px;
  --shadow:     0 4px 24px rgba(0,0,0,0.4);
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

/* ── Typography ───────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--white);
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

p {
  color: var(--grey-light);
  line-height: 1.7;
}

a {
  color: var(--blue-light);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--white); }

/* ── Container ────────────────────────────── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── TOP BAR ──────────────────────────────── */
.topbar {
  background: var(--red);
  padding: 0.4rem 0;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

/* ── HEADER / NAV ─────────────────────────── */
header {
  background: var(--black-soft);
  border-bottom: 3px solid var(--blue);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.logo-wrap img {
  height: 60px;
  width: auto;
  display: block;
}

.club-name {
  display: flex;
  flex-direction: column;
}

.club-name .primary {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
}

.club-name .secondary {
  font-size: 0.72rem;
  color: var(--blue-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav ul li a {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--grey-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

nav ul li a:hover {
  color: var(--white);
  border-bottom-color: var(--red-bright);
}

.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius);
  border-bottom: none !important;
  transition: background var(--transition) !important;
}

.nav-cta:hover {
  background: var(--red-bright) !important;
  border-bottom: none !important;
}

/* ── HERO ─────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--black-soft) 0%, #0d1b3e 60%, #1a1044 100%);
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(26,115,232,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(211,47,47,0.12) 0%, transparent 50%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(26,115,232,0.2);
  border: 1px solid var(--blue);
  color: var(--blue-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero h1 span {
  color: var(--red-bright);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--grey-light);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(211,47,47,0.4);
}
.btn-primary:hover {
  background: var(--red-bright);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244,67,54,0.5);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--blue);
}
.btn-secondary:hover {
  background: var(--blue);
  transform: translateY(-2px);
  color: var(--white);
}

/* ── STATS STRIP ──────────────────────────── */
.stats-strip {
  background: var(--blue-dark);
  padding: 1.8rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  text-align: center;
}

.stat-item .stat-number {
  font-family: 'Oswald', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

/* ── SECTIONS ─────────────────────────────── */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--black-soft);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header .label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 0.6rem;
}

.section-header h2 {
  color: var(--white);
  margin-bottom: 0.8rem;
}

.section-header p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--grey-mid);
}

/* ── ABOUT CARDS ──────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: var(--white);
}

.card p {
  font-size: 0.92rem;
  color: var(--grey-mid);
}

/* ── SESSIONS ─────────────────────────────── */
.sessions-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.session-card {
  background: var(--black-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}

.session-card-header {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.session-card-header h3 {
  font-size: 1rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.session-card-body {
  padding: 1.5rem;
}

.session-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
}

.session-detail:last-child { margin-bottom: 0; }

.session-detail .icon {
  font-size: 1.1rem;
  min-width: 24px;
  margin-top: 1px;
}

.session-detail .info strong {
  display: block;
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.1rem;
}

.session-detail .info span {
  color: var(--grey-mid);
  font-size: 0.88rem;
}

/* ── INQUIRY FORM ─────────────────────────── */
.form-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--black) 0%, var(--black-soft) 100%);
}

.form-wrap {
  max-width: 600px;
  margin: 0 auto;
  background: var(--black-card);
  border: 1px solid rgba(26,115,232,0.3);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.form-wrap .section-header {
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.3rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--grey-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: rgba(26,115,232,0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--grey-mid);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.btn-block {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* ── FOOTER ───────────────────────────────── */
footer {
  background: var(--black-soft);
  border-top: 3px solid var(--red);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo-wrap {
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--grey-mid);
  line-height: 1.6;
}

.footer-col h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--blue);
  display: inline-block;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--grey-mid);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--white); }

.contact-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 0.6rem;
  font-size: 0.88rem;
  color: var(--grey-mid);
}

.contact-item .icon { font-size: 1rem; margin-top: 1px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--grey-mid);
}

.footer-bottom span { color: var(--red-bright); }

/* ── COACHES ─────────────────────────────── */
.coaches-group {
  margin-bottom: 2rem;
}

.coaches-group:last-child {
  margin-bottom: 0;
}

.coaches-group-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  color: var(--blue-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--blue);
  display: inline-block;
}

.coaches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.coaches-grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.coach-card {
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.coach-card:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  background: rgba(26,115,232,0.08);
}

.coach-card-sm {
  font-size: 0.85rem;
  padding: 0.7rem 1rem;
}

/* ── DIVIDER ──────────────────────────────── */
.divider {
  height: 3px;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue), var(--red), var(--black));
  border: none;
}

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    text-align: center;
    padding: 1rem 0;
    gap: 0.75rem;
  }

  nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero { padding: 3.5rem 0 3rem; }

  .hero-actions { flex-direction: column; align-items: center; }

  .form-row { grid-template-columns: 1fr; }

  .form-wrap { padding: 1.5rem; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── FIXTURES CARD ────────────────────────── */
.fixtures-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--black-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--transition);
}

.fixtures-card:hover {
  border-color: var(--blue);
}

.fixtures-card-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.fixtures-icon {
  font-size: 3rem;
  line-height: 1;
}

.fixtures-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: var(--white);
}

.fixtures-info p {
  font-size: 0.85rem;
  color: var(--grey-mid);
  margin: 0;
}

@media (max-width: 480px) {
  .club-name .primary { font-size: 1rem; }
  nav ul { gap: 0.6rem; }
  nav ul li a { font-size: 0.78rem; }
}
