/* ============================================
   LA PARADA - RESPONSIVE STYLES
   Premium Goalkeeper Academy - Mobile First
   ============================================ */

/* ------------------------------------------
   TABLET (max 1024px)
   ------------------------------------------ */
@media (max-width: 1024px) {
    :root {
        --header-height: 70px;
        --space-xl: 6rem;
        --space-2xl: 8rem;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }

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

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

    .philosophy-grid {
        gap: var(--space-md);
    }

    .philosophy-image {
        height: 450px;
    }
}

/* ------------------------------------------
   MOBILE & SMALL TABLET (max 768px)
   ------------------------------------------ */
@media (max-width: 768px) {
    :root {
        --header-height: 60px;
        --space-xl: 4rem;
        --space-2xl: 6rem;
        --space-lg: 3rem;
        --space-md: 1.5rem;
    }

    .container {
        padding: 0 var(--space-sm);
    }

    /* Typography adjustments */
    .section-title {
        font-size: var(--text-2xl);
    }

    /* Navigation */
    .navbar-links {
        display: none;
    }

    .navbar-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    /* Hero */
    .hero-title {
        font-size: calc(var(--text-3xl)*0.95);
    }

    .hero-subtitle {
        font-size: var(--text-base);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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

    .hero-scroll {
        display: none;
    }

    .hero-badge {
        font-size: 0.6rem;
        padding: 6px 14px;
    }

    /* Grids */
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: 1fr;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .philosophy-image {
        height: 300px;
        order: -1;
    }

    .philosophy-content {
        padding: var(--space-sm) 0;
    }

    .philosophy-values {
        grid-template-columns: 1fr;
    }

    /* Timeline */
    .timeline {
        grid-template-columns: 1fr;
    }

    /* Products */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

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

    .product-card-image .quick-add-btn {
        width: 38px;
        height: 38px;
        bottom: 8px;
        right: 8px;
    }

    .cart-toast {
        left: 16px;
        right: 16px;
        bottom: 20px;
        text-align: center;
        justify-content: center;
    }

    /* Campus */
    .campus-grid {
        grid-template-columns: 1fr;
    }

    .campus-card {
        height: 360px;
    }

    /* Team */
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-card-image {
        height: 280px;
    }

    /* Values */
    .values-grid {
        grid-template-columns: 1fr;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .stat-number {
        font-size: var(--text-3xl);
    }

    /* CTA */
    .cta-content h2 {
        font-size: var(--text-3xl);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

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

    .footer-bottom-links {
        justify-content: center;
    }

    /* Page header */
    .page-header h1 {
        font-size: var(--text-2xl);
    }

    /* Blog */
    .blog-grid {
        grid-template-columns: 1fr;
    }

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

    /* Back to top */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
}

/* ------------------------------------------
   SMALL MOBILE (max 480px)
   ------------------------------------------ */
@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: calc(var(--text-2xl)*0.95);
    }

    .section {
        padding: var(--space-lg) 0;
    }

    .product-card-image {
        height: 240px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        gap: var(--space-md);
    }
}

/* ------------------------------------------
   ULTRAWIDE (min 1600px)
   ------------------------------------------ */
@media (min-width: 1600px) {
    .container {
        max-width: 1440px;
    }

    .hero-content {
        max-width: 1440px;
    }

    .hero-title {
        font-size: calc(var(--text-5xl) * 0.95);
    }

    .philosophy-image {
        height: 700px;
    }

    .campus-card {
        height: 560px;
    }
}

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

    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1;
        transform: none;
    }
}

/* ------------------------------------------
   PRINT
   ------------------------------------------ */
@media print {
    .navbar,
    .footer,
    .back-to-top,
    .hero-scroll,
    .preloader {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .section {
        padding: 2rem 0;
        page-break-inside: avoid;
    }

    .hero {
        min-height: auto;
        padding: 4rem 0;
    }
}
