@charset "UTF-8";@media all {/* ==========================================================================
   Hero Slider Dinamico (ISOLATO - Non intacca altri Swiper)
   ========================================================================== */

/* 1. Struttura e Contenitore specifico */
.bannersec {
    width: 100%;
    position: relative;
    display: block;
}

.bannersec .container-fluid,
.bannersec .myFastSwiper {
    width: 100% !important;
    height: 70vh !important; /* Forza l'altezza solo per la Hero */
    min-height: 400px;
    position: relative;
    display: block;
}

@media (max-width: 767px) {
    .bannersec .container-fluid,
    .bannersec .myFastSwiper {
        height: 50vh !important;
    }
}

/* 2. Isolamento del motore Swiper interno alla Hero */
.bannersec .myFastSwiper .swiper-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
}

.bannersec .myFastSwiper .swiper-slide {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #000;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}

/* Sfondo e Overlay specifici della Hero */
.bannersec .myFastSwiper .slide-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    transform-origin: center center;
}

.bannersec .myFastSwiper .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

/* 3. Contenuti Testuali */
.bannersec .myFastSwiper .slide-content {
    position: relative;
    left: 8%;
    color: #fff;
    z-index: 2;
    max-width: 750px;
    padding: 0 20px;
}

.bannersec .myFastSwiper .slide-content h1 {
    font-family: var(--OmTeloleton);
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 15px;
    text-transform: uppercase;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.bannersec .myFastSwiper .slide-content p {
    font-family: var(--Roboto);
    font-size: 1.3rem;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.5s ease;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.bannersec .myFastSwiper .btn-fast {
    display: inline-block;
    padding: 15px 40px;
    background: #7ac0a2;
    color: #000;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 50px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.bannersec .myFastSwiper .btn-fast:hover {
    background: #fff;
    color: #000;
    transform: scale(1.05);
}

/* Trigger Animazioni su Slide Attiva della Hero */
.bannersec .myFastSwiper .swiper-slide-active .slide-content h1 {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.2s;
}

.bannersec .myFastSwiper .swiper-slide-active .slide-content p {
    opacity: 0.9;
    transform: translateX(0);
    transition-delay: 0.4s;
}

.bannersec .myFastSwiper .swiper-slide-active .btn-fast {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

/* 4. Paginazione ISOLATA solo per la Hero */
.bannersec .myFastSwiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.4;
    width: 10px;
    height: 10px;
}

.bannersec .myFastSwiper .swiper-pagination-bullet-active {
    background: #00ff88;
    opacity: 1;
    width: 25px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* 5. Keyframes isolati tramite classe .myFastSwiper */
.bannersec .myFastSwiper .swiper-slide-active .bg-gray-color {
    animation: grayColor 5s forwards cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes grayColor {
    0% {
        filter: grayscale(100%);
        transform: scale(1.25);
    }
    100% {
        filter: grayscale(0%);
        transform: scale(1);
    }
}

.bannersec .myFastSwiper .swiper-slide-active .bg-blur-pan {
    animation: blurPan 5s forwards ease-out;
}

@keyframes blurPan {
    0% {
        filter: blur(5px);
        transform: scale(1.15) translateX(20px);
    }
    30% {
        filter: blur(0px);
    }
    100% {
        filter: blur(0px);
        transform: scale(1.1) translateX(-10px);
    }
}

.bannersec .myFastSwiper .swiper-slide-active .bg-warp-bright {
    animation: warpBright 5s forwards ease-out;
}

@keyframes warpBright {
    0% {
        filter: brightness(1) saturate(1.1);
        transform: scale(1.2) skewX(2deg);
    }
    100% {
        filter: brightness(1) saturate(1);
        transform: scale(1) skewX(0deg);
    }
}

.bannersec .myFastSwiper .swiper-slide-active .bg-spin-zoom {
    animation: spinZoom 5s forwards linear;
}

@keyframes spinZoom {
    0% {
        transform: scale(1) rotate(0deg);
    }
    100% {
        filter: brightness(1);
        transform: scale(1.2) rotate(-3deg);
    }
}}
