/* assets/css/mobile.css */
/* Tasks 251, 252, 253, 254, 255, 256, 257, 258, 259: Mobile-First Architecture */

/* Mobile Bottom Navigation (Task 252) */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    z-index: 1000;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}
.mobile-bottom-nav a {
    text-align: center;
    color: var(--text);
    font-size: 0.8rem;
    text-decoration: none;
}
.mobile-bottom-nav a.active {
    color: var(--primary);
}

@media (max-width: 768px) {
    /* Viewport Scaling (Task 251) */
    html { font-size: 14px; }
    
    .mobile-bottom-nav {
        display: flex;
    }
    
    /* Touch Targets (Task 259) */
    button, .btn, input, select {
        min-height: 48px !important;
    }

    /* Swipeable Cards (Task 253) */
    .flight-card {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    .flight-card > div {
        width: 100%;
        text-align: left;
    }

    /* Fullscreen Modal for Date Picker (Task 254) */
    .flatpickr-calendar {
        width: 100% !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        height: 100vh !important;
        z-index: 9999 !important;
    }

    /* Filters Toggle (Task 258) */
    .filters-sidebar {
        display: none; /* Hidden by default, toggled via JS */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 999;
        background: white;
        overflow-y: auto;
    }
    .filters-sidebar.active {
        display: block;
    }

    /* Sticky Footer for Pricing (Task 257) */
    .pricing-sidebar {
        position: fixed;
        bottom: 60px; /* Above bottom nav */
        left: 0;
        width: 100%;
        z-index: 998;
        background: white;
        border-top: 1px solid #ccc;
        border-radius: 20px 20px 0 0;
        padding: 1rem;
        box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    }

    /* Seat Map pinch-to-zoom (Task 256) */
    .airplane-cabin {
        width: 100%;
        overflow-x: auto;
        touch-action: pan-x pan-y pinch-zoom;
    }
}
