* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.brand-nav {
    background-color: #620000;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
}

.logo p {
    color: rgb(155, 155, 155);
    font-size: 12px;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #e63946;
}

.contact-btn {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-btn i {
    color: #e63946;
}

.brand-hero {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.brand-hero h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.brand-hero p {
    font-size: 16px;
    color: #999;
}

.brand-list {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.brand-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 10px 25px;
    border: none;
    border-radius: 25px;
    background-color: #fff;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.category-btn:hover,
.category-btn.active {
    background-color: #620000;
    color: #fff;
}

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

.brand-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.brand-header {
    position: relative;
    height: 150px;
    overflow: hidden;
}

.brand-header img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #f5f5f5;
    padding: 20px;
}

.brand-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 12px;
    background-color: #620000;
    color: #fff;
    font-size: 12px;
    border-radius: 3px;
}

.brand-body {
    padding: 20px;
}

.brand-body h3 {
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.brand-body p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.brand-features {
    list-style: none;
    margin-bottom: 15px;
}

.brand-features li {
    font-size: 13px;
    color: #666;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-features i {
    color: #2ecc71;
    font-size: 12px;
}

.detail-btn {
    width: 100%;
    padding: 12px;
    background-color: #620000;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.detail-btn:hover {
    background-color: #e63946;
}

.brand-detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.brand-detail-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    position: relative;
    background-color: #fff;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 30px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border: none;
    background-color: #f0f0f0;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: #620000;
    color: #fff;
}

.modal-body {
    color: #333;
}

.modal-body img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background-color: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 20px;
}

.modal-body h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.modal-body .brand-detail-content {
    font-size: 15px;
    line-height: 2;
    color: #555;
}

.modal-body .brand-detail-content p {
    margin-bottom: 15px;
}

.modal-body .brand-detail-features {
    margin-top: 20px;
    padding-left: 20px;
}

.modal-body .brand-detail-features li {
    margin-bottom: 10px;
    color: #555;
}

.brand-footer {
    background-color: #620000;
    color: #fff;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.footer-info p {
    font-size: 14px;
    color: #ccc;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact i {
    color: #e63946;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.footer-bottom p {
    font-size: 12px;
    color: #ccc;
}

.footer-bottom p a {
    color: #ccc;
    text-decoration: none;
    margin-left: 20px;
}

@media (max-width: 768px) {
    .nav-content {
        flex-wrap: wrap;
        gap: 15px;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 15px;
    }

    .brand-cards {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .modal-content {
        padding: 20px;
    }
}