.gallery-grid {
  background: #f9f9f9;
  padding: 100px 20px;
  text-align: center;
}

.gallery-heading {
  font-size: 2.8rem;
  margin-bottom: 40px;
  font-family: 'Poppins', sans-serif;
  color: #333;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  max-width: 1200px;
  margin: auto;
}

.grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.grid-item:hover img {
  transform: scale(1.1);
}

.grid-item.tall {
  grid-row: span 2;
}

.grid-item.wide {
  grid-column: span 2;
}

.gallery-btn {
  margin-top: 40px;
}

.view-more {
  padding: 12px 28px;
  background: #ff6600;
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s ease;
}

.view-more:hover {
  background: #e45500;
  transform: translateY(-2px);
}

@media screen and (max-width: 768px) {
  .grid-container {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

.grid-item img.fullscreen {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.2);
  max-width: 90vw;
  max-height: 90vh;
  z-index: 9999;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
  transition: all 0.4s ease-in-out;
}