/* =============================
   SEÇÃO INTRODUTÓRIA
============================= */
.examples-portfolio {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  padding: 30px 20px;
  color: #012169;
}

.examples-portfolio h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.examples-portfolio p {
  font-size: 1.1rem;
  line-height: 1.5;
}

/* =============================
   PORTFÓLIO IMAGENS
============================= */
.portfolio_section {
  padding: 20px 40px;
  box-sizing: border-box;
}

.linha-de-imagem {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
}

.container_imagem {
  flex: 1 1 calc(25% - 20px);
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s;
}

.container_imagem img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.container_imagem:hover img {
  transform: scale(1.05);
}

/* =============================
   OVERLAY E BOTÃO IMAGEM
============================= */
.overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container_imagem:hover .overlay {
  opacity: 1;
}

.botao_imagem a {
  background-color: #fedd00;
  color: #012169;
  font-weight: bold;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.botao_imagem a:hover {
  background-color: #012169;
  color: #ffffff;
  transform: translateY(-2px);
}

/* =============================
   BOTÃO “VEJA MAIS”
============================= */
.botao {
  text-align: center;
  margin: 40px 0;
}

.botao a {
  background-color: #fedd00;
  color: #012169;
  font-weight: bold;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 18px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.botao a:hover {
  background-color: #012169;
  color: #ffffff;
  transform: translateY(-2px);
}

/* =============================
   GITHUB REPOSITÓRIOS
============================= */
.github-section {
  padding: 60px 20px;
  background-color: #f5f5f5;
  text-align: center;
}

.github-section h2 {
  font-size: 2rem;
  color: #012169;
  margin-bottom: 30px;
}

.repositorio-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.repositorio-card {
  background-color: #012169;
  color: white;
  width: 280px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s;
}

.repositorio-card:hover {
  transform: translateY(-5px);
}

.repositorio-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.repositorio-card p {
  font-size: 14px;
  line-height: 1.4;
  min-height: 48px;
  color: #dddddd;
}

.repositorio-card a {
  display: inline-block;
  margin-top: 10px;
  background-color: #fedd00;
  color: #012169;
  padding: 8px 16px;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
}

.repositorio-card a:hover {
  background-color: #ffffff;
  color: #012169;
}

/* =============================
   RESPONSIVIDADE
============================= */
@media (max-width: 1024px) {
  .container_imagem {
    flex: 1 1 calc(33.33% - 20px);
  }
}

@media (max-width: 768px) {
  .container_imagem {
    flex: 1 1 calc(50% - 20px);
  }

  .botao_imagem a,
  .botao a {
    font-size: 15px;
    padding: 10px 22px;
  }
}

@media (max-width: 480px) {
  .container_imagem {
    flex: 1 1 100%;
  }

  .botao_imagem a,
  .botao a {
    font-size: 14px;
    padding: 8px 16px;
  }

  .examples-portfolio h1 {
    font-size: 1.5rem;
  }

  .repositorio-card {
    width: 90%;
  }
}