/* Sticky positioning and frosted glass */
.sh-764e12c5-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.4s ease-in-out;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

body.admin-bar .sh-764e12c5-wrapper {
    top: var(--wp-admin--admin-bar--height, 32px);
}
@media screen and (max-width: 782px) {
    body.admin-bar .sh-764e12c5-wrapper {
        top: 46px;
    }
}

/* Hidden state when scrolling up */
.sh-764e12c5-wrapper.is-hidden {
    transform: translateY(-100%);
}

.sh-764e12c5-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.sh-764e12c5-logo img {
    max-height: 50px;
    width: auto;
}

/* Fallback styles for the logo area if empty in editor */
.elementor-editor-active .sh-764e12c5-logo {
    min-width: 100px;
    min-height: 50px;
}

.sh-764e12c5-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

.sh-764e12c5-nav a {
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: opacity 0.3s;
    scroll-behavior: smooth;
}
.sh-764e12c5-nav a:hover {
    opacity: 0.7;
}

.sh-764e12c5-mobile-toggle {
    display: none;
    cursor: pointer;
}

.sh-764e12c5-mobile-menu {
    display: none;
    flex-direction: column;
    padding: 20px;
    /* Updated Mobile Menu Background to Frosted Opaque White */
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0,0,0,0.05);
    text-align: center; /* Center align text */
}

.sh-764e12c5-mobile-menu.is-open {
    display: flex;
}

.sh-764e12c5-mobile-menu .sh-764e12c5-nav ul {
    flex-direction: column;
    gap: 15px;
    align-items: center; /* Center align list items */
}

.sh-764e12c5-social {
    margin-top: auto;
    padding-top: 20px;
    text-align: center;
    display: flex;
    justify-content: center; /* Center align icon */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .sh-764e12c5-nav.desktop-nav {
        display: none;
    }
    .sh-764e12c5-mobile-toggle {
        display: block;
    }
}
/* Page 520 uses the Angie header; suppress only its legacy Betheme top bar. */
body.page-id-520 #Top_bar,
body.page-id-520 .header_placeholder {
    display: none !important;
}

/* The 2026 page uses a custom hero, so hide its theme title band. */
body.page-id-520 #Subheader {
    display: none !important;
}
