/* Reset total */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* HEADER */
header {
  background-image: url('fundo edson.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 300px;
  width: 100%;
  display: flex;
  justify-content: center; /* centraliza o conteúdo horizontalmente */
  align-items: flex-start; /* cola a navbar no topo */
  position: relative;
}

/* NAVBAR */
.navbar {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
}

.logo {
  font-size: 1.2rem;
  color: white;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 16px;
}

.nav-icon {
  display: block; /* faz o ícone ficar acima do texto */
  font-size: 1.5rem; /* aumenta o tamanho do ícone */
  margin-bottom: 4px;
  background-color: rgba(255, 255, 255, 0.2); /* caixinha sutil */
  padding: 8px;
  border-radius: 8px;
  color: white;
  text-align: center;
  transition: background-color 0.3s, transform 0.3s;
}

.nav-links li a {
  display: flex;
  flex-direction: column; /* ícone em cima, texto embaixo */
  align-items: center;
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 6px 8px;
}

.nav-links li a:hover .nav-icon {
  background-color: #facc15; /* destaque ao passar o mouse */
  color: #333;
  transform: scale(1.1);
}
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 20;
  background-color: #f4f4f4;
}
h1, h2, h3 {
  color: #333;
  margin-top: 25px;
  margin-bottom: 30px;
  font-family: 'Arial', serif;

}
h1{
  text-align: center;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

section {
  padding: 20px;
  background: #fff;
  margin: 20px;
  border-radius: 10px;
}

.imagem-container {
  display: flex;
  gap: 30px; /* Espaçamento entre as imagens */
}

.imagem {
  width: 200px; /* Ajuste o tamanho das imagens */
  height: auto;
}
.imagem-fileira {
  display: flex;              /* Usando flexbox para alinhar as imagens */
  flex-wrap: wrap;            /* Permite que as imagens quebrem para a próxima linha */
  gap: 16px;                  /* Espaço entre as imagens */
  justify-content: space-evenly; /* Espaço entre as colunas */
}

.imagem-item {
  flex: 1 1 200px; 
   max-width: 220px;                 /* Largura das imagens (3 colunas) */
  text-align: center;         /* Centraliza a legenda embaixo da imagem */
}

figcaption {
  margin-top: 10px;           /* Espaço entre a imagem e a legenda */
  font-size: 15px;            /* Tamanho da fonte */
  color: #333;                /* Cor da legenda */
}
footer {
  text-align: center;
  padding: 20px;
  background: darkcyan;
  color: #fff;
  margin-top: 20px;
}
.social-links a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
}

.social-links a:hover {
  text-decoration: underline;
}

.btn-container {
  text-align: center;
  margin-top: 30px;
}

.btn-drive {
  display: inline-block;
  background-color: #00796b;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-drive:hover {
  background-color: #004d40;
}

.galeria-aprovados {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  padding: 20px;
  justify-items: center;
}

.imagem-reduzida {
  width: 100%;
  max-width: 180px;
  height: auto;
  object-fit: cover;
  border-radius: 0px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efeito ao passar o mouse */
.imagem-reduzida:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

section.sobre {
  max-width: 900px;
  margin: 0 auto;
  background-color: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  line-height: 1.7;
  font-size: 1.05rem;
  color: #333;
}

section.sobre h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  color: #00796b;
}

section.sobre p {
  margin-bottom: 20px;
  text-align: justify;
}
.destaque-final {
  max-width: 700px;
  margin: 50px auto;
  padding: 30px;
  text-align: center;
  background-color: #f5f2f0;
  font-family: 'Roboto', sans-serif;
}

.destaque-final h4 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: black;
}

.destaque-final p {
  font-size: 1.1em;
  color: #333;
}

.destaque-final img {
  margin: 20px 0;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.destaque-final figcaption {
  font-style: roboto;
  color: #555;
  margin-top: 8px;
}



@media (max-width: 600px) {
  /* Estilos para telas menores (como celulares) */
  
  body {
      font-size: 14px;
  }
  .footer-links {
      display: block;
      text-align: center;
  }
  .galeria-aprovados{
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
  } 
  .imagem-reduzida{
    max-width: 120px;
  }
}