/* Swiper Banner Styles */

/* Container */
.swiper-container {
    width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
}

/* Slides */
.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.swiper-slide-active {
    z-index: 2;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.8s ease;
}

/* Video container */
.video-container {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    position: relative;
    overflow: hidden;
    transition: opacity 0.8s ease;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Navigation buttons */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 30px 15px;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Pagination */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #fff;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
}

/* Overlay text positioning */
.slide-overlay-text {
    position: absolute;
    padding: 20px;
    color: #fff;
    max-width: 80%;
    z-index: 10;
    transition: opacity 0.8s ease, transform 0.5s ease;
}

.slide-overlay-text.center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.slide-overlay-text.top-left {
    top: 30px;
    left: 30px;
    text-align: left;
}

.slide-overlay-text.top-right {
    top: 30px;
    right: 30px;
    text-align: right;
}

.slide-overlay-text.bottom-left {
    bottom: 30px;
    left: 30px;
    text-align: left;
}

.slide-overlay-text.bottom-right {
    bottom: 30px;
    right: 30px;
    text-align: right;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .slide-overlay-text {
        padding: 15px;
        max-width: 90%;
    }

    .slide-overlay-text.top-left,
    .slide-overlay-text.top-right {
        top: 15px;
    }

    .slide-overlay-text.bottom-left,
    .slide-overlay-text.bottom-right {
        bottom: 15px;
    }

    .slide-overlay-text.top-left,
    .slide-overlay-text.bottom-left {
        left: 15px;
    }

    .slide-overlay-text.top-right,
    .slide-overlay-text.bottom-right {
        right: 15px;
    }
}

/* Overlay text content */
.overlay-text-content {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 5px;
    transition: opacity 0.8s ease, transform 0.5s ease;
}
