/* Modern Frontend Slider Styles - Two Column Layout */

.gallery-slider-wrapper {
    width: 100%;
    margin: 20px 0;
    position: relative;
}

.gallery-slider-wrapper .swiper {
    width: 100%;
    height: 60vh;
    min-height: 500px;
    max-height: 900px;
    position: relative;
    overflow: hidden;
}

.gallery-slider-wrapper .swiper-slide {
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

/* Two Column Layout: 25% Text / 75% Image */
.gallery-slider-wrapper .slide-container {
    display: flex;
    width: 100%;
    height: 100%;
}

/* Text Column - 25% width with blurred background */
.gallery-slider-wrapper .slide-text-column {
    width: 25%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    z-index: 2;
}

.gallery-slider-wrapper .slide-text-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--slide-bg-image);
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.7);
    transform: scale(1.1);
    z-index: -1;
}

.gallery-slider-wrapper .slide-text-column::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: -1;
}

.gallery-slider-wrapper .slide-content {
    position: relative;
    z-index: 1;
    color: #fff;
    text-align: left;
    width: 100%;
}

.gallery-slider-wrapper .slide-heading {
    margin: 0 0 20px 0;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(20px);
    filter: blur(10px);
    animation: slideTextIn 0.5s ease-out forwards;
}

.gallery-slider-wrapper .slide-paragraph {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(20px);
    filter: blur(10px);
    animation: slideTextIn 0.5s ease-out 0.2s forwards;
}

@keyframes slideTextIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(10px);
    }
    50% {
        opacity: 0.5;
        transform: translateY(10px);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Image Column - 75% width */
.gallery-slider-wrapper .slide-image-column {
    width: 75%;
    position: relative;
    overflow: hidden;
    z-index:2;
}

.gallery-slider-wrapper .slide-image-column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Thumbnail Navigation */
.gallery-slider-wrapper .swiper-thumbs {
    margin-top: 20px;
    padding: 0 60px;
    position: relative;
    height: 0px !important;
    overflow: hidden;
    min-height: 70px !important;
    box-sizing: border-box;

 
}

.gallery-slider-wrapper .swiper-thumbs .swiper-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    height: 60px !important;
    box-sizing: border-box;
}

.gallery-slider-wrapper .swiper-thumbs .swiper-slide {
    width: 80px !important;
    height: 60px !important;
    opacity: 0.5;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid transparent;
    flex-shrink: 0;
    box-sizing: border-box;
    margin: 0 !important;
}

.gallery-slider-wrapper .swiper-thumbs .swiper-slide:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.gallery-slider-wrapper .swiper-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.gallery-slider-wrapper .swiper-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Swiper Navigation */
.gallery-slider-wrapper .swiper-button-next,
.gallery-slider-wrapper .swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.gallery-slider-wrapper .swiper-button-next:hover,
.gallery-slider-wrapper .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.gallery-slider-wrapper .swiper-button-next::after,
.gallery-slider-wrapper .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

/* Swiper Pagination */
.gallery-slider-wrapper .swiper-pagination {
    bottom: 20px;
    z-index: 10;
}

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

.gallery-slider-wrapper .swiper-pagination-bullet-active {
    background: #fff;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .gallery-slider-wrapper .swiper {
        height: 50vh;
        min-height: 400px;
        max-height: 700px;
    }
    
    .gallery-slider-wrapper .slide-text-column {
        padding: 30px;
    }
    
    .gallery-slider-wrapper .slide-heading {
        font-size: 28px;
    }
    
    .gallery-slider-wrapper .slide-paragraph {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .gallery-slider-wrapper .swiper {
        height: 45vh;
        min-height: 350px;
        max-height: 600px;
    }
    
    /* Stack columns on mobile */
    .gallery-slider-wrapper .slide-container {
        flex-direction: column;
    }
    
    .gallery-slider-wrapper .slide-text-column {
        width: 100%;
        height: 40%;
        padding: 20px;
    }
    
    .gallery-slider-wrapper .slide-image-column {
        width: 100% !important;
        height: 60%;
    }
    
    .gallery-slider-wrapper .slide-heading {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .gallery-slider-wrapper .slide-paragraph {
        font-size: 14px;
    }
    
    .gallery-slider-wrapper .swiper-button-next,
    .gallery-slider-wrapper .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .gallery-slider-wrapper .swiper-button-next::after,
    .gallery-slider-wrapper .swiper-button-prev::after {
        font-size: 16px;
    }
    
    .gallery-slider-wrapper .swiper-thumbs {
        padding: 0 40px;
        height: 45px !important;
    }
    
    .gallery-slider-wrapper .swiper-thumbs .swiper-wrapper {
        height: 45px !important;
    }
    
    .gallery-slider-wrapper .swiper-thumbs .swiper-slide {
        width: 60px !important;
        height: 45px !important;
    }
}

@media (max-width: 480px) {
    .gallery-slider-wrapper .swiper {
        height: 40vh;
        min-height: 300px;
        max-height: 500px;
    }
    
    .gallery-slider-wrapper .slide-text-column {
        padding: 15px;
    }
    
    .gallery-slider-wrapper .slide-heading {
        font-size: 20px;
    }
    
    .gallery-slider-wrapper .slide-paragraph {
        font-size: 13px;
    }
    
    .gallery-slider-wrapper .swiper-thumbs {
        padding: 0 20px;
        height: 38px !important;
    }
    
    .gallery-slider-wrapper .swiper-thumbs .swiper-wrapper {
        height: 38px !important;
    }
    
    .gallery-slider-wrapper .swiper-thumbs .swiper-slide {
        width: 50px !important;
        height: 38px !important;
    }
}

/* Smooth transitions */
.gallery-slider-wrapper .swiper-slide {
    transition: opacity 0.6s ease;
}