/* ======= PORTFÓLIO DARK NEON ======= */
#portfolio {
  padding: 60px 20px;
  background-color: #0D0D0D; /* fundo preto */
  text-align: center;
}

#portfolio h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #9B30FF; /* roxo neon */
  text-shadow: 0 0 10px #9B30FF, 0 0 20px #9B30FF;
}

.portfolio-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
}

.portfolio-card {
  background-color: #1A1A1A; /* cartão mais escuro que o fundo */
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(155, 48, 255, 0.5); /* sombra neon */
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  width: 100%;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.portfolio-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid #9B30FF;
}

.portfolio-card h3 {
  margin: 15px 0 10px;
  color: #9B30FF;
  text-shadow: 0 0 8px #9B30FF;
}

.portfolio-card p {
  padding: 0 15px 20px;
  color: #DDD;
  text-align: center;
}

.portfolio-card .btn {
  display: inline-block;
  margin-bottom: 15px;
  padding: 10px 20px;
  background-color: #9B30FF;
  color: #0D0D0D;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s;
  box-shadow: 0 0 10px #9B30FF, 0 0 20px #9B30FF;
}

.portfolio-card .btn:hover {
  background-color: #7A1FCC;
  box-shadow: 0 0 20px #9B30FF, 0 0 30px #9B30FF;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px #9B30FF, 0 0 40px #9B30FF;
}

/* ======= BOTÃO VOLTAR ======= */
.portfolio-back {
  margin-top: 40px;
  text-align: center;
}

.btn-back {
  display: inline-block;
  padding: 12px 30px;
  background-color: #9B30FF; /* roxo neon */
  color: #0D0D0D; /* texto escuro */
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 0 10px #9B30FF, 0 0 20px #9B30FF;
}

.btn-back:hover {
  background-color: #7A1FCC;
  box-shadow: 0 0 20px #9B30FF, 0 0 30px #9B30FF;
}
