
.container {
  max-width: 900px;
  margin: 0 auto;
}

.project-header {
  text-align: center;
  margin-bottom: 30px;
}
.project-name {
  font-size: 2.4rem;
  color: #577a19;
}
.project-owner {
  font-size: 1.1rem;
  color: #8f8f8f;
  margin-top: 6px;
}

.gallery-img {
  flex: 1 1 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgb(87 122 25 / 0.2);
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-img:hover {
  transform: scale(1.07);
  box-shadow: 0 8px 40px rgb(87 122 25 / 0.4);
}

.gallery-img img {
  width: 100%;
  display: block;
  border-radius: 12px;
  height: auto;
  object-fit: cover;
}

/* Lightbox styles */
.lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeInScale 0.4s ease forwards;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 15px;
  box-shadow: 0 0 20px 2px rgba(255 255 255 / 0.7);
  transition: transform 0.35s ease;
  transform-origin: center center;
}

.lightbox-close {
  position: fixed;
  top: 25px;
  right: 25px;
  font-size: 3rem;
  color: #77a52f;
  cursor: pointer;
  transition: color 0.25s ease;
  user-select: none;
  z-index: 10000;
}

.lightbox-close:hover {
  color: #aacc33;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.project-info h2 {
  font-size: 1.3rem;
  color: #577a19;
  margin-bottom: 6px;
}
.project-info p {
  font-size: 1rem;
  margin-bottom: 18px;
  color: #4d4d4d;
}

.project-gallery .swiper-slide img {
  width: 100%;
  border-radius: 12px;
  cursor: pointer;
  object-fit: cover;
  display: block;
}
