/* Галерея главной страницы */
.carousel-container { overflow: hidden; }
.carousel-track { display: flex; }
.carousel-slide { flex: 0 0 100%; transition: transform 0.5s ease-in-out; }

/* Слайды с фоновым изображением */
.carousel-slide-bg {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.carousel-overlay {
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* Индикаторы */
.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.carousel-indicator:hover { background-color: rgba(255, 255, 255, 0.8); }
.carousel-indicator.active { background-color: white; }

/* Кнопки навигации */
.carousel-prev,
.carousel-next {
    padding: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.carousel-prev:hover,
.carousel-next:hover { background-color: white; }

/* Текст */
.carousel-text {
    max-width: 600px;
    padding: 0 4rem;
}

.carousel-title {
    color: white;
    font-size: 3rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.carousel-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.carousel-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.carousel-button:hover { background-color: #1d4ed8; }