/*
Theme Name: Christian Soccer Academy
Theme URI: https://example.com/christian-soccer-academy
Author: OpenAI
Author URI: https://openai.com
Description: A custom WordPress theme template for Christian Soccer Academy.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: christian-soccer-academy
*/

:root {
  --csa-blue: #0b2c5f;
  --csa-green: #2f855a;
  --csa-green-dark: #256b49;
  --csa-light: #f5f7fb;
  --csa-soft: #eef5ef;
  --csa-white: #ffffff;
  --csa-text: #1f2937;
  --csa-accent: #fff3c4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--csa-text);
  background: var(--csa-light);
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.csa-container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

.site-header {
  background: var(--csa-blue);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
}

.csa-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  flex-wrap: wrap;
}

.site-branding a {
  color: #fff;
  text-decoration: none;
}

.site-title {
  margin: 0;
  font-size: 1.6rem;
}
.site-tagline {
  margin: 4px 0 0;
  color: #dbeafe;
  font-size: .95rem;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.main-navigation a {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
}
.main-navigation a:hover { color: #a7f3d0; }

.csa-btn {
  display: inline-block;
  background: var(--csa-green);
  color: #fff;
  padding: 14px 26px;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  transition: .25s ease;
}
.csa-btn:hover { background: var(--csa-green-dark); transform: translateY(-2px); }
.csa-btn-outline { background: transparent; border: 2px solid #fff; }
.csa-btn-outline:hover { background: #fff; color: var(--csa-blue); }
.csa-btn-small { padding: 10px 18px; font-size: .92rem; }

.csa-hero {
  min-height: 660px;
  color: #fff;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(7, 30, 61, 0.60), rgba(7, 30, 61, 0.60)),
    url('https://images.unsplash.com/photo-1574629810360-7efbbe195018?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
}
.csa-hero-content { padding: 90px 0; }
.csa-hero-text { max-width: 700px; }
.csa-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  line-height: 1.05;
  color: var(--csa-accent);
}
.csa-hero h3 {
  margin: 0 0 18px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}
.csa-hero p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0 0 26px;
  color: #f3f4f6;
}
.csa-hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.csa-highlights {
  margin-top: -60px;
  position: relative;
  z-index: 2;
  padding-bottom: 20px;
}
.csa-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
}
.csa-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  overflow: hidden;
}
.csa-highlight-card {
  text-align: center;
  padding: 30px 24px;
}
.csa-icon { font-size: 2.2rem; margin-bottom: 10px; }
.csa-highlight-card h3,
.csa-card-body h3,
.csa-event-card h3,
.csa-section-title h2,
.csa-about-text h2,
.csa-cta h2 {
  color: var(--csa-blue);
}

.csa-section { padding: 80px 0; }
.csa-about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.csa-about-text p,
.csa-card-body p,
.csa-event-card p,
.csa-contact-box p,
.entry-content p {
  line-height: 1.7;
}
.csa-section-title {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}
.csa-programs-section { background: var(--csa-soft); }
.csa-program-card img { height: 230px; object-fit: cover; width: 100%; }
.csa-card-body { padding: 22px; }
.csa-events-section { background: #f8fafc; }
.csa-event-card { padding: 28px 24px; }
.csa-event-date {
  display: inline-block;
  background: var(--csa-blue);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.csa-cta {
  background: linear-gradient(135deg, var(--csa-blue), #14532d);
  color: #fff;
  text-align: center;
  padding: 90px 0;
}
.csa-cta h2 { color: #fff; }
.csa-cta p { color: #e5e7eb; font-size: 1.08rem; }
.csa-contact-box {
  max-width: 700px;
  margin: 0 auto;
  background: #f8fafc;
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  text-align: center;
}

.site-footer {
  background: var(--csa-blue);
  color: #fff;
  text-align: center;
  padding: 24px 0;
}

.entry-content, .entry-header { width: min(900px, 90%); margin: 0 auto; }
.entry-header { padding-top: 50px; }
.entry-content { padding-bottom: 70px; }

@media (max-width: 992px) {
  .csa-grid-3, .csa-about { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .csa-nav { flex-direction: column; align-items: flex-start; }
  .csa-hero { min-height: 560px; }
  .csa-section { padding: 60px 0; }
}
