/* ============================================================ */
/* RESPONSIVE - Aggiunte e Ottimizzazioni */
/* ============================================================ */

/* Tablet Landscape e Desktop */
@media (min-width: 1024px) {
    .container {
        padding: 0 40px;
    }
}

/* Tablet Portrait */
@media (min-width: 769px) and (max-width: 1023px) {
    .container {
        padding: 0 30px;
    }

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

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

/* Mobile Landscape */
@media (max-width: 767px) {
    .hero h1 {
        font-size: 2rem;
    }

    .school-card-body h3 {
        font-size: 1.2rem;
    }

    .event-card-body h3 {
        font-size: 1rem;
    }
}

/* Stampa */
@media print {
    .site-header,
    .hero-buttons,
    .btn,
    .newsletter,
    .social-links {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 20px 0;
        background: #fff;
        color: #000;
    }

    .hero-overlay {
        display: none;
    }

    .section-padding {
        padding: 20px 0;
    }

    .container {
        max-width: 100%;
        padding: 0 20px;
    }

    .footer-grid {
        border-bottom: none;
    }
}

/* Preferenza per riduzione movimento */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --color-primary: #8B0000;
        --color-secondary: #B8860B;
        --color-gray: #333;
    }

    .btn-primary,
    .btn-secondary {
        border: 2px solid #000;
    }

    .btn-outline {
        border: 2px solid #000;
    }
}   