/* ===================== CONTAINER 2 ===================== */

@font-face {
  font-family: "forresten";
  src: url(../font/Forresten.otf);
}

section {
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


.container-2 {
  position: relative;
  width: 100%;
  height: 50vw;
  display: flex;
  justify-content: center;
  background: #fff;
  overflow: hidden;
  z-index: 0;
  padding-top: 5vw;
  padding-bottom: 2vw;
}

/*============ Navbar ======*/

.navbar2 {
  width: 100%;
  height: 5vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 3%;
  padding-top: 0;
  z-index: 3;
}

.logo {
  width: 4vw;
  height: 4vw;
  background-color: #000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;

}

.logo-nav {
  width: 90%;
  height: 90%;
}
.nav3 {
  position: relative;
  display: flex;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
  gap: 1.5vw;
  z-index: 2;
  margin-right: 5vw;
}

.nav3 a {
  position: relative; /* penting agar z-index berfungsi */
  text-decoration: none;
  color: #000;
  font-size: 1.2vw;
  font-weight: bold;
  transition: color 0.3s ease;
  padding: 0.4vw 0.9vw; /* memberi ruang agar highlight tidak menempel */
  z-index: 2;
}

a[aria-current="page"] {
  color: #fff;            /* warna putih agar kontras dengan rectangle hitam */
  font-weight: bold;
  z-index: 3;             /* pastikan di atas rectangle */
}

.nav3:hover a[aria-current="page"] {
  color: #000;
}

.nav3 a[aria-current="page"]:hover {
  color: #fff;
}

.nav3 a:hover {
  color: #fff;
  z-index: 2;
}

.nav-highlight2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 6vw; /* bisa disesuaikan supaya pas dengan teks */
  height: 2.4vw;
  background-color: #000;
  border-radius: 50vw; /* ini yang bikin oval, ujung lembut */
  z-index: 1;
  transition: transform 0.4s ease, width 0.3s ease, background-color 0.3s ease;

}

.button-ganti {
  background-color: #000;
  border-radius: 50vw;
  width: 3vw;
  height: 3vw;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  cursor: pointer;
}

.logo-bahasa {
  width: 2vw;
  height: 2vh;
}

.text-bahasa {
  color: #fff;
  font-size: 0.8vw;
}

/* Wrapper utama */
.content-wrapper {
  display: flex;
  width: 90%;
  height: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 0;
}

.unggulan-title {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 1.5vw;
  left: 1vw;
  top: 50%;
  transform: translateX(9vw) rotate(180deg);
  letter-spacing: 0.1vw;
  color: #000;
  font-weight: bold;
  font-family: "forresten";
}
.unggulan-title .span{
  color: #d40000;
}


/* ===================== PROGRAM UNGGULAN ===================== */
.unggulan { position: relative; 
  width: 20vw; 
  height: 35vw; 
  display: flex; 
  color: #fff; 
  flex-direction: column; 
  justify-content: center; 
  text-align: center; 
  overflow: hidden; 
  border-radius: 0vw 5vw 0vw 5vw; } 
  
.unggulan-bg .Kujang{ position: absolute; 
    width: 20vw; 
    height: 35vw; 
    transform: translate(-10vw, 0vw); 
    clip-path: inset(0% 0% 75% 0%);
    z-index: 3; } 
    
.unggulan-bg .unggulan-img { 
      position: absolute; 
      width: 100%; 
      height: 100%; 
      top: 0; 
      left: 0; 
      z-index: 0; } 
      
.unggulan-text { 
  position: relative; 
  z-index: 2; 
  width: 100%; 
  height: 100%; 
  background: linear-gradient(360deg, #000000ff, #ffffff10); /* arah & warna gradasi */
} 
  
.unggulan-slide { 
  display: none;
  padding: 1vw; 
  transition: 0.5s ease; } 

.unggulan-slide.active { 
  display: block; } 
  
.unggulan-slide h3 { 
  position: relative; 
  font-size: 2vw; 
  margin-bottom: 1vw; 
  z-index: 2; } 
  
.unggulan-slide p { 
  font-size: 1vw; 
  line-height: 1.5vw; 
  color: #eee; 
  position: relative; 
  z-index: 4; 
  transform: translate(0, 18vw)
}




/* ===================== PROGRAM LAINNYA ===================== */
.lainnya {
  position: relative;
  width: 55%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: flex-start;
  z-index: 1;
  gap: 2.5vw;
}
.program-lainya {
  width: 100%;
  max-width: 70vw;   /* atur maksimal lebar card sesuai kebutuhan */
  margin: 0 auto;
}

.bg-program-wrapper{
  position: relative;
  width: 100%;
  height: 12.5vw;             /* tinggi kartu, sesuaikan */
  border-radius: 1.2vw;       /* rounded corners seperti contoh */
  overflow: hidden;           /* memotong background di luar radius */
  box-shadow: 0 0.6vw 1.2vw rgba(0,0,0,0.18);
  background: #000;           /* fallback */
}

/* gambar background (landscape) mengisi card dan dipotong sesuai container */
.bg-program-lainya{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #000000ff, #ffffff10); /* arah & warna gradasi */
  object-fit: cover;    /* menutupi area, bagian gambar bisa terpotong */
  object-position: center left;
  z-index: 0;
}

/* gambar tari (di atas bg), posisinya kanan, tinggi 100% agar tegak memenuhi ketinggian card */
.bg-program{
  position: absolute;
  right: 0;         /* jarak ke tepi kanan; ubah jika mau mendekat/menjauh */
  top: 0;
  transform: translateY(-5.5vw);
  height: 18vw;
  width: auto;
  z-index: 4;
  pointer-events: none;
  filter: none;         /* bisa tambahkan drop-shadow bila perlu */
}

/* label kecil di pojok kanan atas */
.label-topeng{
  position: absolute;
  top: 0;
  right: 0;
  color: #111;
  padding: 0.4vw 0.8vw;
  border-radius: 0.8vw;
  font-size: 0.9vw;
  font-weight: 700;
  z-index: 3;
  transform: translate(-13vw, -2vw);
}

/* overlay content (judul besar) — tempatkan kiri atau center sesuai desain */
.overlay-content{
  position: absolute;
  z-index: 3;
  color: #d40000;
  background: linear-gradient(270deg, #000000ff 50%, #ffffff10); /* arah & warna gradasi */
  width: 100%;
  height: 100%;
  align-items: center;
}
.overlay-content h2{
  margin:0;
  font-size: 3vw;
  letter-spacing: .05vw;
  font-family: "forresten";
  transform: translate(2vw, 5vw);
}

.overlay-content h2 span { color: #fff; }

.program-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
  height: 23vw;
  gap: 1.5vw;
}

.program-card {
  position: relative;
  width: 30%;
  height: 100%;
  border-radius: 1vw;
  overflow: hidden;
  cursor: pointer;
  margin-top: 3vw;
}

.program-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: 0.3s ease;
}

/* overlay hitam */
.program-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0);
  transition: 0.3s ease;
  z-index: 2;
}

/* judul */
.program-card h3 {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1vw;
  color: #fff;
  opacity: 0;
  z-index: 3;
  transition: 0.3s ease;
}


/* efek saat hover */
.program-card:hover img {
  filter: brightness(0.5);
}

.program-card:hover::after {
  background: rgba(0,0,0,0.4);
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 0 2vw rgba(0, 0, 0, 0.3);
}

.program-card:hover h3 {
  opacity: 1;
  bottom: 15%;
}

.program-card .program-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}




/* Hover efek untuk tombol scroll up */

.button-kanan{
  width: 5%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.button-up {
  width: 5vw;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translate(0vw, 0vw);
  z-index: 3;
}

.button-down2 {
  width: 5vw;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translate(0vw, 0vw);
  z-index: 3;
}

.button-up .union-button, .button-down2 .union-button{
  display: flex;
  flex-direction: column;
}

.button-up .union-button h2, .button-down2 .union-button h2{
  font-size: 0.8vw;
}

.button-up,.button-down2 .union-button {
  font-size: 1vw;
  color: #000;
}

.button-up:hover, .button-down2:hover {
  transform: scale(1.1);
}
.button-up:hover i, .button-down2:hover i,
.button-up:hover h2, .button-down2:hover h2 {
  color: red;
  transition: color 0.3s ease;
}

.button-down2 .fa-solid.fa-angles-up {
  display: inline-block;
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.dekorasi{
  position: absolute;
  bottom: 0;          /* Posisikan di bawah section */
  left: 0;
  width: 68vw;        /* Buat selebar section */
  height: 45vw;
  z-index: -1;        /* Di bawah semua elemen lain */
  pointer-events: none; /* Supaya tidak mengganggu klik elemen lain */
  opacity: 0.8;       /* opsional: sedikit transparan biar lembut */
  transform: translate(32vw, 5vw);
}

/* ===================== ANIMASI MASUK ===================== */
.animate-unggulan {
  opacity: 0;
  animation: slideLeftFix 0.8s ease forwards;
}
@keyframes slideLeftFix {
  0% {
    opacity: 0;
    transform: translateX(-100vw);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-lainnya {
  opacity: 0;
  animation: slideRightFix 0.8s ease forwards;
}
@keyframes slideRightFix {
  0% {
    opacity: 0;
    transform: translateX(100vw);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Card animasi individual */
.animate-card {
  opacity: 0;
  animation: cardFadeIn 0.8s ease forwards;
}
@keyframes cardFadeIn {
  0% {
    opacity: 0;
    transform: translateY(10vw);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================== ANIMASI MASUK ===================== */
.animate-nav-slideRight {
  opacity: 0;
  transform: translateX(-5vw);
  transition: all 0.8s ease;
}
.animate-nav-slideRight.show {
  opacity: 1;
  transform: translateX(0);
}

.animate-button-up {
  opacity: 0;
  transform: translateY(3vw);
  transition: all 0.8s ease;
}
.animate-button-up.show {
  opacity: 1;
  transform: translateY(0);
}

.animate-button-down {
  opacity: 0;
  transform: translateY(-3vw);
  transition: all 0.8s ease;
}
.animate-button-down.show {
  opacity: 1;
  transform: translateY(0);
}

.animate-title-left {
  opacity: 0;
  transform: translateX(-5vw);
  transition: all 0.8s ease;
}
.animate-title-left.show {
  opacity: 1;
  transform: translateX(8vw);
}

.animate-unggulan-up {
  opacity: 0;
  transform: translateY(-10vw);
  transition: all 0.8s ease;
}
.animate-unggulan-up.show {
  opacity: 1;
  transform: translateY(0);
}

.animate-lainnya-down {
  opacity: 0;
  transform: translateX(100vw);
  transition: all 0.8s ease;
}
.animate-lainnya-down.show {
  opacity: 1;
  transform: translateX(0);
}


.pagination {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  width: 100%;
}

.pagination button {
  padding: 5px 15px;
  border: none;
  background: black;
  color: white;
  border-radius: 10px;
  cursor: pointer;
}

.pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}




/* ===========================
   MOBILE BREAKPOINT ≤ 800px
   =========================== */
@media (max-width: 650px) {

  /* ===== 1. Matikan SNAP SCROLL ===== */
  .container-utama {
    scroll-snap-type: none !important;
  }

  .container-2{
    padding-top: 8vw;
	-webkit-animation: shadow-inset-tb 0.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: shadow-inset-tb 0.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
  }

@-webkit-keyframes shadow-inset-tb {
  0% {
    -webkit-box-shadow: inset 0 0 0 0 rgba(0, 0, 0, 0), inset 0 0 0 0 rgba(0, 0, 0, 0);
            box-shadow: inset 0 0 0 0 rgba(0, 0, 0, 0), inset 0 0 0 0 rgba(0, 0, 0, 0);
  }
  100% {
    -webkit-box-shadow: inset 0 -6px 14px -6px rgba(0, 0, 0, 0.5), inset 0 6px 14px -6px rgba(0, 0, 0, 0.5);
            box-shadow: inset 0 -6px 14px -6px rgba(0, 0, 0, 0.5), inset 0 6px 14px -6px rgba(0, 0, 0, 0.5);
  }
}
@keyframes shadow-inset-tb {
  0% {
    -webkit-box-shadow: inset 0 0 0 0 rgba(0, 0, 0, 0), inset 0 0 0 0 rgba(0, 0, 0, 0);
            box-shadow: inset 0 0 0 0 rgba(0, 0, 0, 0), inset 0 0 0 0 rgba(0, 0, 0, 0);
  }
  100% {
    -webkit-box-shadow: inset 0 -6px 14px -6px rgba(0, 0, 0, 0.5), inset 0 6px 14px -6px rgba(0, 0, 0, 0.5);
            box-shadow: inset 0 -6px 14px -6px rgba(0, 0, 0, 0.5), inset 0 6px 14px -6px rgba(0, 0, 0, 0.5);
  }
}

  section {
    scroll-snap-align: none !important;
  }


.navbar2, .dekorasi{
  display: none;
}

}

