/* additional.css - дополнительные стили для обновленного проекта */

/* ===== ОБНОВЛЕННЫЙ HEADER ===== */
.navigation a.active {
    color: #e94560;
    font-weight: bold;
    border-bottom: 2px solid #e94560;
}

.user-menu {
    position: relative;
    display: inline-block;
}

.user-greeting {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #f8f9fa;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.user-greeting:hover {
    background-color: #e9ecef;
}

.user-greeting i {
    color: #e94560;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 1000;
    margin-top: 5px;
}

.user-menu:hover .dropdown {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s;
    border-bottom: 1px solid #f1f1f1;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #e94560;
}

.dropdown-item i {
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

.dropdown-divider {
    height: 1px;
    background-color: #f1f1f1;
    margin: 8px 0;
}

/* ===== НОВЫЕ ЭЛЕМЕНТЫ НА ГЛАВНОЙ ===== */
.hero-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #e94560;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 5px;
}

/* Блок типов жалоб */
.complaint-types {
    padding: 80px 0;
    background-color: #fff;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.type-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    background-color: #e94560;
    color: white;
}

.type-card:hover h4,
.type-card:hover p {
    color: white;
}

.type-card i {
    font-size: 3rem;
    color: #e94560;
    margin-bottom: 20px;
}

.type-card:hover i {
    color: white;
}

.type-card h4 {
    margin-bottom: 10px;
    color: #16213e;
}

.type-card p {
    color: #6c757d;
    font-size: 0.95rem;
}

/* ===== ОБНОВЛЕННЫЙ FOOTER ===== */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section h4 i {
    margin-right: 10px;
    color: #e94560;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #a8a8b5;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #e94560;
}

.footer-links i {
    width: 20px;
}

.footer-contacts {
    list-style: none;
}

.footer-contacts li {
    margin-bottom: 12px;
    color: #a8a8b5;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contacts i {
    color: #e94560;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #2c3e50;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: #e94560;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #2c3e50;
    padding-top: 20px;
    text-align: center;
}

.disclaimer {
    font-size: 0.9rem;
    color: #8a8a9a;
    margin-top: 15px;
    font-style: italic;
}

.disclaimer i {
    color: #ffc107;
    margin-right: 5px;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .types-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links a,
    .footer-contacts li {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* ===== УТИЛИТЫ ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }