/*
Theme Name: Beyond Biz Experience
Description: Custom theme for Beyond Biz Experience with 5 navigation styles
Author: Susan Robichaud
Version: 1.0

    /* First: Force visible */
.main-navigation.navigation-style-style-1 .nav-menu .sub-menu {
    display: block !important;
}

/* Then: Hide again! */
.main-navigation.navigation-style-style-1 .nav-menu .sub-menu {
    display: none !important;
}
    
    
    
    
/* ==========================================================================
   NOTIFICATION BAR SETTINGS
   ========================================================================== */

/* Wrapper for the notification bar (full width, no spacing) */
.beyondbizexperience-notification-wrapper {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: visible;
}

/* Main notification bar (flex layout, edge-to-edge) */
.announcement-bar {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Hide bar when toggled off */
.announcement-bar.is-hidden,
.beyondbizexperience-notification-wrapper.is-hidden {
    display: none;
}

/* Content container (flex, full width) */
.beyondbizexperience-announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
    width: 100%;
}

/* Notification text (vertically centered) */
.beyondbizexperience-notification-text {
    margin: 0;
    display: flex;
    align-items: center;
    line-height: 1.5;
}

/* Notification button (flex, inherits font size, smooth transition) */
.beyondbizexperience-notification-button {
    display: flex;
    padding: 8px 16px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background-color 0.3s ease;
    line-height: 1.5;
    font-size: inherit; /* Matches bar text size */
    /* margin-left: 12px;  Uncomment if you want space between text and button */
}

/* Close button (absolutely positioned, accessible) */
.announcement-bar .beyondbizexperience-close-button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    font-size: 20px;
    cursor: pointer;
    color: #ffffff;
    border-color: inherit;
    border-radius: inherit;
    padding: 4px 8px;
    z-index: 10001;
    pointer-events: auto;
    /* Ensure aria-label="Close notification" is present in HTML for accessibility */
}

/* Hide old grid container/header if present */
.announcement-bar.grid-container,
.top-header {
    display: none;
    border: none;
    background: none;
    height: 0;
    min-height: 0;
    padding: 0;
    margin: 0;
}

.announcement-bar .beyondbizexperience-close-button {
        top: 8px;
        right: 8px;
        transform: none;
    }


/* Notification bar styles */
.notification-bar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.beyondbizexperience-notification-button {
    margin-left: 24px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: inherit;
}

/* Default: white X, no background, no border */

.announcement-bar .beyondbizexperience-close-button {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5em;
    padding: 0.25em 0.5em;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border 0.2s;
}

/* On hover/focus: match the notification button style */

.beyondbizexperience-close-button:hover,
.beyondbizexperience-close-button:focus {
    background-color: #0a7996;
    color: #fff;
    border-radius: 1px;
    border-width: 1px;
    border-style: solid;
    border-color: #fff
}


/* ==========================================================================
   HEADER STYLES (FOR ALL STYLES)
   ========================================================================== */

.site-header {
    display: flex;
    align-items: center;      /* Vertically center logo and nav */
    justify-content: space-between;
    padding: 0 32px;
    width: 100%;
    box-sizing: border-box;
}






/* ==========================================================================
   RESPONSIVE STYLE - HAMBURGER MENU
   ========================================================================== */



/* ==========================================================================
   STYLE #1 — PLATFORM NAVIGATION (CLEANED UP)
   ========================================================================== */

.main-navigation.navigation-style-style-1 .nav-menu {
    display: flex;
    flex-wrap: wrap;
    margin: 2rem 0 2rem 0;
    max-width: 100%;
    list-style: none;
    padding: 0;
    align-items: center;
    justify-content: flex-start;
}

.main-navigation.navigation-style-style-1 .nav-menu > li {
    position: relative;
}

.main-navigation.navigation-style-style-1 .nav-menu > li > a {
    text-decoration: none;
    font-weight: 300;
    padding: 0.5em 1em;
    border-radius: 5px;
    transition: background 0.2s, color 0.2s, border-radius 0.2s;
    display: block;
}


/* ==========================================================================
   STYLE 1 - Submenu Styles (from parent theme)
   ========================================================================== */

/* Hide submenus by default */
.main-navigation.navigation-style-style-1 .nav-menu .sub-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 99999;
    line-height: 1.7;
    background-color: #555555;
    list-style: none !important; /* Fix bullet points */
    padding: 0;
    margin: 0;
}


/* Show submenu on hover/focus */
.main-navigation.navigation-style-style-1 .nav-menu .menu-item-has-children:hover > .sub-menu,
.main-navigation.navigation-style-style-1 .nav-menu .menu-item-has-children:focus-within > .sub-menu {
    display: block;
}

/* Submenu link styles */
.main-navigation.navigation-style-style-1 .nav-menu .sub-menu a {
    color: #fff;
    width: 14em;
    padding: 8px 12px;
    background: none;
    text-decoration: none;
    display: block;
    list-style: none !important; /* Ensure no bullets */
}

/* Submenu link hover/focus */
.main-navigation.navigation-style-style-1 .nav-menu .sub-menu a:hover,
.main-navigation.navigation-style-style-1 .nav-menu .sub-menu a:focus-within {
    color: #fff;
    background-color: #fc7364;
}

/* Submenu arrow indicator */
.main-navigation.navigation-style-style-1 .nav-menu > li.menu-item-has-children > a:after {
    content: " ▼";
    font-size: 0.6em;
    margin-left: 0.4em;
}


/* ==========================================================================
   STYLE #2 — PLATFORM NAVIGATION (Layout Only)
   ========================================================================== */

.main-navigation.navigation-style-style-2 {
    display: flex;
    align-items: center;
    height: 64px; /* Adjust as needed to match your logo/CTA */
    background: transparent !important;
    width: 100%;
    box-sizing: border-box;
}

.main-navigation.navigation-style-style-2 .nav-menu {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0;
    padding: 0;
    background: transparent !important;
    list-style: none;
    gap: 0;
}

.main-navigation.navigation-style-style-2 .nav-menu > li {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
}

.main-navigation.navigation-style-style-2 .nav-menu > li > a {
    font-weight: 300;
    border-radius: 0;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 1.25em; /* Adjust for spacing */
    line-height: 1.2;
    box-sizing: border-box;
}

.main-navigation.navigation-style-style-2 .nav-menu > li > a:focus {
    outline: 2px solid;
}

/* --- CTA Button at Far Right --- */
.main-navigation.navigation-style-style-2 .menu-cta {
    margin-left: auto;
    display: flex;
    align-items: center;
    height: 100%;
}

.main-navigation.navigation-style-style-2 .menu-cta a,
.main-navigation.navigation-style-style-2 .menu-cta button {
    display: flex;
    align-items: center;
    height: 48px; /* Slightly less than nav for visual balance */
    padding: 0 2em;
    font-size: 18px;
    border-radius: 6px;
    font-weight: 500;
    letter-spacing: 0.5px;
    background: #393939;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}




/* ========================
   STYLE 2 - SUBMENU STYLES
   ======================== */

.main-navigation.navigation-style-style-2 .nav-menu li ul {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 220px;
    border-radius: 0 0 6px 6px;
    z-index: 9999;
    padding: 0.5em 0;
    background: #393939; /* or transparent, as you wish */
}

.main-navigation.navigation-style-style-2 .nav-menu li:hover > ul,
.main-navigation.navigation-style-style-2 .nav-menu li:focus-within > ul {
    display: block;
}

.main-navigation.navigation-style-style-2 .nav-menu li ul li a {
    padding: 0.5em 1.5em;
    border-radius: 0;
    transition: background 0.2s, color 0.2s;
    display: block;
}

.main-navigation.navigation-style-style-2 .nav-menu li ul li a:focus {
    outline: 2px solid;
}

/* Submenu arrow indicator */
.main-navigation.navigation-style-style-2 .nav-menu > li.menu-item-has-children > a:after {
    content: " ▼";
    font-size: 0.7em;
    margin-left: 0.3em;
}


/* ==========================================================================
   STYLE 3 - STYLES
   ========================================================================== */
   
   
   
/* ==========================================================================
   STYLE 4 - STYLES
   ========================================================================== */
   
   
/* ==========================================================================
   STYLE 5 - STYLES
   ========================================================================== */
   
   
   
   


/* ==========================================================================
   FOOTER STYLES
   ========================================================================== */

.footer-widget {
    display: inline-block;
    vertical-align: top;
    width: 22%;
    margin-right: 2%;
}
.footer-widget:last-child {
    margin-right: 0;
}
.footer-copyright {
    text-align: center;
    margin-top: 20px;
    font-size: 20px;
}

.footer-copyright * {
    font-size: 18px;
}

.footer-widget a { 
    text-decoration: none; 
}


/* Copyright styling - remove spacing */
.footer-copyright {
    margin: 0;
    padding: 20px;
}

/* Copyright link styling */
.footer-copyright a {
    color: inherit; /* Uses the same color as the copyright text */
    text-decoration: none; /* Remove underline by default */
}

.footer-copyright a:hover {
    text-decoration: underline; /* Add underline on hover */
    opacity: 0.8; /* Slight fade effect on hover */
}

/* Footer Widget Images - Control sizing */
.footer-widget img {
    max-width: 225px; /* Set maximum width */
    height: auto; /* Maintain aspect ratio */
    display: block;
    margin-bottom: 10px;
}

/* Specific sizing for logo-type images */
.footer-widget .widget img {
    max-width: 175px;
    width: auto;
    height: auto;
}