/*
Theme Name: Moverz child
Template:   moverz
Theme URI: https://moverz.themeht.com/
Author: Themeht
Author URI: http://www.themeht.com
Description: Moverz - Child Theme
Version: 2.5.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: moverz
Tags: one-column, two-columns, right-sidebar, custom-logo, custom-menu, threaded-comments, translation-ready, left-sidebar, custom-background, custom-colors, custom-header, featured-images, sticky-post
*/

/* Mobile Header Customizations */
.mobile-nav-group {
    display: none !important;
}

/* Mobile Phone Number Styling */
a.mobile-phone-number {
    background-color: var(--themeht-primary-color, #e3000f) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 6px 14px !important;
    border-radius: 4px !important;
    margin-right: 20px !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

/* Hamburger Icon Customization */
button#menu-toggle,
.nav-menu-toggle.ht-toggler {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    width: 35px !important;
    height: 25px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
    cursor: pointer !important;
    box-shadow: none !important;
    outline: none !important;
    min-width: 35px !important;
}

/* Remove default Bootstrap icon inside toggler if it remains */
button#menu-toggle i,
.nav-menu-toggle.ht-toggler i {
    display: none !important;
}

/* Custom Hamburger Lines - Apply Secondary Color */
button#menu-toggle span,
.nav-menu-toggle.ht-toggler span {
    display: block !important;
    width: 100% !important;
    height: 3px !important;
    background-color: #2781b4 !important;
    /* Changed to match secondary/primary solid color from logo. Tweak if needed */
    border-radius: 2px !important;
    transition: all 0.3s ease !important;
    transform-origin: left center !important;
}

/* Hamburger to X Animation when active */
.menu-active button#menu-toggle span:nth-child(1),
.menu-active .nav-menu-toggle.ht-toggler span:nth-child(1) {
    transform: rotate(45deg) !important;
    width: 110% !important;
    background-color: #ffffff !important;
}

.menu-active button#menu-toggle span:nth-child(2),
.menu-active .nav-menu-toggle.ht-toggler span:nth-child(2) {
    opacity: 0 !important;
}

.menu-active button#menu-toggle span:nth-child(3),
.menu-active .nav-menu-toggle.ht-toggler span:nth-child(3) {
    transform: rotate(-45deg) !important;
    width: 110% !important;
    background-color: #ffffff !important;
}

/* Remove Primary Color Overlay in Mobile Menu */
.ht-mobile-menu-bg,
.menu-active .ht-mobile-menu-bg {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Increase Transition Speed */
.main-nav {
    transition: all 0.3s ease !important;
}

.main-nav.menu-active {
    transition-delay: 0ms !important;
}

/* Layout for Mobile Navigation */
@media (max-width: 1199px) {
    .mobile-nav-group {
        display: flex !important;
        align-items: center !important;
        margin-left: auto !important;
    }

    /* Disable Sticky/Reposition Header entirely on mobile */
    .admin-bar .header,
    .admin-bar #header-wrap.fixed-header,
    #header-wrap,
    .header,
    #site-header,
    #header-wrap.fixed-header {
        position: relative !important;
        animation: none !important;
        top: 0 !important;
    }

    .ht-navigation {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        padding: 5px 0 !important;
    }

    .navbar-brand.logo img {
        max-width: 130px !important;
        /* Adjusted for better visibility */
        height: auto !important;
    }

    /* Ensure right-nav remains hidden nicely */
    .right-nav.d-none.d-xl-flex {
        display: none !important;
    }
}