/* Slideshow Specific Styles */

.hero-slideshow {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust as needed */
    overflow: hidden;
}

.hero-swiper .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
    transform: scale(1.1); /* For subtle zoom effect */
    transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-swiper .swiper-slide-active .slide-background {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hero-swiper .swiper-slide-active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-content h2 {
    font-size: 3.5em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.slide-content .btn {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.slide-content .btn:hover {
    background-color: var(--primary-dark-color);
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: #fff !important;
    --swiper-navigation-size: 30px;
}

/* Swiper Pagination */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.6) !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
}

/* Custom Controls */
.slideshow-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 15px;
    border-radius: 25px;
}

.slideshow-control {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2em;
    cursor: pointer;
    transition: color 0.3s ease;
}

.slideshow-control:hover {
    color: var(--primary-color);
}

.slideshow-progress {
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
}

.slideshow-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--primary-color);
    transition: width 0.1s linear;
}

/* Fullscreen mode */
.hero-slideshow.fullscreen-mode {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

@media (max-width: 768px) {
    .hero-slideshow {
        height: 400px;
    }

    .slide-content h2 {
        font-size: 2.5em;
    }

    .slide-content p {
        font-size: 1em;
    }

    .slideshow-controls {
        bottom: 10px;
        padding: 5px 10px;
    }

    .slideshow-control {
        font-size: 1em;
    }

    .slideshow-progress {
        width: 60px;
    }
}


