/* ========== SLIDER.CSS - СТИЛИ ДЛЯ СЛАЙДЕРА ========== */
.slider-section {
    width: 100%;
    background: #e6e6e1;
}

.slider-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.slides-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.2, 1);
    will-change: transform;
}

.slide {
    flex: 0 0 100%;
    min-height: 380px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #11366a;
}

/* Адаптивная высота слайдера */
@media (min-width: 1024px) {
    .slide {
        min-height: 480px;
    }
}

@media (max-width: 640px) {
    .slide {
        min-height: 260px;
    }
}

/* Кнопки навигации */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(17, 54, 106, 0.7);
    backdrop-filter: blur(4px);
    border: none;
    color: #fafaf5;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem 1rem;
    border-radius: 32px;
    transition: 0.2s;
    z-index: 10;
    font-weight: bold;
}

.slider-btn:hover {
    background: #9F0505;  /* Красный для акцентов */
    color: #fafaf5;
}

.btn-prev {
    left: 16px;
}

.btn-next {
    right: 16px;
}

/* Индикаторы (точки) */
.dots {
    text-align: center;
    padding: 12px 0 20px;
    background: #e6e6e1;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #11366a;
    border-radius: 50%;
    margin: 0 6px;
    cursor: pointer;
    transition: 0.2s;
    opacity: 0.5;
}

.dot.active {
    background-color: #9F0505;  /* Красный для акцентов */
    opacity: 1;
    transform: scale(1.2);
    width: 16px;
    height: 16px;
}

/* Fallback для слайдов с ошибкой загрузки */
.slide.fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #11366a;
    color: #fafaf5;
    font-family: 'Calibri', 'DengXian', 'Yu Gothic UI', sans-serif;
    font-weight: 500;
    font-size: 18px;
    text-align: center;
    padding: 1rem;
}