/* Breakpoints comuni:
   - 1200px (desktop piccoli)
   - 992px (tablet landscape)
   - 768px (tablet portrait)
   - 576px (mobile landscape)
   - 375px (mobile portrait) */

/* Hero Section */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero-secondary {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-content,
    .hero-description {
        flex: 1;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 50vh;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .hero-content {
        margin-left: 5%;
        max-width: 90%;
    }

    .hero button {
        padding: 12px 30px;
    }
}

/* Hero Secondary */
@media (max-width: 768px) {
    .hero-secondary .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-description p {
        margin-right: 0;
    }

    .stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 375px) {
    .hero-secondary .hero-content h1 {
        font-size: 1.8rem;
    }

    .stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-item {
        text-align: center;
    }
}

/* Galleria Veicoli */
@media (max-width: 768px) {
    .galleria-veicoli h2 {
        font-size: 2rem;
    }

    .gallery-item {
        aspect-ratio: 4/3;
    }

    .gallery-item-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 20%, transparent);
    }

    .vehicle-name {
        font-size: 1rem;
    }

    .vehicle-price {
        font-size: 0.9rem;
    }
}

/* Google Reviews */
@media (max-width: 768px) {
    .review-card {
        height: auto;
        min-height: 200px;
    }

    .carousel {
        padding: 0 20px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 375px) {
    .google-reviews h2 {
        font-size: 1.8rem;
    }

    .review-header img {
        width: 40px;
        height: 40px;
    }

    .reviewer-info h3 {
        font-size: 0.9rem;
    }

    .review-text {
        font-size: 0.85rem;
    }
}

/* Fix per il tooltip su mobile */
@media (max-width: 576px) {
    .tooltip {
        max-width: 250px;
    }

    .tooltip .tooltip-inner {
        max-height: 150px;
        font-size: 0.8rem;
    }
}
