/* Eduwisata Mencrang — design tokens */
:root {
  --green: #2f7a52;
  --green-dark: #246342;
  --green-deep: #1e4f36;
  --green-soft: #e8f2ec;
  --green-muted: #5a8f6e;
  --green-text: #3d6b4f;
  --ink: #1a1f1c;
  --ink-soft: #5c6b62;
  --line: #e4ebe6;
  --surface: #ffffff;
  --surface-alt: #f7faf8;
  --footer: #1c2420;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 1.75rem;
  --shadow: 0 12px 40px rgba(28, 36, 32, 0.12);
  --container: 72rem;
  --header-h: 4.25rem;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .container {
    width: min(100% - 3.5rem, var(--container));
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.25rem;
  border-radius: 0.65rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(47, 122, 82, 0.28);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-maps {
  background: var(--green);
  color: #fff;
  padding: 0.7rem 1.15rem;
}

/* Section chrome */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.tag span {
  color: var(--green-muted);
  font-weight: 700;
}

.section {
  padding: 3.5rem 0;
}

@media (min-width: 900px) {
  .section {
    padding: 5rem 0;
  }
}

.section-title {
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 36rem;
}

.section-lead {
  margin-top: 1rem;
  color: var(--green-text);
  font-size: 1rem;
  max-width: 36rem;
}

.section-lead strong {
  color: var(--green-deep);
  font-weight: 700;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 110;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(28, 36, 32, 0.06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  z-index: 2;
}

.brand img {
  width: 4.375rem;
  height: 4.375rem;
  object-fit: contain;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav-desktop a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav-desktop a:hover {
  color: var(--green);
}

.header-cta {
  display: none;
}

.menu-toggle {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 0.5rem;
  z-index: 110;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: background 0.2s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}

.menu-toggle span::before {
  top: -6px;
}
.menu-toggle span::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}
.menu-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 24, 20, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 95;
}

.nav-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-mobile {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(18.5rem, 82vw);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0.35rem;
  padding: calc(var(--header-h) + 1.25rem) 1.35rem 2rem;
  box-shadow: -12px 0 40px rgba(28, 36, 32, 0.14);
  transform: translateX(105%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s var(--ease), visibility 0.35s ease;
  z-index: 105;
  overflow-y: auto;
}

.nav-mobile.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.nav-mobile a:not(.btn) {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--green-deep);
  padding: 0.85rem 0.75rem;
  border-radius: 0.65rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-mobile a:not(.btn):hover {
  background: var(--green-soft);
}

.nav-mobile .btn {
  margin-top: 1rem;
  width: 100%;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }
  .header-cta {
    display: inline-flex;
  }
  .menu-toggle {
    display: none;
  }
  .nav-mobile,
  .nav-backdrop {
    display: none;
  }
}

/* Hero */
.hero-wrap {
  padding: 0.75rem 0 2rem;
}

.hero {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  isolation: isolate;
  background: #1c2420;
  display: flex;
  align-items: flex-end;
  min-height: min(72vh, 38rem);
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 1.75rem 1.25rem 1.5rem;
  display: grid;
  gap: 1.5rem;
  color: #fff;
}

.hero-copy h1 {
  font-size: clamp(1.65rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin-bottom: 0.85rem;
  text-wrap: balance;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.hero-copy p {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: rgba(255, 255, 255, 0.95);
  max-width: 38ch;
  margin-bottom: 1.25rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  background: rgba(28, 36, 32, 0.55);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 0.85rem 0.65rem;
}

.stat {
  text-align: center;
  padding: 0.25rem;
}

.stat-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  font-weight: 700;
  font-size: 1.05rem;
}

.stat-top svg {
  width: 0.95rem;
  height: 0.95rem;
  opacity: 0.95;
}

.stat-label {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.62rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.75);
}

@media (min-width: 768px) {
  .hero-content {
    padding: 2.5rem 2.5rem 2rem;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 2rem;
  }

  .hero-stats {
    min-width: 22rem;
    padding: 1.1rem 1.25rem;
    gap: 1rem;
  }

  .stat-label {
    font-size: 0.72rem;
  }

  .stat-top {
    font-size: 1.2rem;
  }
}

@media (min-width: 1100px) {
  .hero {
    min-height: 36rem;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* About */
.about-grid {
  display: grid;
  gap: 1.75rem;
}

.video-placeholder {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #2a3330, #1a211e);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  text-align: center;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.video-placeholder::before {
  content: "";
  position: absolute;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
}

.video-placeholder span {
  position: relative;
  z-index: 1;
  max-width: 16ch;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr 1.15fr;
    align-items: start;
    gap: 3rem;
  }

  .about-copy .section-title {
    max-width: 16ch;
  }
}

/* Kasgot */
.kasgot-grid {
  display: grid;
  gap: 2rem;
}

.kasgot-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.kasgot-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.kasgot-copy .section-title {
  text-transform: none;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
}

.kasgot-copy .section-title em {
  font-style: normal;
  font-weight: 800;
}

@media (min-width: 900px) {
  .kasgot-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3.5rem;
  }

  /* Photos left, copy right — without breaking mobile DOM order */
  .kasgot-photos {
    order: -1;
  }
}

/* Activities */
.activities-head {
  margin-bottom: 2rem;
}

.activities-grid {
  display: grid;
  gap: 1.75rem;
}

.activity-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform 0.5s var(--ease);
}

.activity-card:hover img {
  transform: scale(1.02);
}

.activity-card {
  overflow: hidden;
}

.activity-card h3 {
  margin-top: 0.9rem;
  font-size: 1.1rem;
  color: var(--green-deep);
  font-weight: 700;
}

.activity-card p {
  margin-top: 0.4rem;
  font-size: 0.92rem;
  color: var(--green-text);
}

.activity-card p strong {
  color: var(--green-deep);
  font-weight: 700;
}

@media (min-width: 700px) {
  .activities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 1.5rem;
  }
}

@media (min-width: 1000px) {
  .activities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Paket + Fasilitas */
.split-section {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .split-section {
    grid-template-columns: 1.05fr 1fr;
    gap: 2rem;
    align-items: start;
  }
}

.price-card {
  position: relative;
  background: var(--green);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 1.5rem;
  min-height: 16rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.price-card::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -20%;
  width: 55%;
  height: 90%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.12),
    transparent 70%
  );
  pointer-events: none;
}

.price-card-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: end;
}

.price-text .eyebrow {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.9;
}

.price-text .amount {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0.25rem 0 0.5rem;
}

.price-text .note {
  font-size: 0.8rem;
  opacity: 0.85;
}

.price-card .staff {
  width: clamp(11rem, 42vw, 16rem);
  height: auto;
  max-height: 115%;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
  align-self: end;
  margin-right: -0.5rem;
  margin-bottom: -0.75rem;
}

.price-card .btn {
  position: relative;
  z-index: 1;
  align-self: start;
}

.facilities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.facility-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: var(--surface);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.facility-card:hover {
  border-color: #c5d9cc;
  box-shadow: 0 6px 20px rgba(47, 122, 82, 0.08);
}

.facility-card svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--green);
  margin-bottom: 0.65rem;
}

.facility-card h3 {
  font-size: 0.95rem;
  color: var(--green-deep);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.facility-card p {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* Reservasi + Lokasi */
.guide-grid {
  display: grid;
  gap: 0.75rem;
}

.step-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--surface);
  transition: transform 0.25s var(--ease), border-color 0.25s ease;
}

.step-card:hover {
  transform: translateX(4px);
  border-color: #c5d9cc;
}

.step-card h3 {
  font-size: 0.98rem;
  color: var(--green-deep);
  font-weight: 700;
}

.step-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  opacity: 0.9;
}

@media (min-width: 700px) {
  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .guide-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .step-card {
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    min-height: 7.5rem;
  }

  .step-num {
    align-self: flex-end;
  }
}

.location-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--surface-alt);
  height: 100%;
}

.location-card h3 {
  font-size: 1.15rem;
  color: var(--green-deep);
  font-weight: 700;
}

.location-card p {
  margin-top: 0.5rem;
  color: var(--green-text);
  font-size: 0.95rem;
}

.location-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* Footer */
.site-footer {
  background: var(--footer);
  color: rgba(255, 255, 255, 0.88);
  padding: 3.5rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-grid h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-grid p,
.footer-grid a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.footer-grid a:hover {
  color: #fff;
}

.contact-list {
  display: grid;
  gap: 0.65rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.contact-list svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  opacity: 0.85;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 3rem;
  }
}

/* Utility */
.mt-btn {
  margin-top: 1.35rem;
}

body.menu-open {
  overflow: hidden;
}
