

* {
  box-sizing: border-box;
}



.container2 {
  width: 100%;
  height: 100%;
}
.container__items {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
 /* height: 100vh; */
}

.polaroid {
  margin: 30px;
  width: 400px;
  height: 450px;
  background-color: white;
  padding: 1rem;
  box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.2);
}
.polaroid__content-image {
  height: 350px;
  width: 100%;
  overflow: hidden;
}
.polaroid__content-image > img {
  height: 100%;
  width: 100%;
  display: block;
  object-fit: cover;
}
.polaroid__content-caption {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 25px;
}

/* Gallery Item Hover Overlay */
.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 0.75rem;
}

.gallery-item img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  transition: transform 0.8s ease !important;
  transform-origin: center !important;
  border-radius: 0.75rem !important;
}

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

.gallery-overlay {
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(
    to top,
    rgba(120, 19, 51, 0.65) 0%,
    rgba(148, 20, 65, 0.65) 50%,
    rgba(148, 20, 65, 0) 100%
  );
  opacity: 0;
  filter: blur(0.3px);
  transition: opacity 0.8s ease;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 15px;
} 

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

a.gallery-overlay:hover .gallery-btn {
  background-color: #a0845a;
}

.gallery-btn {
  background-color: #B69664;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s ease;
}

.gallery-btn:hover {
  background-color: #a0845a;
}

.gallery-btn i {
  font-size: 0.85rem;
}