

.language-selector {
  position: fixed;
  bottom: 0px;
  left: 0px;
  z-index: 1000;
}

#languageButton {
  background-color: #000000;
  color: white;
  border: none;
  padding: 1px 15px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
}

/* Lista de opciones ocultas por defecto */
#languageOptions {
  list-style: none;
  margin: 0;
  padding: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  position: absolute;
  bottom: 40px;
  left: 0;
  display: none;
}

#languageOptions li {
  padding: 10px;
  cursor: pointer;
  text-align: center;
}

#languageOptions li:hover {
  background: #f1f1f1;
}

/* Mostrar opciones al hacer clic */
#languageOptions.hidden {
  display: none;
}

#languageOptions.visible {
  display: block;
}





/* Contenedor flotante para íconos y botón de WhatsApp */
.floating-icons {
  position: fixed;
  bottom: 20px;         /* Más cerca del borde inferior */
  right: 20px;
  display: flex;
  flex-direction: column;  /* Íconos arriba, WhatsApp abajo */
  align-items: center;
  gap: 15px;
  z-index: 9999;        /* Asegura que esté por encima de otros elementos */
}

/* Íconos de redes sociales (más pequeños) */
.social-icon {
  width: 40px;
  height: 40px;
  background-color: #fff;
  color: #f86a0f; /* Ajusta el color según tu preferencia */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 20px; /* Ícono más pequeño */
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Botón de WhatsApp (ligeramente más grande que los íconos) */
.whatsapp-button {
  width: 45px;
  height: 45px;
  background-color: #25d366; /* Verde de WhatsApp */
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 24px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Formulario flotante de WhatsApp */
.whatsapp-form {
  position: fixed;
  /* Anclado desde abajo y a la derecha, cerca de los íconos */
  bottom: 80px;    /* Suficiente espacio para no tapar el botón de WA */
  right: 20px;
  width: 300px;
  background-color: #fff;
  color: #333;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  display: none;   /* Oculto por defecto */
  z-index: 9999;
  /* Si el formulario es muy alto, habilita scroll interno */
  max-height: 70vh;
  overflow-y: auto;
}

.whatsapp-form h4 {
  margin: 0 0 10px 0;
  font-size: 18px;
}

.whatsapp-form p {
  margin: 0 0 10px 0;
  font-size: 14px;
}

.whatsapp-form label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  font-size: 14px;
}

.whatsapp-form input,
.whatsapp-form select,
.whatsapp-form textarea {
  width: 100%;
  margin-top: 5px;
  margin-bottom: 10px;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Contenedor del código de país + número */
.phone-field {
  display: flex;
  gap: 5px;
}

#phoneCode {
  width: 70px;
}

/* Botón “Iniciar Chat” */
#startChatButton {
  background-color: #25d366;
  color: #fff;
  border: none;
  padding: 10px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
}

#startChatButton:hover {
  background-color: #20c659;
}






.travesia-section {
    position: relative;
    background: url('https://app.explor-k.com/CDN/tecoffoverland/Cajetin-Resumen-ruta.webp') no-repeat center center/cover;
    color: rgba(255, 255, 255, 0.342);
    padding: 60px 20px;
    margin-top: 4.5%;
}

.travesia-overlay {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.267); /* Oscurecimiento */
    z-index: 1;
}

.travesia-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    margin: auto;
    align-items: center;
    gap: 40px;
}

.travesia-left h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #E8C06D; /* Dorado */
}

.travesia-left p {
    font-size: 1rem;
    line-height: 1.5;
    color: white;
}

/* Estilos de los iconos y la lista */
.travesia-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.travesia-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: white;
}

.travesia-item i {
    font-size: 1.8rem;
    color: #FF6700; /* Naranja */
}

/* Responsivo */
@media (max-width: 768px) {
    .travesia-container {
        grid-template-columns: 1fr;
    }

    .travesia-left {
      margin-top: 5%;
    }

    .travesia-left h2 {
      text-align: center;
      font-size: 1.8rem;
    }

    .travesia-left p {
      text-align: justify;
    }

    .travesia-right {
        align-items:left;
    }


}





  /* Sección de contacto */
  .contact-section-down {
    display: flex;
    justify-content: center;
    background-color: #000;
    padding: 50px 20px;
  }

  /* Caja de contacto */
  .contact-box-down {
    background-color: #FF6700;
    width: 100%;
    max-width: 900px;
    padding: 20px 40px;
    border-radius: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 20px;
  }

  /* Estilo del título */
  .contact-left-down h3 {
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
    color: #fff;
  }

  /* Estilo de la sección derecha (WhatsApp) */
  .contact-right-down {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .contact-item-down {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white; /* TODO el texto en blanco */
    font-weight: bold;
  }

  /* Números y descripción en blanco */
  .contact-number-down,
  .contact-text-down {
    color: white;
  }

  /* Icono de WhatsApp */
  .contact-item-down i {
    font-size: 1.5rem;
    color: white;
    background-color: green;
    border-radius: 50%;
    padding: 8px;
  }

  /* Responsividad */
  @media (max-width: 768px) {
    .contact-box-down {
      grid-template-columns: 1fr;
      text-align: center;
    }

    .contact-right-down {
      align-items: center;
    }
  }




  

.gallery-section {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

.gallery-section {
  background-color: #505050;
  padding: 40px 0;
  display: flex;
  justify-content: center;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  max-width: 1100px;
  padding: 20px;
}
.gallery-container img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}
.gallery-container img:hover {
  transform: scale(1.05);
}
.gallery-container img:hover {
  transform: scale(1.05);
}



.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}
.modal-content {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 10px;
}




.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 30px;
  cursor: pointer;
  background: none;
  border: none;
}
/* Botones de navegación */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  cursor: pointer;
  padding: 15px;
  border-radius: 50%;
}
.prev {
  left: 20px;
}
.next {
  right: 20px;
}
.prev:hover, .next:hover {
  background: rgba(255, 106, 0, 0.8);
}

/* ✅ RESPONSIVE: 2 imágenes por fila en tablets, 1 imagen por fila en móviles */
@media (max-width: 1024px) {
  .gallery-container {
      grid-template-columns: repeat(2, 1fr);
     /* 2 imágenes por fila en tablets */
 }
}
@media (max-width: 600px) {
  .gallery-container {
      grid-template-columns: repeat(1, 1fr);
     /* 1 imagen por fila en móviles */
 }
}





.gallery-button-wrapper {
  display: flex;
  justify-content: center;
  background-color: #505050; /* Fondo del contenedor */
  padding: 20px 0;
}

.gallery-button {
  background-color: #FF6700;  /* Botón anaranjado */
  color: #ffffff;             /* Letras blancas */
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.gallery-button:hover {
  background-color: #e55d00;
}




.gallery-section{
    margin-top: 1px;
}

  /* Estilos del Slider */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider img {
    width: 100%;
    border-radius: 10px;
}

/* Flechas del Slider */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 24px;
}

.prev { left: 10px; }
.next { right: 10px; }

/* Estilos de la Galería */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    padding: 20px;
    justify-content: center;
    max-width: 900px;
    margin: auto;
}

.gallery img {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox img {
    max-width: 90%;
    max-height: 80vh;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.lightbox .prev, .lightbox .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 24px;
}

.lightbox .prev { left: 10px; }
.lightbox .next { right: 10px; }
