/* Reset global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilização geral */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #000;
    color: #fff;
    text-align: center;
}

/* Cabeçalho */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: rgba(0, 0, 0, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 50px; /* Ajuste o tamanho conforme necessário */
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    transition: color 0.3s ease-in-out;
}

nav ul li a:hover {
    color: #ccc;
}

/* Botão de menu hamburguer */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
}

/* Configuração da faixa de vídeo */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1; /* Coloca o vídeo atrás do conteúdo */
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.1); /* Ajusta o tamanho do vídeo */
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    opacity: 0.6; /* Ajuste de opacidade para melhor contraste */
}

/* Hero Section */
.hero {
    position: relative;
    height: 50vh;
    display: flex;
    flex: 1; /* Faz com que a hero section ocupe o espaço necessário */
    min-height: 50vh; /* Garante que não fique muito pequena */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.5); /* Filtro escuro para contraste */
    padding: 50px 20px;
    padding-top: 80px; /* Garante que o vídeo não fique coberto pelo menu */
}
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Move o texto exatamente para o centro */
    max-width: 600px;
    text-align: center;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    white-space: normal;
    color: #fff;
}

.hero p {
    font-size: 1.2rem;
    margin-top: 10px;
    margin-bottom: 20px;
    opacity: 0.9;
    max-width: 500px;
    text-align: center;
    color: #fff;
}

/* Botão principal */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
    text-align: center;
}

.btn:hover {
    background: #ccc;
}

/* Seções */
.content {
    padding: 120px 50px 80px;
    max-width: 800px;
    margin: auto;
    text-align: center;
}

/* Rodapé */
footer {
    margin-top: auto; /* Empurra o footer para o final */
    padding: 20px;
    background: rgba(0, 0, 0, 0.9);
    font-size: 14px;
    opacity: 0.7;;
}

/* Estilos para telas menores (tablets e celulares) */
@media screen and (max-width: 768px) {
    .logo img {
        height: 40px; /* Reduz o tamanho no celular */
    }
    .menu-toggle {
        display: block; /* Exibe o botão hamburguer no celular */
    }

    nav ul {
        display: none; /* Esconde o menu por padrão */
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
    }

    nav ul li {
        padding: 10px 0;
    }

    nav ul.show {
        display: flex; /* Exibe o menu ao clicar no botão */
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%; /* Faz o conteúdo ocupar toda a altura da seção */
        text-align: center;
    }
    .hero {
        height: 40vh;
        padding-top: 100px;
    }

    .hero h1 {
        font-size: 2rem; /* Ajusta o tamanho do texto */
        max-width: 90%; /* Evita que quebre em espaços ruins */
    }

    .hero p {
        font-size: 1rem;
        max-width: 90%;
    }
}

/* Ajustes gerais para imagens e vídeos */
img, video {
    max-width: 100%;
    height: auto;
}
