/* Gallery */
.gallery .gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  padding: 0;
  list-style: none;
}

.gallery .gallery-filters li {
  cursor: pointer;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--heading-color);
  border: 1px solid color-mix(in srgb, var(--heading-color), transparent 70%);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.gallery .gallery-filters li:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 80%);
  color: var(--accent-color);
}

.gallery .gallery-filters li.filter-active {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
}

@media (max-width: 768px) {
  .gallery .gallery-filters {
    justify-content: center;
    margin-bottom: 25px;
  }

  .gallery .gallery-filters li {
    margin: 2px;
    padding: 6px 12px;
    font-size: 13px;
  }
}

.gallery .gallery-item .gallery-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery .gallery-item .gallery-wrap:hover {
  transform: translateY(-5px);
}

.gallery .gallery-item .gallery-wrap:hover img {
  transform: scale(1.05);
  filter: brightness(0.8);
}

.gallery .gallery-item .gallery-wrap:hover .gallery-info {
  opacity: 1;
  bottom: 0;
}

.gallery .gallery-item .gallery-wrap img {
  transition: all 0.4s;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.gallery .gallery-item .gallery-wrap .gallery-info {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  text-align: center;
  opacity: 0;
  padding: 20px 20px 25px;
  transition: all 0.3s ease;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  border-radius: 0 0 8px 8px;
}

.gallery .gallery-item .gallery-wrap .gallery-info h4 {
  color: var(--contrast-color);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.gallery .gallery-item .gallery-wrap .gallery-info p {
  color: color-mix(in srgb, var(--contrast-color), transparent 20%);
  font-size: 14px;
  margin: 0 0 10px 0;
}

.gallery .gallery-item .gallery-wrap .gallery-info .gallery-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  border-radius: 50%;
  color: var(--contrast-color);
  font-size: 18px;
  transition: 0.3s;
}

.gallery .gallery-item .gallery-wrap .gallery-info .gallery-links a:hover {
  background: color-mix(
    in srgb,
    var(--accent-color),
    var(--contrast-color) 20%
  );
}

.gallery .isotope-container {
  margin-top: 15px;
}

@media (max-width: 768px) {
  .gallery .isotope-container {
    margin-top: 10px;
  }
}

.gallery .swiper-wrapper {
  height: auto !important;
}
