/* Regole di stile specifiche per dispositivi mobili */

@media (max-width: 768px) {
    /* Layout base */
    body {
        font-size: 15px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    section {
        padding: 2rem 0;
    }
    
    h2 {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }
    
    h2::after {
        width: 50px;
        height: 3px;
    }
    
    /* Header e navigazione */
    .logo-area {
        padding: 1.5rem 0;
    }
    
    .logo-area h1 {
        font-size: 2.5rem;
        margin-top:20px;
    }
    
    .logo-tagline {
        font-size: 0.8rem;
    }
    
    .language-selector {
        top: 10px;
        right: 10px;
    }
    
    .language-selector button {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .page-nav ul {
        gap: 8px;
        padding: 6px 15px;
    }
    
    .page-nav ul li a {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
    
    /* Hero section */
    .hero {
        padding: 3rem 0;
    }
    
    .hero-content {
        padding: 1.5rem;
        margin: 0 10px;
        margin-top: 3rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Box e griglie */
    .grid-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .box, .sconto-box {
        margin-bottom: 5px;
    }
    
    /* Tariffe */
    .tariffa-header {
        padding: 1.5rem;
    }
    
    .tariffa-icon {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }
    
    .tariffa-title {
        font-size: 1.5rem;
    }
    
    .tariffa-content {
        padding: 1.5rem;
    }
    
    .price-value {
        font-size: 2.5rem;
    }
    
    .price-period {
        font-size: 0.8rem;
    }
    
    /* Box prenota */
    .prenota-box {
        padding: 1.5rem;
        margin-top: 0.5rem;
    }
    
    .prenota-box h2 {
        font-size: 1.8rem;
    }
    
    .prenota-box p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .prenota-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .info-tel {
        justify-content: center;
        width: 100%;
        font-size: 1rem;
    }
    
    /* Servizi */
    .sconto-header {
        padding: 1.2rem;
    }
    
    .sconto-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .sconto-header h3 {
        font-size: 1.2rem;
    }
    
    .sconto-content {
        padding: 1.2rem;
    }
    
    /* Contatti */
    .mappa {
        min-height: 250px;
    }
    
    .info-contatti {
        padding: 1.5rem;
    }
    
    .info-item i {
        font-size: 1.2rem;
        width: 40px;
        height: 40px;
    }
    
    /* Footer */
    footer {
        padding: 3rem 0 0.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-logo h2 {
        text-align: center;
        font-size: 1.3rem;
    }
    
    .footer-logo h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links h3 {
        font-size: 1.1rem;
    }
    
    .footer-links ul li {
        margin-bottom: 0.6rem;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 1rem;
    }
    
    /* Footer fisso */
    .fixed-footer {
        padding: 10px 0;
        bottom: 10px;
        
    }
    
    .fixed-footer-container {
        gap: 50px;
    }
    
    .fixed-footer a {
        font-size: 0.8rem;
    }
    
    .fixed-footer a i {
        font-size: 1rem;
    }
    
    /* Popup */
    .popup-content {
        padding: 1.5rem;
        width: 95%;
    }
}

/* Regole specifiche per dispositivi molto piccoli */
@media (max-width: 480px) {
    .logo-area h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
    
    .fixed-footer-container {
        gap: 10px;
    }
    
    .fixed-footer a {
        font-size: 0.75rem;
        gap: 5px;
    }
    
    .fixed-footer a i {
        font-size: 0.9rem;
    }
    
    .info-tel {
        font-size: 0.9rem;
    }
    
    .info-tel i {
        width: 35px;
        height: 35px;
    }
}