.images-section{
  padding: 80px 0 120px;
  background: #121223;
  text-align: center;
}

.images-title{
  font-family: "bebasbold", sans-serif;
  font-size: 102px;
  margin-bottom: 50px;
  color: #fff;
}

/* GRID 3x2 */
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item:nth-child(odd):hover {
    box-shadow:
    0 15px 40px rgba(0,0,0,0.6),
    0 0 20px rgba(255,255,255,0.05);
  transform: translateY(-6px) rotate(-2deg) scale(1.02);

}
.gallery-item:nth-child(even):hover {
    box-shadow:
    0 15px 40px rgba(0,0,0,0.6),
    0 0 20px rgba(255,255,255,0.05);
  transform: translateY(-6px) rotate(2deg) scale(1.02);
}

/* CARD */
.gallery-item{
  position: relative;
  display: block;
  overflow: hidden;

  background: rgba(0,0,0,0.15);
  text-decoration: none;
  transition: all 0.3s ease;
}

/* immagine */
.gallery-item img{
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 16 / 9;      /* mantiene proporzioni come nel mockup */
  object-fit: cover;
  transition: transform 250ms ease, filter 250ms ease;
}

/* overlay scuro in hover */
.gallery-item::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  transition: opacity 250ms ease;
}

.zoom-icon{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  font-size: 90px;
  color: #ffd200;
  opacity: 0;
  transition: 250ms ease;
  z-index: 2;
  text-shadow:
    0 0 4px rgba(255,210,0,0.9),
    0 0 10px rgba(255,210,0,0.55),
    0 0 22px rgba(255,210,0,0.25);
}

.gallery-item:hover .zoom-icon{
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}


/* Hover: niente spostamenti, solo fade/scale */
.gallery-item:hover::after{
  opacity: 1;
}

.gallery-item:hover .zoom-icon{
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}


.gallery-item:hover img{
  transform: scale(1.02);
  filter: blur(1px);
}

.images-section .container{
  max-width: 1700px;
}