html {
  scroll-behavior: smooth;
}

/*Letras*/
@font-face {
  font-family: 'Montserrat';
  src: url('Montserrat-Regular.ttf') format('truetype');
}

body {
  margin: 0;
  font-family: 'Montserrat';
  background-color: #f0f0f0;
  color: #333;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

h1, h2 {
  margin-bottom: 20px;
}

.banner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 30px;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  flex-wrap: wrap;
  gap: 20px;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

.logo {
  height: 60px;
  object-fit: contain;
}

.vertical-line {
  width: 2px;
  height: 40px;
  background-color: #ccc;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 5px 10px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #45a494;
}


.btn-banner {
  background-color: #25d366;
  color: white;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.btn-banner:hover {
  background-color: #1ebc59;
}

.promo {
  position: relative;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;    
  padding-top: 60px;
}

.promo-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.promo-text {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
}

.textote{
  font-size: 50px;
  text-shadow: 0 2px 4px rgba(0,0,0,1);
}
.textito{
  font-size: 10px;
  padding-top: 50px;
}
.mxn{
  font-size: 20px;
}
.galeria{
  font-size: 30px;
  padding-bottom: 25px;
}

@media (max-width: 768px) {
  .promo-text {
  z-index: 1;
  width: 70%;
  max-width: 200px;
  }
  .textote{
  font-size: 30px;
  }
  .textito{
    font-size: 7px;
  }
  .mxn{
    font-size: 10px;
  }
  .galeria{
  font-size: 25px;
  padding-bottom: 15px;
  }
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Asegura que el video quede detrás del texto */
}

video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Esto asegura que el video cubra toda el área sin deformarse */
}

.carousel-section {
  padding: 40px 20px;
  background: #f0f0f0;
  text-align: center;
}

.carousel-container {
  overflow: hidden;
  margin-top: 20px;
}

.carousel {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  padding: 20px 0;
  scroll-behavior: smooth;
  scrollbar-color: #8bd0c2 #f0f0f0;
  scrollbar-width: thin;
}

.carousel img {
  height: 200px;
  min-width: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.4s, box-shadow 0.3s;
  cursor: pointer;
}

.carousel img:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}


.carousel-btn {
  display: none;
}

.benefits {
  background: #f0f0f0;
  padding: 40px 20px;
  text-align: center;
}

.cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  width: 280px;
  padding: 20px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  border-radius: 10px;
  height: 170px;
  object-fit: cover;
  margin-bottom: 10px;
}

.nearby {
  padding: 40px 20px;
  background: #8bd0c2;
  text-align: center;
}

.nearby-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
}

.nearby iframe {
  width: 100%;
  max-width: 500px;
  height: 300px;
  border-radius: 10px;
  border: none;
}

.nearby ul {
  list-style: none;
  padding-left: 0;
  font-size: 1.1rem;
  text-align: left;
  max-width: 300px;
}

.contact {

  background: #45a494;
  color: white;
  text-align: center;
  padding-top: 10px;
}

.contact a {
  display: inline-block;
  background: white;
  color: #45a494;
  text-decoration: none;
  padding: 15px 25px;
  margin: 10px;
  border-radius: 30px;
  font-weight: bold;
  transition: 0.3s;
}

.contact a:hover {
  background: #f6f6f6;
  transform: scale(1.05);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
}

/* Imagen centrada exactamente en pantalla */
.modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 80vw;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  object-fit: contain;
  z-index: 101;
}

/* Botones de navegación */
.modal-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  font-size: 2.5rem;
  color: white;
  padding: 10px;
  cursor: pointer;
  z-index: 102;
}

.modal-nav.prev { left: 5%; }
.modal-nav.next { right: 5%; }

.close {
  position: fixed;
  top: 25px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 103;
}

.close:hover {
  color: #bbb;
}


.modal-nav:hover {
  background: rgba(255,255,255,0.5);
}

.modal-nav.prev {
  left: 5%;
}

.modal-nav.next {
  right: 5%;
}

.close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #bbb;
}

/* Animaciones */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px);}
  to { opacity: 1; transform: translateY(0);}
}

.reservas {
  padding: 30px;
  background: #f0f0f0;
  align-items: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap; 
  gap: 20px;  
}

.reservas h2 {
  width: 100%;
  margin-bottom: 1rem;
}


.reserva-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

#calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  padding: 10px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

#calendar div {
  aspect-ratio: 1 / 1;
  width: 100%;
  padding: 0;
  background-color: #e3f2fd;
  text-align: center;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.85rem;
  color: #0277bd;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}


#calendar div:hover {
  background-color: #bbdefb;
  transform: scale(1.05);
}

#calendar .selected {
  background-color: #0288d1;
  color: white;
  font-weight: bold;
  transform: scale(0.8);
  border-radius: 6px;
}

#reserva-form {
  flex: 1;
  min-width: 300px;
  max-width: 500px;  /* antes estaba en 400px */
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-top: 10px;
  box-sizing: border-box;  /* evita que el padding expanda el ancho */
}

#reserva-form input,
#reserva-form button {
  padding: 12px;
  font-size: 1rem;
  border-radius: 5px;
  border: 1px solid #ddd;
  width: 100%;
  box-sizing: border-box;
}

#reserva-form button {
  background: #00a8ff;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

#mensaje {
  margin-top: 20px;
  font-weight: bold;
}

#reserva-form {
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-top: 10px;
}

#reserva-form input,
#reserva-form button {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-top: 10px;
}

#reserva-form button {
  background-color: #00a8ff;
  color: white;
  font-weight: bold;
  border: none;
  transition: background 0.3s;
}

#reserva-form button:hover {
  background-color: #007acc;
}

.reserva-layout {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 20px;
  align-items: center;
}

.calendar-container {
  background: #ffffff;
  border-radius: 12px;
  width: 100%;
  flex: 1;
  padding: 1rem;
  background-color: #f9f9f9;
  min-width: 300px;
  max-width: 700px;  /* antes estaba en 420px */
  border: 1px solid #ccc;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.calendar-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.calendar-controls button {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #1976d2;
}

.calendar-controls h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

.calendar-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: bold;
  font-size: 0.85rem;
  color: #333;
  margin-bottom: 8px;
}


#calendar .reserved {
  background-color: #e0e0e0;
  color: #aaa;
  cursor: not-allowed;
  box-shadow: none;
}

#calendar .vacio {
  visibility: hidden;
}

/* El formulario ocupará el espacio disponible también */
#reserva-form {
  flex: 1;
  min-width: 300px; /* Para que el formulario también se ajuste bien */
  display: flex;
  flex-direction: column;
  gap: 10px;  /* Espacio entre los elementos del formulario */
}


.reserva-contenido {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem; /* Espacio entre el calendario y el formulario */
  justify-content: center; /* Centra los elementos */
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 70%;
}

.dia.seleccionado {
  background-color: #38bdf8; /* celeste */
  color: white;
  border-radius: 6px;
}

/* Calendario */
#calendar div.disponible {
  background-color: #f4b400; /* azul */
  color: black;
}

#calendar div.casi-lleno {
  background-color: #f0c557; /* naranja */
  color: black;
}

#calendar div.reserved {
  background-color: #6c757d; /* gris */
  color: black;
  pointer-events: none;
}

.leyenda-calendario {
  margin-top: 10px;
  font-size: 14px;
}

.leyenda-calendario .color {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 5px;
  vertical-align: middle;
  border-radius: 3px;
}

.leyenda-calendario .azul { background-color: #f4b400; }
.leyenda-calendario .naranja { background-color: #f0c557; }
.leyenda-calendario .gris { background-color: #6c757d; }

#calendar div.rango {
  background-color: #cce5ff;
  border-top: 2px solid #007bff;
  border-bottom: 2px solid #007bff;
  color: black;
  position: relative;
  z-index: 1;
}

#calendar div.rango-inicio {
  border-left: 2px solid #007bff;
  background-color: #007bff;
}

#calendar div.rango-fin {
  border-right: 2px solid #007bff;
  background-color: #007bff;
}

#calendar div.rango-unico {
  border: 2px solid #007bff;
}

#calendar div.pasado {
  background-color: #f2f2f2;
  color: #999;
  pointer-events: none;
}




@media (max-width: 768px) {
  .reservas {
    flex-direction: column;  
  }
}

@media (min-width: 768px) {
  .reserva-contenido {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
  }

  #reserva-form {
    padding-left: 2rem;
  }
}

@media (min-width: 768px) {
  .reserva-layout {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
  }

  .calendar-container,
  #reserva-form {
    flex: 1;
    max-width: 420px;
  }
}

@media (min-width: 768px) {
  .calendar-container {
    max-width: 800px; /* o incluso 650px si lo deseas más ancho */
  }
}

@media (max-width: 768px) {
  .calendar-container {
    width: 100%; /* o incluso 650px si lo deseas más ancho */
  }
}

@media (max-width: 768px) {
.reserva-contenido {
  width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .vertical-line {
    display: none;
  }

  .banner {
    justify-content: space-between;
    padding: 10px 20px;
  }
}

/* Estilo para modal de zoom */
.zoom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.zoom-modal.hidden {
  display: none;
}

.zoom-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.zoom-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  z-index: 1001;
  display: flex;
  justify-content: center;
  align-items: center;
}

.zoom-content img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.zoom-close {
  position: absolute;
  top: -20px;
  right: -20px;
  background: white;
  color: black;
  font-size: 30px;
  font-weight: bold;
  border-radius: 50%;
  padding: 5px 10px;
  cursor: pointer;
  z-index: 1002;
}

/* Boton flotante */
.whatsapp-float {
    position: fixed;
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #1ebc57;
}

.whatsapp-float img {
    width: 30px;
    height: 30px;
}