/* ==========================
   ESTILOS GENERALES
========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  background: url('img/fondo.jpeg') no-repeat center center/cover;
  background-attachment: fixed;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-weight: 700;
}

/* ==========================
   NAVBAR FIJA
========================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  z-index: 1000;
  border-bottom: 2px solid #00ffaa;
}

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

.logo img {
  width: 45px;
  height: 45px;
  border-radius: 10px;
}

.logo span {
  font-size: 1.2rem;
  font-weight: 600;
  color: #00ffe0;
  text-shadow: 0 0 8px #00ffa3;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s, transform 0.3s;
}

.nav-links li a:hover {
  color: #00ffaa;
  transform: scale(1.05);
}

/* ==========================
   HEADER / HERO
========================== */
.hero {
  position: relative;
  min-height: 45vh;        /* altura más compacta */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 40px 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom right, rgba(0, 180, 216, 0.6), rgba(0, 100, 150, 0.6));
  z-index: 1;
}

.hero-content {
  z-index: 2;
  padding: 20px;
}

.titulo-principal {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 10px #00ffe0, 0 0 20px #00aaff;
  animation: brillo 2s infinite alternate;
}

.slogan {
  font-size: 1.2rem;
  margin: 15px 0 25px;
  color: #eaffff;
}

@media (max-width: 768px) {
  .hero {
    min-height: 60vh;   /* un poco más alto en móvil */
    padding: 30px 0;
  }

  .titulo-principal {
    font-size: 2.2rem;
  }

  .slogan {
    font-size: 1rem;
  }
}

@keyframes brillo {
  from { text-shadow: 0 0 10px #00ffe0, 0 0 20px #00aaff; }
  to   { text-shadow: 0 0 25px #00ffff, 0 0 40px #0088ff; }
}

.slogan {
  font-size: 1.3rem;
  margin: 20px 0 30px;
  color: #eaffff;
}

.botones-hero {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.boton, .boton-mapa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, background 0.3s ease;
}

.boton {
  background: linear-gradient(45deg, #00b4d8, #009688);
}

.boton:hover {
  transform: scale(1.05);
  background: linear-gradient(45deg, #009688, #00b4d8);
}

.boton-mapa {
  background: linear-gradient(45deg, #34a853, #2e7d32);
}

.boton-mapa:hover {
  transform: scale(1.05);
  background: linear-gradient(45deg, #2e7d32, #34a853);
}

.icono-whatsapp, .icono-mapa {
  width: 28px;
  height: 28px;
}

/* ==========================
   ACCESOS RÁPIDOS
========================== */
.accesos-rapidos {
  text-align: center;
  padding: 80px 20px;
  background: rgba(0, 180, 216, 0.15);
  border-top: 4px solid #00ffaa;
  border-bottom: 4px solid #00ffaa;
}

.accesos-rapidos h2 {
  font-size: 2.2em;
  margin-bottom: 25px;
  color: #fff;
  text-shadow: 0 0 8px #00ffff;
}

.accesos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  padding: 0 10px;
}

.acceso {
  background: #fff;
  color: #000;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.acceso img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.acceso span {
  display: block;
  padding: 12px;
  background: #00b4d8;
  color: #fff;
  font-weight: 600;
}

.acceso:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.5);
}

/* ==========================
   SECCIÓN RESERVA
========================== */
.reserva-section {
  background: rgba(0, 0, 0, 0.6);
  padding: 80px 20px;
  text-align: center;
  border-top: 4px solid #00ffaa;
  border-bottom: 4px solid #00ffaa;
}

.reserva-section h2 {
  font-size: 2.2em;
  margin-bottom: 10px;
  color: #00ffe0;
}

.reserva-section p {
  color: #e0ffff;
  margin-bottom: 30px;
}

#formReserva {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

#formReserva input, #formReserva button {
  padding: 12px 18px;
  border-radius: 10px;
  border: none;
  font-size: 1rem;
}

#formReserva input {
  width: 220px;
  background: rgba(255, 255, 255, 0.9);
  color: #000;
}

.btn-reservar {
  background: linear-gradient(45deg, #009688, #00b4d8);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s, background 0.3s;
}

.btn-reservar:hover {
  transform: scale(1.05);
  background: linear-gradient(45deg, #00b4d8, #009688);
}

/* ==========================
   BOTONES DE INFORMACIÓN
========================== */
.botones-informacion {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin: 60px 0;
}

.btn-info {
  background: linear-gradient(45deg, #0078D7, #00b4d8);
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s, background 0.3s;
}

.btn-info:hover {
  transform: scale(1.1);
  background: linear-gradient(45deg, #005bb5, #009688);
}

/* ==========================
   MODALES GENERALES
========================== */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  align-items: center;
  justify-content: center;
}

.modal-content, .modal-contenido {
  background: #fff;
  color: #000;
  padding: 25px;
  width: 90%;
  max-width: 700px;
  border-radius: 15px;
  position: relative;
  text-align: left;
  animation: aparecer 0.4s ease;
}

@keyframes aparecer {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.close-btn, .cerrar {
  position: absolute;
  top: 15px; right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: red;
  cursor: pointer;
}

.close-btn:hover, .cerrar:hover {
  color: darkred;
}

/* ==========================
   COMENTARIOS
========================== */
.comentario {
  background: #f5f5f5;
  padding: 12px;
  margin: 10px 0;
  border-radius: 10px;
}
.respuesta {
  margin-top: 5px;
  padding-left: 15px;
  border-left: 3px solid #0078D7;
  color: #333;
  font-size: 0.9em;
}

/* ==========================
   FOOTER Y REDES
========================== */
footer {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(to right, rgba(0,150,200,0.8), rgba(0,200,150,0.8));
  border-top: 4px solid #00ffaa;
}

footer p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.social-box {
  margin: 0 auto;
  padding: 20px;
  max-width: 600px;
  background: #009688;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.social-links {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 15px;
}

.social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: transform 0.3s;
}

.social-item img {
  width: 40px;
  height: 40px;
  margin-bottom: 5px;
}

.social-item:hover {
  transform: scale(1.1);
}

/* ==========================
   BOTÓN FLOTANTE WHATSAPP
========================== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 13000;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  padding: 10px 18px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 200, 0, 0.7);
  animation: pulso 1.5s infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 200, 0, 0.9);
}

.whatsapp-float img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

.whatsapp-text {
  font-size: 1.1rem;
  font-weight: bold;
  color: white;
}

@keyframes pulso {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* ==========================
   RESPONSIVO
========================== */
@media (max-width: 768px) {
  .titulo-principal {
    font-size: 2.3rem;
  }

  .nav-links {
    display: none;
  }

  .hero {
    height: 90vh;
  }

  #formReserva input {
    width: 100%;
  }
}

/* ==========================
   GALERÍA DE VIDEOS (videos.html)
========================== */
.videos-section {
  background: rgba(0, 0, 0, 0.6);
  padding: 80px 20px;
  text-align: center;
  border-top: 4px solid #00ffaa;
  border-bottom: 4px solid #00ffaa;
}

.videos-section h2 {
  font-size: 2.2em;
  margin-bottom: 15px;
  color: #00ffe0;
}

.videos-section p {
  color: #e0ffff;
  margin-bottom: 30px;
}

.videos-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  justify-items: center;
}

.video-card {
  background: #fff;
  border-radius: 15px;
  padding: 15px;
  width: 90%;
  max-width: 350px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}

.video-card:hover {
  transform: scale(1.03);
}

.video-card video {
  width: 100%;
  border-radius: 10px;
}

.video-card p {
  color: #000;
  font-weight: 600;
  margin-top: 10px;
  text-transform: capitalize;
}
/* ===== Modal de Video ===== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 10px;
}

.modal-content {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 95%;
  max-height: 95%;
}

.modal-content video {
  width: 700px;          /* tamaño aprox 18cm */
  height: auto;          /* mantiene proporción */
  max-width: 100%;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
  cursor: pointer;
  object-fit: cover;
}

/* Móviles: el video ocupa casi toda la pantalla */
@media (max-width: 768px) {
  .modal-content video {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
}
/* 🔊 Botón de activar audio */
#btnAudio {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  cursor: pointer;
  z-index: 9999;
  display: none;
  transition: background-color 0.3s ease;
}

/* Efecto hover */
#btnAudio:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Efecto de parpadeo para llamar la atención */
@keyframes parpadeo {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

#btnAudio {
  animation: parpadeo 1.5s infinite;
}
