/* Estilos para o fundo dinâmico do hero */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-background .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-background .slide.active {
    opacity: 1;
}

/* Overlay escuro para garantir legibilidade do texto */
.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Ajuste a opacidade conforme necessário */
    z-index: 1;
}

/* Ajuste para o conteúdo do hero ficar sobre o background */
#hero .container {
    position: relative;
    z-index: 2;
}

/* Ajuste para garantir que o hero tenha altura suficiente */
#hero {
    position: relative;
    min-height: 600px;
    padding: 150px 0;
}
