/* Glassmorphism Panel refined */
.glass-panel {
    background: rgba(14, 20, 20, 0.45);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel:hover {
    background: rgba(14, 20, 20, 0.55);
    border: 1px solid rgba(76, 241, 240, 0.2);
    box-shadow: 0 12px 48px 0 rgba(0, 0, 0, 0.6), 0 0 24px 0 rgba(76, 241, 240, 0.05);
    transform: translateY(-4px);
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Slideshow Module Styles */
.slideshow-container {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slideshow {
    display: block;
    width: 100%;
    height: 100%;
}

.slideshow-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    filter: blur(15px);
    transition: opacity 3s ease-in-out, filter 3.5s ease-in-out;
    overflow: hidden;
    z-index: 0;
    will-change: opacity, filter;
}

.slideshow-item.active {
    opacity: 1;
    filter: blur(0);
    z-index: 1;
}

.slideshow-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Animación constante para evitar el salto al activar */
    animation: kenburns 8s linear infinite alternate;
    will-change: transform;
}

@keyframes kenburns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.12);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #050a0a;
}
::-webkit-scrollbar-thumb {
    background: #1d2020;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4cf1f0;
}
