/*
Theme Name: Homey Child
Theme URI: http://themeforest.net/user/favethemes/
Author: Favethemes
Author URI: http://themeforest.net/user/favethemes/
Description: Homey is a powerful booking platform that lets you run a residential or commercial rental business.
Version: v1.1.9 Fixed
Template: homey
*/

/* 1. NUCLEAR LOGO CONSTRAINTS - TARGETS THE LOGO FILE DIRECTLY */
img[src*="Locum-Home-Logo-Final-outline.png"],
.header-comp-logo img, 
.mobile-logo img, 
.homey_logo img,
a.homey_logo img {
    max-width: 180px !important;
    width: 180px !important;
    height: auto !important;
}

/* 2. Global Header Container Fixes */
#homey_nav_sticky, 
.header-nav,
.header-nav.transparent-header,
.header-main-with-transparency {
    background-color: #ffffff !important;
    margin-bottom: 0 !important;
    height: 80px !important;
    line-height: 80px !important;
    position: relative !important;
    top: 0 !important;
}

/* 3. Navigation Visibility & Spacing (Synchronized with React design) */
body #homey_nav_sticky .header-nav .main-menu li a,
body #main-menu li a,
body .main-menu li a,
body .transparent-header #main-menu li a,
body .header-nav #main-menu li a {
    color: #4f5962 !important; /* Professional Dark Grey */
    font-weight: 600 !important; /* Match React boldness */
    text-transform: none !important; /* Natural casing */
    font-size: 15px !important; /* Matches React */
    padding: 0 !important;
    display: block !important;
    line-height: 80px !important;
    letter-spacing: normal !important;
    transition: color 0.3s ease;
}

/* Red Auth Buttons - ALWAYS RED as requested */
body .main-menu li.menu-item-login a,
body .main-menu li.menu-item-register a,
.login-register a,
.btn-auth-red {
    color: #ed1e55 !important;
    font-weight: 700 !important;
}

body #homey_nav_sticky .header-nav .main-menu li a:hover,
body .main-menu li a:hover {
    color: #ed1e55 !important; /* Primary Red on hover */
    text-decoration: underline !important;
}

/* 4. Force Horizontal Layout & Spacing (Shifted LEFT near logo) */
body #homey_nav_sticky .header-nav .main-menu,
body .main-menu {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important; /* SHIFTED LEFT */
    align-items: center !important;
    list-style: none !important;
    margin: 0 0 0 50px !important; /* GAP FROM LOGO - 50px */
    padding: 0 !important;
    height: 80px !important;
}

body #homey_nav_sticky .header-nav .main-menu li,
body .main-menu li {
    display: inline-block !important;
    margin-left: 25px !important; /* Reduced for better spacing */
    height: 80px !important;
    width: auto !important; /* Natural width prevents truncation */
    overflow: visible !important; /* Prevents "HO", "LISTING" issue */
}

body #homey_nav_sticky .header-nav .main-menu li:first-child,
body .main-menu li:first-child {
    margin-left: 0 !important;
}

/* 5. Map Search Fix - Ensure height is not 0px */
#homey-halfmap,
.homey-halfmap,
#homey-map-contact-listing {
    min-height: 800px !important;
    height: 80vh !important;
    background-color: #e5e3df !important; /* Standard map placeholder color */
    display: block !important;
}

/* 6. Mobile & Top Bar Cleanup */
.mobile-logo {
    padding: 10px 0 !important;
}
.header-mobile {
    background-color: #fff !important;
}

/* 7. Wallet Page Specific Layout Fix */
.wallet-page-header .header-nav {
    padding-top: 0 !important;
}
