
/* Gallery Section */
#gallery {
  padding: 50px 20px;
  text-align: center;
}
#gallery h2 {
  font-size: 2em;
  margin-bottom: 30px;
  color: #333;
  border-bottom: 3px solid #555;
  display: inline-block;
  padding: 10px 20px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1300px;
  margin: auto;

}
.gallery-grid img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}


/* ===============================
   📱 RESPONSIVE DESIGN
   =============================== */

/* For Tablets (≤ 992px) */
@media (max-width: 992px) {
  .gallery-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 equal columns */
  }

}

/* For Mobile Phones (≤ 600px) */
@media (max-width: 600px) {
  .gallery-grid{
    display: flex;
    flex-direction: column;
  }
}

