/* Estilos atualizados para a galeria de serviços com slides automáticos */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Item de serviço (contém título e caixa) */
.service-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

/* Título fora da caixa */
.service-title-outside {
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    font-size: 18px;
    text-align: center;
}

/* Fonte menor para título longo */
.smaller-font {
    font-size: 15px;
}

/* Caixa com fundo preto */
.service-box {
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Slider dentro da caixa */
.service-slider {
    width: 100%;
    height: 100%;
}

/* Slides */
.service-slider .slick-slide {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 250px;
    background-color: #000;
}

/* Imagens centralizadas */
.service-slider img {
    max-width: 100%;
    max-height: 250px;
    margin: 0 auto;
    object-fit: contain;
    display: block !important;
}

/* Título principal com destaque */
.services-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    color: #e74c3c;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 15px;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.services-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background-color: #e74c3c;
    border-radius: 2px;
}

.services-title:before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: #e74c3c;
    border-radius: 2px;
}

/* Responsividade */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-title {
        font-size: 28px;
    }
}
