/* Hero */
#gallery-hero {
  position: relative;
  padding: 120px 20px;
  text-align: center;
  color: #fff;
  background: url('../assets/images/breadcrumb.jpg') center/cover no-repeat;
}
#gallery-hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
}
#gallery-hero .container {
  position: relative;
  z-index: 1;
}
#gallery-hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  font-weight: 700;
}
#gallery-hero p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
}

/* Gallery Grid */
/* Gallery Grid */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 250px; /* 🔹 Fixed same height for all */
  object-fit: cover; /* 🔹 Prevents stretch, keeps proportion */
  border-radius: 12px;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-item .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  color: #FFD700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 12px;
}
.gallery-item:hover .overlay {
  opacity: 1;
}


/* =====================
   Responsive - Gallery Page
===================== */

/* Tablets (max-width: 991px) */
@media (max-width: 991px) {
  /* Hero */
  #gallery-hero {
    padding: 80px 15px;
  }
  #gallery-hero h1 {
    font-size: 2.2rem;
  }
  #gallery-hero p {
    font-size: 1rem;
  }

  /* Gallery Grid */
  .gallery-item img {
    height: 220px; /* slightly smaller for tablets */
  }
}

/* Mobiles (max-width: 767px) */
@media (max-width: 767px) {
  /* Hero */
  #gallery-hero {
    padding: 60px 15px;
    min-height: 250px;
  }
  #gallery-hero h1 {
    font-size: 1.8rem;
  }
  #gallery-hero p {
    font-size: 0.9rem;
  }

  /* Gallery Grid */
  .gallery-item {
    margin-bottom: 20px;
  }
  .gallery-item img {
    height: 200px; /* consistent height for small screens */
  }
  .gallery-item .overlay {
    font-size: 1.5rem;
  }
}

/* Small Mobiles (max-width: 480px) */
@media (max-width: 480px) {
  #gallery-hero h1 {
    font-size: 1.5rem;
  }
  #gallery-hero p {
    font-size: 0.85rem;
  }

  .gallery-item img {
    height: 180px; /* smaller height for tiny screens */
  }
  .gallery-item .overlay {
    font-size: 1.2rem;
  }
}
