body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif

}

html{
  scroll-behavior: smooth;
}

header {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: transparent; /* Fondo transparente con un poco de opacidad */
  color: rgb(0, 0, 0);
  padding: 10px 0;
  position: fixed;
  width: 100%;
  z-index: 1000; /* Asegura que el encabezado esté en la parte superior */
  box-shadow: none;
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

@media (max-width: 760px) {
  header {
    display: flex;
    flex-direction: column; /* Cambia la dirección de los elementos a vertical */
    width: 100%;
  }
  
  .carousel button{
      display: none;
  }
}



.logo img{
  width: 270px;
  transition: 0.3s ease;

}



header.scrolled {
  background-color: #ffffff; /* Change this color as needed */
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2); /* Agrega una sombra deseada */

}


header.scrolled h1{
  color: black;
}

header.scrolled img{
  width: 200px;
}

.logo h1 {
    color: #fff;
    
}

.buttons {
    display: flex;
    gap: 10px;
}

button {
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.contact-button {
    background-color: #3498db;
    color: white;
}

.reservation-button {
    background-color: #333;
    color: white;
}


/* ------------------------------------ */

/* Estilo para el mensaje 1*/
.highlight-text {
  font-weight: bold;
  color: #ffffff; /* Un color llamativo */
  -webkit-background-clip: text;
  background-clip: text;
  display: flex;
  text-align: center;
  justify-content: center;
  width: 100%;
}

/* Estilo para el mensaje 2*/
.italic-text {
  background-size: cover;
  color: #ffffff; /* Color de texto blanco para que destaque */
  padding: 20px; /* Agrega espacio alrededor del texto para resaltar */
}


/* Estilo para el mensaje 3 */
.bold-text {
  font-weight: bold;
}


.carousel-container button{
  position: absolute;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  color: #ffffff; /* Un color llamativo */

}



.carousel {
  display: flex;
  transition: transform 0.3s ease-in-out;
}

.carousel-item {
  position: relative;
  flex: 0 0 100%;
}

.carousel-item img {
  width: 100%;
  height: 80vh;
  object-fit: cover;
  background-size: cover;
  background-position: center;
}

.carousel-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Opacidad oscura */
}

.carousel-item .caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 24px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  z-index: 1;
}




.highlight-text {
  animation: mianimacion 1s forwards; /* 0.5s es la duración de la animación */
}

@keyframes mianimacion {
  0% {
    transform: translateY(-1000px);
    opacity: 0; /* Agrega una transición de opacidad también si deseas */
  }
  50% {
    transform: translateY(0);
    opacity: 1; /* Asegura que la opacidad esté en 1 al final de la animación */
  }

  70%{
    transform: translateY(-100px);
  }
  100%{
    transform: translateY(0);
  }
}

.caption{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* CSS para el botón debajo del título */
.reservation{
    margin-top: 140px;
    background-color: #4eb0f2;
}


/* ------------------------------------------ */


.services-section {
  padding: 50px 0;
  text-align: center;
}

.section-title {
  margin-bottom: 90px; 
}

.services-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 60px;
}

.service {
  
  max-width: 300px; /* Tamaño ajustable */
  margin-bottom: 30px;
  padding: 20px;
  display: flex;
  transition: transform 0.2s ease-in-out;
  flex-direction: column;
  align-items: center;
}

.service img {
  width: 200px;
}

.service h3 {
  margin-top: 15px;
}

.service p {
  margin-top: 10px;
}

.service:hover {
  transform: translateY(-5px);
}



/* ------------------------------------ */


.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    opacity: .9;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    z-index: 99;
}


/* ------------------------------------ */
.section-title{
  margin-bottom: 30px;
  width: 100%;
  text-align: center;
}

.section-title span{
  color: #3498db;
}


.services-section {
  text-align: center;
  padding: 50px 0;
}

.section-title {
  font-size: 24px;
  margin-bottom: 20px;
}

.services-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.service {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  margin: 15px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}


.service img {
  margin-bottom: 10px;
}

.service h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.service p {
  font-size: 14px;
}



.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
}

.whatsapp-button img {
    width: 40px;
    height: auto;
}

/* ------------------------------------- */




.hospedajes-section {
  text-align: center;
  padding: 50px 0;
}

.inspiration-text{
  margin: 100px 0;
}

.section-title {
  font-size: 36px; /* Ajusta el tamaño del título */
  margin-bottom: 50px;
}

.image-switch-section {
  text-align: center;
  padding: 50px 0;
}

.image-switch-container {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  height: 500px; /* Ajusta la altura según tus necesidades */
  z-index: -1;

}

.image-switch-container img {
  width: 90%;
  position: absolute;
  background-size: cover;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

/* ----------------------------------------------------- */

.transparent{
  background-image: url(img/fondo.png);
  border-radius: 20px;
}


/* Estilos para la galería */


.gallery {
  backdrop-filter: blur(3px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  background: transparent;
  background-position: center;
  background-size: cover;

}

.gallery-item {
  margin: 10px;
  display: flex;
  cursor: pointer;
}

/* Estilos para las imágenes en la galería */
.gallery-item img {
  width: 100%;
  height: 250px;
  margin-bottom: 50px;
  transition: transform 0.5s ease, margin-bottom 0.3s ease;
  border-radius: 5px;
}

/* Efecto hover */
.gallery-item:hover img {
  transform: scale(1.1);
  margin-bottom: 40px;
}



/* Estilos para la lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  text-align: center;
}

.lightbox-content {
  position: relative;
  top: 50%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  left: 49%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 60px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  width: 500px;
  
}


.lightbox-image {
  width: 400px;
  height: 400px;
  border-radius: 10px;
}


.lightbox-caption {
  margin-top: 10px;
  font-size: 16px;
  width: 100%;
  
}

.close-button {
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
  font-size: 40px;
  color: #000000;
}

.boton1,
.boton2 {
  font-size: 30px;
  background: none;
  border: 1px solid #fff;
  cursor: pointer;
  color: #fff;
}

.botones{
  position: relative;
  top: 90%;
}





/* ---------------------------- */
.formulario{

  display: flex;
  justify-content: center;
  text-align: center;
  background-color: #f7f7f7;

}


.formulario_avion{
  width: 50%;
}

@media (max-width:1200px) {
  

  .lightbox-image{
    width: 100%;
    height: 80%;
  }

  .lightbox-content{
    width: 60%;
    height: 40%;
  }

  .formulario_avion{
    width: 90%;
    
  }
  .formulario{
    flex-direction: column;
    align-items: center;
  }

  .formulario_avion #contacto{
    padding: 0 20px;
  }

  .formulario h1{
    display: flex;
    justify-content: center;

  }

  .avion{
    display: flex;
    flex-direction: column;
  }

  .highlight-text{
    font-size: 20px;
  }
}




.avion{
  max-width: 50%;
  max-height: 50%;
  animation-name: miAnimacion;
  animation-duration: 8s; 
  animation-timing-function: ease; 
  animation-delay: .3s;
  animation-iteration-count: infinite; 
  animation-direction: alternate; 
  z-index: 1;
  
}

@keyframes miAnimacion {
  0% {
    transform: translateY(0); /* Estado inicial */
  }
  50%{
    transform: translateY(20px);
  }
  100% {
    transform: translateX(0px); /* Estado final */
  }
}

.exte{
  width: 100%;
}
.formulario h1{
  display: flex;
  font-weight: 100;
  padding: 50px;
}


form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 400px;
  padding: 20px;
}

label {
  display: block;
  text-align: start;
  margin-bottom: 14px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  border: none;
  border-bottom: 2px solid #ccc;
  padding: 1px 10px;
  margin-bottom: 40px;
  transition: border-bottom-color 0.3s;
  width: 100%;
  resize: none;
  outline: none;
  background-color: transparent;
  

}




textarea{
  height: 150px;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-bottom-color: #2C393F;
  outline: none;
  resize: none;
  
}

input[type="submit"] {
  background-color: #2C393F;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s;
  display: flex;
  justify-content:start ;
}

input[type="submit"]:hover {
  background-color: #3498db;
}

footer{
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  
}

footer i{
  font-size: 20px;
  margin-left: 20px;
  color: #000;
  transition: .5s ease;
}

footer i:hover{
  transform: scale(1.2);
  color: #3498db;
}


/* Estilos para la ventana emergente */



#popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  max-width: 90%;
  padding: 20px;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  z-index: 100;
  border-radius: 5px;
  font-family: Arial, sans-serif;
}

#popup h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

#popup form {
  margin: 0;
}

#popup label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}

#popup input[type="text"],
#popup input[type="email"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 16px;
}

#popup input[type="submit"] {
  background-color: #007BFF;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 18px;
  cursor: pointer;
}

#popup input[type="submit"]:hover {
  background-color: #0056b3;
}

#popup button {
  background-color: #ccc;
  color: #333;
  border: none;
  padding: 10px 20px;
  font-size: 18px;
  cursor: pointer;
  float: right;
}

#popup button:hover {
  background-color: #999;
}


    
.custom-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #f0f0f0;
    border: 1px solid #999;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

/* Estilos para el fondo oscurecido */
.custom-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}