/**
 * Стили для страницы ремонта
 * @version 2.0
 */

/* Основные стили */
.repair-overview {
    background: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2f3946;
    margin-bottom: 1rem;
}

.category-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.75rem;
}

.category-header h3 {
    margin: 0;
    font-size: 1.4rem;
    color: #2f3946;
}

.category-body ul {
    padding-left: 0;
    margin: 1rem 0;
}

.category-body li {
    list-style: none;
    margin-bottom: 0.5rem;
}

.category-body li i {
    margin-right: 0.5rem;
}

.btn-order {
    width: 100%;
    padding: 0.6rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-order:hover {
    background: #007bff;
    color: white;
}

.brand-rating-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.brand-rating-card .card-header {
    background: #2f3946 !important;
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.rating-category h4 {
    margin-bottom: 0.75rem;
}

.brand-list li {
    padding: 0.4rem 0;
    border-bottom: 1px dashed #e9ecef;
}

.brand-list li:last-child {
    border-bottom: none;
}

.info-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: none !important;
}

/* Адаптивность */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .category-header h3 {
        font-size: 1.2rem;
    }
    
    .category-card {
        padding: 1rem;
    }
    
    .brand-rating-card .card-header {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .lead {
        font-size: 1rem;
    }
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-card {
    animation: fadeInUp 0.5s ease forwards;
}

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.2s; }
.category-card:nth-child(3) { animation-delay: 0.3s; }