@charset "utf-8";
/* CSS Document */

.galeria-section {
  background-color: #ffffff;
  padding: 5rem 2rem;
  text-align: center;
  margin-top: 4rem;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.filter-buttons button {
  background-color: #a4f6f0;
  border: none;
  color: #1f1f1f;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.filter-buttons button:hover,
.filter-buttons button.active {
  background-color: #ff6a9a;
  color: #ffffff;
  transform: scale(1.05);
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  flex: 1 1 260px;
  max-width: 280px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
  background: #ffffff;
  padding: 1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
  border-radius: 12px;
  margin-bottom: 0.5rem;
  height: auto;
  object-fit: cover;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 500;
  border-radius: 12px;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.description {
  display: none;
}

.galeria-section h2 {
  font-size: 2.8rem;
  margin-bottom: 2.5rem;
  color: #1f1f1f;
  font-weight: 700;
}

.highlight {
  color: #ff6a9a;
}

.mis-proyectos {
  text-align: center;
  margin-bottom: 2rem;
}

.mis-proyectos h2 {
  font-size: 2.5rem;
  font-weight: 700;
}
