:root {
    --black: #000000;
    --red: #FF0000; /* A bright red for highlights */
    --white: #FFFFFF;
}

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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--white); /* Flipped from black */
    color: var(--black); /* Flipped from white */
}

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

header {
    background-color: var(--white); /* Flipped from black */
    color: var(--black); /* Flipped from white */
    padding: 1rem 0;
    position: relative;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    max-height: 80px;
    width: auto;
    display: block;
}

/* Navigation */
.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin-left: 20px;
}

.main-nav ul li a {
    color: var(--black); /* Flipped from white */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: var(--red);
}

/* Hamburger Menu (Mobile) */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    order: 2;
}

.menu-toggle .bar {
    height: 3px;
    width: 25px;
    background-color: var(--black); /* Flipped from white */
    margin: 4px 0;
    transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
    header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        max-height: 60px;
    }

    .main-nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--white); /* Flipped from black */
        border-top: 1px solid var(--red);
        text-align: center;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 10px 0;
    }

    .main-nav ul li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: flex;
    }
}


/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    margin-bottom: 20px;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2.5s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
}

/* Tagline Section */
#tagline {
    text-align: center;
    padding: 40px 0;
    background-color: var(--red); /* Remains red */
    color: var(--white); /* Remains white (against red background) */
    margin-bottom: 20px;
}

#tagline h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

#tagline p {
    font-size: 1.2em;
}

/* Image Gallery */
.image-gallery {
    padding: 40px 0;
    text-align: center;
}

.image-gallery h2 {
    font-size: 2em;
    margin-bottom: 30px;
    color: var(--black); /* Flipped from white */
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 2px solid var(--black); /* Flipped from white */
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* Secondary Logo Section */
#brand-reinforcement {
    text-align: center;
    padding: 20px 0;
    background-color: var(--white); /* Flipped from black */
}

.secondary-logo {
    max-width: 150px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Contact Section */
#contact {
    background-color: var(--black); /* Flipped from white */
    color: var(--white); /* Flipped from black */
    padding: 40px 0;
    text-align: center;
}

#contact h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

#contact p {
    margin-bottom: 10px;
}

#contact a {
    color: var(--red); /* Remains red */
    text-decoration: none;
    font-weight: bold;
}

#contact a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--white); /* Flipped from black */
    color: var(--black); /* Flipped from white */
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
}