/**
 * Clean Banner Override - Removes heavy darkening for cleaner look
 */

/* Remove or significantly reduce the dark gradient overlay on slider */
.splide .splide__slide::after {
    content: "";
    width: 100%;
    height: 40% !important; /* Only cover bottom 40% instead of 75% */
    position: absolute;
    left: 0;
    bottom: 0;
    /* Much lighter gradient - only subtle darkening at bottom for text */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0));
    opacity: 1;
    transition: all .4s linear 0s;
    transform-origin: bottom 0 0;
    z-index: 1;
    pointer-events: none;
}

/* Remove the heavy side overlays */
.splide .splide__track::after,
.splide .splide__track::before {
    display: none !important;
}

/* Ensure text is readable with better shadows instead of heavy overlay */
.splide-slider-details-area {
    z-index: 10 !important;
    position: absolute;
    bottom: 40px;
    left: 60px;
}

.splide-slider-details-area h1 {
    color: #ffffff !important;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(0, 0, 0, 0.3);
    font-weight: 800;
}

.slider-description {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 
        1px 1px 3px rgba(0, 0, 0, 0.8),
        0 0 15px rgba(0, 0, 0, 0.5);
}

/* Make buttons more visible */
.splide-slider-details-area .btn-watch,
.splide-slider-details-area .btn-buy-plan {
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(0, 0, 0, 0.2);
}

/* Ensure slider images are bright and clear */
.splide__slide img {
    opacity: 1 !important;
    filter: brightness(1) contrast(1) !important;
}

/* ====================================
   SLIDER NAVIGATION ARROWS - STYLED BUTTONS
   ==================================== */

/* Ensure arrows container is visible */
.slider-area .splide__arrows {
    display: block !important;
}

/* Style navigation arrows as circular buttons on the sides */
.splide__arrow {
    background: rgba(0, 0, 0, 0.6) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 50% !important;
    width: 45px !important;
    height: 45px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    z-index: 25 !important;
    opacity: 0.85;
    position: absolute !important;
    cursor: pointer;
    /* Hide any text content */
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
}

.splide__arrow:hover {
    background: rgba(255, 193, 7, 0.95) !important;
    border-color: #FFC107 !important;
    transform: scale(1.1);
    opacity: 1;
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.splide__arrow:disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

/* Arrow SVG icons - ensure they're visible */
.splide__arrow svg {
    fill: #ffffff !important;
    width: 20px !important;
    height: 20px !important;
    stroke: #ffffff;
    stroke-width: 2;
    display: block !important;
    position: relative;
    z-index: 1;
}

/* Hide any pseudo-elements that might contain text */
.splide__arrow::before,
.splide__arrow::after {
    display: none !important;
    content: none !important;
}

/* Position left arrow on the left side */
.splide__arrow--prev {
    left: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

/* Position right arrow on the right side */
.splide__arrow--next {
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.splide__arrow--prev:hover,
.splide__arrow--next:hover {
    transform: translateY(-50%) scale(1.1) !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .splide__arrow {
        width: 40px !important;
        height: 40px !important;
    }
    
    .splide__arrow svg {
        width: 18px !important;
        height: 18px !important;
    }
    
    .splide__arrow--prev {
        left: 15px !important;
    }
    
    .splide__arrow--next {
        right: 15px !important;
    }
}

@media (max-width: 767px) {
    .splide .splide__slide::after {
        height: 50% !important; /* Slightly more overlay on mobile for better text readability */
        background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
    }
    
    .splide-slider-details-area {
        left: 20px;
        bottom: 30px;
    }
    
    .splide__arrow {
        width: 38px !important;
        height: 38px !important;
        opacity: 0.8;
    }
    
    .splide__arrow svg {
        width: 16px !important;
        height: 16px !important;
    }
    
    .splide__arrow--prev {
        left: 12px !important;
    }
    
    .splide__arrow--next {
        right: 12px !important;
    }
}

@media (max-width: 575px) {
    .splide__arrow {
        width: 32px !important;
        height: 32px !important;
        opacity: 0.75;
        border-width: 1.5px !important;
    }
    
    .splide__arrow svg {
        width: 14px !important;
        height: 14px !important;
    }
    
    .splide__arrow--prev {
        left: 8px !important;
    }
    
    .splide__arrow--next {
        right: 8px !important;
    }
    
    .splide__arrow:hover {
        transform: translateY(-50%) scale(1.05) !important;
    }
}