/* ===========================
   RESET & BASE
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green: #C8D400;
  --black: #000000;
  --dark: #0a0a0a;
  --dark2: #111111;
  --dark3: #1a1a1a;
  --white: #ffffff;
  --gray: #888888;
  --font: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--gray);
  margin-top: 1rem;
  margin-bottom: 3rem;
}

/* ===========================
   BUTTONS
=========================== */
.btn-book {
  background-color: var(--green);
  color: var(--black);
  padding: 0.6rem 1.4rem;
  border-radius: 2px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

.btn-book:hover {
  opacity: 0.85;
}

.nav-actions {
  display: flex;
  align-items: center;
}

.nav-instagram-btn {
  color: white;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 8px;
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-right: 12px;
  transition: all 0.2s ease;
}

.nav-instagram-btn:hover {
  border-color: #c8f135;
  color: #c8f135;
}

.btn-hero {
  display: inline-block;
  background-color: var(--green);
  color: var(--black);
  padding: 1rem 2.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-hero:hover {
  opacity: 0.9;
  animation: ctaPulse 1.3s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% {
    transform: translateY(-2px) scale(1);
  }
  50% {
    transform: translateY(-2px) scale(1.035);
  }
}

.btn-primary {
  display: inline-block;
  background-color: var(--green);
  color: var(--black);
  padding: 0.9rem 2rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  margin-top: 2rem;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.85;
}

.btn-outline {
  display: inline-block;
  border: 1px solid var(--green);
  color: var(--green);
  padding: 0.7rem 1.5rem;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  margin-top: 1rem;
  transition: all 0.2s;
}

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

/* ===========================
   NAVBAR
=========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 11.5px 32px;
  height: auto;
  max-height: 80.5px;
  background-color: rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color 0.3s, padding 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.75);
  padding: 11.5px 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--white);
}
.nav-logo-img {
  height: auto;
  max-height: 60px;
  width: auto;
  object-fit: contain;
}

.nav-logo span {
  color: var(--green);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  position: relative;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

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

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
}

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  padding-top: 70px;
  background-image: url('https://images.pexels.com/photos/36246828/pexels-photo-36246828.jpeg?auto=compress&cs=tinysrgb&w=1920');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.48) 45%, rgba(0, 0, 0, 0.78) 100%);
  z-index: 1;
}

/* HERO BALL ANIMATION */
.hero-ball {
  position: absolute;
  width: 40px;
  height: 40px;
  background-color: var(--green);
  border-radius: 50%;
  top: 40%;
  left: -60px;
  z-index: 2;
  box-shadow: 0 0 20px rgba(200, 212, 0, 0.6);
  animation: ballShoot 2.5s ease-out 0.5s forwards;
}

.hero-ball::after {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 6px;
  background: linear-gradient(to left, rgba(200,212,0,0.4), transparent);
  border-radius: 3px;
}

@keyframes ballShoot {
  0%   { left: -60px; opacity: 1; }
  70%  { opacity: 1; }
  100% { left: 110%; opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-title {
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: heroFadeUp 0.9s ease-out 0.25s forwards;
}

.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: heroFadeUp 0.9s ease-out 0.45s forwards;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================
   WHO WE ARE
=========================== */
.about {
  padding: 8rem 0;
  background-color: var(--dark);
}

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

.about-text h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
}

.about-image {
  position: relative;
  overflow: hidden;
}

.about-image img {
  height: 550px;
  object-fit: cover;
  filter: contrast(1.05);
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 4px;
  height: 60%;
  background-color: var(--green);
}

/* ===========================
   OUR COURTS
=========================== */
.courts {
  padding: 8rem 0;
  background-color: var(--dark2);
}

.courts h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.courts-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  margin-top: 3rem;
}

.court-card {
  flex: 1 1 0;
  min-width: 0;
  background-color: var(--dark3);
  padding: 2.5rem 2rem;
  border-left: 3px solid var(--green);
  transition: transform 0.3s ease, background 0.3s, box-shadow 0.3s ease;
}

.court-card:hover {
  transform: translateY(-4px);
  background-color: #222;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.court-number {
  font-size: 4rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  margin-bottom: 1rem;
}

.court-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.court-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.court-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ===========================
   AMENITIES
=========================== */
.amenities {
  padding: 8rem 0;
  background-color: var(--dark);
}

.amenities h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 3rem;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}

.amenity-item {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px solid #222;
  transition: border-color 0.3s, transform 0.3s;
}

.amenity-item:hover {
  border-color: var(--green);
  transform: translateY(-4px);
}

.amenity-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.amenity-item h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.amenity-item p {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ===========================
   BOOK CTA
=========================== */
.book-cta {
  position: relative;
  padding: 8rem 0;
  background-color: var(--black);
  text-align: center;
  overflow: hidden;
}

.book-cta h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  margin-bottom: 1rem;
}

.book-cta p {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 2.5rem;
}

/* SCROLL BALL */
.ball-scroll {
  position: absolute;
  width: 16px;
  height: 16px;
  background-color: var(--green);
  border-radius: 50%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(200,212,0,0.5);
  animation: scrollDown 3s ease-in-out infinite;
}

@keyframes scrollDown {
  0%   { top: 0; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ===========================
   COMPETITIONS
=========================== */
.competitions {
  padding: 8rem 0;
  background-color: var(--dark2);
}

.competitions h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
}

.comp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 1rem;
}

.founders-banner {
  width: 100%;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  margin: 40px 0;
}

.founders-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.1) 100%);
  width: 100%;
  padding: 48px 48px;
  box-sizing: border-box;
}

.founders-badge {
  background: #c8f135;
  color: #000;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  padding: 6px 16px;
  border-radius: 999px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 16px;
}

.founders-title {
  color: white;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

.founders-subline {
  color: #c8f135;
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 20px;
}

.founders-info-row {
  display: flex;
  gap: 32px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
}

.founders-divider {
  border-top: 2px solid #c8f135;
  width: 80px;
  margin: 24px 0;
}

.founders-cta {
  background: #c8f135;
  color: #000;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 18px 48px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.founders-cta:hover {
  background: #fff;
}

.founders-note {
  color: #fff;
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 10px;
}

/* ===========================
   ACADEMY
=========================== */
.academy {
  padding: 8rem 0;
  background-color: var(--dark);
}

.academy h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
}

.academy-levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.level-card {
  padding: 2.5rem 2rem;
  background-color: var(--dark3);
  border-left: 3px solid var(--green);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.level-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.level-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  color: var(--green);
}

.level-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 8px;
  line-height: 1;
}

.level-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}

.academy-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 5rem;
}

.type-card {
  padding: 2.5rem;
  border: 1px solid #333;
  border-left: 3px solid var(--green);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.type-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.type-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.type-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}

.coaches h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.coaches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.coach-card {
  overflow: hidden;
  background-color: var(--dark3);
}

.coach-card img {
  height: 300px;
  object-fit: cover;
  object-position: top;
  filter: contrast(1.05);
  transition: transform 0.4s ease;
}

.coach-card:hover img {
  transform: scale(1.04);
}

.coach-card h4 {
  font-size: 1rem;
  font-weight: 700;
  padding: 1.2rem 1.5rem 0.3rem;
}

.coach-card span {
  display: block;
  font-size: 0.8rem;
  color: var(--green);
  font-weight: 500;
  padding: 0 1.5rem 1.5rem;
  letter-spacing: 0.05em;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background-color: var(--black);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #333;
  color: var(--white);
  transition: all 0.2s;
}

.social-links a:hover {
  border-color: var(--green);
  color: var(--green);
  transform: scale(1.2);
}

.social-links a svg {
  transition: transform 0.2s ease;
}

.social-links a[aria-label="Instagram"]:hover svg {
  transform: scale(1.15);
}

.footer-map iframe {
  border-radius: 2px;
  filter: none;
  height: 570px;
}

.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ===========================
   ANIMATIONS — FADE IN
=========================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

section h2 {
  letter-spacing: 0.05em;
}

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

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #333;
    background: transparent;
    color: var(--white);
    cursor: pointer;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 2rem;
    width: min(280px, 85vw);
    flex-direction: column;
    gap: 1rem;
    padding: 1.2rem;
    background-color: rgba(10, 10, 10, 0.94);
    border: 1px solid #222;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .navbar.nav-open .nav-links { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .courts-grid { flex-wrap: wrap; }
  .court-card { min-width: 280px; }
  .comp-grid { grid-template-columns: 1fr; }
  .founders-overlay {
    padding: 32px 22px;
  }
  .founders-info-row {
    flex-direction: column;
    gap: 12px;
  }
  .academy-levels { grid-template-columns: 1fr; }
  .academy-types { grid-template-columns: 1fr; }
  .coaches-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 4rem; }
}
/* ===========================
   FIND US
=========================== */
.findus {
  padding: 6rem 0 0;
  background-color: var(--dark);
}

.findus h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.findus .section-label {
  font-size: 1rem;
  color: var(--green);
  letter-spacing: 0.2em;
  font-weight: 700;
  margin-bottom: 32px;
}

.findus-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 1.5rem;
}

.findus-block {
  border-left: 3px solid var(--green);
  padding-left: 16px;
}

.findus-block-label {
  display: block;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
}

.findus-block-value {
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
}

.findus-block-value a {
  color: inherit;
  text-decoration: none;
}

.findus-map {
  width: 100%;
  height: 500px;
  margin-top: 1rem;
}

.findus-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: none;
}

/* ===========================
   FOOTER NUEVO
=========================== */
.footer {
  background-color: var(--black);
  padding: 4rem 0 2rem;
  text-align: center;
  border-top: 1px solid rgba(200, 212, 0, 0.65);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.footer-logo-text {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.footer-ball {
  color: var(--green);
  font-size: 2rem;
  vertical-align: middle;
  margin-left: 2px;
}

.footer-slogan {
  font-size: 1rem;
  font-style: italic;
  color: var(--green);
  font-weight: 300;
  letter-spacing: 0.1em;
}

.footer-address {
  font-size: 0.85rem;
  color: var(--gray);
}

.footer-copy {
  font-size: 0.75rem;
  color: #444;
  margin-top: 1rem;
  border-top: 1px solid #222;
  padding-top: 1.5rem;
  width: 100%;
}