/* Gallery Page Specific Styles */
.gallery-page-bg {
  background-color: #fcfbf7;
  background-image: url('../assets/Images/patterns/luxury-pattern.webp');
  background-size: 400px;
  background-repeat: repeat;
  background-position: center;
  background-blend-mode: multiply;
}

.gallery-page-section {
  padding: 6rem 0 5rem 0;
}

.gallery-page-header {
  text-align: center;
  margin-bottom: 50px;
}

.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.gallery-img-wrapper {
  position: relative;
  /* border-radius: 8px; */
  overflow: hidden;
  height: 300px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-img-wrapper:hover img {
  transform: scale(1.08);
}

.hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-img-wrapper:hover .hover-overlay {
  opacity: 1;
}

.hover-overlay i {
  color: #fff;
  font-size: 32px;
  transform: scale(0.5);
  transition: transform 0.3s ease;
}

.gallery-img-wrapper:hover .hover-overlay i {
  transform: scale(1);
}

/* Pagination */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.page-numbers {
  display: flex;
  gap: 10px;
}

.page-num {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #d4c295;
  border-radius: 50%;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: transparent;
}

.page-num:hover,
.page-num.active {
  background-color: #3a2e2b;
  color: #fff;
  border-color: #3a2e2b;
}

.pagination-btn {
  background-color: transparent;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.pagination-btn:hover {
  color: #a39587;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .gallery-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-page-section{
        padding: 3rem 0 5rem 0;
  }
}

@media (max-width: 768px) {
  .gallery-page-grid {
    grid-template-columns: 1fr;
  }
}

/* Gallery Filters */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 25px;
  background-color: transparent;
  border: 1px solid #5c4c43;
  color: #555;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  cursor: pointer;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
  background-color: #5c4c43;
  color: #fff;
}

/* Gallery Grid Transitions */
.gallery-img-wrapper {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-img-wrapper.hide {
  display: none;
}
