body {
  font-family: 'Poppins', sans-serif;
  background-color: #f7f9fb;
  color: #253b50;
  margin: 0;
  padding: 0;
}

/* Section #eef2f4*/
.photo-gallery {
  background: #eee;
  text-align: center;
}

.gallery-title {
  font-size: 2rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #253b50;
  letter-spacing: 1px;
}

.underline {
  display: block;
  width: 80px;
  height: 3px;
  background-color: #e9c46a;
  margin: 10px auto 30px;
  border-radius: 3px;
}

/* Grid Layout */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-auto-rows: 250px;
  gap: 15px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Special Sizing */
.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

/* Hover Effects */
.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    grid-auto-rows: 180px;
  }

  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}
