/* ==========================================================================
   Componente: Galería de Aventura (Diseñado para un contenedor de 5 columnas)
   ========================================================================== */

.adventure-gallery {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
}

.adventure-gallery .gallery-title {
  margin: 0 0 10px 0;
  font-size: 1.1rem;
  font-family: sans-serif;
  color: #333;
}

/* Contenedor Principal con la altura requerida */
.adventure-gallery .gallery-container {
  position: relative;
  height: 347px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Viewport de Imágenes */
.adventure-gallery .gallery-viewport {
  width: 100%;
  height: 100%;
  position: relative;
  background-color: #1a1a1a;
}

.adventure-gallery .gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  z-index: 1;
}

.adventure-gallery .gallery-slide.active {
  opacity: 1;
  z-index: 2;
}

/* Asegura que el contenedor de navegación no bloquee lo que está detrás, pero sí reciba clics */
.adventure-gallery .gallery-nav {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: 8px;
  z-index: 10;
  box-sizing: border-box;
  gap: 2px;
  pointer-events: none; /* Deja pasar el puntero a través de los espacios vacíos del menú */
}

/* Estilo Base de los Botones (Modo Ícono Estrecho) */
.adventure-gallery .nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 0.7rem 1rem;
  color: #fff;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 26px; /* Ancho inicial del ícono */
  height: 17px;    /* Ajustado para el límite vertical de 236px */
  overflow: hidden;
  white-space: nowrap;
  pointer-events: auto;
}

.adventure-gallery .nav-item .icon {
  font-size: 16px;
  display: inline-block;
  min-width: 20px;
  text-align: center;
}

/* Texto Oculto por Defecto */
.adventure-gallery .nav-item .text {
  font-size: 16px;
  font-family: sans-serif;
  opacity: 0;
  max-width: 0;
  transition: opacity 0.2s ease, max-width 0.25s ease;
  padding-left: 0;
}

/* Estado Hover y Activo: Despliegue de Texto */
.adventure-gallery .nav-item:hover,
.adventure-gallery .nav-item.active {
  max-width: 140px; /* Expande dinámicamente el botón */
  padding-right: 10px;
  background: rgba(0, 0, 0, 0.85);
  border-color: rgba(255, 255, 255, 0.3);
}

.adventure-gallery .nav-item:hover .text,
.adventure-gallery .nav-item.active .text {
  opacity: 1;
  max-width: 100px;
  padding-left: 5px;
}

.btn-ruta-bogota{
    position: absolute;
    z-index: 100;
    bottom: 1rem;
    left: 1rem;
    color: var(--amarillo-miel);
    text-shadow: 3px 2px black;
    font-size: larger;
    text-decoration: none;
}

.btn-ruta-bogota:hover{
    color:var(--rosa-suave);
    font-weight: bold;
}