/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #333;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    position: relative;
    min-width: 40px;
    min-height: 40px;
    touch-action: manipulation;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus,
.mobile-menu-toggle:active {
    color: #e61f1f;
    outline: none;
}

@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block;
        position: relative;
        right: 0;
        top: 0;
        z-index: 1051;
        order: 3;
    }
    
    .mobile-header-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        position: relative;
        z-index: 1041;
    }
    
    .main-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        background-color: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1050;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        padding: 10px 0;
        margin-top: 10px;
        border-radius: 8px;
    }
    
    .main-menu.show {
        display: flex;
    }
    
    .main-menu li {
        width: 100%;
    }
      .main-menu li a {
        text-align: left;
        padding: 12px 20px;
        border-bottom: 1px solid #f1f1f1;
        font-size: 16px;
        font-weight: 500;
    }
    
    .main-menu li a:hover {
        background-color: #f5f5f5;
        color: #e61f1f !important;
    }
    
    .main-header .container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .navbar-brand {
        margin-bottom: 0;
    }
    
    .phone-number {
        display: none;
    }
    
    .navbar-spacing {
        height: 15px;
    }
    
    .top-header {
        display: none;
    }
}

@media (max-width: 768px) {
    .mobile-header-wrapper {
        padding: 10px 0;
    }
    
    .navbar-brand img {
        height: 50px;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 40px;
    }
}

/* Navbar Scrolled State */
.navbar-scrolled {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1040;
    animation: slideDown 0.3s ease;
    padding: 5px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

@media (max-width: 992px) {
    .navbar-scrolled .mobile-menu-toggle {
        top: 10px;
    }
    
    .navbar-scrolled .navbar-brand img {
        height: 45px;
    }
}

/* Animation for mobile menu */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-menu.show {
    animation: slideDown 0.3s ease;
}
