.font-body { font-family: 'Source Sans 3', sans-serif; }
/* NAVBAR */
    #navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 100%); transition: all 0.5s var(--ease-smooth); padding: 10px 0; }
    #navbar.scrolled { background: rgba(108, 59, 52, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding: 0; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-bottom: 1px solid rgba(255,255,255,0.05); }
    .nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; height: 80px; }
    .nav-logo { height: 45px; width: auto; display: block; transition: transform 0.3s; }
    .nav-logo:hover { transform: scale(1.05); }
    .nav-links { display: flex; align-items: center; gap: 2.5rem; }
    .nav-links a { font-size: 0.95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; opacity: 0.9; transition: all 0.3s ease; position: relative; }
    .nav-links a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -4px; left: 0; background: var(--amarillo); transition: width 0.3s ease; border-radius: 2px; }
    .nav-links a:hover { opacity: 1; color: var(--amarillo); }
    .nav-links a:hover::after { width: 100%; }
    
    .btn-nav, .btn-slide, .btn-ig { background: linear-gradient(135deg, var(--naranja) 0%, var(--naranja-light) 100%); color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.8rem 1.8rem; border-radius: 50px; transition: all 0.4s var(--ease-expo); border: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(227, 120, 66, 0.25); }
    .btn-nav:hover, .btn-slide:hover, .btn-ig:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 25px rgba(227, 120, 66, 0.4); color: #fff; }

 /* MENU MOVIL GLOBALES */
    .mobile-menu-btn { display: none; }
    .mobile-menu { display: none; }
        @media (max-width: 768px) {
     /* Header y Menú */
        #navbar { padding: 0; background: rgba(108,59,52,.92); backdrop-filter: blur(16px); }
        .nav-inner { height: 60px; padding: 0 16px; }
        .nav-logo { height: 32px; }
        .nav-links, .nav-right { display: none; }
        .mobile-menu-btn { display: flex; width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer; }
        
        .mobile-menu { position: fixed; top: 60px; left: 0; right: 0; background: #fff; padding: 20px; display: flex; flex-direction: column; gap: 16px; transform: translateY(-120%); transition: .3s; z-index: 99; box-shadow: 0 15px 30px rgba(0,0,0,.08); }
        .mobile-menu.active { transform: translateY(0); }
        .mobile-menu a { font-size: .95rem; font-weight: 600; color: var(--marron); }
        .mobile-contact { background: var(--naranja); color: #fff !important; padding: 12px; border-radius: 999px; text-align: center; }
        
}
/* Contenedor relativo para posicionar el dropdown */
.nav-item-dropdown {
  position: relative;
  display: inline-block;
  padding: 10px 0; /* Aumenta el área de hover */
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* El menú desplegable */
.dropdown-menu {
  display: none; /* Oculto por defecto */
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%); /* Lo centra respecto al botón "Nuestros Destinos" */
  background-color: #ffffff;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 25px;
  z-index: 1000;
  min-width: 800px; /* Ajusta este ancho según cuántas columnas tengas */
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Mostrar al hacer hover en el contenedor padre */
.nav-item-dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
}

/* Grilla para las categorías (Columnas) */
.dropdown-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

/* Cada columna individual */
.dropdown-column {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dropdown-column h4 {
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 15px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid; /* El color se inyecta por PHP */
  text-transform: uppercase;
}

/* Contenedor de subcategorías (Filas) */
.subcategorias-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.subcat-link {
  color: #555 !important; /* Fuerza el color sobre el de los links globales del navbar */
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s, padding-left 0.2s;
}

.subcat-link:hover {
  color: #000 !important;
  padding-left: 5px; /* Pequeña animación al hacer hover en la subcategoría */
  font-weight: 500;
}

.no-subcats {
  color: #999;
  font-size: 13px;
  font-style: italic;
}


/* Estilos para el enlace del título de la categoría */
.cat-title-link {
  display: block; /* Para que el área clickeable ocupe todo el ancho */
  transition: opacity 0.2s;
}



/* Modificamos un poco el h4 para que se adapte al enlace */
.dropdown-column h4 {
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 15px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid;
  text-transform: uppercase;
  cursor: pointer; /* Fuerza el cursor de mano */
}

/* Estilo específico si no hay subcategorías ("Ver todos") */
.subcat-link.ver-todos {
  font-style: italic;
  color: #777 !important;
}

/* Contenedor del título */
.cat-title-link {
  display: block;
  margin-bottom: 15px; /* Esto empuja las subcategorías hacia abajo de forma segura */
  transition: opacity 0.2s;
  text-decoration: none;
}

.cat-title-link:hover {
  opacity: 0.8;
}

/* El título y su línea de color */
.dropdown-column h4 {
  font-size: 16px;
  font-weight: bold;
  margin: 0; /* Quitamos el margen acá para evitar el colapso */
  padding-bottom: 4px; /* Espacio entre el texto y la línea de color (achicado) */
  border-bottom: 2px solid;
  text-transform: uppercase;
  cursor: pointer;
  line-height: 1.2; /* Evita que la línea se vaya muy abajo por herencia de la fuente */
}



