/* ===== VARIABLES ===== */
:root {
  --navy:       #1B3A5C;
  --navy-dark:  #0D1B2A;
  --navy-mid:   #14304E;
  --orange:     #E88D3F;
  --orange-h:   #D4792B;
  --white:      #FFFFFF;
  --gray-light: #F4F6F8;
  --gray-mid:   #E5E7EB;
  --text:       #1a1a1a;
  --text-mid:   #4B5563;
  --text-light: #9CA3AF;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.15);
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== LAYOUT ===== */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: var(--navy-dark);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1160px; margin: 0 auto;
  padding: 18px 20px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-img {
  height: 90px;
  width: 90px;
  object-fit: contain;
}
.logo-villa { font-size: 1.4rem; font-weight: 900; color: var(--white); letter-spacing: -0.5px; }
.logo-panorama { font-size: 1.4rem; font-weight: 400; color: var(--orange); }

.nav-links { display: none; gap: 28px; }
.nav-links a { color: rgba(255,255,255,0.85); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.3px; transition: color 0.2s; }
.nav-links a:hover { color: var(--orange); }

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

.lang-toggle { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.6); font-size: 0.8rem; }
.lang-btn { background: none; border: none; cursor: pointer; color: rgba(255,255,255,0.5); font-size: 0.8rem; font-family: inherit; padding: 2px 4px; transition: color 0.2s; }
.lang-btn.active { color: var(--orange); font-weight: 600; }

.btn-nav-wa {
  display: flex; align-items: center; gap: 8px;
  background: var(--orange); color: var(--white);
  font-size: 0.8rem; font-weight: 600;
  padding: 10px 18px; border-radius: 50px;
  transition: background 0.2s, transform 0.2s;
}
.btn-nav-wa:hover { background: var(--orange-h); transform: translateY(-1px); }

.nav-burger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.3s; }

.nav-mobile {
  display: none; flex-direction: column;
  background: var(--navy-dark);
  padding: 0 20px 20px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 14px 0; color: rgba(255,255,255,0.85); font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav-mobile a:last-child { border: none; }
.mobile-wa { color: var(--orange) !important; font-weight: 600; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-burger { display: none; }
  .btn-nav-wa span { display: inline; }
}

/* ===== HERO ===== */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-photo {
  position: absolute; inset: 0;
  background: var(--navy-dark) center/cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1.12); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,27,42,0.55) 0%, rgba(13,27,42,0.7) 60%, rgba(13,27,42,0.85) 100%);
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center; color: var(--white);
  padding: 0 20px; max-width: 800px;
}
.hero-badge {
  display: inline-block;
  background: rgba(232,141,63,0.2); border: 1px solid rgba(232,141,63,0.4);
  color: var(--orange); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 18px; border-radius: 50px; margin-bottom: 24px;
}
.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 900; letter-spacing: -2px; line-height: 1;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 60%, #E88D3F);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 300; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.7); margin-bottom: 8px;
}
.hero-tagline {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 600; color: var(--orange);
  margin-bottom: 40px; letter-spacing: 1px;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  display: inline-block;
  background: var(--orange); color: var(--white);
  font-weight: 700; font-size: 0.95rem;
  padding: 15px 32px; border-radius: 50px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(232,141,63,0.4);
}
.btn-primary:hover { background: var(--orange-h); transform: translateY(-2px); box-shadow: 0 6px 28px rgba(232,141,63,0.5); }

.btn-outline {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.5); color: var(--white);
  font-weight: 600; font-size: 0.95rem;
  padding: 13px 32px; border-radius: 50px;
  transition: border-color 0.2s, background 0.2s;
  backdrop-filter: blur(4px);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.5); z-index: 2;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ===== STATS ===== */
.stats { background: var(--navy); padding: 0; }
.stats-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; justify-content: space-around; flex-wrap: wrap;
  padding: 32px 20px;
}
.stat { text-align: center; padding: 12px 20px; }
.stat-num {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900; color: var(--orange); line-height: 1;
}
.stat-label { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }

/* ===== SECTIONS SHARED ===== */
.why, .sports, .facilities, .packages { padding: 80px 0; }
.why, .facilities, .packages { background: var(--white); }
.sports { background: var(--navy-dark); }

.section-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 12px;
}
.section-label.light { color: var(--orange); }
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800; line-height: 1.2;
  color: var(--navy-dark); margin-bottom: 48px;
}
.sports .section-title, .coaches h2 { color: var(--white); }

/* ===== WHY GRID ===== */
.why-grid {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
.why-card {
  border: 1px solid var(--gray-mid); border-radius: var(--radius);
  padding: 28px; transition: box-shadow 0.2s, transform 0.2s;
}
.why-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.why-icon { font-size: 2rem; margin-bottom: 14px; }
.why-card h3 { font-family: 'Montserrat', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.why-card p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; }

@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===== SPORTS GRID ===== */
.sports-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.sport-card { border-radius: var(--radius); overflow: hidden; background: var(--navy-mid); transition: transform 0.2s; }
.sport-card:hover { transform: translateY(-4px); }
.sport-photo {
  position: relative; height: 220px;
  background: var(--navy-mid) center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
}
.sport-overlay { position: absolute; inset: 0; background: rgba(13,27,42,0.45); }
.sport-emoji { position: relative; z-index: 1; font-size: 3.5rem; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5)); }
.sport-body { padding: 20px 24px; }
.sport-body h3 { font-family: 'Montserrat', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.sport-body p { font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.6; }

@media (min-width: 640px) { .sports-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sports-grid { grid-template-columns: repeat(4, 1fr); } }

/* ===== FACILITIES ===== */
.facilities-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
.facility-item { display: flex; flex-direction: column; align-items: flex-start; }
.facility-icon { font-size: 2.2rem; margin-bottom: 12px; }
.facility-item h3 { font-family: 'Montserrat', sans-serif; font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.facility-item p { font-size: 0.875rem; color: var(--text-mid); line-height: 1.7; }

@media (min-width: 640px) { .facilities-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .facilities-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===== GALLERY ===== */
.gallery { background: var(--gray-light); padding: 80px 0; }
.gallery .section-title { color: var(--navy-dark); }
.gallery-tabs { display: flex; gap: 4px; margin-bottom: 32px; background: var(--gray-mid); border-radius: 50px; padding: 4px; width: fit-content; }
.tab-btn {
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 0.85rem; font-weight: 600;
  padding: 10px 24px; border-radius: 50px; color: var(--text-mid);
  transition: background 0.2s, color 0.2s;
}
.tab-btn.active { background: var(--white); color: var(--navy); box-shadow: var(--shadow); }
.gallery-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.gallery-photo {
  aspect-ratio: 4/3;
  background: var(--navy) center/cover no-repeat;
  border-radius: 8px;
  position: relative; overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}
.gallery-photo::before {
  content: '📷';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; opacity: 0.15;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy));
}
.gallery-photo:hover { transform: scale(1.02); }
.gallery-photo[style*="url"] { background-blend-mode: normal; }
.hidden { display: none !important; }

@media (max-width: 639px) { .gallery-grid .gallery-photo:nth-child(9) { display: none; } }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===== PACKAGES ===== */
.packages { background: var(--gray-light); }
.packages-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
.package-card {
  background: var(--white); border-radius: 16px;
  padding: 32px; box-shadow: var(--shadow);
  position: relative; transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.package-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.package-card.featured { border: 2px solid var(--orange); }
.package-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: var(--white);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 16px; border-radius: 50px;
}
.package-top { margin-bottom: 24px; }
.package-icon { font-size: 2rem; margin-bottom: 12px; }
.package-card h3 { font-family: 'Montserrat', sans-serif; font-size: 1.2rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.package-desc { font-size: 0.875rem; color: var(--text-mid); line-height: 1.6; }
.package-features { margin-bottom: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.package-features li { font-size: 0.875rem; color: var(--text-mid); }
.package-card.featured .package-features li { color: var(--text); }
.package-price { margin-bottom: 24px; padding-top: 20px; border-top: 1px solid var(--gray-mid); }
.price-label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); margin-bottom: 4px; }
.price-val { font-family: 'Montserrat', sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--navy); }
.package-card.featured .price-val { color: var(--orange); }
.btn-package {
  display: block; text-align: center;
  background: var(--navy); color: var(--white);
  font-weight: 700; font-size: 0.9rem;
  padding: 14px; border-radius: 10px;
  transition: background 0.2s, transform 0.2s;
}
.btn-package:hover { background: var(--navy-dark); transform: translateY(-1px); }
.package-card.featured .btn-package { background: var(--orange); }
.package-card.featured .btn-package:hover { background: var(--orange-h); }

@media (min-width: 768px) { .packages-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===== COACHES ===== */
.coaches { background: var(--navy); }
.coaches-inner {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr;
  min-height: 500px;
}
.coaches-text { padding: 64px 40px; display: flex; flex-direction: column; justify-content: center; }
.coaches-text p { color: rgba(255,255,255,0.7); font-size: 1rem; line-height: 1.8; margin-bottom: 24px; }
.coaches-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.coaches-list li { color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.coaches-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-outline-light {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.4); color: var(--white);
  font-weight: 600; font-size: 0.9rem;
  padding: 13px 28px; border-radius: 50px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.coaches-photo {
  background: var(--navy-mid) center/cover no-repeat;
  min-height: 300px;
  position: relative;
}
.coaches-photo::before {
  content: '🏟️';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; opacity: 0.2;
}
@media (min-width: 900px) {
  .coaches-inner { grid-template-columns: 1fr 1fr; }
  .coaches-photo { min-height: auto; }
}

/* ===== CTA ===== */
.cta { background: var(--gray-light); padding: 80px 0; text-align: center; }
.cta-inner h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; color: var(--navy-dark); margin-bottom: 16px; }
.cta-inner p { font-size: 1rem; color: var(--text-mid); margin-bottom: 40px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-wa-big {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: var(--white);
  font-weight: 700; font-size: 1rem;
  padding: 16px 32px; border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: background 0.2s, transform 0.2s;
}
.btn-wa-big:hover { background: #1DA851; transform: translateY(-2px); }
.btn-email-big {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); color: var(--navy);
  font-weight: 600; font-size: 1rem;
  padding: 16px 32px; border-radius: 50px;
  border: 2px solid var(--gray-mid);
  transition: border-color 0.2s, transform 0.2s;
}
.btn-email-big:hover { border-color: var(--navy); transform: translateY(-2px); }

/* ===== FOOTER ===== */
.footer { background: var(--navy-dark); padding: 48px 0 0; }
.footer-inner { display: flex; flex-direction: column; gap: 32px; padding-bottom: 40px; }
.footer-logo-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  flex-shrink: 0;
}
.footer-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  margin-bottom: 10px;
}
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.4); }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px; text-align: center; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }

@media (min-width: 768px) { .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; } }

/* ===== WHATSAPP FLOAT ===== */
#whatsapp-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  display: flex; align-items: center; gap: 10px;
  background: #25D366; color: var(--white);
  font-weight: 600; font-size: 0.875rem;
  padding: 14px 22px; border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
#whatsapp-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }
@media (max-width: 480px) {
  #whatsapp-btn span { display: none; }
  #whatsapp-btn { padding: 14px; border-radius: 50%; }
}
