/* PORTAFOLIO INTERACTIVO */
.portafolio-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.portafolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.portafolio-item img {
  width: 300px;
  display: block;
  transition: transform 0.5s;
  border-radius: 8px;
}

.portafolio-item:hover img {
  transform: scale(1.1);
}

.portafolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 194, 255, 0.6); /* color cyan de tu paleta con transparencia */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 8px;
}

.portafolio-item:hover .portafolio-overlay {
  opacity: 1;
}

.portafolio-overlay button {
  background: #2EF2A0; /* Verde agua de tu paleta */
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.portafolio-overlay button:hover {
  background: #00C2FF; /* Cyan al pasar el mouse */
}

/* MODAL PORTAFOLIO */
.modal {
  display: none; /* oculto por defecto */
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.7);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  position: relative;
  font-family: 'Roboto', sans-serif;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  color: #0066FF;
  cursor: pointer;
  transition: color 0.3s;
}

.close-modal:hover {
  color: #00C2FF;
}

.modal-content h3 {
  font-family: 'Poppins', sans-serif;
  color: #0066FF;
}

.modal-content p {
  margin-top: 10px;
}
