/* =========================================
   SNAP Volleyball Academy – styles.css
   ========================================= */

:root {
  --gold: #C9A227;
  --gold-dark: #A8841A;
  --gold-light: #E2BA40;
  --black: #0A0A0A;
  --dark: #111111;
  --dark2: #1A1A1A;
  --dark3: #222222;
  --white: #FFFFFF;
  --gray: #888888;
  --light-gray: #F5F5F5;
  --font-display: 'Bebas Neue', sans-serif;
  --font-cond: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img, svg { display: block; }
ul { list-style: none; }

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-block;
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 12px 28px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  text-align: center;
}
.btn-gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--black);
}
.btn-sm { padding: 9px 20px; font-size: 13px; }
.btn-lg { padding: 16px 40px; font-size: 16px; }
.btn-full { width: 100%; display: block; }

/* =========================================
   HEADER / NAV
   ========================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--black);
  border-bottom: 1px solid #1f1f1f;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 110px;
}
.logo-link { flex-shrink: 0; }
.nav-logo-img {
  height: 100px;
  width: auto;
  display: block;
  mix-blend-mode: screen;
  filter: brightness(1.05);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #ccc;
  padding: 6px 12px;
  transition: color 0.2s;
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link.active::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -2px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--gold);
}
.caret { font-size: 10px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white);
}

/* =========================================
   HERO
   ========================================= */
.hero {
  background: var(--black);
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

.hero-bg-texture {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(201,162,39,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 80%, rgba(201,162,39,0.04) 0%, transparent 50%);
}
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
  z-index: 2;
}
.hero-text { max-width: 100%; width: 100%; }
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.0;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.hero-headline .white { color: var(--white); }
.hero-headline .gold { color: var(--gold); }
.hero-sub {
  color: var(--gold);
  font-family: var(--font-cond);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-body {
  color: #ccc;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 100%;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-logo-large {
  flex-shrink: 0;
  width: clamp(280px, 38vw, 420px);
  animation: fadeInRight 0.8s ease forwards;
}
.hero-logo-large svg { width: 100%; height: auto; }

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* =========================================
   FEATURES BAR
   ========================================= */
.features-bar {
  background: var(--gold);
  padding: 22px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--black);
}
.feat-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--black);
}
.feature-item strong {
  display: block;
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.feature-item span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.75;
}

/* =========================================
   SECTION TITLE
   ========================================= */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 3px;
  color: var(--dark);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}
.section-title::before,
.section-title::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--gold);
  vertical-align: middle;
  margin: 0 12px;
}
.section-title.white { color: var(--white); }

/* =========================================
   PROGRAMS SECTION
   ========================================= */
.programs-section {
  padding: 70px 0;
  background: var(--white);
}
.programs-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.programs-main {}
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.program-card {
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.program-img {
  height: 160px;
  background: var(--dark2);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.youth-img { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); }
.adult-img { background: linear-gradient(135deg, #1a2e1a 0%, #16391e 100%); }
.private-img { background: linear-gradient(135deg, #2e1a1a 0%, #391616 100%); }
.program-img-placeholder svg { width: 80px; height: auto; }
.img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.3));
}
.program-body { padding: 20px; }
.program-body h3 {
  font-family: var(--font-cond);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.program-tag {
  color: var(--gold);
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}
.program-body p:last-of-type {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* =========================================
   COACH SIDEBAR
   ========================================= */
.coach-card {
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}
.coach-card-title {
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 3px;
  padding: 16px 24px;
  text-align: center;
}
.coach-avatar {
  padding: 24px 0 8px;
  display: flex;
  justify-content: center;
}
.coach-avatar svg { width: 64px; height: 64px; }
.coach-name {
  font-family: var(--font-cond);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 4px;
}
.coach-title-tag {
  color: var(--gold);
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 14px;
}
.coach-bio {
  font-size: 13px;
  color: #555;
  text-align: center;
  padding: 0 20px;
  line-height: 1.5;
  margin-bottom: 16px;
}
.coach-creds {
  padding: 0 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.coach-creds li {
  font-size: 13px;
  color: #333;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.check {
  color: var(--gold);
  font-size: 14px;
  flex-shrink: 0;
}
.coach-card .btn-full { margin: 0 20px 20px; width: calc(100% - 40px); }

/* Testimonial */
.testimonial-card {
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 24px;
  margin-top: 20px;
  position: relative;
}
.quote-mark {
  font-family: Georgia, serif;
  font-size: 60px;
  color: var(--gold);
  line-height: 0.8;
  margin-bottom: 10px;
}
.testimonial-text {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 10px;
}
.testimonial-author {
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
}
.stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; }

/* =========================================
   WHY SNAP
   ========================================= */
.why-snap {
  background: var(--dark);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.why-snap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,162,39,0.06) 0%, transparent 70%);
}
.why-snap .container { position: relative; z-index: 1; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 10px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.stat-icon { width: 40px; height: 40px; margin-bottom: 4px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--gold);
  line-height: 1;
  letter-spacing: 2px;
}
.stat-label {
  font-family: var(--font-cond);
  font-size: 13px;
  color: #aaa;
  letter-spacing: 1px;
  font-weight: 600;
}

/* =========================================
   CAMPS SECTION
   ========================================= */
.camps-section {
  padding: 70px 0;
  background: var(--light-gray);
}
.camps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.camp-card {
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.camp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.camp-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--dark);
  padding: 10px 14px;
  border-radius: 4px;
  flex-shrink: 0;
}
.camp-month {
  font-family: var(--font-cond);
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
}
.camp-day {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--white);
  line-height: 1;
}
.camp-info { flex: 1; }
.camp-info h4 {
  font-family: var(--font-cond);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.camp-info p {
  font-size: 12px;
  color: #666;
}

/* =========================================
   REGISTER CTA
   ========================================= */
.register-cta {
  background: var(--gold);
  padding: 60px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.register-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 3px;
  color: var(--black);
  margin-bottom: 8px;
}
.register-cta p {
  color: rgba(0,0,0,0.65);
  font-size: 15px;
}
.register-cta .btn-gold {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.register-cta .btn-gold:hover {
  background: var(--dark2);
  border-color: var(--dark2);
}

/* =========================================
   CONTACT
   ========================================= */
.contact-section {
  padding: 70px 0;
  background: var(--white);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info .section-title {
  text-align: left;
  left: 0;
  transform: none;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 15px;
  color: #333;
}
.contact-item svg { width: 22px; height: 22px; flex-shrink: 0; }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #ddd;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}
.contact-form select { appearance: none; cursor: pointer; }
.contact-form textarea { resize: vertical; }

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--black);
  padding: 40px 0 24px;
  border-top: 1px solid #222;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.footer-logo-img {
  height: 150px;
  width: auto;
  mix-blend-mode: screen;
  display: block;
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 600;
  color: #888;
  letter-spacing: 1px;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--gold); }
.footer-copy {
  font-size: 12px;
  color: #555;
  text-align: center;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .programs-layout { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: repeat(3, 1fr); }
  .coach-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-ctas { justify-content: center; }
  .hero-logo-large { width: 260px; }
  .programs-grid { grid-template-columns: 1fr; }
  .coach-sidebar { grid-template-columns: 1fr; }
  .camps-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .features-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-headline { font-size: 36px; }
}

/* =========================================
   SCROLL REVEAL ANIMATIONS
   ========================================= */
.reveal-init {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-init.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile nav open state */
@media (max-width: 768px) {
  .main-nav.nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--black);
    border-top: 1px solid #222;
    padding: 16px 0;
    z-index: 999;
  }
  .main-nav.nav-open .nav-link {
    padding: 12px 24px;
    border-bottom: 1px solid #1a1a1a;
  }
}
