@import url('https://fonts.googleapis.com/css2?family=Parisienne&display=swap');

:root {
    font-family: 'Georgia', serif;
    --primary-color: #4a37dd; /* Lilás */
    --secondary-color: #ffffff;
    --text-color: #333;
    --white: #fff;
}

body {
    font-family: 'Georgia', serif;
    margin: 0;
    padding: 0;
    background-color: var(--secondary-color);
    color: var(--text-color);
    text-align: center;
}

/* Bloco do Cabeçalho (Hero Section) */
header {
    /* Define a imagem de fundo com as camadas de cor */
    /* CAMADA 1: Branca com 10% de opacidade (NOVO) */
    /* CAMADA 2: Preta com 40% de opacidade */
    /* CAMADA 3: Sua imagem */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)), /* <-- CAMADA BRANCA ADICIONADA AQUI */
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
        url('../fig/completo.jpeg'); /* <-- URL da sua foto */
    
    /* Faz a imagem cobrir todo o bloco */
    background-size: cover;

    /* Posiciona a imagem mais para baixo (AJUSTADO) */
    background-position: center 45%; /* <-- AJUSTE DE POSIÇÃO AQUI */
    
    background-repeat: no-repeat;
    
    /* Define a altura do bloco */
    min-height: 60vh; /* Recomendo voltar para 90vh para um visual mais imponente */
    
    /* Define a cor do texto para branco, para contrastar com o fundo */
    color: var(--white);
    
    /* Centraliza o conteúdo (nomes, texto, botão) vertical e horizontalmente */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    
    /* Adiciona um preenchimento interno */
    padding: 2rem;
}

/* Estilos para o texto dentro do Header para garantir boa legibilidade */
header h1 {
    font-family: 'Parisienne', cursive; 
    font-size: 3.5rem; /* Tamanho maior para o nome */
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Sombra no texto para destaque */
}

header p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Media query para telas menores (celulares) */
@media (max-width: 600px) {
    header h1 {
        font-size: 2.5rem; /* Diminui a fonte em telas menores */
    }
    header p {
        font-size: 1.2rem;
    }
}


h1, h2 {
    font-family: 'Garamond', serif;
}

main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

section {
    background: var(--white);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    /* box-shadow: 0 2px 10px rgba(0,0,0,0.1); */
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #483d8b; /* Lilás mais escuro */
}



/* Mapa */
.map-container {
    position: relative;
    padding-bottom: 0%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #eee;
}
.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Admin */
.admin-panel table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    text-align: left;
}
.admin-panel th, .admin-panel td {
    border: 1px solid #ddd;
    padding: 8px;
}
.admin-panel th {
    background-color: #f2f2f2;
}


footer {
    padding: 2rem;
    background: #333;
    color: var(--white);
}