/* css/02-hero.css - CORRIGIDO PARA VÍDEO LOCAL */

.hero-section {
    position: relative;
    width: 100%;
    /* 
      A altura está definida para 70% da altura da tela (70vh).
      Você pode ajustar este valor (ex: 90vh para mais alto).
    */
    height: 70vh; 
    overflow: hidden;
    background-color: var(--text-dark);
}

.video-background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* MODIFICAÇÃO INICIA: Estilização da tag <video> local */
.video-background-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Faz o vídeo cobrir a área sem distorcer */
    transform: translate(-50%, -50%);
    z-index: -1; /* Garante que o vídeo fique atrás do conteúdo do overlay */
}
/* MODIFICAÇÃO TERMINA */

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: white;
    text-align: center;
}

.hero-overlay h1 {
    font-size: 3.8em;
    color: var(--background-color);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-overlay p {
    font-size: 1.3em;
    max-width: 700px;
    margin: 0 auto 30px auto;
    color: rgba(255, 255, 255, 0.9);
}

.hero-controls-wrapper {
    position: absolute;
    bottom: 30px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.hero-control-btn {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-control-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: scale(1.05);
}

.hero-volume-control {
    border-radius: 50px;
    padding: 8px 15px;
    width: auto;
    min-width: 45px;
}

.hero-volume-control i {
    margin-right: 8px;
}

.scroll-indicator {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    color: white;
    font-size: 2.2em;
    animation: bounce 2s infinite;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.scroll-indicator i {
    display: block;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-8px);
    }
}