:root {
    --bmd-primary: #2F5D3A; /* Dark Palm Green */
    --bmd-primary-dark: #22452A;
    --bmd-secondary: #9A6B3F; /* Caramel accent */
    --bmd-secondary-hover: #7E5733;
    --bmd-bg: #FFFFFF;
    --bmd-bg-alt: #FAF2EB; /* Cream/Beige */
    --bmd-text: #333333;
    --bmd-text-light: #7A7A7A;
    --bmd-white: #FFFFFF;
    --bmd-border: #E5E7EB;
}

/* Global Container */
.bmd-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Buttons */
.bmd-btn-primary {
    display: inline-block;
    background-color: var(--bmd-primary);
    color: var(--bmd-white) !important;
    padding: 10px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}
.bmd-btn-primary:hover {
    background-color: var(--bmd-secondary);
    color: var(--bmd-white);
}

/* Header */
.bmd-custom-header {
    background-color: var(--bmd-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
}
body.admin-bar .bmd-custom-header {
    top: var(--wp-admin--admin-bar--height, 32px);
}
@media screen and (max-width: 782px) {
    body.admin-bar .bmd-custom-header {
        top: 46px;
    }
}

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

.bmd-logo img {
    height: 50px;
    width: auto;
    display: block;
}

.bmd-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 24px;
}
.bmd-nav a {
    color: var(--bmd-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
}
.bmd-nav a:hover, .bmd-nav a.active {
    color: var(--bmd-secondary);
}

.bmd-mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.bmd-mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--bmd-primary);
    transition: 0.3s;
}

/* Footer */
.bmd-custom-footer {
    background-color: var(--bmd-primary);
    color: var(--bmd-bg-alt);
    padding: 60px 0 0 0;
    margin-top: 60px;
}

.bmd-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.bmd-footer-logo {
    max-width: 200px;
    margin-bottom: 15px;
}
.bmd-slogan {
    font-size: 16px;
    opacity: 0.9;
}

.bmd-footer-col h3 {
    color: var(--bmd-white);
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.bmd-footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--bmd-secondary);
}

.bmd-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.bmd-footer-col ul li {
    margin-bottom: 10px;
}
.bmd-footer-col a {
    color: var(--bmd-bg-alt);
    text-decoration: none;
    transition: color 0.3s;
}
.bmd-footer-col a:hover {
    color: var(--bmd-secondary);
}

.bmd-footer-col p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.bmd-footer-bottom {
    background-color: var(--bmd-primary-dark);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
}
.bmd-footer-bottom p {
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .bmd-nav, .bmd-header-cta {
        display: none;
    }
    .bmd-mobile-menu-toggle {
        display: flex;
    }
    
    .bmd-nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bmd-white);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .bmd-nav.active ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}
