/* ============================================
   VoxSub Website - Responsive Design
   Breakpoints for Master Layout
   ============================================ */

@media (max-width: 1024px) {
    .tour-row,
    .tour-row.row-reverse {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .tour-row.row-reverse .tour-copy {
        order: 1;
    }

    .tour-row.row-reverse .tour-media {
        order: 2;
    }

    .tour-copy {
        max-width: 100%;
        text-align: center;
    }

    .tour-feature-points {
        align-items: center;
    }

    .privacy-banner {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .lightbox-prev {
        left: 12px;
    }

    .lightbox-next {
        right: 12px;
    }

    [dir="rtl"] .lightbox-prev {
        left: auto;
        right: 12px;
    }

    [dir="rtl"] .lightbox-next {
        right: auto;
        left: 12px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-surface);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: var(--spacing-sm) 0;
        box-shadow: var(--shadow-medium);
    }

    .nav-links.mobile-open {
        display: flex;
    }

    .nav-links a {
        display: block;
        padding: 0.8rem var(--spacing-md);
        width: 100%;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-screenshot-card,
    .tour-media-card {
        padding: 0.4rem;
        border-radius: var(--radius-lg);
    }

    .screenshot-expand-badge {
        display: none;
    }

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

    /* Mobile Lightbox Adjustments - No harsh Arabic truncation */
    .lightbox-title {
        white-space: normal;
        max-width: 95%;
        font-size: 1.05rem;
    }

    .lightbox-desc {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        max-width: 95%;
        font-size: 0.85rem;
        line-height: 1.45;
    }

    .lightbox-close-btn {
        top: 14px;
        right: 16px;
        width: 42px;
        height: 42px;
        font-size: 1.25rem;
    }

    [dir="rtl"] .lightbox-close-btn {
        right: auto;
        left: 16px;
    }

    .lightbox-nav-btn {
        width: 44px;
        height: 44px;
        font-size: 1.8rem;
    }

    /* Mobile Hero Feature Chips & Buttons */
    .hero-feature-chips {
        border-radius: var(--radius-lg);
        gap: 0.35rem 0.5rem;
        padding: 0.4rem 0.6rem;
        width: 100%;
        max-width: 100%;
    }

    .feature-chip {
        font-size: 0.8rem;
        padding: 0.25rem 0.55rem;
    }

    .hero-cta .btn {
        min-width: 200px;
    }
}