/* Стили для рекламного лендинга - светлая тема без градиентов */

/* Основные стили */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: #212529;
    background-color: #ffffff;
}

/* Карусель */
.carousel-inner {
    background-color: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
}

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

/* Убираем красную обводку при нажатии на кнопки карусели */
.carousel-control-prev:focus,
.carousel-control-next:focus,
.carousel-control-prev:active,
.carousel-control-next:active {
    box-shadow: none !important;
    outline: none !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 20px;
}

/* Блоки характеристик - одинаковая высота */
.feature-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 85px;
}

@media (max-width: 768px) {
    .carousel-image {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .carousel-image {
        height: 250px;
    }
}

/* Стили карточек магазинов */
.card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border-radius: 12px;
}

.card:hover {
    transform: translateY(-4px);
}

/* Приоритетная карточка - выделение */
.priority-card {
    transform: scale(1.02);
    z-index: 10;
}

.priority-card:hover {
    transform: scale(1.02) translateY(-4px);
}

@media (max-width: 992px) {
    .priority-card {
        transform: scale(1);
        margin-bottom: 1rem;
    }
    
    .priority-card:hover {
        transform: translateY(-4px);
    }
}

/* Кнопки */
.btn {
    transition: all 0.2s ease-in-out;
    border-radius: 8px;
    font-weight: 500;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:hover {
    background-color: #bb2d3b;
    border-color: #b02a37;
}

.btn-outline-dark:hover {
    background-color: #212529;
    color: #ffffff;
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}

/* Бейджи */
.badge {
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Таблица адаптивность */
.table-responsive {
    border-radius: 8px;
    overflow: hidden;
}

/* Позиционирование бейджей */
.position-absolute.top-0.start-50 {
    z-index: 20;
}

/* Иконки */
.fas, .far {
    width: 1.2em;
    text-align: center;
}

/* Изображения */
img {
    max-width: 100%;
    height: auto;
}

/* Доступность - только для кнопок */
.btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    outline: none;
}

/* Мобильная адаптация */
@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    h1.h2 {
        font-size: 1.5rem;
    }
    
    .h3 {
        font-size: 1.25rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
}

/* Секции */
section {
    position: relative;
}

/* Тени для карточек */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.125) !important;
}

/* Рамки */
.border-danger {
    border-color: #dc3545 !important;
}

/* Скрытие элементов при печати */
@media print {
    .carousel-control-prev,
    .carousel-control-next,
    .carousel-indicators,
    .btn {
        display: none !important;
    }
}

/* Списки в карточках */
.card ul li {
    font-size: 0.9rem;
}

/* Шапка */
header {
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Футер */
footer {
    margin-top: auto;
}

/* Анимация появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.4s ease-out;
}

.priority-card {
    animation: fadeInUp 0.4s ease-out 0.1s both;
}
