.gallery-container {
  margin-top: 100px;
  padding: 30px;
  max-width: 1000px;
  margin: auto;
  font-family: "Poppins", sans-serif;
}

.slider {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.main-image {
  flex: 1;
  max-width: 500px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease-in-out;
}

.main-image img {
  width: 100%;
  border-radius: 12px;
  transition: transform 0.5s ease;
}

.description {
  flex: 1;
  max-width: 400px;
  animation: fadeIn 0.5s ease forwards;
}

.description h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.description p {
  font-size: 16px;
  color: #939393;
}

.thumbnail-wrapper {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.thumbnail {
  width: 100px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.thumbnail:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media screen and (max-width: 768px) {
  .slider {
    flex-direction: column;
  }
  .main-image,
  .description {
    max-width: 100%;
  }
}

.gallery-title {
  text-align: center;
  margin-top: 100px; /* jarak dari header */
  margin-bottom: 30px;
  animation: fadeInDown 0.6s ease-out;
}

.gallery-title span {
  font-size: 48px;
  font-weight: bold;
  color: #000000;
  letter-spacing: 2px;
}

/* Optional animasi halus masuk */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
