/* Estilo do carousel */

/* Centralizar logo */
.logo-container {
    flex-grow: 1;
    text-align: center;
}

header .btn {
    margin-left: auto;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 5px;
}

.carousel-item {
    transition: transform 0.5s ease-in-out;
}

.carousel-item img {
    border-radius: 5px;
}

/* Responsividade */
@media (max-width: 768px) {
    .carousel-image {
        height: 300px;
        object-fit: cover; /* Para garantir que a imagem seja exibida corretamente */
    }
}

@media (max-width: 576px) {
    .carousel-image {
        height: 300px;
        width: 300px; /* Quadrada no mobile */
        object-fit: cover;
    }
}


/* Centraliza a logo no desktop */
.logo-container {
    display: none;
}

@media (min-width: 992px) {
    .logo-container {
        display: block;
    }

    .logo-container-mobile {
        display: none;
    }
}

/* Alinha a logo e o menu hambúrguer no mobile */
.navbar-toggler {
    margin-right: auto;
}

.logo-container-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
}



/* setcon noticias */

/* Estilo para o bloco de notícias */
.news-section {
    background-color: #f8f9fa;
}

.news-main img {
    border-radius: 10px;
}

.news-main h3 {
    font-size: 1.75rem;
    color: #333;
}

.news-side h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.news-side .media img {
    border-radius: 10%;
}

.news-side .media h5 {
    font-size: 1.2rem;
    font-weight: bold;
}

.news-side .media p {
    color: #777;
}

/* setcon noticias */

/* Estilo para o carrossel */

.slick-carousel .item {
    padding: 10px;
}

.slick-carousel .card {
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slick-carousel .card img {
    border-radius: 10px 10px 0 0;
}



/* carroceu */

/* fooftyer */
.footer-section {
    background-color: #d32f2f; /* Vermelho do tema */
    color: #fff;
}

.footer-section h5 {
    color: #ffeb3b; /* Amarelo do tema */
}

.footer-section a {
    color: #ffeb3b; /* Amarelo dos links */
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.bg-footer {
    background-color: #d32f2f; /* Vermelho para o fundo do rodapé */
}


@media (max-width: 767px) {
    .artigos-mobile {
        display: flex;
        flex-direction: column;
    }

    .artigos-mobile .card {
        display: flex;
        flex-direction: row;
        margin-bottom: 10px;
        border: none;
    }

    .artigos-mobile .card-img-top {
        width: 100px;
        height: auto;
        object-fit: cover;
    }

    .artigos-mobile .card-body {
        padding-left: 15px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .artigos-mobile .card-title {
        font-size: 1rem;
        font-weight: bold;
    }

    .artigos-mobile .card-text {
        font-size: 0.9rem;
        color: #666;
    }
}
