.lightbox {
  position: fixed;
  z-index: 1050;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  
}
.lightbox-content {
  animation: fadeInZoom 0.3s ease;
}
@keyframes fadeInZoom {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.close {
  position: absolute;
  top: 20px; right: 30px;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}
#lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
.project-card {
  cursor: pointer;
  overflow: hidden;
  position: relative;
  margin-bottom:30px;
}

.project-img {
  transition: transform 0.4s ease, filter 0.4s ease;
  display: block;
  width: 100%;
  height: auto;
}

.project-card:hover .project-img {
  transform: scale(1.05);
  filter: brightness(60%);
}

.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.01);
  background:none;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.project-card:hover .overlay {
  opacity: 1;
}

