/* static/css/main.css */

/* Герой-секция */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)),
               var(--hero-bg-url, url('/static/img/hero-bg.jpg'));
    background-size: cover;
    background-position: center;
    color: white;
    padding: 6rem 0;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Карточки особенностей */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
}

/* Секция статистики */
.stats-section {
    background: linear-gradient(135deg, #2c3e50 0%, #1a2530 100%);
    color: white;
    padding: 4rem 0;
    margin: 4rem 0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3498db;
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* CTA секция */
.cta-section {
    background: white;
    padding: 4rem 0;
    border-radius: 15px;
    margin: 3rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Футер */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0;
    margin-top: 4rem;
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated {
    animation: fadeInUp 0.6s ease-out;
}

/* Стили для карточек особенностей */
.feature-card .card-body {
    padding: 2rem;
}

.feature-card .card-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card .card-text {
    color: #666;
    line-height: 1.6;
}

/* Дополнительные стили для главной страницы */
.main-content {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: calc(100vh - 76px); /* Вычитаем высоту навигации */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Скрытые элементы для передачи данных в JS */
.stats-data {
    display: none;
}

/* Центрирование статистики */
.stats-center-row {
    justify-content: center;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}