@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Oswald:wght@500&display=swap");
body {
  margin: 0;
  background-image: url(../IMG/nature\ 3.jpg); /* gambar background */
  background-position: center; /* posisikan di tengah */
  background-repeat: no-repeat; /* jangan diulang */
  background-size: cover; /* isi penuh area */
  color: #ffffffdd;

  font-family: "Inter", sans-serif;
  height: 100vh;
}
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* hitam transparan */
  z-index: 1;
  height: 100vh;
}

.card {
  position: absolute;
  left: 0;
  top: 0;
  background-position: center;
  background-size: cover;
  box-shadow: 6px 6px 10px 2px rgba(0, 0, 0, 0.6);
}

#btn {
  position: absolute;
  top: 690px;
  left: 16px;
  z-index: 99;
}

.card-content {
  position: absolute;
  left: 0;
  top: 0;
  color: #ffffffdd;
  padding-left: 16px;
}

.content-place {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
}

.content-place {
  font-weight: 500;
}

.content-title-1,
.content-title-2 {
  font-weight: 600;
  font-size: 20px;
  font-family: "Oswald", sans-serif;
}

.content-start {
  width: 30px;
  height: 5px;
  border-radius: 99px;
  background-color: #ffffffdd;
}

.details {
  z-index: 22;
  position: absolute;
  bottom: 40px; /* nempel ke bawah parent */
  left: 60px;
}

.details .place-box {
  height: 46px;
  overflow: hidden;
}
.details .place-box .text {
  padding-top: 16px;
  font-size: 20px;
}
.details .place-box .text:before {
  top: 0;
  left: 0;
  position: absolute;
  content: "";
  width: 30px;
  height: 4px;
  border-radius: 99px;
  background-color: white;
}
.details .title-1,
.details .title-2 {
  font-weight: 600;
  font-size: 72px;
  font-family: "Oswald", sans-serif;
}
.details .title-box-1,
.details .title-box-2 {
  margin-top: 2px;
  height: 100px;
  overflow: hidden;
}
.details > .desc {
  margin-top: 16px;
  width: 90%;
  text-align: justify;
} /* ============ NAVBAR ============ */
nav {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 36px;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.6); /* biar kebaca di bg gambar */
  backdrop-filter: blur(4px);
}

nav svg {
  width: 20px;
  height: 20px;
}
nav .svg-container {
  width: 20px;
  height: 20px;
}
nav > div {
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
  font-size: 14px;
}
nav > div:first-child {
  gap: 10px;
}
nav > .menu {
  display: flex;
  gap: 24px;
  text-decoration: none;
}
.menu a {
  text-decoration: none;
  color: white;
}
.menu a:hover {
  color: #ecad29;
}
nav > .menu > a .active {
  position: relative;
}
nav > .menu > a .active:after {
  bottom: -8px;
  left: 0;
  right: 0;
  position: absolute;
  content: "";
  height: 3px;
  border-radius: 99px;
  background-color: #ecad29;
}

/* ============ HAMBURGER ============ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
  z-index: 100; /* di atas dropdown */
}
.hamburger div {
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animasi X ketika aktif */
.hamburger.active div:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.hamburger.active div:nth-child(2) {
  opacity: 0;
}
.hamburger.active div:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* ============ RESPONSIVE NAVBAR ============ */
@media (max-width: 768px) {
  nav > .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 40px;
    right: 0px;
    background: rgba(0, 0, 0, 0.85);
    padding: 12px;
    border-radius: 0px;
    gap: 16px;
    text-align: right;
  }
  nav > .menu.show {
    display: flex;
    width: 97%;
  }

  .hamburger {
    display: flex; /* tampilkan tombol hamburger */
  }
}

/* Responsive untuk tablet max 768px */
@media (max-width: 768px) {
  nav {
    padding: 16px 20px;
    font-size: 12px;
  }

  .details .title-1,
  .details .title-2 {
    font-size: 48px;
  }

  .details > .desc {
    width: 90%; /* lebih fleksibel */
    font-size: 14px;
  }

  #btn {
    top: auto;
    bottom: 20px;
    left: 16px;
  }
  .details .title-box-1,
  .details .title-box-2 {
    height: auto;
    margin: 0;
  }
}

/* Responsive untuk HP max 480px */
@media (max-width: 480px) {
  nav {
    padding: 12px 16px;
    font-size: 11px;
  }

  .details {
    left: 20px;
    bottom: 20px;
  }

  .details .title-1,
  .details .title-2 {
    font-size: 36px;
    margin: 0;
  }
  .details .title-box-1,
  .details .title-box-2 {
    height: auto;
    margin: 0;
  }

  .details > .desc {
    width: 90%;
    font-size: 13px;
  }

  .content-title-1,
  .content-title-2 {
    font-size: 16px;
  }

  #btn {
    bottom: 16px;
    left: 12px;
  }
}

/* Responsive untuk HP kecil banget (300px) */
@media (max-width: 320px) {
  nav {
    padding: 10px 12px;
    font-size: 10px;
  }

  .details {
    left: 12px;
    bottom: 12px;
  }

  .details .title-1,
  .details .title-2 {
    font-size: 28px; /* lebih kecil biar muat */
  }

  .details > .desc {
    width: 95%;
    font-size: 12px;
  }

  .content-title-1,
  .content-title-2 {
    font-size: 14px;
  }

  #btn {
    bottom: 12px;
    left: 10px;
  }
}
