/* hero-style.css - VERSÃO DE LANÇAMENTO */

/* O body agora tem uma cor de fundo base */
body {
    background-color: #f0f2f5;
}

/* Header Fixo e Transparente no Topo */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0));
    transition: background-color 0.3s ease;
    padding: 5px 25px; /* Aumentei o padding lateral para dar mais respiro */
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box; /* Garante que o padding não estoure a largura */
}

.main-header h1, .main-header .menu-icon, .main-header nav a {
    color: white; /* Cor inicial do texto e ícones do menu */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    transition: color 0.3s ease;
}

/* EFEITO AO ROLAR A PÁGINA (CORRIGIDO) */
body.scrolled .main-header {
    background-color: #2e8b57; /* <<< SEU VERDE APLICADO AQUI */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

body.scrolled .main-header h1,
body.scrolled .main-header .menu-icon,
body.scrolled .main-header nav a {
    color: white; /* Garante que o texto continue branco no fundo verde */
    text-shadow: none;
}


/* Seção de Abertura (Hero) */
#hero { position: relative; height: 100vh; width: 100%; display: flex; align-items: center; justify-content: center; text-align: center; color: white; background-image: url('../background.jpg'); background-size: cover; background-position: center; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); }
.hero-content { position: relative; z-index: 2; padding: 20px; }
.hero-logo { width: 606px; height: auto; margin-bottom: 20px; }
.hero-content h1 { font-size: 3.5em; margin-bottom: 40px; }
.btn-scroll { padding: 15px 40px; font-size: 1.2em; color: #000; background-color: #d8b90b; border: none; border-radius: 5px; text-decoration: none; cursor: pointer; transition: background-color 0.3s; }
.btn-scroll:hover { background-color: #0db31a; }
.main-content { position: relative; z-index: 3; background-color: transparent; padding-top: 30px; }