/* Custom Header Styling - Override Houzez Theme */
/* Force blue header background */
#header-section.header-section-4 {
    background-color: #2563eb !important;
    background: #2563eb !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    height: auto !important;
}

/* Fix container layout */
#header-section.header-section-4 .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

/* Fix header-left - remove float and use flex */
#header-section.header-section-4 .header-left {
    float: none !important;
    width: auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 32px !important;
    flex: 1 !important;
}

/* Logo styling */
#header-section.header-section-4 .logo {
    line-height: normal !important;
    float: none !important;
    flex-shrink: 0 !important;
}

#header-section.header-section-4 .logo-desktop img {
    height: 60px !important;
    padding: 8px !important;
}

/* Navigation styling */
#header-section.header-section-4 .header-left .navi {
    float: none !important;
    margin-left: 0 !important;
    display: block !important;
}

@media (max-width: 991px) {
    #header-section.header-section-4 .header-left .navi {
        display: none !important;
    }
}

/* Main navigation ul */
#header-section.header-section-4 .navi>ul {
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
    margin: 0 !important;
    list-style: none !important;
}

/* Navigation items */
#header-section.header-section-4 .navi>ul>li {
    position: relative !important;
    float: none !important;
    line-height: normal !important;
}

/* Navigation links - WHITE TEXT */
#header-section.header-section-4 .navi>ul>li>a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    line-height: normal !important;
    padding: 8px 12px !important;
    display: inline-block !important;
    transition: color 0.3s !important;
}

#header-section.header-section-4 .navi>ul>li>a:hover {
    color: #e5e7eb !important;
}

/* Submenu styling */
#header-section.header-section-4 .navi>ul ul {
    background-color: #ffffff !important;
    position: absolute !important;
    left: 0 !important;
    top: 100% !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    border-radius: 6px !important;
    margin-top: 8px !important;
    padding: 8px 0 !important;
    min-width: 200px !important;
    display: none !important;
}

/* Fix header-right */
#header-section.header-section-4 .header-right {
    float: none !important;
    width: auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    line-height: normal !important;
}

/* Account action styling */
#header-section.header-section-4 .account-action {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 !important;
    list-style: none !important;
}

#header-section.header-section-4 .account-action>li {
    display: inline-block !important;
    line-height: normal !important;
    margin: 0 !important;
}

/* Pasang Iklan Button - ORANGE */
#header-section.header-section-4 a[href*="submit_property"],
#header-section.header-section-4 .header-right a[class*="tw-bg-orange"] {
    background-color: #f97316 !important;
    color: #ffffff !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    white-space: nowrap !important;
    transition: background-color 0.3s !important;
}

#header-section.header-section-4 a[href*="submit_property"]:hover,
#header-section.header-section-4 .header-right a[class*="tw-bg-orange"]:hover {
    background-color: #ea580c !important;
}

/* Login/Daftar link - WHITE TEXT */
#header-section.header-section-4 .header-right a[data-target="#pop-login"] {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    transition: color 0.3s !important;
}

#header-section.header-section-4 .header-right a[data-target="#pop-login"]:hover {
    color: #e5e7eb !important;
}

/* User name and image */
#header-section.header-section-4 .account-action .user-name {
    cursor: pointer !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    line-height: normal !important;
}

#header-section.header-section-4 .account-action .user-image {
    margin-left: 8px !important;
    border-radius: 50% !important;
}

#header-section.header-section-4 .account-action .user-image img {
    border-radius: 50% !important;
}

/* Account dropdown */
#header-section.header-section-4 .account-dropdown {
    position: absolute !important;
    right: 0 !important;
    top: 100% !important;
    background-color: #ffffff !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    border-radius: 6px !important;
    margin-top: 8px !important;
    min-width: 250px !important;
    display: none !important;
    z-index: 50 !important;
}

/* User div for non-logged in users */
#header-section.header-section-4 .user {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

/* Language switcher */
#header-section.header-section-4 .switcher {
    margin-top: 0 !important;
}

/* Responsive adjustments */
@media (max-width: 767px) {
#header-section.header-section-4 .logo-desktop img {
    padding: 14px 8px !important;
}
}