/* Banner da galeria */
.banner-galeria {
  height: 300px;
  background:
    linear-gradient(rgba(0,0,0,0.7), rgba(0,20,50,0.8)),
    url("https://images.unsplash.com/photo-1519389950473-47ba0277781c");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 20px;
}

.banner-galeria h1 {
  font-size: 2.5rem;
}

/* Container */
.galeria-container {
  padding: 50px 20px;
  display: flex;
  justify-content: center;
}

/* Grid de projetos */
.galeria {
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* Card */
.card-projeto {
  text-decoration: none;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  color: #222;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: 0.4s ease;
  position: relative;
}

/* Imagem */
.card-projeto img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Título */
.card-projeto h3 {
  padding: 15px;
  text-align: center;
  font-size: 1.1rem;
}

/* Hover criativo */
.card-projeto:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 170, 255, 0.35);
}

/* Efeito overlay */
.card-projeto::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 170, 255, 0.15);
  opacity: 0;
  transition: 0.4s;
}

.card-projeto:hover::before {
  opacity: 1;
}

/* Rodapé padrão */
.rodape {
  background-color: #061826;
  color: #ffffff;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  width: 100%;
}

.rodape p {
  font-size: 1.05rem;
}

/* Responsivo tablet */
@media (max-width: 900px) {
  .galeria {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsivo mobile */
@media (max-width: 600px) {
  .galeria {
    grid-template-columns: 1fr;
  }

  .banner-galeria h1 {
    font-size: 2rem;
  }
}