/* ═══════════════════════════════════════════════════════════════
   Al Tower Tours — Mobile Native Experience
   Gives mobile users an app-like interaction model
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    /* ─── Mobile Bottom Navigation ────────────────────────────── */
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--bg-surface);
        border-top: 1px solid var(--border-color);
        z-index: 1000;
        padding: 8px 0 env(safe-area-inset-bottom, 8px);
        box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    }

    .mobile-bottom-nav a {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        padding: 8px 4px;
        font-size: 10px;
        font-weight: 500;
        color: var(--text-tertiary);
        transition: all 0.2s ease;
        text-decoration: none;
        position: relative;
    }

    .mobile-bottom-nav a i {
        font-size: 20px;
        transition: all 0.2s ease;
    }

    .mobile-bottom-nav a.active {
        color: var(--primary-500);
    }

    .mobile-bottom-nav a.active::before {
        content: '';
        position: absolute;
        top: -1px;
        left: 50%;
        transform: translateX(-50%);
        width: 24px;
        height: 3px;
        background: var(--gradient-primary);
        border-radius: 0 0 3px 3px;
    }

    /* Push body content above bottom nav */
    body {
        padding-bottom: 70px;
    }

    /* Hide desktop nav */
    .header .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-surface);
        flex-direction: column;
        padding: 100px 24px 24px;
        gap: 4px;
        box-shadow: -10px 0 40px rgba(0,0,0,0.15);
        transition: right 0.3s ease;
        z-index: 1000;
        align-items: stretch;
        overflow-y: auto;
    }

    .header .nav.open {
        right: 0;
    }

    /* Mobile overlay when nav open */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .nav-overlay.active {
        display: block;
        opacity: 1;
    }

    /* ─── Mobile Header ──────────────────────────────────────── */
    .header {
        height: 60px;
    }

    .logo img {
        height: 36px;
    }

    .logo-text .brand-name {
        font-size: 16px;
    }

    .logo-text .brand-tagline {
        font-size: 8px;
    }

    /* ─── Mobile Hero ────────────────────────────────────────── */
    .hero {
        min-height: 100vh;
        padding-top: 80px;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.15;
    }

    .hero-description {
        font-size: 15px;
        margin: 0 auto 30px;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        padding: 0 16px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .hero-stat {
        flex: 0 0 40%;
    }

    .hero-float {
        display: none;
    }

    /* ─── Mobile Stats ───────────────────────────────────────── */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-card {
        padding: 20px 16px;
    }

    .stat-card .stat-value {
        font-size: 28px;
    }

    .stat-card .stat-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    /* ─── Mobile Cards ───────────────────────────────────────── */
    .tours-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tour-card {
        border-radius: var(--radius-lg);
    }

    .tour-card-image {
        height: 200px;
    }

    .tour-card-body {
        padding: 20px;
    }

    /* ─── Mobile Features ────────────────────────────────────── */
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .feature-card {
        padding: 24px 16px;
    }

    .feature-icon {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    .feature-card h3 {
        font-size: 15px;
    }

    .feature-card p {
        font-size: 12px;
    }

    /* ─── Mobile Gallery ─────────────────────────────────────── */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .gallery-filters {
        gap: 6px;
        padding: 0;
        overflow-x: auto;
        justify-content: flex-start;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin: 0 -20px 30px;
        padding: 0 20px;
    }

    .gallery-filters::-webkit-scrollbar {
        display: none;
    }

    .gallery-filter-btn {
        flex-shrink: 0;
        padding: 8px 18px;
        font-size: 13px;
    }

    /* ─── Mobile Testimonials ────────────────────────────────── */
    .testimonial-content {
        padding: 28px 20px;
    }

    .testimonial-text {
        font-size: 15px;
    }

    .testimonial-content::before {
        font-size: 80px;
        top: -5px;
        left: 20px;
    }

    /* ─── Mobile Footer ──────────────────────────────────────── */
    .footer {
        padding-bottom: 80px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* ─── Mobile Contact Page ────────────────────────────────── */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-form-card {
        padding: 24px;
    }

    /* ─── Mobile About Page ──────────────────────────────────── */
    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-image img {
        height: 280px;
    }

    .about-text h2 {
        font-size: 28px;
    }

    /* ─── Mobile Page Header ─────────────────────────────────── */
    .page-header {
        padding: 120px 0 60px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    /* ─── Mobile Booking ─────────────────────────────────────── */
    .booking-form-card {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* ─── Mobile Section Spacing ─────────────────────────────── */
    .section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .section-title {
        font-size: 26px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .section-badge {
        font-size: 12px;
        padding: 6px 14px;
    }

    /* ─── Mobile WhatsApp Button ─────────────────────────────── */
    .whatsapp-float {
        bottom: 80px;
        right: 16px;
        width: 52px;
        height: 52px;
        font-size: 24px;
    }

    .scroll-top {
        bottom: 140px;
        right: 16px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    /* ─── Tour Detail Mobile ─────────────────────────────────── */
    .tour-detail-hero {
        height: 260px;
    }

    .tour-detail-grid {
        grid-template-columns: 1fr;
    }

    .tour-booking-card {
        position: static;
        margin-top: 24px;
    }

    .tour-highlights {
        grid-template-columns: 1fr;
    }

    /* ─── Mobile CTA ─────────────────────────────────────────── */
    .cta-content h2 {
        font-size: 28px;
    }

    .cta-content p {
        font-size: 15px;
    }

    /* ─── Pull-to-feel effect (touch feedback) ───────────────── */
    .tour-card:active,
    .feature-card:active,
    .contact-info-card:active {
        transform: scale(0.97);
        transition: transform 0.1s ease;
    }
}

/* Extra small mobiles */
@media (max-width: 380px) {
    .hero-title { font-size: 28px; }
    .stat-card .stat-value { font-size: 24px; }
    .features-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .hero-stat { flex: 0 0 100%; }
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .mobile-bottom-nav {
        display: none !important;
    }
    .nav-overlay {
        display: none !important;
    }
}
