*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-light: #e8ecef;
  --dark: #1e2d3d;
  --accent: #252525;
  --gold: #c8a96e;
  --btn: #1A1F3A;
  --white: #FFFFFF;
  --black: #111111;
  --navy: #1A1F3A;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-light);
  color: var(--dark);
  line-height: 1.6;
}

h1, h2, h3, h4, blockquote {
  font-family: 'Playfair Display', Georgia, serif;
}

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

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

.btn-red {
  display: inline-block;
  background: var(--btn);
  color: #c8a96e;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.btn-red:hover {
  background: #2a2f4a;
  color: #ffffff;
  transform: translateY(-2px);
}

.gold-rule {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 1.25rem;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-light);
  border-bottom: 1px solid rgba(30,45,61,0.08);
  backdrop-filter: blur(10px);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo img {
  height: 52px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
  letter-spacing: 0.3px;
  transition: color 0.2s;
  text-decoration: none;
}

.nav-links a:visited {
  color: var(--dark);
}

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

.nav-cta {
  background: var(--btn) !important;
  color: #c8a96e !important;
  padding: 10px 24px !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
}

.nav-cta:hover {
  background: #2a2f4a !important;
  color: #ffffff !important;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--dark);
  transition: 0.3s;
}

/* HERO */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
  padding: 80px 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://ugjbeilxnrrdpupdobwq.supabase.co/storage/v1/object/public/simplepages-brand-logos/08ec0664-5a73-4e10-9dc9-5f7db92a873b/pi/1785355865947-p6zbp9/hero---javelin-coach-real-javelin-3.jpg');
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;
  filter: brightness(0.55);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.5) 100%);
  z-index: 1;
}


.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  width: 100%;
}

.hero-panel {
  padding: 56px 52px;
  max-width: 600px;
}

.hero-panel .gold-rule {
  width: 80px;
  height: 4px;
}

.hero-panel h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.4);
}

.hero-panel p {
  font-size: 1.15rem;
  color: #c8cdd3;
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.7;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.4);
}

/* ABOUT */
.about {
  padding: 100px 0;
  background: var(--bg-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text blockquote {
  font-size: 1.75rem;
  font-style: italic;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 32px;
  padding-left: 24px;
  border-left: 4px solid var(--accent);
}

.about-text .bio {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(30,45,61,0.75);
}

.about-text .bio p + p {
  margin-top: 16px;
}

.about-photo {
  position: relative;
}

.about-photo-frame {
  position: relative;
  display: inline-block;
}

.about-photo-frame::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  right: -12px;
  bottom: -12px;
  border: 3px solid #c8a96e;
  border-radius: 8px;
  z-index: 0;
}

.about-photo-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
}

/* WHAT YOU GET */
.services {
  padding: 100px 0;
  background: var(--white);
}

.services-header {
  margin-bottom: 56px;
}

.services-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.coaching-card {
  background: #1A1F3A;
  padding: 32px 24px;
  position: relative;
  border: 1px solid rgba(200,169,110,0.2);
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.coaching-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(200,169,110,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.coaching-card > * {
  position: relative;
  z-index: 1;
}

.coaching-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  border-color: rgba(200,169,110,0.5);
}

.coaching-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
}

.coaching-card-icon svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: #c8a96e;
  stroke-width: 1.5;
}

.coaching-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #c8a96e;
  margin-bottom: 0;
  font-family: 'Playfair Display', serif;
}

.coaching-card .red-line {
  width: 40px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 16px;
}

.coaching-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
}

.card-learn-more {
  display: inline-block;
  background: none;
  border: 1px solid #c8a96e;
  color: #c8a96e;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  font-family: 'Inter', sans-serif;
  margin-top: auto;
  padding-top: 20px;
}

.card-learn-more:hover {
  background: #c8a96e;
  color: #1A1F3A;
}

/* GALLERY */
.gallery {
  padding: 80px 0;
  background: var(--bg-light);
}

.gallery-header {
  margin-bottom: 48px;
}

.gallery-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 3px solid #1A1F3A;
  border-radius: 12px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item {
  height: 320px;
}

/* TESTIMONIALS */
.testimonials {
  padding: 100px 0;
  background: var(--dark);
}

.testimonials-header {
  margin-bottom: 56px;
}

.testimonials-header .gold-rule {
  background: #c8a96e;
}

.testimonials-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.testimonial-card {
  position: relative;
  padding-top: 20px;
}

.testimonial-card .quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: #c8a96e;
  line-height: 1;
  position: absolute;
  top: -10px;
  left: 0;
}

.testimonial-card blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  margin-bottom: 24px;
  padding-top: 32px;
}

.testimonial-card .attribution {
  font-size: 0.9rem;
  font-weight: 600;
  color: #c8a96e;
  letter-spacing: 0.5px;
}

/* BOOKING */
.booking {
  padding: 100px 0;
  background: var(--bg-light);
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.booking-text h2 {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 20px;
}

.booking-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(30,45,61,0.75);
  margin-bottom: 24px;
}

.booking-text .contact-info {
  font-size: 1rem;
  color: var(--dark);
}

.booking-text .contact-info a {
  color: var(--btn);
  font-weight: 600;
}

.booking-form {
  background: var(--white);
  padding: 48px;
  box-shadow: 0 8px 40px rgba(30,45,61,0.08);
}

.booking-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.booking-form input,
.booking-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(30,45,61,0.15);
  background: var(--bg-light);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 20px;
  transition: border-color 0.3s;
}

.booking-form input:focus,
.booking-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.booking-form textarea {
  min-height: 120px;
  resize: vertical;
}

.booking-form .btn-red {
  width: 100%;
  text-align: center;
  font-size: 1.05rem;
  padding: 16px;
}

/* FOOTER */
footer {
  background: var(--navy);
  padding: 60px 0 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-logo img {
  height: 60px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-logo p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
}

.footer-links ul {
  list-style: none;
}

.footer-links li + li {
  margin-top: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
  text-decoration: none;
}

.footer-links a:visited {
  color: rgba(255,255,255,0.6);
}

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

.footer-contact h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
}

.footer-contact p,
.footer-contact a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 20px 40px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-light);
    padding: 24px 40px;
    border-bottom: 1px solid rgba(30,45,61,0.1);
    gap: 16px;
  }
  .mobile-toggle { display: flex; }

  .hero-panel {
    padding: 40px 32px;
    max-width: 100%;
  }
  .hero-panel h1 { font-size: 2.2rem; }

  .about-grid,
  .booking-grid {
    grid-template-columns: 1fr;
  }

  .about-photo { order: -1; }

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

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

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

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .section-container {
    padding: 0 24px;
  }

  .nav-inner {
    padding: 0 24px;
  }

  .hero-content {
    padding: 60px 24px;
  }
}
