/* Mobile Header Adjustments */
.header_style_one .el-mobile_menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.mobile-company-name {
    font-size: 10px !important;
    line-height: 1.2;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0 10px;
    flex-grow: 1;
    text-align: left;
}

.m-brand-logo {
    margin-left: auto;
    z-index: 1;
}

.el-mobile_menu_button {
    z-index: 2;
}

@media (max-width: 991px) {
    .m-brand-meta {
        display: none !important;
    }
    
    /* Mobile header bar içindeki logo hizalaması */
    .el-mobile_menu > .m-brand-logo {
        margin-left: 12px;
    }
    
    .el-mobile_menu_button {
        position: relative;
        margin-right: 10px;
    }
    
    .el-mobile_menu_wrap .m-brand-logo {
        display: block !important;
        margin: 0 auto 15px;
    }
}

/* Ensure logo is visible in mobile menu */
.el-mobile_menu_content .m-brand-logo {
    display: block !important;
    text-align: center;
    margin: 15px auto;
    width: 100%;
}

/* Force mobile header bar + hamburger on small screens */
@media (max-width: 991px) {
    .el-mobile_menu {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 10px 12px;
        height: 64px;
        background: #fff;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1002;
        box-sizing: border-box;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    body {
        padding-top: 70px;
    }
}

/* Force hamburger button to be visible on mobile header */
.el-mobile_menu_button {
    display: block !important;
    position: absolute;
    right: 12px;
    top: 30%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    z-index: 1010;
}

.el-mobile_menu_button i {
    display: inline-block;
    font-size: 26px;
    line-height: 32px;
    color: #000 !important;
}

.el-mobile_menu_button .hamburger-bars {
    display: none !important; /* sadece FontAwesome ikonunu kullan */
}

.el-mobile_menu_button .hamburger-bars span {
    background: #000 !important;
}

/* Desktop görünümde mobil menüyü gizle */
@media (min-width: 992px) {
    .el-mobile_menu,
    .el-mobile_menu_button,
    .el-mobile_menu_wrap {
        display: none !important;
    }
}
