/* ===================================
   lucca.taxi - Responsive Styles BETA 2
   =================================== */

/* === Large Tablets and Small Desktops === */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .features-grid,
    .services-grid,
    .comparison-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* === Tablets === */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    /* Header */
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        box-shadow: var(--shadow-md);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .nav.active {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        padding: var(--spacing-md);
        gap: 0;
    }
    
    .nav-link {
        display: block;
        padding: var(--spacing-sm);
        border-bottom: 1px solid var(--color-gray);
    }
    
    .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 */
    .hero {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
    }
    
    /* Grids */
    .features-grid,
    .services-grid,
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    /* Partners */
    .partners-logos {
        gap: var(--spacing-md);
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* === Mobile === */
@media (max-width: 480px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 2rem;
        --spacing-xl: 2.5rem;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    /* Header */
    .header-content {
        padding: var(--spacing-xs) 0;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .btn-call span {
        display: none;
    }
    
    .language-switcher {
        display: none;
    }
    
    /* Hero */
    .hero {
        min-height: 450px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    /* Buttons */
    .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.95rem;
    }
    
    .btn-large {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 1rem;
    }
    
    /* Cards */
    .feature-card,
    .service-card,
    .comparison-card {
        padding: var(--spacing-md);
    }
    
    /* Comparison Cards */
    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .comparison-features li {
        font-size: 0.875rem;
    }
    
    .ideal-for {
        font-size: 0.85rem;
    }
    
    /* Partners */
    .partners-logos {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .partner-logo img {
        height: 50px;
    }
    
    /* CTA Section */
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

/* === Extra Small Mobile === */
@media (max-width: 320px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .btn-large {
        font-size: 0.95rem;
    }
    
    .feature-icon,
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* === Print Styles === */
@media print {
    .header,
    .mobile-menu-toggle,
    .hero,
    .cta-section,
    .footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: #000;
    }
    
    a {
        text-decoration: underline;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
}

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

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* === Landscape Mobile === */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    section {
        padding: var(--spacing-md) 0;
    }
}
