/* ST Slider Style3 - Modern Swiper.js Integration */

/* Import Swiper CSS */
@import url('https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css');

/* AOS Animation Library */
@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

/* Style3 Main Container */
.st-style3 {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Swiper Container for Style3 */
.st-style3 .st-swiper-style3 {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
}

/* Swiper Slide */
.st-style3 .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

/* Background Image */
.st-style3 .st-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    image-rendering: high-quality;
    transform: scale(1.02);
    transition: transform 8s ease-out;
    z-index: 1;
}

/* Ken Burns Effect */
.st-style3 .swiper-slide-active .st-slide-bg {
    transform: scale(1.08);
}

/* Slide Overlay */
.st-style3 .st-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 2;
}

/* Content Container */
.st-style3 .st-slide-content {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 80px;
}

.st-style3 .st-content-container {
    max-width: 600px;
    color: #fff;
}

/* Tag Styling */
.st-style3 .st-slide-tag {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 20px;
    border-radius: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease;
}

.st-style3 .swiper-slide-active .st-slide-tag {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.2s;
}

/* Title Styling */
.st-style3 .st-slide-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transform: translateY(50px);
    opacity: 0;
    transition: all 1s ease;
    background: linear-gradient(135deg, #fff, #f1f2f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.st-style3 .swiper-slide-active .st-slide-title {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.4s;
}

/* Description Styling */
.st-style3 .st-slide-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease;
}

.st-style3 .swiper-slide-active .st-slide-description {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.6s;
}

/* Button Styling */
.st-style3 .st-btn-style3 {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease, transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.st-style3 .swiper-slide-active .st-btn-style3 {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.8s;
}

.st-style3 .st-btn-style3:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #764ba2, #667eea);
}

.st-style3 .st-btn-style3 .fa-arrow-right {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.st-style3 .st-btn-style3:hover .fa-arrow-right {
    transform: translateX(5px);
}

/* Swiper Navigation Buttons */
.st-style3 .st-swiper-btn-next,
.st-style3 .st-swiper-btn-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.st-style3 .st-swiper-btn-next:hover,
.st-style3 .st-swiper-btn-prev:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.st-style3 .st-swiper-btn-prev {
    left: 30px;
}

.st-style3 .st-swiper-btn-next {
    right: 30px;
}

/* Swiper Pagination */
.st-style3 .st-swiper-pagination {
    bottom: 30px !important;
    text-align: center;
}

.st-style3 .st-swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.st-style3 .st-swiper-pagination .swiper-pagination-bullet-active {
    background: #fff;
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* Swiper Scrollbar */
.st-style3 .st-swiper-scrollbar {
    bottom: 10px !important;
    height: 4px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 2px;
}

.st-style3 .st-swiper-scrollbar .swiper-scrollbar-drag {
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    border-radius: 2px;
}

/* Thumbnail Navigation */
.st-style3 .st-thumbnail-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 5;
}

.st-style3 .st-thumbs-swiper {
    height: 100%;
    padding: 20px;
}

.st-style3 .st-thumb-slide {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.st-style3 .st-thumb-slide:hover,
.st-style3 .st-thumb-slide.swiper-slide-thumb-active {
    opacity: 1;
    transform: scale(1.05);
    border-color: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.st-style3 .st-thumb-slide img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.st-style3 .st-thumb-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 8px;
    color: #fff;
}

.st-style3 .st-thumb-content h4 {
    font-size: 12px;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .st-style3 .st-slide-content {
        padding: 0 60px;
    }
    
    .st-style3 .st-slide-title {
        font-size: 3rem;
    }
}

@media (max-width: 991px) {
    .st-style3 .st-slide-content {
        padding: 0 40px;
    }
    
    .st-style3 .st-slide-title {
        font-size: 2.5rem;
    }
    
    .st-style3 .st-slide-description {
        font-size: 1.1rem;
    }
    
    .st-style3 .st-swiper-btn-next,
    .st-style3 .st-swiper-btn-prev {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
    
    .st-style3 .st-swiper-btn-prev {
        left: 20px;
    }
    
    .st-style3 .st-swiper-btn-next {
        right: 20px;
    }
    
    .st-style3 .st-thumbnail-nav {
        height: 100px;
    }
    
    .st-style3 .st-thumb-slide img {
        height: 60px;
    }
}

@media (max-width: 767px) {
    .st-style3 .st-slide-content {
        padding: 0 30px;
        text-align: center;
        justify-content: center;
    }
    
    .st-style3 .st-slide-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .st-style3 .st-slide-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .st-style3 .st-btn-style3 {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .st-style3 .st-swiper-btn-next,
    .st-style3 .st-swiper-btn-prev {
        display: none;
    }
    
    .st-style3 .st-thumbnail-nav {
        height: 80px;
    }
    
    .st-style3 .st-thumb-slide img {
        height: 40px;
    }
    
    .st-style3 .st-thumb-content h4 {
        font-size: 10px;
    }
}

@media (max-width: 575px) {
    .st-style3 .st-slide-content {
        padding: 0 20px;
    }
    
    .st-style3 .st-slide-title {
        font-size: 1.8rem;
    }
    
    .st-style3 .st-slide-tag {
        font-size: 10px;
        padding: 6px 15px;
        letter-spacing: 1px;
    }
    
    .st-style3 .st-swiper-pagination {
        bottom: 20px !important;
    }
    
    .st-style3 .st-thumbnail-nav {
        display: none;
    }
}

/* Loading Animation */
.st-style3 .st-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
}

.st-style3 .st-loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #fff;
    border-radius: 50%;
    animation: st-spin 1s linear infinite;
}

@keyframes st-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Parallax Effect */
.st-style3 .st-parallax-bg {
    transform: translate3d(0, 0, 0);
    transition: transform 0.3s ease-out;
}

/* Custom Swiper Effects */
.st-style3 .swiper-slide-prev .st-slide-bg {
    transform: scale(1.02) translateX(-10px);
}

.st-style3 .swiper-slide-next .st-slide-bg {
    transform: scale(1.02) translateX(10px);
}

/* Accessibility */
.st-style3 .swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.st-style3 [data-aos] {
    pointer-events: none;
}

.st-style3 [data-aos].aos-animate {
    pointer-events: auto;
}

/* High DPI Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .st-style3 .st-slide-bg {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .st-style3 .st-slide-overlay {
        background: linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0.8) 100%
        );
    }
}

/* Print Styles */
@media print {
    .st-style3 .st-swiper-btn-next,
    .st-style3 .st-swiper-btn-prev,
    .st-style3 .st-swiper-pagination,
    .st-style3 .st-thumbnail-nav {
        display: none !important;
    }
}
