/* ===================== CONTAINER 2 ===================== */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
  scroll-behavior: smooth;
  /* hapus overflow:hidden; agar snap lebih natural */
}
@font-face {
  font-family: "forresten";
  src: url(../font/Forresten.otf);
}

/* container utama yang bisa discroll */
.container-utama {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
  gap: 5vw;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;      /* Firefox */
  -ms-overflow-style: none;   /* IE/Edge lama */
}

.container-utama::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* setiap section di dalam container-utama */
.container-utama > section {
  width: 100%;
  height: auto;
  scroll-snap-align: start;  /* penting untuk snap */
  scroll-snap-stop: always;  /* opsional: pastikan snap berhenti */
}


.container-1 {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow: hidden;
  z-index: 0;
}

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

.navbar {
  width: 100%;
  height: 5vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 3%;
  padding-top: 2%;
  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%;
}
.nav2 {
  position: relative;
  display: flex;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
  gap: 1.5vw;
  z-index: 2;
  margin-right: 5vw;
}

.nav2 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 */
}

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

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

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

.nav-highlight {
  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;
}
/* ====================== isi ============================*/

.isi-container-1{
    width: 100%;
    height: 50%;
    display: flex;
    margin-top: 2vw;
    gap: 3vw;
}

.container-kiri{
    width: 5%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 20vw;
    transform: translate(2vw, 0vw);

}

.vector-left, .vector-right {
  width: 3vw;
}

.container-tengah{
    position: relative;
    width: 90%;
    height: 100%;
    display: flex;
    z-index: 0;
}

.tengah-kiri{
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
 .main-title{
    width: 100%;
    height: auto;
    font-family: "forresten";
    margin: 0;
 }

 .main-title h1 {
    font-size: 3vw;
    color: #000;
    margin: 0;
 }

 .main-title span {
    color: #b70100;
        -webkit-text-stroke: 0.1px #fff;
 }

 span.irm{
    color: transparent;
    -webkit-text-stroke: 0.1px #000;
 }

 .sub-title{
    width: 60%;
    height: auto;
    font-family: "forresten";
    text-align: center;
 }

.sub-title h2{
    color: #000;
    font-size: 2vw;
}

.isi-tengah{
    width: 60%;
    height: 100%;
    display: flex;
    flex-direction: column;
}


.box{
    width: 100%;
    height: auto;
    display: flex;
    gap: 5vw;
    justify-content: center;
    align-items: center;
}

.shape-box{
  position: relative;
  width: 15vw;
  height: 5vw;
  background-image: url("../img/svg/Subtract1.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  font-family: "forresten";
  font-size: 1vw;
  padding-left: 1vw;
  padding-top: 1vw;
  overflow: hidden;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.shape-box h2, .shape-box2 h2{
    font-size: 1.5vw;
    color: #000;
}

.shape-box h2 span, .shape-box2 h2 span{
    color: #b70100;
}

.shape-box2{
  position: relative;
  width: 15vw;
  height: 5vw;
  background-image: url("../img/svg/Subtract2.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  font-family: "forresten";
  font-size: 1vw;
  padding-left: 1vw;
  padding-top: 1vw;
  overflow: hidden;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.isi-shape-box{
    width: 100%;
    height: auto;
    
}

.isi-shape-box p{
    text-align: center;
    font-size: 1.5vw;
}

.tengah-kanan{
    position: absolute;
    width: 40%;
    height: 100%;
    display: flex;
    transform: translate(60vw, 0);
}

.gambar-kanan{
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 0;
}

.bg-dayak{
    position: relative;
    width: 20vw;
    height: 40vw;
    display: flex;
    z-index: 1;
}

.suku-dayak{
    position: absolute;
    width: 30vw;
    height: auto;
    display: flex;
    z-index: 3;
    transform: translate(-7vw, -3.2vw);
clip-path: inset(0% 0% 60% 25%);

}



.union-button {
  width: 100%;
  background: none;
  border: none;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1vw;
  transition: 0.3s;
}

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

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

.button-down2 .union-button h2{
  font-family: "forresten";
  font-size: 0.8vw;
}

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

.button-down2:hover {
  transform: scale(1.1);
  transform: translate(-2vw,35vw);
}
.button-down2:hover i,
.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;
}

/* ===================== ANIMASI SLIDE 1 (ABOUT US) ===================== */

/* 1. Navbar (line hijau) dari kanan ke kiri */
.animate-navbar-right {
  opacity: 0;
  animation: navbarSlideFix 0.8s ease forwards;
}
@keyframes navbarSlideFix {
  0% {
    opacity: 0;
    transform: translateX(100vw);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 2. Vector kiri dari bawah ke atas */
.animate-vector-up {
  opacity: 0;
  animation: vectorLeftFix 0.8s ease forwards;
}
@keyframes vectorLeftFix {
  0% {
    opacity: 0;
    transform: translateY(100vh);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 3. Vector kanan dari atas ke bawah */
.animate-vector-down {
  opacity: 0;
  animation: vectorRightFix 0.8s ease forwards;
}
@keyframes vectorRightFix {
  0% {
    opacity: 0;
    transform: translateY(-100vh);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 4. Main title (line biru) dari atas ke bawah */
.animate-main-down {
  opacity: 0;
  animation: mainTitleFix 0.8s ease forwards;
}
@keyframes mainTitleFix {
  0% {
    opacity: 0;
    transform: translateY(-100vh);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 5. Sub-title & isi tengah (line coklat) delay beberapa detik */
.animate-sub-down {
  opacity: 0;
  animation: subTitleFix 0.8s ease 0.2s forwards;
}
@keyframes subTitleFix {
  0% {
    opacity: 0;
    transform: translateY(-100vh);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-isi-down-delay {
  opacity: 0;
  animation: isiTengahFix 0.8s ease 0.4s forwards;
}

@keyframes isiTengahFix {
  0% {
    opacity: 0;
    transform: translateY(-100vh);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 6. Tengah-kanan (line kuning) dari bawah ke atas */
.animate-tengah-up {
  opacity: 0;
  animation: tengahKananFix 0.8s ease 0.5s forwards;
}
@keyframes tengahKananFix {
  0% {
    opacity: 0;
    transform: translate(60vw,100vh);
  }
  100% {
    opacity: 1;
    transform: translate(60vw,0);
  }
}

/* 7. Container kanan (line hitam) dari atas ke bawah */
.animate-kanan-down {
  opacity: 0;
  animation: containerKananFix 0.8s ease 0.6s forwards;
}
@keyframes containerKananFix {
  0% {
    opacity: 0;
    transform: translateY(-100vh);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 800px) {

 .container-utama {
  gap: 2vw;
    scroll-snap-type: none !important;
    -webkit-scroll-snap-type: none !important;
  }

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

  .container-1{
    height: 50%;
  }
}
