/* ========================================
   브랜드별 차량 보기 섹션
======================================== */

.brands-section {
    padding: 80px 0;
    background: #ffffff;
}

.section-title.centered {
    text-align: center;
    margin-bottom: 48px;
}

/* ========================================
   브랜드 그리드
======================================== */

.brands-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 16px;
}

/* ========================================
   브랜드 아이템
======================================== */

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    background: #f8fafc;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
}

.brand-item:hover {
    background: #3b82f6;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.brand-initial {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #e2e8f0;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
    color: #475569;
    transition: all 0.3s;
}

.brand-item:hover .brand-initial {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.brand-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #475569;
    transition: color 0.3s;
}

.brand-item:hover .brand-name {
    color: #ffffff;
}

/* ========================================
   반응형 (태블릿)
======================================== */

@media (max-width: 1024px) {
    .brands-section {
        padding: 60px 0;
    }

    .brands-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
}

/* ========================================
   반응형 (모바일)
======================================== */

@media (max-width: 768px) {
    .brands-section {
        padding: 50px 0;
    }

    .section-title.centered {
        margin-bottom: 32px;
    }

    .brands-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .brand-item {
        padding: 16px 8px;
        gap: 8px;
    }

    .brand-initial {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .brand-name {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
