/* ===================== 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-2 {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  overflow: hidden;
  z-index: 0;
}

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

.navbar2 {
  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%;
}
.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;
}

/* =====================Slide 2======================*/

.isi-slide2{
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

.slide2-kiri{
    position: relative;
    width: 10%;
    height: 100%;
    display: flex;
}

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

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

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

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

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

.slide2-tengah{
    position: relative;
    width: 90%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 5vw;
}

.tengah-atas{
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    padding: 3vw;
}

.title-logo{
    position: relative;
    width: 50%;
    height: auto;
    display: flex;
    align-items: center;
}

.title-logo h1{
    font-family: "forresten";
    font-size: 4vw;
    color: #000;
}

.title-logo h1 span{
    color: #b70100;
}

.isi-logo{
    position: relative;
    width: 50%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 1vw;
}

.isi-logo p{
    font-size: 1.5vw;
}

/* ======================= fitur logo ===================*/

.tengah-bawah{
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: row;

}

.logo-wheel-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4vw;
  width: 100%;
  height: auto;
}

.wheel-section {
  position: relative;
  width: 30vw;
  height: 30vw;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "forresten";
}

.wheel {
  position: relative;
  width: 20vw;
  height: 20vw;
  border: 2px solid #b70100;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 1s ease;
  overflow: visible;
}

.wheel-center {
  position: absolute;
  width: 7vw;
  height: 7vw;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.circle-black {
  position: absolute;
  width: 7vw;
  height: 7vw;
  background: black;
  border-radius: 50%;
  z-index: 0;
}

.center-logo {
  width: 4vw;
  position: relative;
  z-index: 1;
}

.item {
  position: absolute;
  text-align: center;
  color: #b70100;
  font-weight: bold;
  font-size: 0.5vw;
  cursor: pointer;
  transition: transform 0.8s ease, font-size 0.4s ease, opacity 0.4s ease;
  transform-origin: center center;
}

.item .dot {
  width: 0.6vw;
  height: 0.6vw;
  background-color: #b70100;
  border-radius: 50%;
  margin: 0 auto 0.4vw;
}

.item span {
  display: block;
  white-space: nowrap;
  transform: rotate(0deg);
}

/* item aktif membesar */
.item.active {
  color: #000;
  font-size: 1.2vw;
  transform: scale(1.2);
  z-index: 5;
}

.item:not(.active) {
  opacity: 0.7;
  transform: scale(0.5);
}

.wheel-buttons {
  display: flex;
  flex-direction: column;
  gap: 2vw;
  justify-content: center;
  align-items: center;
}

.arrow-button {
  width: 3vw;
  height: 3vw;
  background: white;
  border: 2px solid #b70100;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #b70100;
}

.arrow-button:hover {
  background: #b70100;
  color: white;
}

.wheel-text {
  width: 30%;
}

.wheel-text h2 {
  font-size: 2vw;
  color: #b70100;
  margin-bottom: 1vw;
}

.wheel-text p {
  font-size: 1.2vw;
  color: #000;
}

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

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

/* 2. Slide kiri (line merah) dari bawah ke atas */
.animate-slide2-up {
  opacity: 0;
  animation: slide2KiriFix 0.8s ease 0.2s forwards;
}
@keyframes slide2KiriFix {
  0% {
    opacity: 0;
    transform: translateY(100vh);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 3. Title-logo (line ungu) dari kiri ke kanan */
.animate-title-left {
  opacity: 0;
  animation: titleLogoFix 0.8s ease 0.3s forwards;
}
@keyframes titleLogoFix {
  0% {
    opacity: 0;
    transform: translateX(-100vw);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 4. Isi-logo (line hijau tua) dari kanan ke kiri */
.animate-isi-right {
  opacity: 0;
  animation: isiLogoFix 0.8s ease 0.4s forwards;
}
@keyframes isiLogoFix {
  0% {
    opacity: 0;
    transform: translateX(100vw);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 5. Wheel-section (line hijau muda) dari kiri ke kanan */
.animate-wheel-left {
  opacity: 0;
  animation: wheelSectionFix 0.8s ease 0.5s forwards;
}
@keyframes wheelSectionFix {
  0% {
    opacity: 0;
    transform: translateX(-100vw);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 6. Wheel-buttons (line abu-abu) dari bawah ke atas */
.animate-wheelbuttons-up {
  opacity: 0;
  animation: wheelButtonsFix 0.8s ease 0.6s forwards;
}
@keyframes wheelButtonsFix {
  0% {
    opacity: 0;
    transform: translateY(100vh);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 7. Wheel-text (line kuning) dari kanan ke kiri */
.animate-wheeltext-right {
  opacity: 0;
  animation: wheelTextFix 0.8s ease 0.8s forwards;
}
@keyframes wheelTextFix {
  0% {
    opacity: 0;
    transform: translateX(100vw);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 800px) {

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

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

  .logo-wheel-container{
    flex-direction: column;
    transform: translateX(-5vw);
  }

  .wheel{
    transform: scale(1.5);
  }

  .wheel-buttons{
    flex-direction: row;
    transform: scale(1);
  }

  .wheel-text{
    width: 100%;
    height: auto;
    text-align: center;
  }

  .wheel-text h2{
    font-size: 3vw;
  }

  .wheel-text p{
    font-size: 1.5vw;
  }
}

@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;
  }
  
  .navbar2{
    display: none;
  }

  .container-2{
    margin-top: 3vw;
    padding: 1vw;
    height: 50%;
    	-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);
  }
}

}