/* ============================================
   ELEVATE Sports Performance -- V1 Clean & Direct
   ============================================ */

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

:root {
  --green: #B6EC0B;
  --green-hover: #a3d400;
  --black: #111;
  --dark: #222;
  --gray: #666;
  --light-gray: #e8e8e8;
  --bg: #FAFAFA;
  --white: #fff;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1200px;
  --nav-height: 72px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--black);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

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

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

.section {
  padding: 100px 0;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 16px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-align: center;
}

.btn-green {
  background: var(--green);
  color: var(--black);
}

.btn-green:hover {
  background: var(--green-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--dark);
  transform: translateY(-1px);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(250, 250, 250, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-logo span {
  display: inline-block;
  border: 3px solid var(--black);
  border-radius: 50px;
  padding: 6px 18px;
}

.nav-logo img {
  height: 48px;
  width: 48px;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gray);
}

.nav-links .btn {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  margin: 6px 0;
  transition: all 0.3s;
}

/* --- Hero --- */
.hero {
  background: url('/images/hero-bg.jpg') center/cover no-repeat;
  position: relative;
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(250, 250, 250, 0.88);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 720px;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero h1 .accent {
  color: var(--green);
  /* use a text-shadow to make green readable on light bg */
}

.hero p {
  font-size: 1.2rem;
  max-width: 540px;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 64px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-meta span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray);
  padding: 6px 14px;
  border: 1px solid var(--light-gray);
  border-radius: 100px;
}

/* --- Stats Bar --- */
.stats {
  background: var(--black);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item h3 {
  color: var(--green);
  font-size: 2.5rem;
  margin-bottom: 4px;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- Photo Strip --- */
.photo-strip {
  padding: 0;
  overflow: hidden;
}

.photo-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.photo-strip-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* --- Services Preview --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 40px 32px;
  transition: all 0.25s ease;
}

.service-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.service-card-icon {
  width: 48px;
  height: 48px;
  background: var(--green);
  border-radius: 10px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.service-card .card-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--black);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.service-card:hover .card-link {
  gap: 10px;
}

/* --- Testimonials --- */
.testimonials {
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.testimonial-card {
  padding: 40px;
  background: var(--bg);
  border-radius: 12px;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-size: 4rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  position: absolute;
  top: 20px;
  left: 32px;
}

.testimonial-card blockquote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dark);
  margin-bottom: 20px;
  padding-top: 32px;
}

.testimonial-card cite {
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray);
  display: block;
}

/* --- Summer Camps CTA --- */
.camps-cta {
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.camps-cta::after {
  content: 'SUMMER';
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  letter-spacing: -0.05em;
  pointer-events: none;
}

.camps-cta h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.camps-cta p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 12px;
}

.camps-cta .camp-date {
  color: var(--green);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 32px;
  display: block;
}

.camps-pricing {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
  margin-bottom: 40px;
}

.camp-price-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 16px 20px;
  min-width: 160px;
}

.camp-price-tag .camp-name {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
}

.camp-price-tag .camp-cost {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 800;
}

/* --- Memberships --- */
.memberships-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.membership-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: all 0.25s ease;
}

.membership-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.membership-card.featured {
  border: 2px solid var(--green);
}

.membership-card.featured::after {
  content: 'MOST POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 100px;
}

.membership-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.membership-card .price {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 4px;
}

.membership-card .price-detail {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 24px;
}

.membership-card .btn {
  width: 100%;
}

/* --- Programs Page --- */
.page-header {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 40px;
}

.page-header h1 {
  margin-bottom: 16px;
}

.page-header p {
  font-size: 1.1rem;
  max-width: 600px;
}

.program-section {
  padding: 60px 0;
}

.program-section + .program-section {
  border-top: 1px solid var(--light-gray);
}

.program-section h2 {
  margin-bottom: 32px;
}

.programs-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.program-item {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  transition: border-color 0.2s;
}

.program-item:hover {
  border-color: var(--green);
}

.program-item h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.program-item p {
  font-size: 0.9rem;
}

.program-item .program-meta {
  text-align: right;
  flex-shrink: 0;
}

.program-item .program-meta .time {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
  display: block;
}

.program-item .program-meta .cost {
  font-size: 0.8rem;
  color: var(--gray);
}

/* --- About Page --- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-intro p {
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.about-intro p:first-of-type {
  font-size: 1.15rem;
  color: var(--dark);
}

.credentials-list {
  margin-top: 48px;
}

.credentials-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--light-gray);
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

.credentials-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.partner-item {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.partner-item:hover {
  border-color: var(--green);
}

/* --- Footer --- */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand .nav-logo span {
  border-color: var(--white);
  color: var(--white);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  max-width: 320px;
}

.footer h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--green);
}

.footer-contact a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--green);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
}

/* --- Mobile Nav --- */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 999;
  padding: 40px 24px;
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 800;
  padding: 16px 0;
  border-bottom: 1px solid var(--light-gray);
}

.mobile-menu .btn {
  margin-top: 24px;
  text-align: center;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .about-intro {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .photo-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-strip-grid img {
    height: 200px;
  }

  .section {
    padding: 64px 0;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 48px);
    min-height: auto;
    padding-bottom: 48px;
  }

  .hero-meta {
    margin-top: 40px;
  }

  .camps-cta::after {
    font-size: 6rem;
  }

  .camps-pricing {
    flex-direction: column;
  }

  .camp-price-tag {
    min-width: auto;
  }

  .programs-list {
    grid-template-columns: 1fr;
  }

  .program-item {
    flex-direction: column;
    gap: 12px;
  }

  .program-item .program-meta {
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.75rem; }

  .hero p {
    font-size: 1.05rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .stat-item h3 {
    font-size: 2rem;
  }

  .memberships-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Active page indicator --- */
.nav-links a.active {
  color: var(--black);
  position: relative;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}
