/* Gallery Container Grid */
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 20px 10px;
}

.container .box {
  position: relative;
  width: 280px;
  height: 200px;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.container .box .imgBox {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.container .box .imgBox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.container .box:hover .imgBox img {
  transform: scale(1.1);
  opacity: 0.4;
}

/* Details Hover Overlay */
.container .box .details {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 128, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  padding: 15px;
  box-sizing: border-border-box;
  text-align: center;
}

.container .box:hover .details {
  opacity: 1;
}

.container .box .details .content h1 {
  color: #fff;
  font-size: 1.2rem;
  margin: 0 0 5px 0;
  text-transform: uppercase;
}

.container .box .details .content p {
  color: #f0f0f0;
  font-size: 0.9rem;
  margin: 0;
}
