/* ========================================
   BAR YOGA - Responsive Styles
   Mobile-first approach
   ======================================== */

/* ========================================
   TABLET (max-width: 1024px)
   ======================================== */
@media (max-width: 1024px) {
    :root {
        --spacing-xl: 4rem;
    }

    .about-grid {
        gap: var(--spacing-lg);
    }

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

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

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }

    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-grid {
        gap: var(--spacing-lg);
    }
}

/* ========================================
   MOBILE LANDSCAPE (max-width: 768px)
   ======================================== */
@media (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 3rem;
    }

    /* Navigation Mobile */
    .nav-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--spacing-md);
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-lg);
        transition: var(--transition-normal);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        color: var(--color-text);
        font-size: 1.25rem;
    }

    .lang-switch {
        margin-left: 0;
        margin-top: var(--spacing-md);
    }

    .lang-btn {
        color: var(--color-text);
    }

    .lang-switch span {
        color: var(--color-text);
    }

    /* Hamburger Animation */
    .nav-toggle.active .hamburger {
        background-color: transparent;
    }

    .nav-toggle.active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }

    .nav-toggle.active .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }

    /* Hero */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .about-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .about-content {
        text-align: center;
    }

    .about-features {
        justify-content: center;
    }

    /* Classes */
    .classes-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Pricing */
    .pricing-grid,
    .pricing-grid.four-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-card.free {
        order: -2;
    }

    .pricing-card.featured {
        order: -1;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    /* Instagram */
    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .contact-info {
        text-align: center;
    }

    .contact-methods {
        align-items: center;
    }

    .contact-method {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .contact-method:hover {
        transform: translateY(-4px);
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
    }

    .footer-tagline {
        margin-left: 0;
        margin-top: var(--spacing-xs);
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ========================================
   MOBILE PORTRAIT (max-width: 480px)
   ======================================== */
@media (max-width: 480px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 2.5rem;
    }

    html {
        font-size: 14px;
    }

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

    /* Hero */
    .hero-content {
        padding: var(--spacing-sm);
    }

    .hero-description {
        font-size: 1.125rem;
    }

    /* Cards */
    .class-card,
    .pricing-card,
    .testimonial-card {
        padding: var(--spacing-md);
    }

    /* Instagram */
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Contact Form */
    .contact-form-wrapper {
        padding: var(--spacing-md);
    }

    /* WhatsApp Button */
    .whatsapp-float {
        padding: var(--spacing-sm);
        border-radius: var(--radius-full);
    }

    .whatsapp-text {
        display: none;
    }

    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }
}

/* ========================================
   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;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .navbar,
    .whatsapp-float,
    .hero-scroll,
    .footer-social {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: var(--spacing-lg) 0;
    }

    .hero-overlay {
        background: none;
    }

    .hero-content {
        color: var(--color-black);
    }

    .hero-title {
        color: var(--color-black);
    }

    section {
        page-break-inside: avoid;
    }
}

