/* Container Background */
.Gallery_Page {
  margin: 30px 0px;
}

/* Category Filter Tabs */
.Gallery_Page .gallery_tabs_wrapper {
  display: flex;
  justify-content: start;
  gap: 10px;
  flex-wrap: nowrap;
  margin-bottom: 30px;
  overflow: hidden;
  overflow-x: auto;
  scrollbar-width: none;
}
.Gallery_Page .gallery_tab_btn {
  background-color: #ffffff;
  border: 1px solid #e2ded8;
  color: #580b0b;
  padding: 8px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}

.Gallery_Page .gallery_tab_btn:hover,
.Gallery_Page .gallery_tab_btn.active {
  background-color: #580b0b;
  color: #ffffff;
  border-color: #580b0b;
  box-shadow: 0 4px 10px rgba(88, 11, 11, 0.2);
}

/* Card & Standard <img> Styling */
.Gallery_Page .gallery_card {
  background-color: #ffffff;
  border: 1px solid #e2ded8;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.Gallery_Page .gallery_card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(88, 11, 11, 0.12) !important;
}

.Gallery_Page .image_wrapper {
  height: 260px;
  overflow: hidden;
}

.Gallery_Page .gallery_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.Gallery_Page .gallery_card:hover .gallery_img {
  transform: scale(1.05);
}

.Gallery_Page .gallery_info {
  background-color: #ffffff;
  border-top: 1px solid #f0f0f0;
}

.Gallery_Page .badge_category {
  display: inline-block;
  background-color: #f6e8e8;
  color: #580b0b;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 12px;
}

.Gallery_Page .gallery_item_title {
  font-size: 1rem;
  font-weight: 600;
  color: #333333;
}

/* Pagination Styling */
.Gallery_Page .gallery_pagination .page_btn {
  background-color: #ffffff;
  border: 1px solid #e2ded8;
  color: #580b0b;
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.Gallery_Page .gallery_pagination .page_btn:hover:not(:disabled) {
  background-color: #580b0b;
  color: #ffffff;
}

.Gallery_Page .gallery_pagination .page_btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.Gallery_Page .gallery_pagination .page_number {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #e2ded8;
  background-color: #ffffff;
  color: #580b0b;
  font-weight: 600;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.Gallery_Page .gallery_pagination .page_number:hover,
.Gallery_Page .gallery_pagination .page_number.active {
  background-color: #580b0b;
  color: #ffffff;
  border-color: #580b0b;
}
