

.containrs{
	width:100%;
	margin-bottom:200px;
	padding:100px;


}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.15);
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.1),
    rgba(0,0,0,0.7)
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.overlay h3 {
  font-size: 20px;
  margin-bottom: 5px;
}

.overlay p {
  font-size: 14px;
  opacity: 0.9;
}