@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
  box-sizing: 0;
}

body {
  font-family: Poppins;
  margin: 0;


}
svg {
  width: 25px;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
}


.nav {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.logo h2 {
  font-size: var(--h2-font-size);
  color: var(--primary-color);
}

.slider {
  height: 85vh;
  color: #eee;
}

.slider .list .item {
  position: absolute;
  inset: 0 0 0 0;
  overflow: hidden;
  opacity: 0;
  transition: .5s;
}

.slider .list .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider .list .item::after {
  content: '';
  padding-top: 10px;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  background-image: linear-gradient(to top, #000000bd 5%, transparent);
}

.slider .list .item .content {
  position: absolute;
  left: 10%;
  top: 20%;
  width: 500px;
  max-width: 80%;
  z-index: 1;
}

.slider .list .item .content p:nth-child(1) {
  text-transform: uppercase;
  letter-spacing: 10px;
}

.slider .list .item .content h2 {
  font-size: 100px;
  margin: 0;
}

.slider .list .item.active {
  opacity: 1;
  z-index: 10;
}

@keyframes showContent {
  to {
    transform: translateY(0);
    filter: blur(0);
    opacity: 1;
  }
}

.slider .list .item.active p:nth-child(1),
.slider .list .item.active h2,
.slider .list .item.active p:nth-child(3) {
  transform: translateY(30px);
  filter: blur(20px);
  opacity: 0;
  animation: showContent .5s .7s ease-in-out 1 forwards;
}

.slider .list .item.active h2 {
  animation-delay: 1s;
}

.slider .list .item.active p:nth-child(3) {
  animation-duration: 1.3s;
}

.arrows {

  position: absolute;
  top: 30%;
  right: 50px;
  z-index: 100;
  gap: 0.5rem;
}

.arrows button {
  background-color: #eee5;
  border: none;
  font-family: monospace;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  font-size: x-large;
  color: #eee;
  transition: .5s;
}

.arrows button:hover {
  background-color: #eee;
  color: black;
}

.thumbnail {
  position: absolute;
  bottom: 0px;
  z-index: 11;
  display: flex;
  gap: 10px;
  width: 100%;
  height: 250px;
  padding: 0 50px;
  box-sizing: border-box;
  overflow: auto;
  justify-content: end;
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.thumbnail::-webkit-scrollbar {
  width: 0;
}

.thumbnail .item {
  width: 150px;
  height: 220px;
  filter: brightness(.5);
  transition: .5s;
  flex-shrink: 0;
}

.thumbnail .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;

}

.thumbnail .item.active {
  filter: brightness(1.5);
}

.thumbnail .item .content {
  position: absolute;
  inset: auto 10px 10px 10px;
}

.three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: center;
  margin: 0;
}

.three-grid .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.three-grid .item.text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px 50px 0px 50px;
  background: #f0f0f0;
  /* Warna bg teks, bebas mau transparan atau full */
}

.three-grid .item {

  aspect-ratio: 1 / 1;
  /* Ini bikin kotak persegi */
  overflow: hidden;
  /* Kalau gambar lebih besar, dia ke-crop */
}

.two-grid {
  margin-top: 31px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  /* Gambar lebih lebar */

}

.two-grid2 {
  display: grid;
  grid-template-columns: 1fr 2fr;
  /* Gambar lebih lebar */

}

.two-grid2 .image-item2 {
  /* Biar tinggi proporsional dan persegi panjang */

  overflow: hidden;
}

.two-grid2 .image-item2 img {
  order: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.two-grid2 .text-item2 {
  order: 0;
  /* default */
  background: #f5f5f5;
  /* Contoh background */
  padding: 50px 50px 0px 50px;
  display: flex;
  flex-direction: column;
  text-align: justify;
}

.two-grid3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* Gambar lebih lebar */

}

.two-grid3 .image-item3 {


  overflow: hidden;
}

.two-grid3 .image-item3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.two-grid3 .text-item3 {

  background: #f5f5f5;
  padding: 50px 50px 50px 50px;

  flex-direction: column;
  text-align: justify;
}

.two-grid .image-item {
  /* Biar tinggi proporsional dan persegi panjang */

  overflow: hidden;
}

.two-grid .image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.two-grid .text-item {

  background: #f5f5f5;
  /* Contoh background */
  padding: 50px 50px 50px 50px;
  display: flex;
  flex-direction: column;
  text-align: justify;
}

.two-grid4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* Gambar lebih lebar */

}

.two-grid4 .image-item4 {
  /* Biar tinggi proporsional dan persegi panjang */

  overflow: hidden;
}

.two-grid4 .image-item4 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.two-grid4 .text-item4 {

  background: #f5f5f5;
  /* Contoh background */
  padding: 50px 50px 50px 50px;

  flex-direction: column;
  text-align: justify;
}

.item-desc h2 {
  padding: 50px 50px 0px 50px;
  text-align: justify;
}

.item-desc p {
  text-align: justify;
  padding: 0px 50px;
}

.btn-read-more {
  display: inline-block;
  /* supaya padding bekerja di <a> */
  background-color: transparent;
  border: 2px solid #fffbfb;
  color: #ffffff;
  padding: 10px 20px;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  /* hapus underline link */
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0px 20px;
  margin-left: 50px;
}

.btn-read-more:hover {
  background-color: #f3f3f3;
  color: #000000;
}

.btn-read-more2 {
  display: inline-block;
  /* supaya padding bekerja di <a> */
  background-color: transparent;
  border: 2px solid #000000;
  color: #000000;
  padding: 10px 20px;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  /* hapus underline link */
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 50px;
}

.btn-read-more2:hover {
  background-color: #020202;
  color: #fff;
}

.two-grid3 {
  display: grid;
  grid-template-columns: 1fr 2fr;
}

.btn-read-more3 {
  display: inline-block;
  background-color: transparent;
  border: 2px solid #000000;
  color: #000000;
  padding: 10px 20px;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;

}

.btn-read-more3:hover {
  background-color: #020202;
  color: #fff;
}

.btn-read-more4 {
  display: inline-block;
  background-color: transparent;
  border: 2px solid #000000;
  color: #000000;
  padding: 10px 20px;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;

}

.btn-read-more4:hover {
  background-color: #020202;
  color: #fff;
}


.image-item img,
.image-item3 img,
.image-item4 img,
.img-item img{
  transition: transform 0.8s ease;
}

.image-item img:hover,
.image-item3 img:hover,
.image-item4 img:hover,
.img-item img:hover {
  transform: scale(1.10);
}


@media screen and (max-width: 678px) {
  .two-grid .image-item,
  .two-grid .text-item {
    aspect-ratio: auto;
  }
  .thumbnail {
    display: none;
  }

  .slider .list .item .content h2 {
    font-size: 60px;
  }

  .arrows {
    padding-top: 90%;
  }

  .three-grid {
    grid-template-columns: 1fr;
    /* Jadi 1 kolom */
  }

  .two-grid {
    margin-top: 15px;
    grid-template-columns: 1fr;
  }

  .two-grid4 {
    grid-template-columns: 1fr;
  }

  .two-grid .image-item,
  .two-grid .text-item {
    aspect-ratio: auto;
    /* Reset biar lebih fleksibel di HP */
  }

  .two-grid .text-item {
    padding: 10px 10px 0px 10px;
  }

  .two-grid3 .text-item3 {
    padding: 10px 10px 0px 10px;
    order: 0;
  }

  .two-grid3 .image-item3 {

    order: -1;
  }

  .two-grid3 .text-item3 {
    padding: 10px 10px 0px 10px;
  }

  .two-grid2 {
    grid-template-columns: 1fr;
  }

  .two-grid3 {
    grid-template-columns: 1fr;
  }

  .three-grid {
    grid-template-columns: 1fr;
  }

  .three-grid .item-desc {
    aspect-ratio: unset;
    /* Pastikan teks tidak kotak */
    /* Biar ga mentok kiri-kanan */
  }

  .three-grid .item img {
    aspect-ratio: 1/1;
    width: 100%;
    height: auto;
    object-fit: cover;
    /* Kalau mau tetap rapih */
  }

  .item-desc h2 {
    padding: 10px 10px 0px 10px;
    text-align: justify;
  }

  .item-desc p {
    text-align: justify;
    padding: 10px 10px 0px 10px;
  }

  .two-grid4 .text-item4 {
    padding: 10px 10px 0px 10px;
  }

  .btn-read-more {
    margin-left: 10px;
    margin-bottom: 20px;
  }

  .btn-read-more2 {
    margin-left: 10px;
    margin-bottom: 20px;
  }

  .btn-read-more3 {

    margin-bottom: 20px;
  }

  .btn-read-more4 {

    margin-bottom: 20px;
  }




}


footer {
  position: relative;
  height: auto;
  padding: 50px 80px;
  background: #152332;
}

footer .container {
  width: 100%;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-gap: 50px;
}

footer .container .sec h2 {
  position: relative;
  color: #fff;
  font-weight: 500;
  margin-bottom: 20px;
}

footer .container .sec h2::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: #ffde59;
}

footer .container .sec p {
  font-size: 16px;
  line-height: 26px;
  color: #fff;
}


.usefullinks {
  position: relative;
  text-align: left; /* pastiin isiannya rata kiri */
  margin-left: 0;   /* kalau sebelumnya ada margin kiri */
  padding-left: 0;  /* kalau ada padding kiri */
}
.usefullinks ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.usefullinks li {
  list-style: none;
}

.usefullinks li a {
  display: flex; /* ini bikin icon dan teks sejajar horizontal */
  align-items: flex-start; /* sejajarkan bagian atas icon dan teks */
  text-decoration: none;
  font-size: 15px;
  font-weight: 300;
  list-style: none;
  line-height: 30px;
  color: #fff;
  transition: 0.3s;
}
.usefullinks li a i {
  margin-right: 16px; /* jarak icon dan teks */
  font-size: 18px;
  min-width: 20px; /* jaga lebar biar sejajar semua icon */
  margin-top: 5px; /* geser dikit icon biar pas */
}

.usefullinks li a:hover {
  color: #ffde59;
}

.usefullinks i {
  margin-right: 10px;
  font-size: 18px;
  min-width: 20px; /* biar icon sejajar rata kiri */
  margin-top: 3px; /* buat geser dikit ke bawah */
}


.shop {
  position: relative;
}
.shop ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.shop li {
  list-style: none;
}

.shop li a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 300;
  list-style: none;
  line-height: 30px;
  color: #fff;
  transition: 0.3s;
}

.shop li a:hover {
  color: #ffde59;
}

input {
  height: 45px;
  width: 220px;
  outline: none;
  border: 2px solid #f3f3f3;
  background: #152332;
  border-radius: 4px;
  padding: 0 15px;
  font-size: 15px;
  color: #fff;
  margin-top: 5px;
}

input::placeholder {
  color: #ededed;
  font-size: 16px;
}

input[type="button"] {
  background: #fff;
  color: #ffde59;
  border: none;
  font-size: 18px;
  font-weight: 500;
  margin: 4px 0;
  cursor: pointer;
  transition: all 0.4s ease;
}

input[type="button"]:hover {
  background: #ffde59;
  color: #fff;
}

footer .container .sec p a {
  font-size: 16px;
  text-decoration: none;
  color: #fff;
  transition: 0.3s;
}

footer .container .sec p a:hover {
  color: #ff008c;
}

.copyright {
  position: relative;
  padding: 16px 20px;
  background: #19293b;
}

.copyright p {
  font-size: 14px;
  color: #fff;
  text-align: center;
}

@media screen and (max-width:990px) {
  footer .container {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 40px;
  }

  footer {
    padding: 50px 40px;
  }
}

@media screen and (max-width:500px) {
  footer .container {
    grid-template-columns: repeat(1, 1fr);
  }
}


.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
  height: 85px;
  
  /* Semi transparan, ubah sesuai selera */
  backdrop-filter: blur(10px);
  /* Warna latar belakang semi transparan */
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.logo-container {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  /* Warna logo di atas hero image misalnya */
}

.nav-wrapper.scrolled {
  background: rgba(255, 255, 255, 0.7);
  /* Semi transparan, ubah sesuai selera */
  backdrop-filter: blur(10px);
  /* Blur efek kaca */
}

.logo {
  height: 60px;
}

.nav-tabs {
  display: flex;
  list-style: none;
}

.nav-tab {
  cursor: pointer;
  color: #000000;
  /* Kalau mau ubah pas di-scroll, bisa pakai : scrolled selector */
  text-decoration: none;
}

.nav-wrapper.scrolled .nav-tab {
  color: #000;
  /* Misal pas di-scroll, warna link jadi gelap */
}

.nav-tab:not(:last-child) {
  padding: 10px 25px;
  margin: 0;
}

.nav-tab:last-child {
  padding: 10px 0 0 25px;
}

.nav-tab,
.menu-btn {
  cursor: pointer;
}

.hidden {
  display: none;
}


.nav-tabs li {
  list-style: none;
  display: inline-block; /* atau flex, tergantung desain */
}

.nav-tabs li a {
  font-weight: 500;
  text-decoration: none; /* hilangin underline */
  color: #181f50; /* biar warnanya sama kayak parent */
  padding: 10px 15px; /* bikin klik area lebih lebar */
  display: block; /* biar padding kena full */
}


#scrollBtn {
      display: none; /* Disembunyikan dulu */
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 999;
      font-size: 18px;
      border: none;
      outline: none;
      background-color: #333333db;
      color: white;
      cursor: pointer;
      padding: 9px 15px;
      border-radius: 50%;
      box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    }

    #scrollBtn:hover {
      background-color: #969696;
    }

@media screen and (max-width: 800px) {
  .nav-container {
    position: fixed;
    /* Menu menempel di viewport */
    top: 0;
    /* Mulai dari atas */
    left: 0;
    /* Mulai dari kiri */
    width: 100%;
    /* Menutupi seluruh layar */
    background: rgba(255, 255, 255, 0.749);
    /* Contoh backdrop gelap */
    z-index: 999;
    /* Pastikan lebih tinggi dari hero section */
    display: none;
  }

  .nav-tabs {
    flex-direction: column;
    align-items: flex-end;
    margin-top: 80px;
    width: 100%;
  }

  .nav-tab:not(:last-child) {
    padding: 20px 25px;
    margin: 0;
    border-right: unset;
    border-bottom: 1px solid #f5f5f5;
  }

  .nav-tab:last-child {
    padding: 15px 25px;
  }

  .menu-btn {
    position: relative;
    display: block;
    margin: 0;
    width: 20px;
    height: 15px;
    cursor: pointer;
    z-index: 2;
    padding: 10px;
    border-radius: 10px;
  }

  .menu-btn .menu {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: #111;
  }

  .menu-btn .menu:nth-child(2) {
    margin-top: 4px;
    opacity: 1;
  }

  .menu-btn .menu:nth-child(3) {
    margin-top: 4px;
  }

  #menuToggle:checked+.menu-btn .menu {
    transition: transform 0.2s ease;
  }

  #menuToggle:checked+.menu-btn .menu:nth-child(1) {
    transform: translate3d(0, 6px, 0) rotate(45deg);
  }

  #menuToggle:checked+.menu-btn .menu:nth-child(2) {
    transform: rotate(-45deg) translate3d(-5.71429px, -6px, 0);
    opacity: 0;
  }

  #menuToggle:checked+.menu-btn .menu:nth-child(3) {
    transform: translate3d(0, -6px, 0) rotate(-45deg);
  }

  #menuToggle:checked~.nav-container {
    z-index: 1;
    display: flex;
    animation: menu-slide-left 0.3s ease;
  }

  @keyframes menu-slide-left {
    0% {
      transform: translateX(200px);
    }

    to {
      transform: translateX(0);
    }
  }
}