body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background: #fff;
  color: #101828;
}


/* Section */
.gallery-section {
  background-color: #fff;
  color: #fff;
  padding: 120px 20px;
  text-align: center;
  font-family: "Poppins", sans-serif;
  margin-top: -1px;
}

.gallery-heading {
  text-align: center;
  margin-bottom: 30px;
}

.gallery-heading h2 {
  font-size: 2.5rem;
  color: #1e2b3c;
}

.gallery-heading p {
  color: #555;
  margin-top: 10px;
}

/* ===== Filter Buttons ===== */
.filter-buttons {
  text-align: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #fff;                     /* white background */
  color: #1e2b3c;                       /* navy blue text */
  border: 2px solid #1e2b3c;            /* navy blue border */
  padding: 12px 32px;
  margin: 6px;
  border-radius: 40px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Hover Effect */
.filter-btn:hover {
  background: #1e2b3c;                  /* navy blue background */
  color: #fff;                          /* white text */
  transform: scale(1.05);               /* slight zoom effect */
}

/* Active Button Style */
.filter-btn.active {
  background: #1e2b3c;                  /* navy blue when active */
  color: #fff;                          /* white text */
  border-color: #1e2b3c;
}


/* .filter-btn.active {
  background: #1e2b3c;
} */

/* ===== Masonry Gallery ===== */
.masonry-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  transition: all 0.4s ease;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  position: relative;
  transition: all 0.4s ease;
  opacity: 1;
  transform: scale(1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Hide filtered-out items smoothly */
.gallery-item.hide {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
  display: none;
}
.gallery-btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px; /* 🔹 Adds clear gap between buttons */
  margin-top: -11px;
  flex-wrap: wrap; /* ensures wrapping if space is small */
}

.gallery-btn {
    background: linear-gradient(90deg, #b37a37, #c38c4a, #e0b878);

  border: none;
  padding: 14px 40px;
  border-radius: 40px;
  color: rgb(30, 43, 60);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  margin-top: 40px;
}


.gallery-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 15px rgba(75, 31, 101, 0.4);
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
  .gallery-btn-container {
    flex-direction: column; /* stack vertically */
    gap: 15px; /* reduce space between stacked buttons */
  }

  .gallery-btn {
    width: 80%; /* make buttons wider on mobile */
    text-align: center;
  }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .masonry-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .masonry-gallery {
    grid-template-columns: 1fr;
  }

  .filter-btn {
    padding: 8px 14px;
    font-size: 0.9rem;
  }
}
