.realizacje-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  position: relative;
  z-index: 1;
}

.realizacja-box {
  overflow: hidden;
  position: relative;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  z-index: 5;
  
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.realizacja-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 0.3s ease, transform 0.3s ease;
  width: 100%;
  height: 100%;
}

.realizacja-image.color {
  background-image: var(--color-img);
}

.orange-circle {
  width: 160px;
  height: 160px;
  background-color: #f48120;
  border-radius: 50%;
  position: absolute;
  bottom: -35px;
  left: 20px;
  transform: translate(-50%, 0);
  animation: float 3s ease-in-out infinite;
  z-index: 2;
  box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.3);
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-30px); }
}


.btn-wiecej {
  display: block;
 margin-top: -30px;      /* oddala od kafelków powyżej */
  margin-bottom: 30px;   /* robi odstęp pod spodem */
  padding: 12px 36px;
  font-size: 16px;
  font-weight: 400;
  color: rgb(0,0,0);
  background-color: white;
  border: 2px solid rgb(253,126,52);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.btn-wiecej:hover {
  background-color: rgb(253,126,52);
  color: white;
}

.hidden-realizacja {
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  transition: all 0.6s ease;
}
.shown {
  display: block !important;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#wiecej-realizacji {
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
}