/* ============================
🌌 General Page Content
============================= */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #121521, #1d356d, #6b0715, #dc957d);
  background-size: 400% 400%;
  animation: gradientShift 25s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.page-content {
  padding: 1rem;
}

/* ============================
🖼 GALLERY SECTION
============================= */
.gallery-section {
  padding: 80px 20px;
  background: inherit;
  text-align: center;
}

/* 🎇 Gallery Header with Glow Animation */
.gallery-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  background-image: linear-gradient(90deg, #91e1f3, #6e89f5, #91e1f3);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: glowingTitle 3s ease-in-out infinite alternate;
}

@keyframes glowingTitle {
  0% {
    text-shadow: 0 0 5px #6e89f5, 0 0 10px #91e1f3;
  }
  100% {
    text-shadow: 0 0 10px #91e1f3, 0 0 20px #6e89f5;
  }
}

.gallery-header p {
  color: #b3efff;
  font-size: 1.1rem;
  margin-bottom: 50px;
  animation: fadeInText 2s ease-in-out;
}

@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================
📸 Gallery Grid & Items
============================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

/* ============================
📱 Responsive - Gallery
============================= */
@media (max-width: 768px) {
  .gallery-header h2 {
    font-size: 2rem;
  }

  .gallery-header p {
    font-size: 1rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .gallery-item {
    border-radius: 10px;
  }
}
