@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.3s ease-out;
}
.gallery-popup-bg{
      background-color: color-mix(in oklab, #be1e2d 70%, transparent);
    width: 100%;
    height: 100%;
    position: absolute;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

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

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background-color: color-mix(in oklab, #be1e2d 70%, transparent);
  display: flex;
  align-items: flex-end;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.gallery-item:hover .overlay {
  transform: translateY(0);
}

.gallery-item h3 {
  color: white;
  padding: 1rem;
  font-weight: 600;
}
