/* Custom Swiper Slider Widget Styles */

.custom-swiper-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.custom-swiper-slider .swiper {
    width: 100%;
    height: 100%;
}

.custom-swiper-slider .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Slide Image */
.custom-swiper-slider .slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.custom-swiper-slider .slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slide Content */
.custom-swiper-slider .slide-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    max-width: 800px;
    width: 100%;
}

.custom-swiper-slider .slide-type-mixed .slide-content {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    border-radius: 10px;
}

.custom-swiper-slider .slide-subtitle {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    opacity: 0.9;
    animation: fadeInUp 0.6s ease;
}

.custom-swiper-slider .slide-title {
    font-size: 42px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.custom-swiper-slider .slide-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.95;
    animation: fadeInUp 1s ease;
}

/* Slide Button */
.custom-swiper-slider .slide-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #ffffff;
    color: #333333;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    transition: all 0.3s ease;
    animation: fadeInUp 1.2s ease;
}

.custom-swiper-slider .slide-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Navigation Arrows */
.custom-swiper-slider .swiper-button-prev,
.custom-swiper-slider .swiper-button-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.custom-swiper-slider .swiper-button-prev:after,
.custom-swiper-slider .swiper-button-next:after {
    font-size: 20px;
    color: #333333;
    font-weight: bold;
}

.custom-swiper-slider .swiper-button-prev:hover,
.custom-swiper-slider .swiper-button-next:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.custom-swiper-slider .swiper-button-prev {
    left: 20px;
}

.custom-swiper-slider .swiper-button-next {
    right: 20px;
}

/* Pagination */
.custom-swiper-slider .swiper-pagination {
    bottom: 30px;
}

.custom-swiper-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.custom-swiper-slider .swiper-pagination-bullet-active {
    width: 30px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 1);
}

/* Pagination Fraction */
.custom-swiper-slider .swiper-pagination-fraction {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
}

/* Progress Bar */
.custom-swiper-slider .swiper-pagination-progressbar {
    background: rgba(255, 255, 255, 0.3);
    height: 4px;
}

.custom-swiper-slider .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: #ffffff;
}

/* Scrollbar */
.custom-swiper-slider .swiper-scrollbar {
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
}

.custom-swiper-slider .swiper-scrollbar-drag {
    background: rgba(255, 255, 255, 0.8);
}

/* Effects Styles */
.custom-swiper-slider .swiper-slide-active .slide-subtitle {
    animation-delay: 0.2s;
}

.custom-swiper-slider .swiper-slide-active .slide-title {
    animation-delay: 0.4s;
}

.custom-swiper-slider .swiper-slide-active .slide-description {
    animation-delay: 0.6s;
}

.custom-swiper-slider .swiper-slide-active .slide-button {
    animation-delay: 0.8s;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .custom-swiper-slider .slide-content {
        padding: 20px;
    }
    
    .custom-swiper-slider .slide-title {
        font-size: 28px;
    }
    
    .custom-swiper-slider .slide-description {
        font-size: 14px;
    }
    
    .custom-swiper-slider .swiper-button-prev,
    .custom-swiper-slider .swiper-button-next {
        width: 40px;
        height: 40px;
    }
    
    .custom-swiper-slider .swiper-button-prev:after,
    .custom-swiper-slider .swiper-button-next:after {
        font-size: 16px;
    }
    
    .custom-swiper-slider .swiper-button-prev {
        left: 10px;
    }
    
    .custom-swiper-slider .swiper-button-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .custom-swiper-slider .slide-title {
        font-size: 22px;
    }
    
    .custom-swiper-slider .slide-subtitle {
        font-size: 12px;
    }
    
    .custom-swiper-slider .slide-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* RTL Support */
.rtl .custom-swiper-slider .swiper-button-prev {
    right: 20px;
    left: auto;
}

.rtl .custom-swiper-slider .swiper-button-next {
    left: 20px;
    right: auto;
}

.rtl .custom-swiper-slider .swiper-button-prev:after {
    content: 'next';
}

.rtl .custom-swiper-slider .swiper-button-next:after {
    content: 'prev';
}

/* Special Effects */
.custom-swiper-slider.effect-fade .swiper-slide {
    opacity: 0 !important;
}

.custom-swiper-slider.effect-fade .swiper-slide-active {
    opacity: 1 !important;
}

/* Overlay Gradient */
.custom-swiper-slider .slide-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

/* Parallax Effect */
.custom-swiper-slider .swiper-slide[data-swiper-parallax] .slide-image {
    transition: transform 1s ease;
}

/* Creative Layout Variations */
.custom-swiper-slider.layout-fullscreen {
    height: 100vh;
}

.custom-swiper-slider.layout-hero {
    height: 70vh;
    min-height: 500px;
}

.custom-swiper-slider.layout-compact {
    height: 300px;
}
