* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Montserrat', sans-serif; 
}

body, html {
    width: 100%;
    overflow-x: hidden; /* Evita que o site "dance" para os lados */
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh; /* Altura total da tela */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Garante largura total */
    height: 100%;
    z-index: -1;
    background-color: #000; /* Fundo preto caso a imagem demore a carregar */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Faz a imagem cobrir tudo sem esticar */
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active { 
    opacity: 1; 
}

.hero-content { 
    background: rgba(0, 0, 0, 0.6); /* Escureci um pouco mais para ler melhor */
    padding: 40px; 
    border-radius: 15px; 
    width: 90%; 
    max-width: 900px;
    backdrop-filter: blur(5px); /* Efeito de vidro embaçado chique */
}

.hero-content h1 { 
    font-size: clamp(2rem, 5vw, 3.5rem); /* Fonte que se ajusta ao celular */
    margin-bottom: 10px; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.search-widget { 
    margin-top: 30px; 
    width: 100%;
}

footer {
    background: #111;
    color: white;
    padding: 30px 10px;
    text-align: center;
}
