

/* Change header background to maroon */
.site header.container-header {
    background-color: #722F37 !important;
    background-image: none !important;
}

/* Make header sticky on ALL devices */
.container-header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    width: 100% !important;
}

/* Force desktop menu centering */
@media (min-width: 992px) {
    .container-header .grid-child.container-nav {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }
    
    .container-header .navbar.navbar-expand-lg {
        justify-content: center !important;
        width: 100% !important;
    }
    
    .container-header .navbar-collapse {
        justify-content: center !important;
        flex-grow: 0 !important;
    }
    
    .container-header .mod-menu.metismenu {
        display: flex !important;
        justify-content: center !important;
        width: auto !important;
        margin: 0 auto !important;
        list-style: none !important;
        padding-left: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .container-header .mod-menu.metismenu .metismenu-item {
        margin: 0 15px !important;
    }
}

/* White menu text for contrast */
.container-header .mod-menu a,
.container-header .navbar-nav a {
    color: white !important;
}

/* Menu hover effect */
.container-header .mod-menu a:hover,
.container-header .navbar-nav a:hover {
    color: #f0f0f0 !important;
    background-color: rgba(255,255,255,0.1) !important;
}

/* Mobile hamburger - force to right AND make sticky */
@media (max-width: 991px) {
    .container-header {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 1030 !important;
    }
    
    .container-header .navbar {
        display: flex !important;
        justify-content: space-between !important;
        width: 100% !important;
        position: relative !important;
    }
    
    .container-header .navbar-toggler {
        border-color: white !important;
        order: 999 !important;
        margin-left: auto !important;
        margin-right: 15px !important;
        position: relative !important;
        z-index: 1031 !important;
    }