
/* ================= PHOTO GALLERY ================= */
.photo-gallery {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 20px 0;
}

@media (max-width: 768px) {
  .photo-gallery {
    grid-template-columns: 1fr;
  }
}

.photo-gallery.active {
  display: grid;
}

.photo-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s ease, filter .3s ease;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.9);
  transition: transform .5s ease, filter .5s ease;
}

.photo-item:hover {
  transform: scale(1.05);
}

.photo-item:hover img {
  filter: saturate(1.2) brightness(1);
  transform: scale(1.1);
}

.photo-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
}

.photo-header {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.photo-text {
  font-size: 0.9rem;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

/* Hide original links when gallery is active */
.links.hidden {
  display: none;
}