.cambiar {
  position: relative;
  width: 100%;
  min-height: 300px;
  overflow: hidden;
  align-items: center;
  padding-bottom: 1px;

}

.cambiar img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ajusta sin deformar */
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.cambiar img.activ {
  opacity: 1;
  z-index: 1;
}

@media (max-width: 500px) {
  .cambiar {
    width: 100%;
    height: 300px;
  }
}

@media (max-width: 380px) {
  .cambiar {
    width: 100%;
    height: 300px;
  }
}

/****************************/



.carousel {
  
  margin-top: 0px;
  position: relative; 
  width: 100%;
  height: 100vh;
  /* Pantalla completa en desktop */
  overflow: hidden;
}

/* Imágenes */
.carousel img {
  border-radius: 5px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ajusta sin deformar */
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel img.active {
  opacity: 1;
  z-index: 1;
}

/* 📱 Tablets */
@media (max-width: 768px) {
  .carousel {
    height: 70vh;
    /* Más pequeño en tablets */
  }
}

/* 📱 Celulares */
@media (max-width: 480px) {
  .carousel {
    height: 50vh;
    /* Ocupa medio de la pantalla en móviles */
  }

  .carousel img {
    object-fit: contain;
    /* Para que no recorte demasiado en pantallas chicas */
    background: #000;
    /* Fondo negro para mejorar la visual si hay bordes */
  }
}




/*---------------------------------------------------------------*/
.footer-horario {
  font-weight: bold;
  margin: 0.5rem 0;
}

.reloj-animado {
  display: inline-block;
  animation: girar 3s linear infinite;
  margin-right: 6px;
}

@keyframes girar {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
 margin: 0 0.5rem;
  font-weight: bold;
  transition: color 0.3s ease;
 
}

#google_translate_element {
  display: flex;
  margin-left: auto;
  padding-left: 1rem;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

@media (max-width: 700px){
  .footer-nav a {
  color: #fff;
  text-decoration: none;
 margin: 0px;
  font-weight: bold;
  transition: color 0.3s ease;
}
#google_translate_element {

  padding-right: 1px;
}
}

/* css para la galeria de fotos de los tours*/

.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0px;
  justify-items: center;
}

.item {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.item img {
  width: 100%;
  height: 300px;
  display: block;
}

@media (max-width: 600px) {

  .galeria {
  width: 90%;
  margin: 0px auto;
  padding: 0 auto;
  justify-items: center;
}

.item {
  width: 90%;
  background: white;

}

  .item img {
  width: 90%;
  height: 275px;
  border-radius: 10px;
  margin: 0 auto;
  
}
}

.contenido {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 600px) {
.contenido {
  padding:0%;
}

}

.contenido h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  text-align: center;
}

.contenido p {
  color: #555;
  font-size: 0.95rem;
  flex-grow: 1;
  text-align: justify;
}

.contenido .btn {
  margin-top: 15px;
  padding: 10px 15px;
  background: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  text-align: center;
  transition: background 0.3s ease;
}

.contenido .btn:hover {
  background: #0056b3;
}

@media (max-width: 600px) {
  .contenido h3 {
    font-size: 1rem;
  }

  .contenido p {
    font-size: 0.9rem;
  }
}

/*hasta aquillega la galeria de foto*/

.video-container {
  width: 100%;
  max-width: 900px;
  /* Límite máximo (opcional) */
  margin: 0 auto;
  /* Centrado */
  aspect-ratio: 16 / 9;
  /* Mantiene la proporción del video */
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}


/* css para el formulario*/
#formOpciones {
  background: white;
  padding: 20px;
  border-radius: 10px;
  max-width: auto;
  margin: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

label {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  cursor: pointer;
}

input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.2);
}

button {
  background-color: #25D366;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 15px;
}


.btn-center {
  display: flex;
  width: 100%;
  height: 60px;
  align-items: center;
  justify-content: center;
  align-content: center;
  margin-bottom: 0px;
  
}

.btn-atras {

  align-items: center;
  background-color: #0288d1;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 8px;
  color: white;
  justify-items: center;
  cursor: pointer;

}
.btn-atras:hover {
      background-color: #19324b;
}


button:hover {
  background-color: #1ebe5d;
}


/*css tabla*/
.table-responsive {
  width: 100%;
  overflow-x: auto;
  /* Activa scroll horizontal en pantallas pequeñas */
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px auto;
  font-family: Arial, sans-serif;
}

th,
td {
  width: 25%;
  /* Evita que se compriman demasiado */
  border: 1px solid #ccc;
  padding: 12px;
  text-align:left;
 
}

td li{
  margin-left: 10px;
}

thead {
  background-color: #f2f2f2;
}

tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

tbody tr:hover {
  background-color: #e0f7fa;
}