/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== BASE ===== */
html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #E8F5E9;
  color: #2d3748;
}

/* ✅ NAVBAR SPACE FIX */
.page-content {
  margin-top: 90px; /* 🔥 navbar height ke hisaab se */
}

/* ===== GALLERY CONTAINER ===== */
.gallery {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* ===== IMAGE CARD ===== */
.gallery-item {
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
  position: relative;

  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover card effect */
.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

/* ===== IMAGE ===== */
.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* ===== IMAGE HOVER ZOOM ===== */
.gallery-item:hover img {
  transform: scale(1.1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

  .page-content {
    margin-top: 80px;
  }

  .gallery {
    padding: 30px 15px;
    gap: 15px;
  }

  .gallery-item img {
    height: 200px;
  }
}
