/* Color Variables */
:root {
    --primary: #780000; /* Header red */
    --secondary: #003049; /* Footer dark blue */
    --accent: #C1121F;
    --light: #FDF0D5; /* Cream */
    --text-dark: #212529;
    --text-light: #FDF0D5;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    color: var(--text-dark);
    background-color: var(--light);
    overflow-x: hidden;
}

/* Header Styles */
header {
    background-color: var(--primary);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    height: 50px;
    transition: transform 0.3s;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 15px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s;
    padding: 8px 0;
    white-space: nowrap;
}

nav ul li a:hover {
    color: var(--light);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--light);
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a.active {
    color: var(--light);
    font-weight: 600;
}

nav ul li a.active::after {
    width: 100%;
    background-color: var(--light);
}

/* Contact Info */
.contact-info {
    display: flex;
    align-items: center;
}

.contact-info a {
    text-decoration: none;
    color: var(--text-light);
    margin-left: 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: all 0.3s;
    white-space: nowrap;
}

.contact-info a i {
    margin-right: 8px;
    color: var(--light);
}

.contact-info a:hover {
    color: var(--light);
    transform: translateY(-2px);
}

/* Main Content */
main {
    margin-top: 80px;
    min-height: calc(100vh - 250px);
}

/* Contact Section */
.contact-section {
    padding: 60px 20px;
    background-color: #001427;
    text-align: center;
}

.section-heading {
    margin-bottom: 40px;
}

.section-heading h2 {
    color: #f4d58d;
    font-size: 42px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-heading h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: #bf0603;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

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

.contact-info-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.contact-card {
    background-color: #f4d58d;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    text-align: left;
}

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

.contact-icon {
    font-size: 28px;
    color: #001427;
    margin-bottom: 15px;
}

.contact-card h3 {
    color: #8d0801;
    font-size: 22px;
    margin-bottom: 15px;
}

.contact-card p {
    color: #001427;
    line-height: 1.6;
}

.contact-card a {
    color: #001427;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.contact-card a:hover {
    color: #bf0603;
    text-decoration: underline;
}

/* Footer/Deals In Section */
footer.deals-section {
    padding: 80px 20px;
    background-color: var(--secondary);
    text-align: center;
}

.brands-container {
    display: flex;
    justify-content: center;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.brand-item {
    max-width: 300px;
    padding: 30px;
    background-color: var(--light);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.brand-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.brand-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 120px;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    nav {
        order: 3;
        width: 100%;
        margin-top: 15px;
        display: none;
        background-color: var(--primary);
        padding: 20px;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    nav ul li {
        margin: 12px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .contact-info {
        margin-left: auto;
    }
}

@media (max-width: 768px) {
    .contact-info {
        display: none;
    }
    
    .section-heading h2 {
        font-size: 36px;
    }
    
    .contact-card {
        padding: 25px;
    }
    
    .brands-container {
        gap: 40px;
    }
    
    .brand-item {
        max-width: 280px;
        padding: 25px;
    }
}

@media (max-width: 480px) {
    main {
        margin-top: 70px;
    }
    
    .section-heading h2 {
        font-size: 30px;
    }
    
    .contact-info-container {
        grid-template-columns: 1fr;
    }
    
    .brands-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .brand-item {
        max-width: 100%;
        padding: 20px;
    }
}