/* ===== Mobile Menu ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: #ffffff;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform var(--transition-base);
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 10;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
    padding: 0.5rem;
    line-height: 1;
}

.mobile-menu-close:hover {
    color: var(--secondary-color);
}

.mobile-menu-list {
    padding: 1rem;
    list-style: none;
    margin: 0;
}

.mobile-menu-item {
    margin-bottom: 0.5rem;
}

.mobile-menu-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.mobile-menu-link:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.mobile-menu-actions {
    padding: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.mobile-menu-actions .btn {
    width: 100%;
    margin-bottom: 1rem;
}

.mobile-menu-actions .btn:last-child {
    margin-bottom: 0;
}

.phone-link-center {
    text-align: center;
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 1rem;
    text-decoration: none;
}

.phone-link-center:hover {
    color: var(--primary-color);
}

.mobile-menu-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.mobile-menu-social .social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: var(--bg-secondary);
    color: var(--text-color);
    font-size: 1.2rem;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.mobile-menu-social .social-link:hover {
    background: var(--primary-color);
    color: white;
}

/* ===== Menu Overlay ===== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== Desktop Override ===== */
@media (min-width: 1025px) {
    .mobile-menu,
    .menu-overlay {
        display: none;
    }

    .menu-toggle {
        display: none;
    }
}

/* ===== Animations ===== */
@keyframes slideInMenu {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

.mobile-menu.active {
    animation: slideInMenu 0.3s ease-out;
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.menu-overlay.active {
    animation: fadeInOverlay 0.3s ease;
}