:root {
  --header-height: 10px;
  --header-height-scrolled: 100px;
}

body {
  padding-top: var(--header-height);
}
.site-header--centered.is-scrolled ~ main,
.site-header--centered.is-scrolled + main {
  padding-top: var(--header-height-scrolled);
}

/* =========================================================
   1. ROOT & DESIGN TOKENS
   ---------------------------------------------------------
   Warna & variabel global agar konsisten di seluruh theme
========================================================= */
:root {
  --green-dark: #1f3d2b;
  --green-soft: #4f7c63;
  --green-muted: #6f8577;
  --green-light: #f4f7f5;
  --earth: #c4b7a6;
  --white: #ffffff;
  --text-dark: #2c2c2c;
}

/* =========================================================
   2. BASE TYPOGRAPHY
   ---------------------------------------------------------
   Jangan pakai 10px di body (bikin button & link kecil)
========================================================= */
body {
  font-family: "Montserrat", sans-serif;
  font-size: 16px; /* BASE NORMAL */
  line-height: 1.75;
  color: var(--text-dark);
  background-color: var(--white);
}

p {
  margin-bottom: 1.4rem;
}

a {
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
}

/* Heading system */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 600; /* Lebih elegan dari 700 */
  color: var(--green-dark);
  letter-spacing: 0.3px;
}

/* =========================================================
   3. LAYOUT HELPERS
========================================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===============================
   HEADER BASE
================================ */
.site-header--centered {
  position: sticky;
  top: 0;
  z-index: 999;
  background:
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("../images/experience/trekking-menu.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid #eaeaea;
  box-shadow: 0 0 20px rgba(79, 124, 99, 0.7);

  padding: 18px 0 18px;
  transition:
    padding 0.35s ease,
    box-shadow 0.35s ease;
}

/* ===============================
   HEADER INNER
================================ */
.header-inner {
  max-width: 1200px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* ===============================
   LOGO (DEFAULT)
================================ */
.site-header--centered .logo {
  margin-bottom: 14px;
  transition:
    transform 0.45s ease,
    opacity 0.35s ease;
}

.site-header--centered .logo img {
  max-height: 240px;
  transition:
    transform 0.45s ease,
    opacity 0.35s ease;
}

/* ===============================
   NAVIGATION
================================ */
.main-navigation {
  transition: margin 0.35s ease;
}

/* ===============================
   SCROLLED STATE
================================ */
.site-header--centered.is-scrolled {
  padding: 8px 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* 🔥 LOGO KELUAR DARI FLOW */
.site-header--centered.is-scrolled .logo {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -80px) scale(0.85);
  opacity: 0;
  pointer-events: none;
}

/* NAV AUTO NAIK */
.site-header--centered.is-scrolled .main-navigation {
  margin-top: 0;
}

/* =========================================================
   HERO – SPLIT WITH SCROLL ZOOM + PARALLAX
========================================================= */
.hero-split {
  display: flex;
  width: 100%;
  min-height: calc(100vh - var(--header-height));
}

.site-header--centered.is-scrolled ~ main .hero-split {
  min-height: calc(100vh - var(--header-height-scrolled));
}

.hero-image,
.hero-content {
  display: flex;
}

.hero-content {
  align-items: center;
}

/* LEFT IMAGE CONTAINER */
.hero-image {
  width: 50%;
  position: relative;
  overflow: hidden;
}

/* VIDEO LAYER */
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--hero-scale, 1)) rotate(var(--hero-rotate, 0deg));
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

/* RIGHT CONTENT */
.hero-content {
  width: 50%;
  background-color: var(--green-muted);
  display: flex;
  align-items: center;
  color: var(--white);
}

.hero-content-inner {
  max-width: 520px;
  padding: 60px;
}

.hero-content h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--white);
}

.hero-description {
  font-size: 1.05rem;
  margin-bottom: 36px;
  opacity: 0.95;
}

/* HERO BUTTON */
.btn-hero {
  display: inline-block;
  padding: 14px 36px;
  font-size: 16px;
  background-color: #3f6b55;
  color: var(--white);
  font-weight: 600;
  border-radius: 40px;
  transition: all 0.3s ease;
}

.btn-hero:hover {
  background-color: var(--green-dark);
  transform: translateY(-2px);
}
/* =========================================================
   PHILOSOPHY SECTION
========================================================= */
.philosophy-section {
  padding: 80px 0;
  background-image: url("../images/patterns/jungle-texture.png");
  background-size: cover;
  background-position: center;
}

/* =========================================================
   PHILOSOPHY  BACKGROUND
========================================================= */
.philosophy-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  padding: 70px;
}

/* =========================================================
   PHILOSOPHY SECTION
========================================================= */
.philosophy-section {
  padding: 80px 0;
  background-image: url("../images/patterns/jungle-texture.png");
  background-size: cover;
  background-position: center;
}

/* =========================================================
   PHILOSOPHY CARD (GRID UTAMA)
========================================================= */
.philosophy-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  padding: 70px;
  align-items: flex-start; /* ⬅️ INI KUNCI NAIK KE ATAS */
}

/* =========================================================
   PHILOSOPHY TEXT
========================================================= */
.philosophy-text h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.philosophy-lead {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem; /* diperbesar */
  font-weight: 600; /* ditebalkan */
  font-style: italic;
  line-height: 1.55;
  color: #1f3d2b; /* lebih kontras */
  margin-bottom: 26px;
}

.philosophy-text p {
  max-width: 520px;
  margin-bottom: 16px;
  color: #333;
}

/* =========================================================
   PHILOSOPHY IMAGE – LINGKARAN PREMIUM
========================================================= */
.philosophy-image {
  position: relative;
  width: 420px;
  height: 420px;
  justify-self: center;
  align-self: flex-start;

  border-radius: 50%;
  overflow: hidden;

  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.25),
    inset 0 0 0 8px rgba(255, 255, 255, 0.35);

  transition: transform 0.6s ease;
}

/* IMAGE */
.philosophy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transform: scale(1.1); /* jangan kegedean */
  transition: transform 0.8s ease;
}

/* DEPTH OVERLAY */
.philosophy-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle at bottom,
    rgba(0, 0, 0, 0.35),
    transparent 60%
  );
  pointer-events: none;
}

/* HOVER */
.philosophy-card:hover .philosophy-image {
  transform: translateY(-6px);
}
.philosophy-card:hover .philosophy-image img {
  transform: scale(1.18);
}

/* =========================================================
   DESKTOP UPSCALE (PC)
========================================================= */
@media (min-width: 1024px) {
  .philosophy-image {
    width: 520px;
    height: 520px;
  }
}

/* =========================================================
   SOUVENIR MINI SLIDER
========================================================= */
.souvenir-slider {
  grid-column: 1 / 2; /* tetap di kolom teks */
  margin-top: -20px; /* ⬅️ NAIKIN KE ATAS */
  padding-top: 10px;

  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;

  scrollbar-width: none;
}
.souvenir-slider::-webkit-scrollbar {
  display: none;
}

/* ITEM */
.souvenir-item {
  flex: 0 0 auto;
  width: 120px;
  text-align: center;
  color: #1f3d2b;
}

/* IMAGE */
.souvenir-item img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;

  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

/* HOVER */
.souvenir-item:hover img {
  transform: scale(1.12);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

/* TITLE */
.souvenir-item span {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* =========================================================
   TEXT
========================================================= */
.philosophy-text h2 {
  font-size: 2.3rem;
  margin-bottom: 18px;
}

.philosophy-text p {
  max-width: 520px;
  margin-bottom: 16px;
  color: #333;
}

/* =========================================================
   8. CTA SECTION
========================================================= */

.cta-section {
  position: relative;
  padding: 120px 0;

  /* 🌿 JUNGLE TEXTURE */
  background-image: url("../images/patterns/jungle-texture.png");
  background-size: cover;
  background-position: center;
}

/* OVERLAY – LEMBUT & TERANG */
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(244, 247, 245, 0.65),
    rgba(244, 247, 245, 0.85)
  );
  z-index: 1;
}

/* CONTENT */
.cta-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

/* =========================
   TYPOGRAPHY
========================= */

.cta-content h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.6rem;
  line-height: 1.25;
  margin-bottom: 22px;

  color: #1f3d2b; /* green-dark */
}

.cta-content p {
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 42px;

  color: #4f7c63; /* green-soft */
}

/* =========================
   CTA BUTTON
========================= */

.cta-content .btn-cta {
  display: inline-block;
  padding: 16px 42px;
  border-radius: 40px;

  background-color: #3f6b55;
  color: #ffffff;

  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;

  transition: all 0.35s ease;
}

.cta-content .btn-cta:hover {
  background-color: #1f3d2b;
  transform: translateY(-3px);
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  .cta-section {
    padding: 90px 0;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-content p {
    font-size: 0.95rem;
  }
}

/* =========================
   SUBMENU (DROPDOWN)
========================= */

.main-navigation ul li {
  position: relative;
}

/* SUB MENU UL */
.main-navigation ul li ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  background-color: #ffffff;
  border: 1px solid #d7e2d8;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 999;
}

/* SHOW ON HOVER */
.main-navigation ul li:hover > ul.sub-menu {
  opacity: 1;
  visibility: visible;
}

/* SUB MENU ITEM */
.main-navigation ul.sub-menu li {
  padding: 10px 20px;
  text-align: center;
}

/* SUB MENU LINK */
.main-navigation ul.sub-menu li a {
  font-size: 14px;
  letter-spacing: 1.5px;
  color: #4f7c63;
  font-weight: 500;
  text-transform: uppercase;
}

/* HOVER SUB ITEM */
.main-navigation ul.sub-menu li:hover {
  background-color: #f4f7f5;
}

.main-navigation ul.sub-menu li:hover a {
  color: #1f3d2b;
}

/* =========================================================
   SOUVENIR MINI SLIDER
========================================================= */
.souvenir-slider {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  overflow-x: auto;
  padding-bottom: 10px;

  scrollbar-width: none; /* Firefox */
}
.souvenir-slider::-webkit-scrollbar {
  display: none; /* Chrome */
}

/* ITEM */
.souvenir-item {
  flex: 0 0 auto;
  width: 110px;
  text-align: center;
  color: var(--green-dark);
}

/* IMAGE */
.souvenir-item img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

/* HOVER EFFECT */
.souvenir-item:hover img {
  transform: scale(1.12);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
}

/* TITLE */
.souvenir-item span {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* =========================================================
   SINGLE TOUR PAGE
========================================================= */

.single-tour-hero {
  padding: 80px 0 120px;
}

.single-tour-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 64px;
  align-items: start;
}

/* LEFT COLUMN */
.tour-image-wrap {
  display: flex;
  flex-direction: column;
}

.tour-image {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
}

.tour-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* RIGHT COLUMN */
.tour-info-box {
  display: flex;
  flex-direction: column;
}

.tour-title {
  font-size: 2.6rem;
  margin-bottom: 28px;
}

.tour-description {
  margin-bottom: 40px;
  line-height: 1.7;
  color: #333;
}

/* BUTTON */
.tour-wa {
  display: inline-block;
  background-color: #25d366;
  color: #ffffff;
  padding: 16px 36px;
  border-radius: 40px;
  font-weight: 600;
  width: fit-content;
}

/* MOBILE */
@media (max-width: 900px) {
  .single-tour-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tour-title {
    font-size: 2.1rem;
  }
}

/* ==========================
   FLOATING DOT NAV
   HOMEPAGE ONLY
========================== */

/* DEFAULT: SEMBUNYIKAN DI SEMUA HALAMAN */
.dot-nav {
  display: none;
}

/* MUNCUL HANYA DI HOMEPAGE */
body.home .dot-nav {
  position: fixed;
  right: 36px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;

  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* DOT BASE */
.dot-nav .dot {
  position: relative;
  width: 16px;
  height: 16px;
  border-radius: 50%;

  background-color: #ffffff;
  border: 2px solid #4f7c63;

  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* HOVER */
.dot-nav .dot:hover {
  transform: scale(1.4);
  box-shadow: 0 0 0 4px rgba(79, 124, 99, 0.25);
}

/* ACTIVE */
.dot-nav .dot.active {
  transform: scale(1.6);
  border-color: #1f3d2b;
  box-shadow: 0 0 0 6px rgba(31, 61, 43, 0.25);
}

/* MOBILE HIDE */
@media (max-width: 768px) {
  body.home .dot-nav {
    display: none;
  }
}

/* =========================
   DEFAULT PAGE CARD STYLE
========================= */

.page-wrapper {
  padding: 60px 50px; /* spasi kiri kanan 50px */
  display: flex;
  justify-content: center;
}

.page-card {
  width: 100%;
  max-width: 900px;
  background: #ffffff;
  border-radius: 20px;
  padding: 50px 50px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);

  font-family: "Montserrat", sans-serif;
  line-height: 1.8;
  color: #2e3b34;
}

/* Typography inside content */
.page-card h1,
.page-card h2,
.page-card h3 {
  font-family: "Playfair Display", serif;
  color: #2e3b34;
  margin-bottom: 20px;
}

.page-card h1 {
  font-size: 2.2rem;
}

.page-card h2 {
  font-size: 1.6rem;
  margin-top: 40px;
}

.page-card p {
  margin-bottom: 18px;
  font-size: 1rem;
}

/* MOBILE TWEAK */
@media (max-width: 768px) {
  .page-wrapper {
    padding: 40px 16px; /* mobile jangan terlalu lebar */
  }

  .page-card {
    padding: 32px 22px;
    border-radius: 16px;
  }

  .page-card h1 {
    font-size: 1.8rem;
  }
}

/* =========================================================
   TOUR ARCHIVE PAGE
========================================================= */

.tour-archive-hero {
  padding: 80px 0 120px;
}

/* HEADER */
.archive-header {
  max-width: 720px;
  margin-bottom: 64px;
}

.archive-title {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.archive-subtitle {
  color: #555;
  font-size: 1.05rem;
  font-weight: 600;
}

/* GRID */
.tour-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* CARD */
.tour-card {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 24px;
  background: #ffffff;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.tour-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.12);
}

/* CONTENT */
.tour-card-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.tour-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 1rem;
}

.tour-rating small {
  font-size: 0.8rem;
  color: #666;
  font-weight: 600;
}

.tour-card-excerpt {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 18px;
}

.tour-card-link {
  font-weight: 600;
  color: #3f6b55;
  text-decoration: none;
}

.tour-card-link:hover {
  text-decoration: underline;
}

.book-tour-btn {
  background: #ffd700;
  color: #2c2c2c;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 12px;
  transition: background 0.3s ease;
}

.book-tour-btn:hover {
  background: #ffed4e;
}

/* IMAGE */
.tour-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* PAGINATION */
.tour-pagination {
  margin-top: 60px;
  text-align: center;
}

/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 900px) {
  .tour-card-grid {
    grid-template-columns: 1fr;
  }

  .tour-card {
    grid-template-columns: 1fr;
  }

  .tour-card-image {
    order: -1;
  }
}

.tour-pagination .page-numbers {
  display: inline-block;
  margin: 0 6px;
  padding: 10px 16px;
  border-radius: 12px;
  background: #f1f3f2;
  color: #2e3b34;
  font-weight: 600;
  text-decoration: none;
}

.tour-pagination .page-numbers.current {
  background: #3f6b55;
  color: #ffffff;
}

.tour-pagination .page-numbers:hover {
  background: #3f6b55;
  color: #ffffff;
}
