/* Custom Swiper Slider Styles */

.custom-swiper-container {
    position: relative;
    margin: 0px 0;
    width: 100%;
}

.custom-swiper-container .swiper {
    width: 100%;
    /* 19:9 aspect ratio container */
    padding-top: 47.37%; /* 9/19 = 0.4737 */
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.swiper-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.slide-content {
    display: flex;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
    z-index: 2;
    border-radius: 15px 15px 0 0;
}

.slide-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #fff;
    max-width: 60%;
}

.slide-excerpt {
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 16px;
    max-width: 60%;
}

.slide-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--color-content-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.slide-button:hover {
    background-color: var(--color-content-secondary);
    transform: translateY(-3px);
}

/* Navigation buttons - repositioned to middle sides */
.swiper-nav-buttons {
    position: absolute;
    z-index: 10;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Section and container styles */
/*section.swiper-slider-section {
    width: 100%;
    padding: 40px 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}*/

.swiper-button-prev,
.swiper-button-next {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    pointer-events: auto;
}

.swiper-button-prev {
    left: 15px;
}

.swiper-button-next {
    right: 15px;
}

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

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: white;
    transform: scale(1.05);
}

/* Thumbnails inside the slide - keep at bottom right */
.slide-thumbs {
    position: absolute;
    display: flex;
    gap: 8px;
    bottom: 25px;
    right: 25px;
    z-index: 3;
    max-width: 70%;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.slide-thumb {
    width: 80px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    opacity: 0.8;
    margin-bottom: 5px;
}

.slide-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-thumb:hover {
    border-color: #fff;
    opacity: 1;
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .slide-thumb {
        width: 70px;
        height: 42px;
    }
}

@media (max-width: 768px) {
    .slide-content h2 {
        font-size: 22px;
    }
    
    .slide-excerpt {
        font-size: 14px;
    }
    
    .slide-thumb {
        width: 60px;
        height: 36px;
    }
    
    .slide-thumbs {
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .slide-thumb {
        width: 50px;
        height: 30px;
    }
}
