
body {
    background-color: #000;
    color: #fff;
    font-family: "Oswald", Sans-serif;
    font-weight: bold;
    margin: 0;
    padding: 0;
}
header{
    width: 100%;
    height: 100vh;
}
/* Video de fondo */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: -2;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.764);
    z-index: -1;
}

/* Barra superior */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #000000aa;
    
}

.top-bar .contact-info a {
    text-decoration: none;
    color: #fff;
    margin-left: 15px;
    font-size: 16px;
}

.top-bar .contact-info a i {
    color: #e74c3c;
    margin-right: 10px;
}

.contact-btn {
  display: inline-block;
  background-color: #e74c3c;
  color: #fff;
  font-weight: bold;
  padding: 8px 20px;
  font-size: 16px;
  border: none;
  border-radius: 10px;
  text-transform: none;
 
  transition: all 0.4s ease-in-out;
  box-shadow: 0 0 15px rgba(231, 76, 60, 0.5);
  
  cursor: pointer;
}

.contact-btn:hover {
  background-color: #fff;
  color: #e74c3c;
  box-shadow: 0 0 25px rgba(231, 76, 60, 0.8), 0 0 50px rgba(231, 76, 60, 0.5);
  transform: scale(1.1) rotate(-1deg);
}
/* Estilo para el menú en escritorio */
 .nav-item.mobile-only .contact-btn {
        width: 90%;
        margin: 10px auto;
        font-size: 16px;
        display: block;
        text-align: center;
    }
.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    height: 60px;
}

.nav-menu .nav-item {
    margin: 0 35px;
}

.nav-menu .nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
}

.nav-menu .nav-link:hover {
    color: #e74c3c;
}

/* Estilos para el menú móvil */
.menu-toggle {
    display: none;
    font-size: 24px;
    color: white;
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
}
.close-menu {
    display: none; /* Ocultar por defecto */
}

.dropdown {
    position: relative;
}

/* Submenú oculto por defecto */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(0, 0, 0, 0.9);
    border-radius: 5px;
    min-width: 180px;
    padding: 10px 0;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}

/* Estilo de los enlaces del submenú */
.submenu-item {
    display: block;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
}

/* Cambia color al pasar el mouse */
.submenu-item:hover {
    background-color: #e74c3c;
}
.desktop-only {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
}

.mobile-only {
  display: none;
}
.audio-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    z-index: 1000;
    transition: background 0.3s;
}

.audio-control:hover {
    background: rgba(231, 76, 60, 0.9); /* Rojo oscuro al pasar el ratón */
}
/* Contenedor para el texto y el botón */
.intro-container {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    text-align: left;
    padding: 0 20%; /* Ajuste el 10% para centrar el texto ligeramente a la izquierda */
    box-sizing: border-box;
}

.intro-text {
    color: #fff;
}

.intro-text h1 {
    font-size: 70px;
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
}

.intro-btn {
    background-color: #e74c3c;
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    margin-top: 20px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.intro-btn:hover {
  background-color: #050101;
  box-shadow: 0 0 20px 5px rgba(231, 76, 60, 0.7); /* sombra roja moderna */
  transform: scale(1.05); /* efecto de expansión */
  z-index: 2;
}


/* Estilos para los iconos de redes sociales */
.social-icons {
    position: fixed;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1000; /* Asegúrate de que estén por encima de otros elementos */
}

.social-icons a {
    margin: 10px 0;
}

.social-icons img {
    width: 40px; /* Ajusta el tamaño del icono según lo desees */
    height: 40px;
    transition: transform 0.3s ease-in-out;
}

.social-icons img:hover {
    transform: scale(1.1); /* Efecto de zoom al pasar el ratón */
}

.nav-link1{
    display: none;
}


.top-bar, .nav-menu {
    transition: transform 0.3s ease, position 0.3s ease;
}

/* Al principio, el nav-menu no tiene posición fija */
.nav-menu {
    position: static; /* Mantenerlo en su lugar original */
}

/* Contenedor para la nueva sección de contenido */
.content-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Ocupa toda la altura de la pantalla */
    background-color: #2c3e50; /* Un color oscuro para diferenciarlo del video */
    padding: 40px;
    box-sizing: border-box;
    color: #fff;
    text-align: center;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.content-container h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.content-container p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.escoger-section {
    background-color: black;
    padding: 70px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Contenedor principal */
.escoger-contenedor {
    display: flex;
    max-width: 1150px;
    width: 100%;
    align-items: center;
    gap: 20px;
}

/* Contenedor de texto */
.escoger-texto {
    width: 50%;
    color: white;
}

.escoger-logo {
    width: 150px;
    margin-bottom: 10px;
    
}

.escoger-titulo {
    color: #c0392b;
    font-size: 24px;
    margin-bottom: 10px;
}

.escoger-descripcion {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.escoger-boton {
  display: inline-block;
  background-color: #e74c3c;
  color: #fff;
  font-weight: bold;
  padding: 8px 20px;
  font-size: 16px;
  border: none;
  border-radius: 10px;
  text-transform: uppercase;
 
  transition: all 0.4s ease-in-out;
  box-shadow: 0 0 15px rgba(231, 76, 60, 0.5);
  
  cursor: pointer;
}


.escoger-boton:hover {
  background-color: #fff;
  color: #e74c3c;
  box-shadow: 0 0 25px rgba(231, 76, 60, 0.8), 0 0 50px rgba(231, 76, 60, 0.5);
  transform: scale(1.1) rotate(-1deg);
}

/* Contenedor de galería */
.escoger-galeria {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 50%;
}

/* Tarjetas de imagen */
.escoger-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    display: block;
    text-decoration: none;
}

/* Imágenes */
.escoger-item img {
    width: 100%;
    display: block;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

/* Capa negra sobre la imagen */
.escoger-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

/* Efecto hover para resaltar la imagen */
.escoger-item:hover img {
    transform: scale(1.05);
}

/* Texto de la imagen */
.escoger-texto-imagen {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 2;
    color: white;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 5px;
    font-weight: bold;
}

/* Flecha dentro de un círculo */
.escoger-flecha {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background-color: red;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 18px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    z-index: 1;
}

/* Icono de FontAwesome */
.escoger-flecha i {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    z-index: 1;
}

/* Efecto hover en la flecha */
.escoger-item:hover .escoger-flecha {
    transform: scale(1.2);
    background-color: darkred;
}


/* Sección Principal */
.nueva-seccion {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Imagen de fondo con opacidad */
.nueva-imagen {
    position: relative;
    background: url('img/SilverGYm\ Insta\ 2023\ 03.jpg') center/cover no-repeat;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px;
    color: white;
}

.nueva-imagen::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Opacidad */
    z-index: 1;
}

.nueva-titulo,
.nueva-texto {
    position: relative;
    z-index: 2;
    max-width: 100%;
    width: 100%;
    margin: 10px 0;
    font-size: 16px;
    line-height: 1.6;
    text-align: center; /* o elimínalo si quieres que herede el alineado por defecto */
}

.nueva-titulo {
    font-size: 36px;
    font-weight: bold;
    padding-bottom: 2%;
}

.nueva-texto {
    width: 70%;
    font-size: 16px;
    padding-bottom: 2%;
}

/* Contenedor de los 3 apartados */
.nueva-contenedor {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    background-color: black;
}

.nueva-item {
    position: relative;
    width: 30%;
    text-align: center;
    color: white;
    overflow: hidden;
}

.nueva-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

/* Capa negra semitransparente sobre las imágenes */
.nueva-item .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.799); /* Negro con opacidad */
    z-index: 1; /* Asegura que esté encima de la imagen */
}

/* Efecto hover en imágenes */
.nueva-item:hover img {
    transform: scale(1.1);
}

/* Asegura que el texto quede encima de la imagen */
.nueva-item p {
    position: absolute;
    bottom: 10px;
    left: 50%;
    top:50%;
   
    transform: translateX(-50%);
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    z-index: 2; /* Asegura que el texto quede encima del overlay */
}
.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

.clientes{
    background-color: #111;
}
.testimonios {
    text-align: center;
    padding-top: 5%;
    font-size: 36px;
    color:#e74c3c;
    font-weight: bold;
  }

  .carrusel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 20px auto;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .carrusel {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    padding: 10px;
  }

  .reseña {
    flex: 0 0 calc(33.33% - 20px);
    background: #111;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(67, 67, 67, 0.67);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    text-align: center;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #555;
    
  }
  .reseña:hover {
    transform: translateY(-10px);
    box-shadow: 20px 20px 20px rgba(255, 255, 255, 0.4);
  }

  .reseña img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 10px;
  }

  .nombre {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 1.1rem;
  }

  .estrellas {
    color: gold;
    margin-bottom: 10px;
    font-size: 1.2rem;
  }

  .flechas {
    text-align: center;
    margin-top: 10px;
  }

  .flechas button {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 15px;
    margin: 0 5px;
    border-radius: 5px;
    cursor: pointer;
  }


/* Animación de desaparición al hacer scroll */
.nueva-seccion {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.nueva-seccion.scroll-hidden {
    opacity: 0;
    transform: translateY(50px);
}
.nueva-texto {
    max-width: 95%;
    font-size: 18px;
}

.google-reseñas {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
  }
  
  .btn-google {
    padding: 10px 20px;
    background-color: #fbbd0500;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease;
    border: 1px solid rgb(255, 217, 0);
    margin-top: 50px;
   
  }
  
  .btn-google:hover {
    background-color: #e0a800;
    color:#000;
  }
  
  .estrellas-doradas {
    font-size: 30px;
    color: rgb(255, 217, 0);
    margin-top: 10px;
    margin-bottom: 30px;
  }

  .presentacion-seccion {
    position: relative;
    overflow: hidden;
    height: 100dvh;
    width: 100vw;
  }
  
  .presentacion-video-fondo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }
  
  /* Mostrar solo el video de escritorio por defecto */
  .desktop-video {
    display: block;
  }
  
  .mobile-video {
    display: none;
  }
  
  /* Contenido superpuesto (solo para escritorio) */
  .presentacion-overlay {
    position: relative;
    z-index: 1;
    background-color: rgb(0, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
  }
  
  .presentacion-video-contenedor {
    width: 90%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    position: relative;
    
    
  }
  
  .presentacion-thumbnail {
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
  }
  
  .presentacion-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
  }
  
  .presentacion-boton-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: white;
    background: rgba(255, 0, 0, 0.8);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
  }
  
  .presentacion-boton-play:hover {
    transform: translate(-50%, -50%) scale(1.1);
  }

  .seccion-horarios {
    background-color: #111;
    color: white;
    text-align: center;
    padding: 40px 20px;
  }
  
  .titulo-horario {
    font-family: sans-serif;
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 40px;
    line-height: 1.2;
  }
  
  .titulo-horario strong {
    font-weight: 800;
    font-size: 36px;
  }
  
  .bloque-horario {
    margin-bottom: 30px;
  }
  
  .dia-horario {
    color: red;
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  .caja-horario {
    display: inline-block;
    background-color: #d9d9d9;
    color: red;
    font-weight: bold;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 24px;
  }


  /* PAGINA INSTALACIONES*/
  .intro-container_instalaciones {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    text-align: center;
    padding: 0 20%; /* Ajuste el 10% para centrar el texto ligeramente a la izquierda */
    box-sizing: border-box;
}
 
/* Títulos H1 */
.instalaciones-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #e74c3c;
  }
  
  /* Descripción */
  .instalaciones-descripcion p {
    font-size: 18px;
    color: white;
    margin-top: 20px;
    line-height: 1.6;
    font-weight: bold;
    
  }

  .carrusel-galeria {
    width: 100%;
  }
  
  .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 80vh; /* Altura máxima del carrusel */
  }


  .swiper-slide {
    position: relative;
    overflow: hidden;
    
  }
  
  .carrusel-img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .swiper-pagination-bullet{
    background-color: #c0392b;
  }
  
  /* Overlay negro con opacidad media */
  .carrusel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.431); /* Opacidad negra al 50% */
    z-index: 1;
  }

  .gym-info-section {
    background-image: url('img/pesas1.jpg'); /* Usa tu imagen de fondo */
    background-size: cover;
    background-position: center;
    position: relative;
   
    width: 100%;
  }
  
  .gym-info-overlay {
    background-color: rgba(0, 0, 0, 0.851); /* capa oscura encima de la imagen */
    width: 100%;
   
    padding: 60px 20px;
    box-sizing: border-box;
  }
  
  .gym-info-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 100%;
    gap: 40px;
    color: white;
    text-align: center;
  }
  
  .info-box {
    flex: 1 1 250px; /* antes: 200px */
    max-width: 280px; /* más espacio para los títulos */
    padding: 20px;
    box-sizing: border-box;
  }
  
  .icon-img {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: block;
    object-fit: contain;
  }
  
  .info-box h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #fff;
    font-weight: bold;
    white-space: normal; /* permite líneas múltiples si es necesario */
  }
  
  .info-box p {
    font-size: 0.95rem;
    color: #ccc;
  }



/*SECTION CONOCENOS*/
.intro-container{
  padding: 0 8%;
}
.titulo-conocenos {
  color: white;
  font-size: 80px;
  margin-bottom: 1rem;
  padding-top: 0;
  text-align: left;
}

.subtitulo-rojo {
  color: #e74c3c;
  font-size: 1.5rem;
  margin-top: 1rem;
  text-align: left;
  padding-bottom: 5%;
  
}
.logo-inline {
  width: 120px;
  vertical-align: middle;
  display: inline;
  margin: 0 10px;
}
.conocenos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  
  align-items: center;
}

.conocenos-logo-texto,
.intro-derecha {
  flex: 1 1 45%;
}
.conocenos-logo-texto h1{
font-size: 50px;
}
.conocenos-logo-texto{
  padding-right: 5%;
}
.intro-derecha {
  color: white;
  font-size: 18px;
  
}
.intro-btn_conocenos {
  padding: 12px 24px;
  background-color: rgba(255, 0, 0, 0);
  border: 1px solid red;
  color: white;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.intro-btn_conocenos:hover {
  background-color: rgb(251, 10, 10);
}


.nuestra-historia-section {
  background-color: #111; /* Fondo oscuro como en tu header */
  color: white;
  padding: 80px 10%;
  text-align: center;
}

.nuestra-historia-titulo {
  font-size: 48px;
  margin-bottom: 40px;
  color: white;
  text-transform: uppercase;
}

.nuestra-historia-texto {
  font-size: 18px;
  line-height: 1.8;
  text-align: left; /* Cambiado de justify a left */
  max-width: 1000px;
  margin: 0 auto 60px;
  letter-spacing: normal; /* Evita espaciados artificiales entre letras */
  word-spacing: normal;
}

.nuestra-historia-texto p {
  margin-bottom: 20px;
}

.nuestra-historia-logo img {
  width: 180px;
  opacity: 0.9;
  transition: transform 0.3s ease;
}
.nuestra-historia-logo img:hover {
  transform: scale(1.1);
}
.nuestra-historia-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.equipo-section {
  background-image: url('img/fondonosotros.jpg'); /* Cambia a tu imagen */
  background-size: cover;
  background-position: center;
  position: relative;
  
}

.equipo-overlay {
  background-color: rgba(0, 0, 0, 0.876); /* Capa negra con opacidad */
  padding: 60px 10%;
  position: relative;
  z-index: 2;
}

.equipo-titulo {
  font-size: 48px;
  margin-bottom: 60px;
  color: #fff;
  text-align: left;
  padding-left: 2%;
}

.equipo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 80px;
}

.card-entrenador {
  background-color: #1a1a1a;
  border-radius: 15px;
  padding: 20px;
  width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
  text-align: center;
  overflow: hidden;
}

.card-entrenador img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.card-entrenador h3 {
  color: #e74c3c;
  font-size: 24px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.card-entrenador H2{
  padding-bottom: 10px;
}
.card-entrenador p {
  font-size: 15px;
  color: #ccc;
  line-height: 1.5;
}

/* Efecto de relieve al pasar el mouse */
.card-entrenador:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.card-entrenador:hover img {
  transform: scale(1.05);
}
.seccion-gimnasio {
  background-color: #111; /* Fondo oscuro */
  color: #fff;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.gimnasio-contenido {
  max-width: 900px;
  text-align: left;
}

.gimnasio-contenido h2 {
  color: #e74c3c; /* Rojo intenso */
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.gimnasio-contenido p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.gimnasio-contenido .marca {
  color: #e74c3c;
  font-weight: bold;
  letter-spacing: 1px;
}
.boton-unete-container {
  text-align: center;
  margin-top: 40px;
}

.btn-unete {
  display: inline-block;
  background-color: #e30613;
  color: #fff;
  font-weight: bold;
  padding: 14px 40px;
  font-size: 18px;
  border: none;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s ease-in-out;
  box-shadow: 0 0 15px rgba(227, 6, 19, 0.5);
  animation: bounce 2s infinite;
}

.btn-unete:hover {
  background-color: #fff;
  color: #e30613;
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.8), 0 0 50px rgba(255, 0, 0, 0.5);
  transform: scale(1.1) rotate(-1deg);
}


/* Animación tipo bounce */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-6px);
  }
  60% {
    transform: translateY(-3px);
  }
}




/* TARIFAS */
.tarifas-section {
  background-color: #111;
  padding: 60px 20px;
  color: white;
  overflow-x: hidden; /* Evita scroll horizontal */
}

.fila-uno,
.fila-dos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 60px auto;
}

.tarifa-card {
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 3px solid transparent;
  width: 100%; /* para asegurar 100% del ancho disponible */
  box-sizing: border-box;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.485); /* sombra leve por defecto */
}

.tarifa-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  letter-spacing: 1px;
  font-weight: bold;
}

.tarifa-card .icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

.tarifa-card .precio {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.tarifa-card .precio span {
  display: block;
  font-size: 1rem;
  margin-top: 5px;
}

.tarifa-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  font-size: 1rem;
  text-align: left;
}

.tarifa-card ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center; /* 🔥 Centra el contenido horizontalmente */
  gap: 10px;
  text-align: center;
}

.check-icon {
  width: 20px;
  height: 20px;
}

.tarifa-btn {
  background-color: #e74c3c;
  color: white;
  border: none;
  padding: 10px 30px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tarifa-btn:hover {
  background-color: white;
  color: #e74c3c;
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.8), 0 0 50px rgba(255, 0, 0, 0.5);
  transform: scale(1.05) rotate(-1deg);
}

.tarifa-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.6), 0 0 50px rgba(255, 255, 255, 0.3);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.tarifa-card.black {
  background-color: #000;
  border: 3px solid #e74c3c;
  color: white;
}

.tarifa-card.red {
  background-color: #e74c3c;
  border: 3px solid white;
  color: white;
}
.tarifas-header-content {
  margin-top: 20px;
}

.tarifas-title {
  font-size: 3rem;
  color: #e74c3c;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.1);
}

.tarifas-subtitle {
  font-size: 1.2rem;
  color: #ccc;
  text-transform: uppercase;
  letter-spacing: 1px;
}


/* ACTIVIDADES AL AIRE LIBRE */

.seccion-aire-libre {
  background-color: #111;
  color: #fff;
  padding:10%;
}

/* Card completo */
.aire-card {
  background-color: #1c1c1c;
  border-radius: 15px;
  margin: 20px auto;
  padding: 30px;
  max-width: 1200px;
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aire-card:hover {
  transform: scale(1.01);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

/* Bloque izquierdo - texto */
.bloque-texto {
  flex: 1;
  padding: 10px;
  text-align: left;
}

.logo-bloque {
  width: 50%;
  margin-bottom: 15px;
}

.bloque-texto h2 {
  font-size: 2rem;
  margin: 10px 0;
  color: #e74c3c;
}

.bloque-texto p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Bloque derecho - video */
.bloque-video-contenido {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bloque-video-contenido video {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.bloque-video-contenido video:hover {
  transform: scale(1.02);
}



/* ACTIVIDADES EN EL GYM*/

.gym-actividades-section {
  background-color: black;
  padding: 70px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gym-actividades-contenedor {
  max-width: 1200px;
  width: 100%;
}

.gym-actividades-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.actividad-card {
  width: 32%;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  text-decoration: none;
}

.actividad-card img {
  width: 100%;
  display: block;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.actividad-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

.actividad-card:hover img {
  transform: scale(1.05);
}

.actividad-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
  color: white;
  background-color: rgba(0, 0, 0, 0);
  padding: 5px 10px;
  font-size: 14px;
  border-radius: 5px;
  font-weight: bold;
  margin: 0;
}

.actividad-flecha {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background-color: red;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 18px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  z-index: 2;
}

.actividad-card:hover .actividad-flecha {
  transform: scale(1.2);
  background-color: darkred;
}

/* MAQUINAS */

.seccion-hammer {
  background-color: #111;
  color: #eee;
  padding: 60px 20px;
  font-family: 'Arial', sans-serif;
}

.hammer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto 50px auto;
  text-align: center;
}

.hammer-logo img {
  max-width: auto;
}

.hammer-titulo h2 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.4;
}
.hammer-maquinas p{
  font-size: 18px;
}
.seccion-hammer hr {
  width: 70%;
  height: 2px;
  background-color: #fff;
  border: none;
  margin: 0 auto;
  margin-bottom: 10%;
}

.hammer-maquinas {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.hammer-bloque {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hammer-texto {
  flex: 1;
  min-width: 280px;
  font-size: 16px;
  line-height: 1.6;
}

.hammer-img {
  flex: 1;
  min-width: 280px;
}

.hammer-img img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}
.hammer-subtitulo {
  font-size: 26px;
  color: #e74c3c;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-weight: bold;
}


  /* Responsividad: en móviles, apilar elementos */


@media (max-width: 768px) {
    .nueva-contenedor {
        flex-direction: column;
        gap: 10px;
    }

    .nueva-item {
        width: 100%;
    }
    .nueva-texto {
        width: 95%;
        font-size: 18px;
        padding-bottom: 5%;
    }
}

/* Estilos del menú en móviles */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
        gap:35px;
        z-index: 1002;
    }

    .nav-menu.active {
        transform: translateY(0);
        
    }

    .nav-item {
        margin: 50px 0;
        gap: 35px;
        display: flex;               /* Necesario para aplicar justify-content */
        justify-content: center;     /* Centra horizontalmente */
        align-items: center;         /* Centra verticalmente */
        flex-direction: column;      /* Opcional: para apilar elementos verticalmente */
        text-align: center;          /* Centra texto si hay */
      }

    .nav-link {
        font-size: 24px;
        
    }
    

    .close-menu {
        position: absolute;
        top: 20px;
        right: 30px;
        font-size: 36px;
        color: #e74c3c;
        cursor: pointer;
        display: block;
    }
    .contact-info {
        display: flex;
        flex-direction: column; /* Alinea los elementos en columna */
        gap: 5px; /* Espacio entre ellos */
    }
    
    .contact-info a {
        display: flex; /* Hace que cada enlace se comporte como un bloque flexible */
        align-items: center; /* Alinea el icono y el texto */
        text-decoration: none;
        color: #fff;
        font-size: 16px;
    }
    .contact-btn{
        display: none;
    }
     .dropdown:hover .submenu {
        display: block;
    }
    .intro-container {
        padding: 0 20px; /* Aumentar el padding para pantallas pequeñas */
        text-align: center;
    }

    .intro-text h1 {
        font-size: 35px; /* Reducir el tamaño del texto en pantallas pequeñas */
    }

    .intro-btn {
        padding: 12px 25px;
        font-size: 16px; /* Reducir el tamaño del botón en pantallas pequeñas */
    }
    .social-icons {
        
        display: none;
        
    }

    .nav-link1{
        display: block;
    }
      .escoger-contenedor {
        flex-direction: column;
        text-align: center;
    }
    .escoger-logo {
      width: 150px;
      margin: 40px auto 10px auto;
      display: block;
  }
  
    .escoger-texto {
        width: 100%;
    }

    .escoger-galeria {
        width: 100%;
        grid-template-columns: 1fr; /* Una sola columna */
    }

    .escoger-boton {
        display: block;
        width: fit-content;
        margin: 0 auto;
        margin-bottom: 30px;
    }

    .nueva-imagen {
      padding: 0 10px;
  }

  .nueva-texto {
      width: 100%;
      display: block;
      /* text-align: left mantiene el espaciado natural */
  }

  .nueva-imagen img.escoger-logo {
    display: block;
    margin: 40px auto 0 auto; /* 40px arriba, centrado horizontalmente */
    width: 120px;
  }

  .nueva-titulo {
      text-align: center;
      font-size: 24px;
  }
    .testimonios{
        padding-top: 20%;
    }
    .flechas {
        display: none;
      }
    
      .flechas button {
       display: none;
      }
      .desktop-video {
        display: none;
      }
    
      .mobile-video {
        display: block;
      }
    
      .presentacion-video-contenedor {
        width: 100%;
        height: 100%;
      }
      .presentacion-seccion {
        position: relative;
        width: 100vw;
        height: 100dvh; /* Ocupa todo el alto real de la pantalla, incluso en móviles */
        overflow: hidden;
      }
      .presentacion-thumbnail {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
      }
      .presentacion-video-contenedor {
        position: relative;
        width: 100%;
        height: 100%;
        max-width: none;
        aspect-ratio: unset;
      }
      .presentacion-boton-play {
        width: 60px;
        height: 60px;
        font-size: 40px;
      }
    
      .presentacion-overlay {
        position: absolute;
        z-index: 1;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        display: flex;
        justify-content: center;
        align-items: center;
      }
      .swiper-slide img {
        max-height: 60vh;
      }
      .swiper-pagination {
        display: none !important;
      }

      .gym-info-content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
      }
    
      .info-box {
        max-width: 90%;
      }
    
      .icon-img {
        width: 50px;
        height: 50px;
      }
    
      .info-box h3 {
        font-size: 1.5rem;
      }
    
      .info-box p {
        font-size: 1rem;
      }

      .conocenos-grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }
    
      .conocenos-logo-texto,
      .intro-text.intro-derecha {
        max-width: 100%;
      }
    
      .conocenos-logo-texto h1 {
        font-size: 2.5rem;
      }
    
      .subtitulo-rojo {
        font-size: 1.2rem;
      }
    
      .intro-text.intro-derecha p {
        font-size: 0.95rem;
      }
      .intro-derecha {
        color: white;
        font-size: 1rem;
        padding-top: 0;
      }
      .conocenos-logo-texto, .titulo-conocenos, .subtitulo-rojo {
        text-align: center;
      }
      .fila-uno,
  .fila-dos {
    grid-template-columns: 1fr;
    padding: 0 10px;
  }

  .tarifa-card {
    width: 100%;
    margin: 0 auto;
  }

  .tarifas-section {
    padding: 40px 10px;
  }
  .aire-card {
    flex-direction: column;
    padding: 20px;
  }

  .bloque-texto {
    text-align: center;
  }

  .bloque-video-contenido video {
    width: 100%;
    height: 300px;
    object-fit: cover;
  }
  .logo-bloque {
    display: flex;
    justify-content: center;
    align-items: center; /* si también quieres centrar verticalmente */
    margin: 0 auto 15px auto;
    width: 50%; /* o el tamaño que prefieras, pero que se centre mejor */
  }
  .reseña {
    flex: 0 0 100%;
    height: auto;
  }
   .actividad-card {
    width: 100%;
  }
  .hammer-bloque {
    flex-direction: column;
    text-align: center;
    
  }
  .hammer-bloque p{
    margin-bottom: 30%;
  }
  .fila-1 .hammer-img {
    order: 1;
  }

  .fila-1 .hammer-texto {
    order: 2;
   
  }

  .fila-2 .hammer-img {
    order: 1;
  }

  .fila-2 .hammer-texto {
    order: 2;
    
  }
  .nuestra-historia-texto {
    text-align: start;
    letter-spacing: normal;
    padding: 0 15px; /* añade margen interno para que no quede pegado a los bordes */
  }
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    padding: 10px 0;
    bottom: 0;
  }
  .social-icons{
   display: none;
  }
}

@media screen and (max-width: 480px) {
    .intro-container {
        padding: 0 10px; /* Ajuste aún más el padding para dispositivos muy pequeños */
    }

    .intro-text h1 {
        font-size: 30px; /* Reducir aún más el tamaño del texto */
    }

    .intro-btn {
        padding: 10px 20px;
        font-size: 14px; /* Ajustar el tamaño del botón */
    }
}
.show-submenu {
    display: block !important;
}
