/* Container Section */
#hore {
    text-align: center;
    padding: 40px 0;
  }
  
  /* Judul */
  #hore .hero-text h1 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 4px;
  }
  
  #hore .hero-text p {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
  }
  
  /* Slider */
  .slider {
    width: 90%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    margin: auto;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  }
  
  /* Input radio disembunyikan */
  .slider input[type="radio"] {
    display: none;
  }
  
  /* Slides container */
  .slides {
    display: flex;
    width: 500%;
    height: 100%;
    transition: all 0.5s ease-in-out;
  }
  
  /* Slide */
  .slide {
    width: 100%;
    flex-shrink: 0;
  }
  
  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
  }
  
  /* Navigasi Manual */
  .navigation-manual {
    position: absolute;
    width: 100%;
    bottom: 12px;
    display: flex;
    justify-content: center;
    gap: 8px;
  }
  
  .manual-btn {
    border: 2px solid #fff;
    padding: 5px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .manual-btn:hover {
    background: #fff;
  }
  
  /* Aktif Slide Posisi */
  #hore1:checked ~ .slides {
    margin-left: 0;
  }
  #hore2:checked ~ .slides {
    margin-left: -100%;
  }
  #hore3:checked ~ .slides {
    margin-left: -200%;
  }
  #hore4:checked ~ .slides {
    margin-left: -300%;
  }
  #hore5:checked ~ .slides {
    margin-left: -400%;
  }

 /* CSS untuk tombol */
.prev, .next {
  position: absolute;
  top: 50%;
  padding: 16px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 18px;
  z-index: 1;
  transform: translateY(-50%);
}

.prev {
  left: 0;
}

.next {
  right: 0;
}

.slider {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: auto;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

