/* ========================== */
/* 🌟 SECCIÓN SOBRE EL CLUB */
/* ========================== */

.conocenos-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: auto;
  text-align: center;
  align-items: center;
}

.conocenos-title {
  text-align: center;
  font-family: 'Anton', sans-serif;
  color: var(--gold);
  font-size: 2.3rem;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  text-shadow: none;
}

.conocenos-subtitle {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 2rem;
  margin-top: 1rem;
  margin: 0 auto 0 auto;
}


/* ========================== */
/* 🧑‍🏫 ENTRENADORES SECTION */
/* ========================== */
.entrenadores-section {
  padding: 2rem 2rem;
  max-width: 90%;
  margin: 0 auto;
}

.entrenadores-section h2 {
  font-family: 'Anton', sans-serif;
  font-size: 2.3rem;
  color: var(--gold);
  text-align: center;
  margin-bottom: 3rem;
}

.entrenadores-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}



/* 🎴 Tarjeta de Entrenador */


/* Imagen del entrenador */

.entrenador-card {
  position: relative;
  width: 280px;
  height: 360px;
  border-radius: 16px;
  overflow: hidden;
  /* Esto recortará la imagen si es muy grande, pero background-size: cover lo gestionará */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* Para empujar el texto (h3 y p) hacia abajo */
  align-items: center;
  padding: 1rem;
  text-align: center;
  /* Quita cualquier background-image o background-color fuerte que tuvieras aquí, */
  /* ya que la imagen de fondo se manejará con JavaScript y el degradado con ::before */
  /* background-color: #000; /* Puedes dejarlo como fallback si la imagen no carga */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.entrenador-card::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Cubre todo el área de la tarjeta */
  /* Degradado: empieza negro opaco abajo, se vuelve transparente al 50% */
  background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 25%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
  /* Esto coloca el degradado sobre la imagen de fondo */
  pointer-events: none;
  /* Crucial para que el ::before no bloquee eventos del ratón */
}

.entrenador-card img {
  position: absolute;
  top: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
  z-index: 2;
}

/* Nombre */
.entrenador-card h3 {
  position: relative;
  z-index: 3;
  color: var(--gold);
  font-family: 'Anton', sans-serif;
  font-size: 1.3rem;
  margin-top: auto;
}

/* Nombre */
.overlay-card h3 {
  position: relative;
  z-index: 3;
  color: var(--gold);
  font-family: 'Anton', sans-serif;
  font-size: 1.3rem;
  margin-top: auto;
}

/* Cargo o descripción */
.entrenador-card p {
  position: relative;
  z-index: 3;
  color: #ccc;
  font-size: 0.9rem;
  margin-top: 0.25rem;
  min-height: 2.52rem;
}

/* Hover */
.entrenador-card img:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.25);
}

.entrenador-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.overlay-card {
  background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 25%, rgba(0, 0, 0, 0) 100%);
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  color: white;
  position: relative;
  text-align: left; /* ✅ Alineación izquierda del texto */
  display: flex;
  flex-direction: column;
  align-items: center; /* ✅ Centrar la imagen */
}


.overlay-img {
  width: 50%;
  height: 250px;
  background-size: cover;
  background-position: initial; /* mejor para centrar bien la imagen */
  border-radius: 8px;
  margin-bottom: 1rem;
}


.overlay-close {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

.rol-overlay {
  font-size: 0.9rem;
  color: #aaa;
  margin-top: 0.5rem;
}

.valores-section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.valores-section h2 {
  font-family: 'Anton', sans-serif;
  font-size: 2.3rem;
  color: var(--gold);
  margin-bottom: 2rem;
}

.valores-text {
  color: #ccc;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.valores-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 700px;
  text-align: left;
}

.valores-list li {
  font-size: 1rem;
  color: #ddd;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.valores-list li::before {
  content: "✔️";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.innovaciones-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.innovaciones-section h2 {
  font-family: 'Anton', sans-serif;
  font-size: 2.3rem;
  color: var(--gold);
  margin-bottom: 3rem;
}

.innovacion-bloque {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
}

.innovacion-bloque.reverse {
  flex-direction: row-reverse;
}

.innovacion-texto {
  flex: 1 1 400px;
  text-align: left;
  color: #ccc;
}

.innovacion-texto h3 {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 1rem;
  font-family: 'Anton', sans-serif;
}

.innovacion-texto ul {
  list-style: none;
  padding-left: 0;
}

.innovacion-texto ul li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.innovacion-texto ul li::before {
  content: "✔️";
  position: absolute;
  left: 0;
}

.creditos, .nota {
  font-size: 0.9rem;
  color: #999;
  margin-top: 1rem;
  font-style: italic;
}

.innovacion-imagen img {
  max-width: 300px;
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: rotate(-10deg);
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.4));
}

