:root {
  --gap: 1.5rem;
  --transition-speed: 0.4s;
}


/*  Description Section  */
.description {
  display: flex;
  flex-direction: column;
  padding: 4rem;
  align-items: center;
  text-align: center;
}

.description-title {
  font-size: 3rem;
  padding-bottom: 1.5rem;
}

.description-text {
  font-size: 1rem;
  max-width: 50rem;
  text-align: justify;
  text-justify: inter-word;
}

/*  Gallery  */
.gallery {
  column-count: 4;
  gap: var(--gap);
  max-width: 100%;
  padding: 3rem;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  margin-bottom: var(--gap);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  break-inside: avoid;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-speed), filter var(--transition-speed);
}

.gallery-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.107), rgba(211, 211, 211, 0.126));
  opacity: 0;
  transition: opacity var(--transition-speed);
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

.gallery-item:hover img {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.gallery-item:hover::after {
  opacity: 1;
}




@media (max-width: 1024px) {
  .gallery {
    column-count: 2;
  }

  .description-title {
    font-size: 2.2rem;
  }

  .description-text {
    font-size: 0.95rem;
  }

 
}

@media (max-width: 768px) {
  .gallery {
    column-count: 2;
    padding: 2rem;
  }

  .description {
    padding: 2rem 1rem;
  }

  .description-title {
    font-size: 2rem;
  }

  .description-text {
    font-size: 0.95rem;
  }
}


@media (max-width: 480px) {
  .description-title {
    font-size: 1.5rem;
  }

  .description-text {
    font-size: 0.85rem;
  }

  .gallery {
    padding: 1rem;
  }
}
