body {
    font-family: Arial, sans-serif;
}

.banner-section {
    height: 420px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.banner-content {
    z-index: 2;
    /* Para ficar acima da sobreposição */
    padding: 20px;
    /* Espaçamento interno */
    max-width: 90%;
    /* Limita a largura máxima */
}

.banner-title {
    font-size: 2.5rem;
    /* Tamanho da fonte padrão */
    font-weight: bold;
    margin: 0;
    /* Remove a margem padrão */
}

.banner-subtitle {
    font-size: 1.2rem;
    margin: 0;
    /* Remove a margem padrão */
}


@media (max-width: 480px) {
    .banner-section {
        height: 150px;
        /* Altura ainda mais reduzida para dispositivos muito pequenos */
    }

    .banner-title {
        font-size: 1.5rem;
        /* Tamanho da fonte ainda mais reduzido */
    }

    .banner-subtitle {
        font-size: 0.9rem;
        /* Tamanho da fonte ainda mais reduzido */
    }
}

/* Estilos para a seção de anúncios */
.ad-section {
    background-color: #f8f9fa;
    padding: 40px 0;
}

.ad-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.ad-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 20px;
    max-width: 600px;
    width: 100%;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.ad-header {
    flex-shrink: 0;
    margin-right: 20px;
}

.ad-image {
    max-width: 150px;
    height: auto;
    border-radius: 10px;
}

.ad-body {
    display: flex;
    flex-direction: column;
}

.ad-location {
    color: #dc3545;
    font-weight: bold;
    margin-bottom: 15px;
}

.ad-footer {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 10px;
}

.ad-footer a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 14px;
    color: white;
    background-color: #007bff;
    border-radius: 5px;
    text-decoration: none;
    font-size: 12px;
    transition: background-color 0.3s ease;
}

.ad-footer a i {
    margin-right: 5px;
}

.ad-footer a.btn-whatsapp {
    background-color: #25d366;
}

.ad-footer a.btn-phone {
    background-color: #007bff;
}

.ad-footer a.btn-info {
    background-color: #fec009;
}

.ad-footer a:hover {
    opacity: 0.8;
}

.ad-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.ad-description {
    color: #666;
    margin-bottom: 15px;
}

.service-description-section {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Certifica-se de que ocupa toda a altura da viewport */
    background-color: #f9f9f9;
    /* Cor de fundo da seção */
    padding: 20px;
    /* Padding em torno da seção */
}

.service-description-container {
    width: 100%;
    background-color: #fff;
    /* Cor de fundo do container */
    padding: 40px;
    /* Espaçamento interno */
    border-radius: 8px;
    /* Bordas arredondadas */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    /* Sombra para um efeito de profundidade */
    text-align: center;
    /* Centraliza o texto dentro do container */
}

.service-title {
    font-size: 2rem;
    /* Tamanho da fonte do título */
    color: #333;
    /* Cor do texto do título */
    margin-bottom: 20px;
    /* Espaçamento abaixo do título */
}

.service-text {
    font-size: 1.2rem;
    /* Tamanho da fonte do texto do serviço */
    color: #666;
    /* Cor do texto do serviço */
    line-height: 1.8;
    /* Altura da linha para melhor leitura */
    margin-bottom: 20px;
    /* Espaçamento abaixo do texto */
}

.service-location {
    font-size: 1rem;
    /* Tamanho da fonte da localização */
    color: #999;
    /* Cor do texto da localização */
}

.service-location i {
    color: #ff4b4b;
    /* Cor do ícone da localização */
    margin-right: 5px;
    /* Espaçamento à direita do ícone */
}

.anuncios-container {
    margin-top: 20px;
}

.anuncios-row {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.anuncio-item {
    width: 30%;
    background: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-radius: 8px;
}

.anuncio-imagem {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 5px;
}

.anuncio-texto {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
}

.anuncio-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 12px;
}

.anuncio-button:hover {
    background-color: #0056b3;
}


/* Responsividade */
@media (max-width: 992px) {
    .ad-item {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {

    .service-description-container {
        width: 100%;
        background-color: #fff;
        padding: 8px 0px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        text-align: center;
    }


    .ad-item {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .ad-header {
        margin-bottom: 6px;
    }

    .ad-image {
        max-width: 130px;
    }

    .ad-section {
        background-color: #f8f9fa;
        padding: 3px 0;
    }

    .ad-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        gap: 0px;
        justify-content: center;
        margin-bottom: -20px;
    }

    .ad-title {
        font-size: 1.2rem;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .service-description-section {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #f9f9f9;
        padding: 8px;
    }

    .ad-body {
        text-align: center;
    }

    p {
        margin-top: 0;
        margin-bottom: 0;
    }

    .ad-location {
        color: #dc3545;
        font-weight: bold;
        margin-bottom: 0px;
    }

    .ad-description {
        color: #666;
        margin-bottom: 2px;
    }

    .ad-footer {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2px;
    }

    .ad-footer a {
        padding: 10px 13px;
        font-size: 14px;
    }

    /* Ajustes no banner para telas pequenas */
    .banner-section {
        height: 250px;
        margin-top: 20px;
    }

    .banner-title {
        font-size: 1.4rem;
    }

    .banner-subtitle {
        font-size: 1.1rem;
    }

    .anuncios-row {
        flex-direction: column;
        align-items: center;
    }

    .anuncio-item {
        width: 98%;
        margin-bottom: 20px;
    }
}

