




.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;
}





.faq-section {
  width: 100%;
  max-width: 100vw;
  padding: 60px 5%;

  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("https://app.explor-k.com/CDN/tecoffoverland/Cajetin-Resumen-ruta.webp") no-repeat center center;
  background-size: cover;
  position: relative;
}
.section-title {
  background-color: #fff;
  padding: 30px 0;
  text-align: center;
  margin-top: 6%;
}
.section-title h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}
@media (max-width: 768px) {
  .section-title {
      margin-top: 15%;
  }
}

/* ✅ Centrar botones de filtros en celulares */
@media (max-width: 600px) {
  .section-title h2 {
    margin-top: 6%;
  }

  .filter-buttons {
    display: flex;
    flex-wrap: wrap;      /* Permite que los botones bajen a otra fila */
    justify-content: center;  /* Centra horizontalmente */
    gap: 10px;            /* Espaciado entre botones */
    text-align: center;
  }

  .filter-btn {
    width: auto;          /* Evita que se estiren */
    padding: 10px 15px;
    font-size: 14px;
  }
}





.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) {
  .section-title h2 {
    margin-top: 6%;
    font-size: 40px;
  }

  .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;
}









/* 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;
 }
}



/* SECCION BOTONES */
.gallery-filters {
  text-align: center;
  margin: 40px 0 20px 0;
}

.filter-buttons {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  background-color: #ddd;
  border: none;
  padding: 10px 18px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover {
  background-color: #bbb;
}

.filter-btn.active {
  background-color: #333;
  color: white;
}
