/* Hero background com imagem e overlay RGBA */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

/* Hero com altura total para a página inicial */
.hero-full {
    min-height: 100vh;
}

/* Hero compacto para páginas internas */
.hero-compact {
    min-height: 40vh;
}

/* Imagem de fundo do hero */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/estrada.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -3;
}

/* Overlay colorido com gradiente */
.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #02243d 0%, rgba(2, 36, 61, 0.7) 50%, rgba(2, 36, 61, 0.7) 100%) !important;
    z-index: -1;
}


/* Efeito de padrão pontilhado sutil */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="%23ffffff" fill-opacity="0.05" /></svg>');
    background-size: 20px 20px;
    opacity: 0.5;
    z-index: -1;
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
    .hero-background {
        background-position: 70% center;
    }
}
