/*header*/
.slider-background {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 85vh;
}
/* Estilo para pantallas grandes (escritorio) */
.slider-background {
  background-image: url("images/slider-image2.png"); /* Imagen para escritorio */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 85vh;
}

@media (max-width: 768px) {
  .slider-background {
    background-image: url("images/slider-image1.png"); /* Imagen para móvil */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 60vh; /* Ajusta el tamaño si es necesario para móvil */
  }

  .display-5 {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .slider-background {
    height: 50vh;
  }

  .display-5 {
    font-size: 1.5rem;
  }

  .btn-arrow {
    font-size: 0.8rem;
    padding: 8px 12px;
  }
}

/* Estilos generales */
.availability-section {
  display: none;
  justify-content: center;
  margin-top: -50px;
  position: absolute;
  top: 80vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.availability-form {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #2b994a;
  max-width: 900px;
  width: 100%;
  flex-wrap: nowrap;
}

/* Ajustes específicos para pantallas móviles */
@media (max-width: 768px) {
  .availability-section {
    top: 55vh; /* Cambia la posición para que esté más cerca del slider en móvil */
  }

  .availability-form {
    flex-direction: column;
    gap: 15px;
    padding: 10px;
  }

  .form-group {
    width: 100%; /* Toma el ancho completo en móvil */
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  font-size: 0.9em;
  min-width: 150px; /* Ajusta el ancho de cada grupo para que se vean bien en una fila */
}

label {
  font-weight: 400;
  font-size: 0.8em;
  color: #555;
  margin-bottom: 5px;
}

input[type="date"],
select {
  padding: 6px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.9em;
  width: 100%;
}

button#checkAvailability {
  background-color: #2b994a;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

button#checkAvailability:hover {
  background-color: #da8743;
}

/* Estilos para el botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 1000;
  animation: float 3s ease-in-out infinite;
}

.whatsapp-float img.whatsapp-icon {
  width: 100%;
  height: 100%;
  padding: 10px;
}

/* Animación de flotación */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}
