*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #222;
}

.container{
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
}

.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #dcdcdc;
    padding: 20px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.logo-section h1{
    font-size: 2rem;
    color: #111;
    margin-bottom: 4px;
}

.tagline {
    font-size: 0.95rem;
    color: #666;
}

.main-nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;

}

.main-nav a {
    font-weight: 600;
    color: #333;
    transition: color 0.2s ease;

}

.main-nav a:hover {
    color: #8a1f1f;
}

.hero {
    background: linear-gradient(to right, #1f1f1f, #3a3a3a);
    color: white;
    padding: 80px 0;
}

.hero-container {
    max-width: 800px;
    
}


.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFFFF;
}

.hero p{
    font-size: 1.1rem;
    margin-bottom:30px;
    color: #cacaca;

}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn{
    display:inline-block;
    padding: 12px 22px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.primary-btn {
    background-color: #8a1f1f;
    color:white;
}

.primary-btn:hover {
    background-color: #6f1818;
}

.secondary-btn {
    background-color: white;
    color: #222;
    border: 1px solid #ccc;

}

.secondary-btn:hover {
    background-color: #f0f0f0;
}


/* Modal button CSS */
    .hidden {
        display:none;
    }
    .modal {
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0,0,0.55);
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px;
        z-index: 1000;
    }

    .modal.hidden {
        display:none;
    }

    .modal-content {
        background-color: white;
        width: 100%;
        max-width: 420px;
        padding: 30px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
        position: relative;
        text-align: left;
    }

    .modal-content h2 {
        margin-bottom: 10px;
        color: #111;
    }

    .modal-content p{
        margin-bottom: 18px;
        color: #555;
    }

    .access-code-input {
        width: 100%;
        padding: 12px;
        font-size: 1rem;
        border: 1px solid #ccc;
        border-radius: 6px;
        margin-bottom: 12px;
        outline: none;
    }

    .access-code-input:focus {
        border-color: #8a1f1f;
    }

    .error-message {
        min-height: 20px;
        color: #b00020;
        font-size: 0.95rem;
        margin-bottom: 12px;
    }

    .modal-buttons {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
    }

    .close-button {
        position: absolute;
        top: 12px;
        right: 14px;
        background: none;
        border: none;
        font-size: 1.6rem;
        cursor: pointer;
        color: #555;
    }

    .close-button:hover {
        color: #111;
    }




/* End Modal button CSS */





.brands-section {
    padding: 70px 0;
    background-color: #f9f9f9;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.brand-card {
    background-color: white;
    padding: 28px 22px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;

}

.brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);

}

.brand-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #111;

}

.brand-card p {
    color: #666;
    margin-bottom: 20px;

}

.brand-link {
    display: inline-block;
    color: #8a1f1f;
    font-weight: bold;
    transition: color 0.2s ease;
}

.brand-link:hover {
    color: #5f1414;
}

.promo-section {
    background-color: #222;
    color: white;
    padding: 70px 0;
}

.promo-container {
    text-align: center;
    max-width: 750px;
}

.promo-container h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.promo-container p {
    color: #dddddd;
    margin-bottom: 25px;
    font-size: 1.05 rem;
}


.site-footer {
    background-color: #111;
    color: white;
    padding: 40px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-container h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.footer-container p,
.footer-container a {
    color: #d3d3d3;
    font-size: 0.95rem;
}

.footer-container a:hover {
    color: white;
}

.footcopy {
    display: flex;
    align-items: center;
}

@media (max-width: 992px){
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h2 {
        font-size: 2rem;
    }
}

@media (max-width: 600px){
    .header-container {
        flex-direction: column;
    }

    .main-nav {
        width: 100%;
        justify-content: flex-start;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h2{
        font-size: 1.7rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .brand-grid {
        grid-template-columns: 1fr;
    }

    .footer-container{
        flex-direction: column;
    }
}