/* Correções específicas para dispositivos landscape */

/* Smartphones em landscape (480px - 767px) */
@media screen and (max-width: 767px) and (orientation: landscape) {
    .carousel-container {
        margin: 2rem 0;
    }
    
    .services-carousel {
        gap: 1rem;
        padding: 0.5rem;
    }
    
    .service-card {
        width: 100%;
        max-width: 400px;
        flex: 0 0 auto;
        height: auto;
        min-height: 300px;
    }
    
    .card-content {
        padding: 1.5rem 1rem;
    }
    
    .card-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .card-content p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .image-placeholder i {
        font-size: 2.5rem;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .carousel-btn.carousel-prev {
        left: 10px;
    }
    
    .carousel-btn.carousel-next {
        right: 10px;
    }
}

/* Tablets pequenos em landscape (768px - 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) and (orientation: landscape) {
    .services-carousel {
        gap: 1.5rem;
    }
    
    .service-card {
        width: 100%;
        max-width: 400px;
        flex: 0 0 auto;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Ajustes gerais para landscape em dispositivos pequenos */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .service-card {
        min-height: 250px;
    }
    
    .card-content {
        padding: 1rem 0.8rem;
    }
    
    .card-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .card-content p {
        font-size: 0.85rem;
    }
    
    .image-placeholder i {
        font-size: 2rem;
    }
}

/* Correções para dispositivos muito pequenos em landscape */
@media screen and (max-width: 480px) and (orientation: landscape) {
    .service-card {
        min-width: 250px;
        max-width: 300px;
        min-height: 280px;
    }
    
    .services-carousel {
        gap: 1rem;
        padding: 0.3rem;
    }
    
    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .carousel-btn.carousel-prev {
        left: 5px;
    }
    
    .carousel-btn.carousel-next {
        right: 5px;
    }
}