/* Responsive Styles for site-010-china-forwarding */
/* Desktop First Approach - Mobile Overrides */

/* ========================================
   Tablet & Below (< 992px)
   ======================================== */
@media (max-width: 991px) {
    /* Container padding reduction */
    .container {
        padding: 2rem 1.5rem;
    }

    /* Hero adjustments */
    .hero-main {
        padding: 5rem 1.5rem 4rem;
    }

    .hero-title-large {
        font-size: clamp(2.5rem, 6vw, 3.5rem);
    }

    .hero-desc-large {
        font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    }

    /* Guide Only Banner */
    .guide-only-items {
        gap: 1.5rem;
    }

    /* Section spacing reduction */
    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-title {
        font-size: clamp(1.75rem, 4vw, 2rem);
    }

    /* Steps to 2 columns */
    .steps {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 2rem;
    }

    /* Trust badges section */
    .trust-badges-section {
        padding: 3rem 1.5rem;
        margin-bottom: 3rem;
    }

    /* Cities grid */
    .cities-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 1.5rem;
    }
}

/* ========================================
   Mobile & Tablet (< 768px)
   ======================================== */
@media (max-width: 767px) {
    /* Navigation adjustments for mobile */
    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }

    .nav-links li a {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }

    /* Hero section mobile */
    .hero-main {
        padding: 4rem 1rem 3rem;
    }

    .hero-badge {
        font-size: 0.8125rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-title-large {
        font-size: clamp(2rem, 8vw, 2.75rem);
        margin-bottom: 1.25rem;
    }

    .hero-desc-large {
        font-size: 1.0625rem;
        margin-bottom: 2.5rem;
    }

    /* CTA buttons full width */
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .hero-cta-group .btn {
        width: 100%;
    }

    /* Guide Only Banner */
    .guide-only-banner {
        padding: 2rem 1rem;
    }

    .guide-only-label {
        font-size: 0.9375rem;
        padding: 0.625rem 1.25rem;
        margin-bottom: 1.5rem;
    }

    .guide-only-items {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
        text-align: left;
    }

    .guide-disclaimer {
        font-size: 0.875rem;
        text-align: left;
    }

    /* Section spacing */
    .section-header {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: clamp(1.5rem, 6vw, 1.875rem);
    }

    .section-description {
        font-size: 1rem;
    }

    /* Steps grid on mobile */
    .steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .step-card {
        padding: 2rem 1.5rem;
    }

    .step-number {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }

    /* Cities grid mobile */
    .cities-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .city-card {
        padding: 1.75rem;
    }

    /* FAQ mobile */
    .faq-details summary {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }

    .faq-content {
        padding: 0 1.5rem 1.5rem;
    }

    /* Callouts mobile */
    .callout {
        padding: 1.5rem 1.75rem;
        margin: 2rem 0;
    }

    /* Footer on mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1.5rem;
    }

    .footer-bottom {
        padding: 2rem 1.5rem 0;
    }

    /* Legal pages */
    .legal-page {
        padding: 2rem 1rem;
    }

    .legal-header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .legal-content h2 {
        margin-top: 2rem;
        padding-top: 1rem;
    }

    /* City pages mobile */
    .city-hero h1 {
        font-size: clamp(1.75rem, 6vw, 2rem);
    }

    .related-cities ul {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Small Mobile (< 480px)
   ======================================== */
@media (max-width: 479px) {
    /* Extra small screens */
    .hero-main {
        padding: 3rem 1rem 2.5rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.5rem 0.875rem;
    }

    .hero-title-large {
        font-size: 1.875rem;
        line-height: 1.15;
    }

    .hero-desc-large {
        font-size: 1rem;
    }

    .guide-only-label {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }

    .guide-item {
        font-size: 0.9375rem;
    }

    .step-card {
        padding: 1.5rem 1.25rem;
    }

    .step-number {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9375rem;
    }

    .btn-lg {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .callout {
        padding: 1.25rem 1.5rem;
    }

    .critical-notice {
        padding: 1.5rem 1.75rem;
    }

    .footer-section h4 {
        font-size: 1rem;
    }
}

/* ========================================
   Tablet Portrait (768px - 991px)
   ======================================== */
@media (min-width: 768px) and (max-width: 991px) {
    .trust-badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-cities ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   Desktop & Above (1200px and up)
   ======================================== */
@media (min-width: 1200px) {
    /* Enhanced spacing for large screens */
    .hero-trust {
        padding: 6rem 2rem 5rem;
    }

    .container {
        padding: 3rem 2rem;
    }

    .trust-badges-section {
        padding: 5rem 2rem;
    }

    /* Larger typography scale */
    .section-description {
        font-size: 1.25rem;
    }
}

/* ========================================
   Extra Large Screens (1400px and up)
   ======================================== */
@media (min-width: 1400px) {
    /* Increase max-width for very large screens */
    .container,
    nav,
    .footer-content,
    .footer-bottom {
        max-width: 1400px;
    }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    header,
    footer,
    .cta-section,
    .related-cities,
    .lang-switch {
        display: none;
    }

    body {
        font-size: 12pt;
    }

    a {
        text-decoration: underline;
    }

    .legal-content,
    .content-section {
        page-break-inside: avoid;
    }
}

/* ========================================
   Accessibility: Reduced Motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   Dark Mode (if user prefers)
   ======================================== */
@media (prefers-color-scheme: dark) {
    /* Optional: Add dark mode styles here if desired */
    /* For now, keeping light mode for consistency */
}
