/* ─────────────────────────────────────────────
   NEW TENNIS GRANADA  –  styles.css
───────────────────────────────────────────── */

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

:root {
  /* Fondos */
  --navy:       #0a0a0a;
  --navy-mid:   #1a1a1a;

  /* Amarillos verdosos */
  --blue-light: #d9f43b;
  --sky:        #b8e620;
  --sky-dark:   #93c01f;

  /* Neutros */
  --white:      #ffffff;
  --gray-light: #f5f7ef;
  --gray-mid:   #d8e0c3;
  --gray-text:  #7a8563;

  /* Color de acento */
  --accent:     #c7f036;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
}

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

.logo-img {
  height: 50px;
  width: auto;
  display: block;
}

.logo-circle {
  width: 46px; height: 46px;
  background: var(--navy-mid);
  border: 2px solid var(--sky);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: var(--sky);
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.5px;
  padding: 4px;
}

.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text .new    { color: var(--white); font-size: 20px; font-weight: 800; letter-spacing: -0.5px; }
.logo-text .tennis { color: var(--sky);   font-size: 20px; font-weight: 800; }
.logo-text .granada{ color: var(--white); font-size: 10px; font-weight: 400; letter-spacing: 2px; margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity .2s;
}
.nav-links a:hover { opacity: 1; }

.btn-nav {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background .2s, color .2s;
}
.btn-nav:hover { background: var(--white); color: var(--navy); }

/* ─── ICONOS ─── */

.icono-btn {
  width: 30px;
  height: 30px;
 vertical-align: middle;
}


/* ─── HERO ─── */
.hero {
  margin-top: 64px;
  min-height: 520px;
background:
  linear-gradient(to right, rgba(12,45,107,0.80) 45%, rgba(12,45,107,0.25) 100%),
  url('../img/portadauno.jpeg') center / cover no-repeat;
  display: flex;
  align-items: center;
  padding: 80px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '🎾';
  position: absolute;
  top: 60px; right: 160px;
  font-size: 32px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

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

.hero h1 {
  font-size: 52px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 12px;
}
.hero h1 .highlight { color: var(--sky); }

.hero-sub-title { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 6px; }

.hero-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 360px;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--sky);
  color: var(--white);
  padding: 12px 26px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .2s;
}
.btn-primary:hover { background: var(--sky-dark); }

.btn-outline-white {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.7);
  color: var(--white);
  padding: 12px 26px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color .2s, background .2s;
}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* ─── SECTION SHARED ─── */
section { padding: 72px 80px; }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sky-dark);
  margin-bottom: 10px;
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 40px;
}

/* ─── PROGRAMAS ─── */
.programs { background: var(--white); }

.programs-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.program-card {
  background: var(--gray-light);
  border-radius: 12px;
  padding: 28px 24px;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
  flex: 0 0 320px;
}
.program-card2 {
  background: #102B5A;
  border-radius: 12px;
  padding: 28px 24px;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
  flex: 0 0 320px;
  color: white;
}
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(12,45,107,0.12);
}

.program-icon {
  width: 48px; height: 48px;
  background: var(--gray-mid);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.program-card h3 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
}

.program-card p {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.6;
  margin-bottom: 16px;
}

.link-more {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.link-more:hover { color: var(--sky-dark); }

.cats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.cat-pill {
    background-color: #f0f0f0;
    color: #333;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

/* ─── SOCIAL ─── */
.social-section { background: #e0f2fe; }

.social-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}

.social-buttons { display: flex; gap: 12px; }

.btn-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  border: 2px solid var(--navy);
  color: var(--navy);
  transition: background .2s, color .2s;
}
.btn-social:hover { background: var(--navy); color: var(--white); }

.social-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.social-thumb {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 9 / 16;
  margin: auto;
}

.social-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.social-thumb:hover img { transform: scale(1.07); }

.social-embed {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.social-badge {
  position: absolute;
  top: 8px; left: 8px;
  width: 26px; height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background: var(--white);
}

.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.22);
  transition: background .2s;
}
.play-btn:hover { background: rgba(0,0,0,0.38); }
.play-btn svg { width: 32px; height: 32px; fill: white; }

/* ─── LOCATION ─── */
.location-section { background: var(--white); padding: 72px 80px; }

.location-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.location-features { list-style: none; margin: 20px 0 28px; }
.location-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--navy);
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-mid);
}
.location-features li:last-child { border-bottom: none; }
.feat-icon { font-size: 18px; }

.btn-map {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s;
}
.btn-map:hover { background: var(--blue-light); }

.map-container {
  border-radius: 16px;
  overflow: hidden;
  height: 320px;
  background: var(--gray-mid);
}
.map-container iframe { width: 100%; height: 100%; border: none; }

/* ─── CONTACT ─── */
.contact-section { background: var(--gray-light); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-form-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.contact-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-mid);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  background: var(--white);
  color: var(--navy);
  outline: none;
  transition: border-color .2s;
}
.contact-input:focus { border-color: var(--navy); }
.contact-input::placeholder { color: #b0b8c4; }

textarea.contact-input {
  width: 100%;
  min-height: 110px;
  resize: vertical;
  margin-bottom: 12px;
}

.btn-send {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.btn-send:hover { background: var(--blue-light); }

.contact-info-title { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 20px; }

.contact-items { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; }

.contact-item-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.contact-item-text { font-size: 12px; color: var(--gray-text); line-height: 1.4; }
.contact-item-text strong { display: block; font-size: 13px; color: var(--navy); font-weight: 600; margin-bottom: 2px; }

/* ─── FOOTER ─── */
footer {
  background: #071840;
  color: rgba(255,255,255,0.6);
  padding: 40px 80px 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr repeat(4, auto);
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  align-items: start;
}

.footer-tagline { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 8px; }

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: 12px; color: rgba(255,255,255,0.55); text-decoration: none; transition: color .2s; }
.footer-col ul a:hover { color: var(--sky); }

.footer-social { display: flex; gap: 10px; margin-top: 4px; }
.social-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: background .2s;
}
.social-icon:hover { background: rgba(255,255,255,0.18); }

.footer-bottom {
  display: flex;
  justify-content: center;
  padding-top: 20px;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* ─── WHATSAPP ─── */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  cursor: pointer;
  z-index: 200;
  text-decoration: none;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.1); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  section, .location-section, .contact-section { padding: 48px 24px; }
  footer { padding: 40px 24px 24px; }
  .hero { padding: 60px 24px; min-height: 400px; }
  .hero h1 { font-size: 34px; }
  .programs-grid { grid-template-columns: 1fr 1fr; }
  .social-grid { grid-template-columns: repeat(3, 1fr); }
  .location-inner { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .programs-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form-group { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
}
