

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ecf0ea; /* cinza claro */
}

.hero {
  position: relative;
  width: 100vw;
  height: 100vh; /* corpo inteiro */
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

/*-------IMAGEM DE FUNDO DO INICIO----*/
.imagem-borrada {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-image: url('imagem/trabalho-voluntario-onde-fazer.jpg');
  background-color: rgba(0, 0, 0, 0.4);
  background-size: cover;
  background-position: center;
  background-blend-mode: darken;
  filter: blur(4px);
  opacity: 0.4;
  z-index: 0;
}
.conteudo {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}
.conteudo h1,
.conteudo p,
.conteudo a {
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}
/*==========================
IMAGEM DE FUNDO DOS PROJETOS
===========================*/
.hero-projetos {
  position: relative;
  width: 100vw;
  height: 100vh; /* ocupa a tela inteira */
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-projetos .imagem-borrada {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-image: url('imagem/voluntario.jpg');
  background-color: rgba(0, 0, 0, 0.4);
  background-size: cover;
  background-position: center;
  background-blend-mode: darken;
  filter: blur(4px);
  opacity: 0.4;
  border: 8px solid rgba(255, 255, 255, 0.2);
  box-sizing: border-box;
  z-index: 0;
  border-radius: 12px;
}

.hero-projetos .conteudo {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}

.hero-projetos h1,
.hero-projetos p,
.hero-projetos a {
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

/*--------IMAGEM CADASTRO--------*/
.hero-cadastro {
  position: relative;
  width: 100vw;
  height: 100vh; /* ocupa a tela inteira */
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-cadastro .imagem-borrada {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-image: url('imagem/volun.png');
  background-color: rgba(0, 0, 0, 0.4);
  background-size: cover;
  background-position: center;
  background-blend-mode: darken;
  filter: blur(4px);
  opacity: 0.4;
  border: 8px solid rgba(255, 255, 255, 0.2);
  box-sizing: border-box;
  z-index: 0;
  border-radius: 12px;
}

.hero-cadastro .conteudo {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}

.hero-cadastro h1,
.hero-cadastro p,
.hero-cadastro a {
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}


/* BOTÃO PRIMÁRIO */
.btn-primary {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

/* ==========================
   Header e Navegação
   ========================== */
header {
    background: linear-gradient(135deg, #b7bbb5 0%, #467060 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}


.logo {
    font-size: 1.5rem;
    font-weight: bold;
}


nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}


nav a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
    font-weight: 500;
}


nav a:hover,
nav a.active {
    opacity: 1;
    font-weight: bold;
}


nav a {
    opacity: 0.8;
}



.hero {
    background: linear-gradient(rgba(19, 22, 19, 0.8), rgba(67, 104, 85, 0.8)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23f0f0f0" width="1200" height="600"/></svg>');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 70px;
}


.hero-page {
    background: linear-gradient(135deg, #66e1ea 0%, #764ba2 100%);
    padding: 8rem 2rem 4rem;
    text-align: center;
    color: white;
    margin-top: 70px;
}


.hero-content, .signup-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}


.hero h1,
.hero-page h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}


.hero p,
.hero-page p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin: 2rem auto;
  max-width: 600px;
}

.btn-primary, .btn-secondary {
  flex: 0 1 auto;
  min-width: 180px;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  display: inline-block;
  text-align: center;
  margin: 0 0.5rem;
}
.btn-primary{
    background: #2a3d35;
    color: white;
}
.btn-secondary{
    background: #181f1c;
    color: white;
}

.btn-primary:hover, .btn-secondary:hover{
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0, 0, 0.3);

}
.btn-primary::after, .btn-secondary::after{
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255, 0.15);
    transform: rotate(45deg);
    transition: all 0.5 ease;
}
.btn-primary:hover::after, .btn-secondary:hover::after{
    top:-20px;
    left: -20px;

}

form fieldset{
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
form legend{
    font-weight: bold;
    padding: 0 0.5rem;
}
form-group{
    margin-bottom: 1rem;

}
.form-label{
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea{
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
}
.sucess-message{
    display: none;
    margin-top: 1rem;
    color:green;
    font-weight: bold;
    text-align: center;
}

footer{
    text-align: center;
    padding: 2rem;
    background: rgb(190, 192, 190);
    margin-top: -3px;
}

#tabelaVoluntarios table{
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-family: 'Segoi UI', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
#tabelaVoluntarios th,
#tabelaVoluntarios td{
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    text-align: center; 

}
#tabelaVoluntarios th{
    background-color: #263632;
    color: white;
    font-family: 600;
}
#tabelaVoluntarios tr:nth-child(even){
    background-color: #f9f9f9;
}
#tabelaVoluntarios tr:hover{
    background-color: #e0e0ff;
}
#tabelaVoluntarios table{
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0, 1);
}
#tabelaVoluntarios p{
    text-align: center;
    font-weight: 500;
    color: #333;
    padding: 1rem;

} 






