/**
 * Slideshow Styles
 */

/* Slideshow Indicators */
.slideshow-indicators {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    opacity: 0;
    animation: fadeIn 1s ease forwards 2.2s;
}

.indicators-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.indicator:hover {
    border-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.indicator.active {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.3);
}

/* Slideshow Navigation */
.slideshow-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 6;
    pointer-events: none;
    opacity: 0;
    animation: fadeIn 1s ease forwards 2.5s;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    pointer-events: auto;
    opacity: 0.7;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    color: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

.nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.nav-prev {
    left: 30px;
}

.nav-next {
    right: 30px;
}

/* Smooth transitions for content changes */
.hero-content h1,
.hero-content .slogan,
.hero-content p {
    transition: opacity 0.3s ease;
}

.hero-background img {
    transition: opacity 0.6s ease;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .slideshow-indicators {
        bottom: 40px;
    }
    
    .indicators-wrapper {
        padding: 12px 20px;
        gap: 10px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .nav-prev {
        left: 20px;
    }
    
    .nav-next {
        right: 20px;
    }
}

@media (max-width: 576px) {
    .slideshow-navigation {
        display: none; /* Hide navigation arrows on very small screens */
    }
    
    .slideshow-indicators {
        bottom: 30px;
    }
    
    .indicators-wrapper {
        padding: 10px 15px;
        gap: 8px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
}

/* Animation keyframes */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Pause animations when user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-content h1,
    .hero-content .slogan,
    .hero-content p,
    .hero-background img,
    .indicator,
    .nav-btn {
        transition: none;
    }
    
    .slideshow-indicators,
    .slideshow-navigation {
        animation: none;
        opacity: 1;
    }
}