/* ===================================
   Background Slideshow Styles
   =================================== */

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.slideshow-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slideshow-slide.active {
    opacity: 1;
}

/* Overlay to ensure content readability - Desktop (Reduced for better image visibility) */
.slideshow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.25) 0%,
            rgba(255, 255, 255, 0.15) 50%,
            rgba(255, 255, 255, 0.20) 100%);
    z-index: 1;
}

/* Ensure hero content is above slideshow */
.hero-container {
    position: relative;
    z-index: 2;
}

/* Ken Burns effect - subtle zoom animation */
.slideshow-slide.active {
    animation: kenBurns 10s ease-out forwards;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

/* Responsive adjustments - Mobile */
@media (max-width: 768px) {
    .slideshow-overlay {
        background: linear-gradient(135deg,
                rgba(255, 255, 255, 0.25) 0%,
                rgba(255, 255, 255, 0.15) 50%,
                rgba(255, 255, 255, 0.20) 100%);
    }

    /* Add text shadows for better readability on mobile */
    .hero-title {
        text-shadow: 0 2px 8px rgba(255, 255, 255, 0.9),
            0 4px 16px rgba(255, 255, 255, 0.7);
    }

    .hero-subtitle {
        text-shadow: 0 1px 4px rgba(255, 255, 255, 0.9),
            0 2px 8px rgba(255, 255, 255, 0.7);
    }
}