/*
Theme Name: Masakhane Theme - Pro Color Match
Description: Restoring Charcoal & Gold Flex Layout
Version: 5.2 
*/

:root {
    --brand-charcoal: #202935;
    --brand-gold: #f4b400;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background: #ffffff !important;
    color: #333;
}

/* 1. FORCE HEADER TO CHARCOAL */
.site-header {
    background: #202935 !important;
    padding: 12px 0;
    border-bottom: 3px solid #f4b400 !important;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* 2. FORCE NAV LINKS TO WHITE */
.nav-menu li a {
    text-decoration: none !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    text-transform: uppercase;
}

/* 3. FORCE HERO TO DARK */
.hero-home {
    background: #202935 !important;
    background: linear-gradient(rgba(32, 41, 53, 0.85), rgba(32, 41, 53, 0.95)), url('assets/images/hero-bg.jpg') !important;
    background-size: cover !important;
    padding: 120px 0;
    color: #ffffff !important;
    text-align: center;
}

/* 4. FORCE TRUST BAR TO CHARCOAL */
.trust-bar {
    background: #202935 !important;
    color: #ffffff !important;
    padding: 20px 0;
    border-bottom: 4px solid #f4b400 !important;
}

/* 5. FORCE FOOTER TO CHARCOAL */
.site-footer {
    background: #202935 !important;
    padding: 60px 0 30px;
    color: #ffffff !important;
}

/* BUTTONS */
.btn-gold,
.header-cta .btn {
    background: #f4b400 !important;
    color: #202935 !important;
    padding: 12px 25px !important;
    border-radius: 6px !important;
    font-weight: 800 !important;
    display: inline-block !important;
}

/* THE REMAINING LAYOUT LOGIC */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.site-logo img {
    max-height: 70px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

/* --- Mobile Menu Fix --- */

/* 1. Hide Hamburger on Desktop */
.mobile-menu-toggle {
    display: none !important;
}

/* Ensure header elements stay side-by-side on all screens */
.header-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100%;
}

/* 2. Mobile Specific Rules */
@media (max-width: 768px) {

    /* Show Hamburger on Mobile */
    .mobile-menu-toggle {
        display: block !important;
        background: none;
        border: none;
        color: #f4b400;
        /* Match your brand gold */
        font-size: 30px;
        cursor: pointer;
        order: 2;
        /* Puts it in the middle */
    }

    /* Hide the long desktop links list */
    .desktop-only {
        display: none !important;
    }

    /* Keep CTA visible and position it on the right */
    .header-cta {
        display: block !important;
        order: 3;
    }

    .header-cta .btn-gold {
        padding: 8px 12px !important;
        font-size: 12px !important;
    }

    .site-logo {
        order: 1;
    }

    /* This styles the menu when it drops down on mobile */
    .main-nav {
        display: none;
        /* Hidden by default, JavaScript will show it */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #202935;
        padding: 20px;
        z-index: 999;
        border-bottom: 2px solid #f4b400;
    }

    .nav-menu {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}