/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}


body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
    "Helvetica Neue", Arial, sans-serif;
  background: #0b0e13;
  color: #e8eef6;
  line-height: 1.6;
  position: relative !important;
  top: 0px !important;
  height: 100%;
  /* overflow-x: hidden; */
  /* overflow-y: hidden; ini yang menyebabkan tidak bisa scroll */

}
img {
  display: block;
  max-width: 120%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: #b1b4b6 !important;
}

:root {
  --alt-font: "Montserrat", sans-serif;
  --primary-font: "Montserrat", sans-serif;
  --primary: #1f6feb;
  --primary-600: #2b82ff;
  --muted: #a7b3c6;
  --surface: #121723;
  --surface-2: #0f141e;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.primary-font {
  font-family: var(--primary-font) !important;
}

.container {
  /* width: min(1200px, 92vw); */
  margin-inline: auto;
}
.section {
  /* padding: 72px 0; */
}
.btn {
  display: inline-block;
  padding: 14px 22px;
  font-weight: 700 !important;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  transition: 0.15s ease;
  box-shadow: 0 8px 24px rgba(31, 111, 235, 0.35);
}
.btn:hover {
  background: var(--primary-600);
  box-shadow: 0 10px 30px rgba(43, 130, 255, 0.45);
}
.btn.outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.badge img {
  height: auto; /* sesuaikan ukuran */
  width: auto;
  display: text-bottom;
  vertical-align: middle;
  position: center;
  /* margin-left: 150px; */
  background-color: transparent;
}
@media (max-width: 600px) {
  .brand img {
    width: 160px;
  }
  .badge img {
    margin-left: 0;
    display: inline-block;
  }
}
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: linear-gradient(
    180deg,
    rgba(15, 20, 30, 0.88) 0%,
    rgba(15, 20, 30, 0.66) 100%
  );
  width: 100%;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  /* padding: 14px 20px; sedikit padding kiri-kanan */
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}
.brand img {
  width: 260px;
  height: auto;
  border-radius: 3px;
}
.navlinks {
  display: flex;
  gap: 22px;
  align-items: center;
}
.navlinks a {
  color: var(--muted);
  font-weight: 600;
}
.navlinks a:hover {
  color: #fff;
}
.cta {
  display: flex;
  gap: 12px;
  align-items: center;
}
.mobile-menu-btn {
  display: none;
}

@media (max-width: 900px) {
  .navlinks {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
}

.hero {
  position: relative;
  isolation: isolate;
  /* min-height: 135%; */
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  height: 800px;
  /* background: linear-gradient(180deg, #0b0e13 0%, #0b0e13 100%); */
  /* z-index: -1; */
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  /* background: url("../Aset Desain/borobudur.jpg") center/cover no-repeat; */
  filter: contrast(1.05) brightness(0.72) saturate(1.05);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(11, 14, 19, 0.2) 0%,
    rgba(11, 14, 19, 0.95) 100%
  );
}
.hero .content {
  padding: 80px 0 40px;
}
.hero .badge{
    margin-top: 150px;
}
.hero h1 {
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.08;
  margin: 10px auto 16px;
  max-width: 900px;
}
.hero p {
  color: #cfd8e6;
  font-size: clamp(15px, 1.7vw, 18px);
  margin: 0 auto 26px;
  max-width: 720px;
}
.hero .actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: -20px;
}
.feature {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 12px;
  align-items: center;
}
.feature strong {
  display: block;
  font-size: 0.98rem;
}
.feature span {
  color: var(--muted);
  font-size: 0.9rem;
}
@media (max-width: 900px) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .features {
    grid-template-columns: 1fr;
  }
}
/* ===== TOUR PACKAGES ===== */
.section-title {
  text-align: center;
  margin-bottom: 26px;
}
.section-title h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  margin: 6px 0 8px;
}
.section-title p {
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  
}
.card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.card .thumb {
  aspect-ratio: 4/4;
  background: #0d1220;
  position: relative;
  overflow: hidden;
}
.card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* position: relative; */
  transition: transform 0.4s ease; /* tambahkan transisi */
  display: block;
}

.card:hover .thumb img {
    transform: scale(1.1); /* efek zoom saat hover */
  }

.card .body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card h3 {
  font-size: 1.08rem;
  margin: 0;
  line-height: 25px;
  font-weight: 700;
}
.card .meta {
  color: var(--muted);
  font-size: 0.92rem;
}
.card .price {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.price strong {
  font-size: 1.05rem;
}

@media (max-width: 1000px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

/* ===== CUSTOM TRIP FULL-WIDTH CARD ===== */
.custom-trip {
  margin-top: 24px;
  border-radius: var(--radius);
  padding: 22px 22px;
  background: linear-gradient(
    135deg,
    rgba(31, 111, 235, 0.18),
    rgba(31, 111, 235, 0.06)
  );
  border: 1px solid rgba(31, 111, 235, 0.35);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
}
.custom-trip p {
  color: #d9e6ff;
  margin: 0;
}
.custom-trip .btn {
  padding: 12px 18px;
}
@media (max-width: 680px) {
  .custom-trip {
    grid-template-columns: 1fr;
    /* justify-items: start; */
  }
}

/* ===== GALLERY (NO CROP, ANTI KE-POTONG) ===== */
.gallery {
  margin-top: 5px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.gallery-item {
  background: #0d1220;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.gallery-item img {
  width: 100%;
  height: fit-content; /* tidak crop */
  display: inside;
  aspect-ratio: auto; /* biarkan natural ratio */
}
@media (max-width: 1100px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 800px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== TESTIMONIAL ===== */
.testi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: stretch;
}
.testi .card {
  height: 100%;
}
@media (max-width: 900px) {
  .testi {
    grid-template-columns: 1fr;
  }
}

/* ===== CTA CONTACT ===== */
.cta-wrap {
  background: radial-gradient(
      800px 300px at 20% 0%,
      rgba(31, 111, 235, 0.22),
      transparent 60%
    ),
    var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 0px;
}
.cta-wrap p {
  color: var(--muted);
  margin-bottom: 0px;
}
@media (max-width: 700px) {
  .cta-wrap {
    grid-template-columns: 1fr;
  }
}

/* ===== FOOTER ===== */
footer {
  padding: 40px 0 60px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footgrid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 22px;
}
.footgrid h4 {
  color: #fff;
  margin: 0 0 10px;
}
.footgrid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.copyright {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #8fa0b9;
}
@media (max-width: 900px) {
  .footgrid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 580px) {
  .footgrid {
    grid-template-columns: 1fr;
  }
}
