/* --- BEYOND THE HORIZON GROUP | MASTER CSS --- */
/* VERSION: 7.7 - CENTER LOGO GHOSTING FIX (MOBILE-LOGO) */
/* LAST UPDATED: APRIL 8, 2026 @ 11:50 AM EDT */

/* 1. GLOBAL HEADER BAR */
.mobile_header {
    display: block !important; 
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 70px !important;
    background-color: #222222 !important; 
    z-index: 999998 !important;
    transition: all 0.4s ease-in-out !important;
}

.header_wrapper { display: none !important; }

/* 2. THE 3-BAR MENU (PIN TO FAR LEFT CORNER - MOBILE BASE) */
.mobile-trigger {
    display: flex !important;
    position: fixed !important; 
    left: 0 !important;          
    top: 0 !important;            
    width: 60px !important;      
    height: 70px !important;    
    align-items: center !important;
    justify-content: center !important;
    z-index: 1000001 !important;
    margin: 0 !important;
    padding: 0 !important;      
    transition: all 0.4s ease-in-out !important;
}

.mobile-trigger i, .mobile-trigger:before {
    color: #ffffff !important;
    font-size: 28px !important;
}

/* 2B. ADD "MENU" TEXT (DESKTOP ONLY) */
@media (min-width: 992px) {
    .mobile-trigger {
        width: auto !important;     
        padding: 0 20px !important;
    }
    .mobile-trigger:after {
        content: "MENU" !important;
        color: #ffffff !important;
        font-size: 14px !important;
        font-family: inherit !important;
        margin-left: 8px !important;
        letter-spacing: 1px !important;
        font-weight: 600 !important;
        text-shadow: 1px 1px 4px rgba(0,0,0,0.6) !important; 
    }
}

/* 3. THE LOGO (RIGHT CORNER CUSTOM LOGO & CENTER LOGO) */
.mobile_header .logo {
    position: fixed !important;
    right: 15px !important;
    top: 15px !important;
    left: auto !important;
    margin: 0 !important;
    z-index: 999999 !important;
    max-width: 60% !important;
    transition: all 0.4s ease-in-out !important;
}

.mobile_header .logo img {
    max-height: 35px !important;
    width: auto !important;
}

/* 4. CONTENT SPACING (MOBILE ONLY - PREVENTS DESKTOP SHIFT) */
@media (max-width: 991px) {
    #main-content, .main_wrapper, .elementor, #wrapper_950 {
        margin-top: 70px !important;
    }
    
    body.single-estate_property .header_media,
    body.single-estate_property .property_header,
    body.single-estate_property .property_header_wrapper,
    body.single-estate_property #property_ajax_wrapper {
        padding-top: 90px !important;
    }
}

/* 5. MOBILE HOMEPAGE TEXT SHRINK */
@media (max-width: 767px) {
    .home .elementor-section:first-of-type {
        min-height: 60vh !important;
        padding-top: 40px !important;
    }
    .home .elementor-widget-heading .elementor-heading-title {
        font-size: 19px !important;
        line-height: 1.2 !important;
        text-align: center !important;
    }
}

/* 6. MOUSE-ONLY HOVER REVEAL EFFECT (DESKTOP ONLY) */
@media (hover: hover) and (pointer: fine) {
    
    /* 1. FORCE THE MENU TO STAY VISIBLE */
    .mobile-trigger {
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* 2. MAKE BAR TRANSPARENT & HIDE ALL LOGOS INITIALLY */
    .mobile_header {
        background-color: transparent !important;
        box-shadow: none !important;
    }
    
    /* Hides right-side logo AND the theme's mobile-logo */
    .mobile_header .logo,
    .mobile_header .mobile-logo {
        opacity: 0 !important;
        visibility: hidden !important;
    }

    /* 3. REVEAL THE BAR AND ALL LOGOS ON HOVER */
    .mobile_header:hover,
    .mobile-trigger:hover ~ .mobile_header {
        background-color: #222222 !important;
    }
    
    .mobile_header:hover .logo,
    .mobile_header:hover .mobile-logo {
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* 7. INNER SPACING FOR PROPERTY & SEARCH PAGES */
@media (min-width: 992px) {
    .search_wrapper,
    .adv-search-1,
    .half_map_results .half-map-search {
        margin-top: 70px !important; 
    }
    body.single-estate_property .header_media,
    body.single-estate_property .property_header,
    body.single-estate_property .property_header_wrapper {
        padding-top: 90px !important;
    }
}

/* 8. MAP CONTROLS PUSH DOWN */
#gmap-control, 
#gmap-control-adv,
.gmap-controls,
.map-search-wrapper {
    top: 45px !important;
}
.gm-style .gmnoprint,
.gm-style .gm-bundled-control,
.gm-style .gm-style-mtc {
    margin-top: 100px !important;
}