/* Slideshow Styles
-------------------------------------------------------------- */
.hero-slideshow {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background-color: #1a3a2a;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

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

/* Если используете background-image вместо img */
.slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Оверлей для улучшения читаемости текста */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.slide-content {
    position: absolute;
    bottom: 20%;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    z-index: 2;
    padding: 0 20px;
}

.slide-content h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Кнопки навигации */
.slideshow-prev,
.slideshow-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.slideshow-prev {
    left: 20px;
}

.slideshow-next {
    right: 20px;
}

.slideshow-prev:hover,
.slideshow-next:hover {
    background: #f49c1a;
    color: #1a3a2a;
}

/* Индикаторы (точки) */
.slideshow-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #f49c1a;
    width: 24px;
    border-radius: 6px;
}

.dot:hover {
    background: #f49c1a;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero-slideshow {
        height: 300px;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
    }
    
    .slideshow-prev,
    .slideshow-next {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-slideshow {
        height: 250px;
    }
    
    .slide-content h2 {
        font-size: 1.2rem;
    }
}