/* ============================================
   FESTE - Responsive Stylesheet
   Mobile-first responsive design
   ============================================ */

/* Tablet Devices (768px and below) */
@media (max-width: 768px) {
    /* Typography */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    /* Container */
    .container {
        padding: 0 15px;
    }
    
    /* Navigation */
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: left 0.3s ease;
        box-shadow: 0 4px 16px rgba(0,0,0,0.1);
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links a {
        font-size: 1.25rem;
        padding: 1rem 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    /* Hero Section */
    .hero {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .animated-title {
        font-size: 3.5rem;
    }
    
    .tagline {
        font-size: 1.25rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-image {
        max-width: 80%;
    }
    
    /* Features Section */
    .features {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        height: 150px;
    }
    
    /* How It Works */
    .how-it-works {
        padding: 4rem 0;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step {
        padding: 1.5rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Interaction Demo */
    .interaction-demo {
        padding: 4rem 0;
    }
    
    .post-example {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .interaction-features {
        gap: 1.5rem;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 4rem 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Scroll to Top Button */
    .scroll-to-top {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
        bottom: 20px;
        right: 20px;
    }
}

/* Mobile Devices (480px and below) */
@media (max-width: 480px) {
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    
    /* Navigation */
    .brand-name {
        font-size: 1.5rem;
    }
    
    .logo {
        width: 36px;
        height: 36px;
    }
    
    /* Hero Section */
    .animated-title {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.125rem;
    }
    
    .hero-description {
        font-size: 0.9375rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    /* Section Padding */
    .features,
    .how-it-works,
    .interaction-demo,
    .cta-section {
        padding: 3rem 0;
    }
    
    /* Feature Cards */
    .feature-card {
        padding: 1.25rem;
    }
    
    .feature-icon {
        height: 120px;
        margin-bottom: 1rem;
    }
    
    .feature-demo {
        padding: 1rem;
    }
    
    /* Demo Components */
    .demo-avatar {
        width: 32px;
        height: 32px;
    }
    
    .demo-post-content {
        height: 50px;
    }
    
    .demo-actions {
        gap: 1rem;
        font-size: 0.875rem;
    }
    
    .casting-card,
    .equipment-card {
        padding: 1.25rem;
    }
    
    /* Steps */
    .step {
        padding: 1.25rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    /* Interaction Demo */
    .interaction-icon {
        font-size: 2rem;
    }
    
    .interaction-item {
        gap: 0.75rem;
    }
    
    /* CTA Section */
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-content p {
        font-size: 0.9375rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-col h4 {
        margin-bottom: 1rem;
    }
    
    /* Legal Pages */
    .legal-page {
        padding: 4rem 0;
    }
    
    .legal-content {
        padding: 2rem 1.5rem;
    }
    
    .legal-content h1 {
        font-size: 1.75rem;
    }
    
    .legal-content h2 {
        font-size: 1.5rem;
        margin-top: 1.5rem;
    }
}

/* Large Screens (1200px and above) */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    .animated-title {
        font-size: 6rem;
    }
    
    .hero-description {
        max-width: 600px;
        font-size: 1.25rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .steps-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Landscape Orientation on Mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-content {
        gap: 1.5rem;
    }
    
    .animated-title {
        font-size: 2rem;
    }
    
    .hero-visual {
        display: none;
    }
    
    .nav-links {
        flex-direction: row;
        flex-wrap: wrap;
        height: auto;
        padding: 1rem;
    }
    
    .nav-links a {
        padding: 0.5rem;
        border-bottom: none;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .mobile-menu-toggle,
    .cta-buttons,
    .cta-section,
    .footer,
    .scroll-to-top {
        display: none;
    }
    
    .hero,
    .features,
    .how-it-works {
        page-break-inside: avoid;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating,
    .pulse,
    .film-reel-rotating {
        animation: none !important;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    /* Uncomment and customize if you want dark mode support
    :root {
        --primary-color: #2c2c2c;
        --secondary-color: #FCCA46;
        --text-dark: #ffffff;
        --text-light: #b0b0b0;
        --white: #1a1a1a;
    }
    
    .navbar,
    .feature-card,
    .legal-content {
        background: #2c2c2c;
        color: #ffffff;
    }
    */
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    body {
        background: white;
        color: black;
    }
    
    .btn-primary {
        background: black;
        color: white;
        border: 2px solid white;
    }
    
    .btn-secondary {
        background: white;
        color: black;
        border: 2px solid black;
    }
}