:root {
  --green: #204802;
  --gold: #c08c09;
  --cream-light: #faf4e9;
  --photo-shadow: rgba(0, 0, 0, 0.2);
}

.gallery-wall-scope {
  position: relative;
  height: 100vh;
  min-height: 800px;
  background: var(--cream-light);
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
}

.gallery-wall-bg {
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, var(--gold) 2px, transparent 6px),
    radial-gradient(circle at 75% 65%, var(--green) 3px, transparent 8px);
  background-size: 100px 100px;
  background-repeat: repeat;
  opacity: 0.15;
  z-index: 0;
}

#gallery-particles {
  position: fixed;
  top:0; left:0; width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}

.gallery-wall-header {
  position: relative;
  z-index: 5;
  max-width: 900px;
  margin: 60px auto 20px;
  text-align: center;
  color: var(--green);
}
.gallery-wall-header h2 {
  font-family: "Lora", serif;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 0.4em;
}
.gallery-wall-header p {
  font-size: 18px;
  color: var(--green);
  opacity: 0.7;
}

.gallery-wall {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 600px;
  margin-top: 80px;
  user-select: none;
}

.gallery-photo {
  position: absolute;
  cursor: pointer;
  border: 4px solid var(--gold);
  border-radius: 10px;
  box-shadow: 0 9px 20px var(--photo-shadow);
  background-color: white;
  transition: transform 0.4s ease;
  overflow: hidden;
}

.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px;
  transition: transform 0.5s ease;
}

.gallery-photo .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--gold);
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  padding: 0.5em 0;
  color: var(--green);
  text-shadow: none;
  user-select: none;
}

.gallery-photo:hover,
.gallery-photo:focus {
  outline: none;
  transform: translateY(-10px) rotate(3deg) scale(1.05);
  z-index: 10;
}

.gallery-photo:hover img {
  transform: scale(1.05);
}

@media (max-width: 1000px) {
  .gallery-photo {
    border-width: 3px;
  }
  .gallery-wall {
    height: 450px;
  }
}

@media (max-width: 600px) {
  .gallery-wall {
    height: 500px;
    margin-top: 40px;
  }
  .gallery-photo {
    border-width: 2px;
  }
  .gallery-photo .caption {
    font-size: 0.9rem;
  }
}
