/* CBC Header Styling to match header.png */

/* Main header container styling */
.globalHeader {
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 0;
    margin: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Primary navigation wrapper */
.menuNavWrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Menu button styling */
.menuButtonWrapper {
    display: flex;
    align-items: center;
}

.menuButton {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    text-decoration: none;
    color: #000;
}

.menuButton:hover {
    background-color: #f5f5f5;
    text-decoration: none;
    color: #000;
}

.menuText {
    margin-left: 8px;
    font-size: 14px;
    font-weight: 500;
    font-family: "CBC Sans", "Helvetica Neue", Arial, sans-serif;
}

/* CBC Logo styling */
.logoWrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logoIcon {
    height: 18px;
    width: auto;
}

/* Right side menu styling */
.sideMenu {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Search styling */
.navLink.search {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    text-decoration: none;
    color: #000;
}

.navLink.search:hover {
    background-color: #f5f5f5;
    text-decoration: none;
    color: #000;
}

.searchText {
    margin-left: 8px;
    font-size: 14px;
    font-weight: 500;
    font-family: "CBC Sans", "Helvetica Neue", Arial, sans-serif;
}

/* Profile button styling */
.profileButtonWrapper {
    display: flex;
    align-items: center;
}

.profileButtonNav {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    color: #000;
}

.profileButtonNav:hover {
    background-color: #f5f5f5;
}

.profileText {
    margin-left: 8px;
    font-size: 14px;
    font-weight: 500;
    font-family: "CBC Sans", "Helvetica Neue", Arial, sans-serif;
}

/* Landing navigation styling */
.landingNav {
    background-color: #E60505;
    border-bottom: 1px solid #d60404;
}

.landingWrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.responsiveNav {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.responsiveNav::-webkit-scrollbar {
    display: none;
}

.responsiveNav li {
    white-space: nowrap;
}

.responsiveNav a {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    font-family: "CBC Sans", "Helvetica Neue", Arial, sans-serif;
}

.responsiveNav a:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile menu styling */
.sideMenu {
    position: relative;
}

.menuNav {
    display: none;
}

.menuClose {
    display: none;
}

/* Hide search bar by default */
.headerSearchBar {
    display: none;
}

/* Responsive design */
@media (max-width: 768px) {
    .menuNavWrapper {
        padding: 8px 16px;
    }
    
    .menuText,
    .searchText,
    .profileText {
        display: none;
    }
    
    .responsiveNav {
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    
    .responsiveNav a {
        padding: 10px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .logoIcon {
        height: 16px;
    }
    
    .menuNavWrapper {
        padding: 6px 12px;
    }
}

/* CBC brand colors */
.globalHeader .icon svg path {
    fill: #ffffff;
}

.globalHeader .logoIcon path[fill="#D8232A"] {
    fill: #d8232a;
}

.globalHeader .logoIcon path[fill="#1A1919"] {
    fill: #1a1919;
}
