#gallery-slider {
  display: flex;
  flex-direction: column;
  width: 100%;
    background-color: #131313;
}

.gallery-static-bg {
  background-image: url('https://via.placeholder.com/1200x400?text=Static+Background');
  background-size: cover;
  background-position: center;
  padding: 3rem 2rem;
  text-align: center;
}

.gallery-static-bg .judul span {
  color: #ffc107;
  font-weight: bold;
  letter-spacing: 1px;
}

.gallery-static-bg h1 {
  font-size: 2.5rem;
  font-weight: 600; /* or 700 for regular bold */
  background-image: linear-gradient(365deg, #005baa, #98FF98);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.gallery-static-bg .description {
  max-width: 800px;
  margin: 1rem auto;
  font-size: 1.2rem;
  line-height: 1.6;
  color: white;
}

main-gallery {
  margin-top: 2rem;
  padding: 1rem 2rem;
  display: block;
}

.slider {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  list-style: none;
  padding: 0;
}

.slider .item {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 120px;
  height: 80px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  background-color: #1a1a1a;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

ion-icon {
  color: #ffc107;
  font-size: 2rem;
  cursor: pointer;
}

.nav ion-icon:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

.nav ion-icon {
  background: linear-gradient(120deg, rgba(213,113,24,1) 0%, rgba(214,0,59,1) 72%);
  border-radius: 50%;
  box-shadow: -1px 2px 7px rgba(213,78,24,0.4), 1px -1px 7px rgba(7,6,25,0.4);
  color: #fff;
  font-size: 1rem;
  padding: 0.5em;
  text-shadow: 0px 0px 3px rgba(200,200,200,0.4);
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.3s ease;
}

.slider .item {
  transition: all 0.5s ease; /* Smooth transition */
}

@media screen and (max-width: 576px) {
  .gallery-static-bg {
    padding: 2rem 1rem;
  }

  .gallery-static-bg h1 {
    font-size: 2rem;
  }

  .gallery-static-bg .description {
    font-size: 1.1rem;
  }

  .slider .item {
    width: 100px;
    height: 70px;
    display: none;
  }


    .slider .item:nth-child(-n+3) {
    display: block;
    }
}
