/* ===== MOBILE FIXES - ADD TO END OF style.css ===== */

/* Ensure mobile menu works */
.mobile-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-nav {
    position: fixed !important;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 4rem 2rem 2rem;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    margin-bottom: 0.5rem;
}

.mobile-menu li a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--dark);
    transition: all 0.2s ease;
}

.mobile-menu li a:hover,
.mobile-menu li a.active {
    background: var(--light);
    color: var(--primary);
}

/* Fix for mobile viewport */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    .container {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Fix button touch targets */
    .btn {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Hide desktop elements */
    .desktop-nav {
        display: none !important;
    }
    
    /* Show mobile toggle */
    .mobile-toggle {
        display: flex !important;
        position: relative;
        z-index: 10001;
    }
}