/* ==========================================================
   OTTIMIZZAZIONI MOBILE PER MAIO CARS
   Valido per schermi fino a 600px
   ========================================================== */

@media(max-width: 600px) {

    /* ----------------------------------------------------
       GENERALI
    ---------------------------------------------------- */
    body {
        overflow-x: hidden;
        font-size: 15px;
    }

    section {
        padding: 25px 0 !important;
    }

    .container {
        padding: 0 12px !important;
    }


    /* ----------------------------------------------------
       NAVBAR
    ---------------------------------------------------- */
    .navbar {
        padding: 12px 15px;
    }

    .logo {
        font-size: 1.1rem;
    }

    .logo-img {
        height: 26px;
    }

    .btn-nav-contact {
        padding: 6px 12px;
        font-size: 0.75rem;
    }


    /* ----------------------------------------------------
       HERO SLIDER
    ---------------------------------------------------- */
    .hero-slider-container {
        height: 45vh !important;
        min-height: 260px !important;
    }

    .slide-content {
        padding: 15px !important;
        max-width: 95%;
    }

    .slide-content h1 {
        font-size: 1.3rem !important;
        margin-bottom: 8px;
    }

    .slide-price {
        font-size: 1.1rem !important;
        margin-bottom: 10px;
    }

    .slider-controls button {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }


    /* ----------------------------------------------------
       BARRA RICERCA
    ---------------------------------------------------- */
    .hero-search-wrapper {
        margin-top: -30px !important;
    }

    .hero-search-box {
        padding: 15px !important;
        border-bottom-width: 3px;
    }

    .search-group label {
        font-size: 0.7rem !important;
    }

    .search-group select,
    .search-group input {
        padding: 10px !important;
        font-size: 14px !important;
    }

    .btn-search-main {
        padding: 12px !important;
        font-size: 0.9rem !important;
    }


    /* ----------------------------------------------------
       SEZIONE VALORI
    ---------------------------------------------------- */
    .features-section {
        padding: 30px 0 !important;
    }

    .sec-head {
        font-size: 1.5rem !important;
    }

    .feat-item {
        padding: 20px !important;
    }


    /* ----------------------------------------------------
       ABOUT
    ---------------------------------------------------- */
    .about-image {
        height: 220px !important;
        border-radius: 12px;
    }

    .about-text h2 {
        font-size: 1.6rem !important;
    }

    .about-text p {
        font-size: 0.9rem;
    }

    .stat-item-inline {
        flex: 1 1 48% !important;
        padding: 12px !important;
    }


    /* ----------------------------------------------------
       STATISTICHE
    ---------------------------------------------------- */
    .stats-section {
        padding: 30px 15px !important;
    }

    .stat-number {
        font-size: 1.8rem !important;
    }


    /* ----------------------------------------------------
       CTA
    ---------------------------------------------------- */
    .cta-strip {
        padding: 25px !important;
        border-radius: 10px;
    }

    .cta-strip h2 {
        font-size: 1.3rem !important;
    }

    .btn-cta-dark {
        padding: 12px 20px !important;
        font-size: 0.85rem !important;
    }


    /* ----------------------------------------------------
       SIDEBAR
    ---------------------------------------------------- */
    .sidebar {
        width: 85% !important;
        max-width: 300px !important;
        -webkit-overflow-scrolling: touch;
    }

    .sidebar-menu li {
        padding: 10px 12px !important;
        font-size: 0.95rem;
    }


    /* ----------------------------------------------------
       MODAL AUTO
    ---------------------------------------------------- */
    .modal-card {
        width: 100% !important;
        max-width: 95% !important;
    }

    .modal-body {
        display: block !important;
        padding: 15px !important;
    }

    .main-img {
        height: auto !important;
        margin-bottom: 10px;
    }

    .thumbs-list img {
        width: 60px !important;
        height: 60px !important;
    }

    .modal-info h2 {
        font-size: 1.3rem !important;
    }

    .price-box {
        font-size: 1.3rem !important;
        margin-bottom: 10px;
    }

    .specs-row {
        font-size: 0.85rem !important;
    }

    .btn-action {
        padding: 12px !important;
        font-size: 0.85rem !important;
    }


    /* ----------------------------------------------------
       WHATSAPP FLOAT
    ---------------------------------------------------- */
    .wa-float {
        width: 52px !important;
        height: 52px !important;
        bottom: 15px !important;
        right: 15px !important;
    }

    .wa-float img {
        width: 28px !important;
        height: 28px !important;
    }
}
