/* Estilos para o Hero Banner - Imagem 16:9 */

.hero-banner {
    position: relative;
    width: 100%;
    height: 100vh; /* Altura padrão para desktop */
    max-height: 800px; /* Altura máxima para telas muito altas */
    overflow: hidden;
    margin-top: -80px; /* Compensar o header fixo em desktop */
    background-color: #000; /* Fundo de fallback */
}

/* Container da Imagem Principal (16:9) */
.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.hero-image-main {
    display: block;
    width: 100%; /* Ocupa toda a largura do container */
    height: 100%; /* Ocupa toda a altura do container */
    object-fit: cover; /* Cobre a área, mantendo a proporção - Padrão */
    object-position: center;
}

/* Overlay e Conteúdo */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 3;
}

.hero-content {
    position: absolute;
    bottom: 10%;
    left: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    z-index: 4;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
}

.hero-content p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

/* Responsividade */
@media (max-width: 1024px) {
    .hero-banner {
        height: 80vh;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .hero-content p {
        font-size: 1.2rem;
    }
}

/* Ajuste Mobile - Altura Reduzida e Imagem Inteira */
@media (max-width: 768px) {
    .hero-banner {
        height: 50vh; /* Altura vertical reduzida */
        /* aspect-ratio: 16 / 9; /* Removido para usar height fixo */
        max-height: 50vh; /* Garante a altura máxima */
        margin-top: -70px; /* Ajustar para o header menor em mobile */
        background-color: #000; /* Fundo para 'contain' */
        overflow: hidden;
    }
    .hero-image-container {
        position: relative; /* Mantém relativo */
        width: 100%;
        height: 100%;
    }
    .hero-image-main {
        width: 100%;
        height: 100%;
        object-fit: contain; /* Garante que a imagem inteira seja visível */
        object-position: center;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .hero-content {
        bottom: 8%;
        /* Ajustar padding se necessário para não sobrepor imagem */
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    /* Mantém altura de 50vh e object-fit: contain herdados */
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .hero-content p {
        font-size: 0.9rem;
    }
}

