:root {
  --cocoa: #35251b;
  --dark: #1d120d;
  --terracotta: #b84f2f;
  --cream: #f2e7d3;
  --paper: #f8f1e5;
  --gold: #d69b2d;
  --olive: #657044;
  --ink: #2b211a;
  --muted: #705f50;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: #fff8eb;
  background: var(--dark);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(29, 18, 13, 0.96) 0%,
      rgba(53, 37, 27, 0.78) 35%,
      rgba(53, 37, 27, 0.25) 70%,
      rgba(20, 12, 7, 0.12) 100%
    ),
    linear-gradient(
      0deg,
      rgba(21, 13, 8, 0.35),
      transparent 50%
    );
}
.hero::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  width: 52px;
  opacity: .23;
  background:
    linear-gradient(90deg, rgba(214,155,45,.3), transparent),
    repeating-linear-gradient(45deg, transparent 0 13px, rgba(242,231,211,.18) 14px 15px);
}

.navbar {
  position: relative;
  z-index: 10;
  height: 102px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,248,235,.16);
}
.logo {
  display: flex;
  align-items: center;
  gap: 13px;
  font: 500 clamp(1.3rem, 2vw, 1.8rem)/1 Georgia, serif;
}
.logo-icon { color: var(--gold); font-size: 1.55em; }
.nav-links { display: flex; align-items: center; gap: 42px; }
.nav-links a {
  position: relative;
  padding: 12px 0;
  color: rgba(255,248,235,.8);
  font-size: .94rem;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 2px;
  background: var(--gold);
  transition: right .2s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a:hover, .nav-links a.active { color: white; }
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.3);
  background: transparent;
  cursor: pointer;
}
.menu-button span {
  display: block;
  width: 20px;
  height: 1px;
  margin: 5px auto;
  background: white;
}

.hero-content {
  position: relative;
  z-index: 4;
  padding: clamp(70px, 8vh, 110px) 0 110px;
}
.eyebrow { margin: 0 0 24px; color: var(--gold); letter-spacing: .06em; }
.eyebrow span { margin-inline: 7px; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(4rem, 7.1vw, 7.1rem);
  line-height: .93;
  letter-spacing: -.052em;
}
.ornament {
  width: 260px;
  margin: 26px 0 18px;
  display: flex;
  color: var(--gold);
  font-size: .7rem;
}
.ornament::after {
  content: "";
  flex: 1;
  height: 1px;
  margin: 6px 0 0 -3px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.hero-description {
  max-width: 470px;
  margin: 0 0 28px;
  color: rgba(255,248,235,.83);
  font-size: 1.12rem;
  line-height: 1.75;
}
.main-button {
  width: fit-content;
  min-width: 226px;
  height: 64px;
  padding-inline: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: white;
  background: var(--terracotta);
  border-radius: 7px;
  box-shadow: 0 10px 30px rgba(59,24,12,.25);
  transition: transform .2s ease, background .2s ease;
}
.main-button:hover { transform: translateY(-2px); background: #c75a37; }
.main-button span { font-size: 1.35rem; }
.photo-note {
  position: absolute;
  z-index: 4;
  right: 92px;
  bottom: 30px;
  margin: 0;
  color: rgba(255,255,255,.58);
  font-size: .7rem;
  letter-spacing: .08em;
}
.scroll-down {
  position: absolute;
  z-index: 5;
  right: 40px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,.7);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.scroll-down b { animation: bounce 1.8s infinite; }

.section { padding: 118px 0; }
.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 44px;
  color: var(--terracotta);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.section-label span { color: #a39180; }
.section-label::after { content: ""; width: 48px; height: 1px; background: currentColor; opacity: .6; }
.section-label.light { color: var(--gold); }
.section-label.light span { color: rgba(255,255,255,.45); }

.about { background: radial-gradient(circle at 100% 0, rgba(214,155,45,.08), transparent 28%), var(--paper); }
.about-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(50px, 9vw, 130px); }
.about h2, .gallery h2, .location h2, .culture-heading h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.about-text p { color: var(--muted); line-height: 1.85; }
.about-text .lead { margin-top: 0; color: var(--ink); font-size: 1.18rem; }
.text-link {
  display: inline-flex;
  gap: 14px;
  margin-top: 20px;
  padding-bottom: 6px;
  color: var(--terracotta);
  font-weight: 650;
  border-bottom: 1px solid;
}

.culture {
  color: var(--cream);
  background:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px),
    var(--cocoa);
  background-size: 42px 42px;
}
.culture-heading { display: grid; grid-template-columns: 1fr 1.2fr .8fr; gap: 40px; align-items: end; }
.culture-heading .section-label { align-self: start; }
.culture-heading > p { margin: 0; color: rgba(242,231,211,.65); line-height: 1.75; }
.culture-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid rgba(242,231,211,.17);
}
.culture-card {
  min-height: 430px;
  padding: 36px 34px;
  border-right: 1px solid rgba(242,231,211,.17);
  transition: background .2s ease, transform .2s ease;
}
.culture-card:first-child { border-left: 1px solid rgba(242,231,211,.17); }
.culture-card:hover { background: rgba(214,155,45,.08); transform: translateY(-5px); }
.card-number { color: rgba(242,231,211,.43); font-size: .7rem; letter-spacing: .14em; }
.card-icon { display: block; margin: 62px 0 28px; color: var(--gold); font-size: 2.1rem; }
.culture-card h3 { margin: 0 0 18px; font-size: 1.75rem; }
.culture-card p { min-height: 105px; color: rgba(242,231,211,.66); line-height: 1.72; }
.culture-card a { display: inline-flex; gap: 10px; margin-top: 18px; color: var(--gold); font-size: .86rem; }

.gallery { background: var(--cream); }
.gallery-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; }
.gallery-heading > p { margin: 0 0 10px; max-width: 500px; color: var(--muted); line-height: 1.8; }
.gallery-grid { margin-top: 62px; display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 18px; }
.gallery-item {
  position: relative;
  min-height: 440px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  isolation: isolate;
  color: white;
  background-size: cover;
  background-position: center;
}
.gallery-item::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, rgba(27,17,11,.92), rgba(27,17,11,.05) 70%);
}
.gallery-photo { background-image: url("assets/hero-bukaan.png"); }
.gallery-red { background: linear-gradient(145deg, #aa4c30, #43271b 70%); }
.gallery-green { background: linear-gradient(145deg, #778251, #263321 70%); }
.gallery-item > span { color: rgba(255,255,255,.7); font-size: .72rem; }
.gallery-item h3 { margin: 0; font-size: 2rem; }
.gallery-item p { margin: 8px 0 0; color: rgba(255,255,255,.68); font-size: .78rem; }

.location-box {
  padding: clamp(44px, 7vw, 90px);
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 60px;
  color: var(--cream);
  background: radial-gradient(circle at 80% 0, rgba(214,155,45,.13), transparent 30%), var(--dark);
}
.address { align-self: end; padding-left: 38px; border-left: 1px solid rgba(242,231,211,.25); }
.address strong { font-size: 1.15rem; }
.address p { margin: 9px 0 0; color: rgba(242,231,211,.68); }
.address a { display: inline-flex; gap: 12px; margin-top: 24px; color: var(--gold); }

footer { padding: 70px 0 32px; color: var(--cream); background: #170f0b; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 60px; }
.footer-brand { display: flex; gap: 14px; }
.footer-brand strong { font: 400 1.6rem Georgia, serif; }
.footer-brand p, .footer-info p { margin: 8px 0 0; color: rgba(242,231,211,.53); font-size: .78rem; }
.back-top { color: var(--gold); font-size: .82rem; }
.copyright {
  grid-column: 1 / -1;
  margin-top: 24px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  color: rgba(242,231,211,.37);
  border-top: 1px solid rgba(242,231,211,.12);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.reveal { animation: reveal .8s ease-out both; }
.reveal-on-scroll { opacity: 0; transform: translateY(25px); }
.reveal-on-scroll.visible { opacity: 1; transform: translateY(0); transition: opacity .65s ease, transform .65s ease; }
@keyframes reveal { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slowZoom { from { transform: scale(1.06); } to { transform: scale(1.01); } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

@media (max-width: 900px) {
  .container { width: calc(100% - 48px); }
  .menu-button { display: block; }
  .nav-links {
    position: absolute;
    top: 82px;
    right: 0;
    width: 220px;
    padding: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: rgba(29,18,13,.98);
    border: 1px solid rgba(255,255,255,.14);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .navbar { height: 82px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(29,18,13,.94), rgba(29,18,13,.42)), linear-gradient(0deg, rgba(21,13,8,.55), transparent); }
  h1 { font-size: clamp(3.7rem, 13vw, 6rem); }
  .section { padding: 90px 0; }
  .about-grid, .culture-heading, .gallery-heading, .location-box { grid-template-columns: 1fr; }
  .culture-grid { grid-template-columns: 1fr; }
  .culture-card, .culture-card:first-child { min-height: 320px; border-left: 1px solid rgba(242,231,211,.17); border-bottom: 1px solid rgba(242,231,211,.17); }
  .card-icon { margin: 35px 0 20px; }
  .culture-card p { min-height: auto; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:first-child { grid-column: 1 / -1; }
  .location-box { padding: 54px 34px; }
  .address { padding: 32px 0 0; border-left: 0; border-top: 1px solid rgba(242,231,211,.25); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 36px); }
  .logo { font-size: 1.25rem; }
  .hero-content { padding-top: 72px; padding-bottom: 100px; }
  h1 { font-size: clamp(3.15rem, 15vw, 4.7rem); }
  .hero-description { max-width: 360px; font-size: 1rem; }
  .photo-note { display: none; }
  .scroll-down { right: 18px; }
  .about h2, .culture-heading h2, .gallery h2, .location h2 { font-size: 2.75rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: auto; }
  .gallery-item { min-height: 340px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .copyright { flex-direction: column; gap: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ========================================
   TRADISI ENTAS-ENTAS
======================================== */

.entas-section {
  color: var(--cream);
  background:
    radial-gradient(
      circle at 85% 10%,
      rgba(214, 155, 45, 0.12),
      transparent 28%
    ),
    var(--cocoa);
}

.entas-heading {
  max-width: 850px;
  margin-bottom: 64px;
}

.entas-badge {
  display: inline-block;
  margin-bottom: 22px;
  padding: 8px 14px;
  color: var(--gold);
  border: 1px solid rgba(214, 155, 45, 0.45);
  border-radius: 30px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.entas-heading h2 {
  margin: 0;
  color: var(--cream);
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.entas-introduction {
  max-width: 680px;
  margin: 25px 0 0;
  color: rgba(242, 231, 211, 0.7);
  font-size: 1.1rem;
  line-height: 1.8;
}

.entas-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 90px);
  align-items: start;
}

.entas-main-photo {
  position: sticky;
  top: 30px;
  margin: 0;
}

.entas-main-photo img {
  width: 100%;
  height: 590px;
  display: block;
  object-fit: cover;
  border-radius: 4px;
}

.entas-main-photo figcaption,
.entas-gallery figcaption {
  margin-top: 12px;
  color: rgba(242, 231, 211, 0.52);
  font-size: 0.75rem;
  line-height: 1.5;
}

.entas-description h3 {
  margin: 0 0 24px;
  color: var(--cream);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
}

.entas-description > p {
  margin: 0 0 20px;
  color: rgba(242, 231, 211, 0.7);
  line-height: 1.85;
}

.entas-facts {
  margin-top: 38px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(242, 231, 211, 0.16);
  border-left: 1px solid rgba(242, 231, 211, 0.16);
}

.entas-facts article {
  min-height: 115px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-right: 1px solid rgba(242, 231, 211, 0.16);
  border-bottom: 1px solid rgba(242, 231, 211, 0.16);
}

.entas-facts span {
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.entas-facts strong {
  color: var(--cream);
  font-size: 0.92rem;
  line-height: 1.5;
}

.entas-etiquette {
  margin-top: 32px;
  padding: 24px;
  display: flex;
  gap: 18px;
  background: rgba(214, 155, 45, 0.08);
  border-left: 3px solid var(--gold);
}

.entas-etiquette-icon {
  color: var(--gold);
  font-size: 1.5rem;
}

.entas-etiquette h4 {
  margin: 0 0 8px;
  color: var(--cream);
  font: 400 1.25rem Georgia, serif;
}

.entas-etiquette p {
  margin: 0;
  color: rgba(242, 231, 211, 0.65);
  font-size: 0.88rem;
  line-height: 1.7;
}

.entas-subheading {
  margin: 115px 0 45px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: end;
}

.entas-subheading span {
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.entas-subheading h3 {
  margin: 12px 0 0;
  color: var(--cream);
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.05;
}

.entas-subheading p {
  margin: 0;
  color: rgba(242, 231, 211, 0.62);
  line-height: 1.75;
}

.entas-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.entas-gallery figure {
  margin: 0;
}

.entas-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
}

.entas-videos {
  margin-top: 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.entas-videos article {
  overflow: hidden;
  background: var(--dark);
  border: 1px solid rgba(242, 231, 211, 0.14);
}

.entas-videos video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  background: #000;
}

.entas-videos article > div {
  padding: 20px 22px;
}

.entas-videos span {
  color: var(--gold);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.entas-videos h4 {
  margin: 7px 0 0;
  color: var(--cream);
  font: 400 1.4rem Georgia, serif;
}

.entas-source {
  margin-top: 65px;
  padding-top: 26px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 35px;
  border-top: 1px solid rgba(242, 231, 211, 0.16);
}

.entas-source span {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.entas-source p {
  margin: 0;
  max-width: 780px;
  color: rgba(242, 231, 211, 0.58);
  font-size: 0.82rem;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .entas-feature {
    grid-template-columns: 1fr;
  }

  .entas-main-photo {
    position: static;
  }

  .entas-main-photo img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .entas-subheading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .entas-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .entas-gallery figure:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .entas-facts,
  .entas-gallery,
  .entas-videos,
  .entas-source {
    grid-template-columns: 1fr;
  }

  .entas-gallery figure:first-child {
    grid-column: auto;
  }

  .entas-source {
    gap: 12px;
  }
}
/* =================================
   CAMPURSARI
================================= */

.campursari-section {
    padding: 110px 0;
    background:
        linear-gradient(rgba(53, 37, 27, 0.03), rgba(53, 37, 27, 0.03)),
        #f2e7d3;
    color: #35251b;
}

.campursari-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 45px;
}

.campursari-heading h2 {
    max-width: 750px;
    margin: 10px 0 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.7rem, 6vw, 5.5rem);
    font-weight: 600;
    line-height: 0.95;
}

.campursari-heading .section-label {
    color: #a84f32;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.campursari-date {
    padding: 12px 20px;
    border: 1px solid rgba(53, 37, 27, 0.25);
    border-radius: 100px;
    white-space: nowrap;
}

.campursari-hero {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    min-height: 560px;
    overflow: hidden;
    background: #35251b;
}

.campursari-hero > img {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
}

.campursari-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(35px, 6vw, 75px);
    color: #f2e7d3;
}

.campursari-category {
    width: fit-content;
    margin-bottom: 22px;
    padding: 8px 14px;
    border: 1px solid rgba(242, 231, 211, 0.35);
    border-radius: 100px;
    color: #c7953e;
    font-size: 0.75rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.campursari-intro h3 {
    margin: 0 0 24px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1;
}

.campursari-intro p {
    margin: 0 0 16px;
    color: rgba(242, 231, 211, 0.8);
    line-height: 1.8;
}

.campursari-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 30px;
    border-top: 1px solid rgba(53, 37, 27, 0.18);
    border-left: 1px solid rgba(53, 37, 27, 0.18);
}

.campursari-card {
    padding: 32px 25px;
    border-right: 1px solid rgba(53, 37, 27, 0.18);
    border-bottom: 1px solid rgba(53, 37, 27, 0.18);
}

.campursari-card > span {
    color: #a84f32;
    font-size: 0.8rem;
    font-weight: 700;
}

.campursari-card h3 {
    margin: 18px 0 12px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.6rem;
}

.campursari-card p {
    margin: 0;
    color: #6e5c4f;
    line-height: 1.7;
}

.campursari-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin: 90px 0;
}

.campursari-info h3 {
    margin-top: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2.3rem;
}

.campursari-info dl {
    margin: 0;
}

.campursari-info dl > div {
    display: grid;
    grid-template-columns: 145px 1fr;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(53, 37, 27, 0.16);
}

.campursari-info dt {
    color: #a84f32;
    font-weight: 700;
}

.campursari-info dd {
    margin: 0;
    line-height: 1.6;
}

.campursari-kkn {
    padding: 45px;
    background: #657044;
    color: #fff8ed;
}

.campursari-kkn > span {
    color: #efd08c;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.campursari-kkn p {
    color: rgba(255, 248, 237, 0.82);
    line-height: 1.8;
}

.campursari-kkn .campursari-warning {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    font-weight: 600;
}

.campursari-gallery {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    grid-template-rows: repeat(2, 310px);
    gap: 18px;
}

.campursari-photo {
    position: relative;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    background: #35251b;
}

.campursari-photo-large {
    grid-row: 1 / 3;
}

.campursari-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.campursari-photo:hover img {
    transform: scale(1.035);
}

.campursari-photo figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 35px 22px 18px;
    color: white;
    background: linear-gradient(transparent, rgba(23, 15, 10, 0.85));
    font-size: 0.9rem;
}

.campursari-video {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 45px;
    align-items: center;
    margin-top: 80px;
    padding: 55px;
    background: #35251b;
    color: #f2e7d3;
}

.campursari-video-text > span {
    color: #c7953e;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.campursari-video-text h3 {
    margin: 14px 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2.4rem;
    line-height: 1;
}

.campursari-video-text p {
    color: rgba(242, 231, 211, 0.75);
    line-height: 1.8;
}

.campursari-video video {
    display: block;
    width: 100%;
    max-height: 520px;
    background: #000;
}

.campursari-source {
    margin-top: 35px;
    padding: 20px 0;
    border-top: 1px solid rgba(53, 37, 27, 0.2);
    border-bottom: 1px solid rgba(53, 37, 27, 0.2);
    color: #6e5c4f;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* RESPONSIVE CAMPURSARI */

@media (max-width: 950px) {
    .campursari-hero,
    .campursari-info,
    .campursari-video {
        grid-template-columns: 1fr;
    }

    .campursari-details {
        grid-template-columns: repeat(2, 1fr);
    }

    .campursari-hero > img {
        min-height: 420px;
    }
}

@media (max-width: 650px) {
    .campursari-section {
        padding: 75px 0;
    }

    .campursari-heading {
        align-items: start;
        flex-direction: column;
    }

    .campursari-details {
        grid-template-columns: 1fr;
    }

    .campursari-info {
        gap: 30px;
        margin: 60px 0;
    }

    .campursari-info dl > div {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .campursari-kkn,
    .campursari-video {
        padding: 28px 22px;
    }

    .campursari-gallery {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .campursari-photo,
    .campursari-photo-large {
        grid-row: auto;
        height: 280px;
    }
}

/* =====================================
   KARNAVAL HOREG
===================================== */

.karnaval-section {
    padding: 110px 0;
    overflow: hidden;
    background: #e9dcc5;
    color: #35251b;
}

.karnaval-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 45px;
}

.karnaval-label {
    color: #a84f32;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.karnaval-heading h2 {
    max-width: 800px;
    margin: 12px 0 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(3rem, 6vw, 5.8rem);
    font-weight: 600;
    line-height: 0.95;
}

.karnaval-date {
    padding: 12px 20px;
    border: 1px solid rgba(53, 37, 27, 0.28);
    border-radius: 100px;
    white-space: nowrap;
}

.karnaval-main {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    min-height: 650px;
    background: #35251b;
}

.karnaval-cover {
    position: relative;
    min-height: 650px;
    margin: 0;
    overflow: hidden;
}

.karnaval-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.karnaval-cover figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 60px 25px 22px;
    color: #fff;
    background: linear-gradient(transparent, rgba(20, 12, 8, 0.9));
}

.karnaval-introduction {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(35px, 6vw, 75px);
    color: #f2e7d3;
}

.karnaval-type {
    width: fit-content;
    margin-bottom: 22px;
    padding: 8px 15px;
    border: 1px solid rgba(242, 231, 211, 0.3);
    border-radius: 100px;
    color: #c7953e;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.karnaval-introduction h3 {
    margin: 0 0 24px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    line-height: 1;
}

.karnaval-introduction p {
    margin: 0 0 17px;
    color: rgba(242, 231, 211, 0.8);
    line-height: 1.8;
}

.karnaval-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 30px;
    border-top: 1px solid rgba(53, 37, 27, 0.2);
    border-left: 1px solid rgba(53, 37, 27, 0.2);
}

.karnaval-fact {
    padding: 32px 25px;
    border-right: 1px solid rgba(53, 37, 27, 0.2);
    border-bottom: 1px solid rgba(53, 37, 27, 0.2);
}

.karnaval-fact > span {
    color: #a84f32;
    font-size: 0.8rem;
    font-weight: 700;
}

.karnaval-fact h3 {
    margin: 18px 0 12px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.6rem;
}

.karnaval-fact p {
    margin: 0;
    color: #6e5c4f;
    line-height: 1.7;
}

.karnaval-route {
    margin: 90px 0;
    padding: clamp(30px, 6vw, 65px);
    background: #657044;
    color: #fff8ed;
}

.karnaval-route-title {
    max-width: 750px;
}

.karnaval-route-title > span,
.karnaval-values-text > span,
.karnaval-safety > span,
.karnaval-kkn span {
    color: #efd08c;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.karnaval-route h3 {
    margin: 13px 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1;
}

.karnaval-route p {
    color: rgba(255, 248, 237, 0.78);
    line-height: 1.8;
}

.route-line {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto;
    align-items: center;
    margin-top: 45px;
}

.route-point {
    display: flex;
    align-items: center;
    gap: 15px;
}

.route-number {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    color: #efd08c;
}

.route-point small,
.route-point strong {
    display: block;
}

.route-point small {
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.65);
}

.route-connector {
    height: 1px;
    margin: 0 20px;
    background: rgba(255, 255, 255, 0.35);
}

.karnaval-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    margin-bottom: 90px;
}

.karnaval-values-text,
.karnaval-safety {
    padding: clamp(30px, 5vw, 55px);
}

.karnaval-values-text {
    background: #a84f32;
    color: #fff8ed;
}

.karnaval-safety {
    border: 1px solid rgba(53, 37, 27, 0.25);
}

.karnaval-values h3 {
    margin: 14px 0 20px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2.5rem;
    line-height: 1;
}

.karnaval-values-text p {
    color: rgba(255, 248, 237, 0.82);
    line-height: 1.8;
}

.karnaval-safety > span {
    color: #a84f32;
}

.karnaval-safety ul {
    padding-left: 20px;
    line-height: 1.9;
}

.karnaval-safety-note {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(53, 37, 27, 0.2);
    color: #6e5c4f;
    font-size: 0.9rem;
    line-height: 1.7;
}

.karnaval-gallery {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    grid-template-rows: repeat(2, 330px);
    gap: 18px;
}

.karnaval-image {
    position: relative;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    background: #35251b;
}

.karnaval-image-large {
    grid-row: 1 / 3;
}

.karnaval-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.karnaval-image:hover img {
    transform: scale(1.035);
}

.karnaval-image figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 55px 22px 18px;
    color: white;
    background: linear-gradient(transparent, rgba(20, 12, 8, 0.9));
    font-size: 0.9rem;
}

.karnaval-kkn {
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    gap: 50px;
    align-items: center;
    margin-top: 70px;
    padding: 45px;
    background: #35251b;
    color: #f2e7d3;
}

.karnaval-kkn h3 {
    margin: 12px 0 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2.3rem;
    line-height: 1;
}

.karnaval-kkn p {
    margin: 0;
    color: rgba(242, 231, 211, 0.8);
    line-height: 1.8;
}

.karnaval-source {
    margin-top: 35px;
    padding: 20px 0;
    border-top: 1px solid rgba(53, 37, 27, 0.2);
    border-bottom: 1px solid rgba(53, 37, 27, 0.2);
    color: #6e5c4f;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* RESPONSIVE KARNAVAL */

@media (max-width: 950px) {
    .karnaval-main,
    .karnaval-values,
    .karnaval-kkn {
        grid-template-columns: 1fr;
    }

    .karnaval-facts {
        grid-template-columns: repeat(2, 1fr);
    }

    .route-line {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .route-connector {
        width: 1px;
        height: 35px;
        margin: 0 0 0 24px;
    }
}

@media (max-width: 650px) {
    .karnaval-section {
        padding: 75px 0;
    }

    .karnaval-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .karnaval-main,
    .karnaval-cover {
        min-height: auto;
    }

    .karnaval-cover {
        height: 520px;
    }

    .karnaval-facts {
        grid-template-columns: 1fr;
    }

    .karnaval-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .karnaval-image,
    .karnaval-image-large {
        grid-row: auto;
        height: 390px;
    }

    .karnaval-kkn {
        gap: 25px;
        padding: 30px 24px;
    }
}
/* ====================================
   TENTANG PROGRAM KKN
==================================== */

.about-kkn {
    padding: 110px 0;
    background: #f2e7d3;
    color: #35251b;
}

.about-kkn-heading {
    display: grid;
    grid-template-columns: 0.5fr 1.5fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 55px;
}

.about-kkn-heading .section-label {
    color: #a84f32;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.about-kkn-heading h2 {
    max-width: 850px;
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.8rem, 6vw, 5.6rem);
    font-weight: 600;
    line-height: 0.95;
}

.about-kkn-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.about-kkn-description,
.about-kkn-role {
    padding: clamp(30px, 5vw, 55px);
}

.about-kkn-description {
    border: 1px solid rgba(53, 37, 27, 0.2);
}

.about-kkn-role {
    background: #657044;
    color: #fff8ed;
}

.about-kkn-description h3,
.about-kkn-role h3 {
    margin-top: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2.3rem;
}

.about-kkn-description p {
    color: #6e5c4f;
    line-height: 1.8;
}

.about-kkn-role > span {
    color: #efd08c;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.about-kkn-role ul {
    margin: 25px 0 0;
    padding-left: 20px;
}

.about-kkn-role li {
    margin-bottom: 14px;
    color: rgba(255, 248, 237, 0.85);
    line-height: 1.6;
}

.about-kkn-information {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 25px;
    border-top: 1px solid rgba(53, 37, 27, 0.2);
    border-left: 1px solid rgba(53, 37, 27, 0.2);
}

.about-kkn-information > div {
    padding: 27px 24px;
    border-right: 1px solid rgba(53, 37, 27, 0.2);
    border-bottom: 1px solid rgba(53, 37, 27, 0.2);
}

.about-kkn-information small,
.about-kkn-information strong {
    display: block;
}

.about-kkn-information small {
    margin-bottom: 10px;
    color: #a84f32;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.about-kkn-information strong {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.5rem;
}

.verification-note {
    display: grid;
    grid-template-columns: 0.35fr 1.65fr;
    gap: 35px;
    margin-top: 45px;
    padding: 30px;
    background: #a84f32;
    color: white;
}

.verification-note span {
    color: #ffe0aa;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.verification-note p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}


/* ====================================
   FOOTER WEBSITE
==================================== */

.site-footer {
    padding: 75px 0 25px;
    background: #35251b;
    color: #f2e7d3;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 0.8fr;
    gap: 75px;
    padding-bottom: 55px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #f2e7d3;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
    text-decoration: none;
}

.footer-logo-icon {
    color: #c7953e;
}

.footer-identity p {
    max-width: 470px;
    color: rgba(242, 231, 211, 0.7);
    line-height: 1.8;
}

.footer-kkn {
    color: #c7953e;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-navigation,
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-navigation h3,
.footer-contact h3 {
    margin-top: 0;
    margin-bottom: 22px;
    color: #c7953e;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-navigation a,
.footer-contact a {
    margin-bottom: 13px;
    color: rgba(242, 231, 211, 0.75);
    text-decoration: none;
    transition: color 200ms ease;
}

.footer-navigation a:hover,
.footer-contact a:hover {
    color: #c7953e;
}

.footer-contact p {
    margin-top: 0;
    color: rgba(242, 231, 211, 0.75);
    line-height: 1.8;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-top: 22px;
    border-top: 1px solid rgba(242, 231, 211, 0.15);
}

.footer-bottom p {
    margin: 0;
    color: rgba(242, 231, 211, 0.5);
    font-size: 0.8rem;
}

.footer-bottom a {
    color: #c7953e;
    font-size: 0.8rem;
    text-decoration: none;
}


/* RESPONSIVE */

@media (max-width: 850px) {
    .about-kkn-heading,
    .about-kkn-content,
    .verification-note,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .about-kkn-information {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        gap: 45px;
    }
}

@media (max-width: 550px) {
    .about-kkn {
        padding: 75px 0;
    }

    .about-kkn-information {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* ===================================
   DROPDOWN NAVIGASI
=================================== */

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 0;
    border: none;
    color: inherit;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.dropdown-toggle span {
    font-size: 0.85rem;
    transition: transform 200ms ease;
}

.nav-dropdown:hover .dropdown-toggle span,
.nav-dropdown:focus-within .dropdown-toggle span,
.nav-dropdown.open .dropdown-toggle span {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    z-index: 100;

    display: flex;
    min-width: 210px;
    padding: 10px;
    flex-direction: column;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    background: rgba(53, 37, 27, 0.97);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translate(-50%, 10px);
    transition:
        opacity 200ms ease,
        visibility 200ms ease,
        transform 200ms ease;
}

.dropdown-menu a {
    width: 100%;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #f2e7d3;
    white-space: nowrap;
    text-decoration: none;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    color: #c7953e;
    background: rgba(255, 255, 255, 0.06);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

/* =========================================
   GALERI DOKUMENTASI
   ========================================= */

.gallery {
  padding: 100px 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 10% 15%,
      rgba(196, 139, 45, 0.12),
      transparent 28%
    ),
    linear-gradient(180deg, #f5ecd9 0%, #ead9bb 100%);
}

/* Judul galeri */

.gallery-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 32px;
}

.gallery-heading h2 {
  max-width: 760px;
  margin: 10px 0 0;
  color: #2e1c13;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
}

.gallery-heading > p {
  max-width: 520px;
  margin: 0;
  color: #6b5849;
  font-size: 1rem;
  line-height: 1.8;
}

/* Tombol filter */

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.gallery-filter {
  padding: 11px 20px;
  border: 1px solid rgba(86, 55, 33, 0.25);
  border-radius: 50px;
  background: rgba(255, 252, 245, 0.8);
  color: #503525;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.gallery-filter:hover {
  border-color: #b57a20;
  transform: translateY(-2px);
}

.gallery-filter.active {
  border-color: #b57a20;
  background: #b57a20;
  color: #fffaf0;
  box-shadow: 0 8px 22px rgba(94, 55, 24, 0.2);
}

/* Susunan foto */

.documentation-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.documentation-item {
  position: relative;
  min-width: 0;
  min-height: 330px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 18px;
  background: #342218;
  box-shadow: 0 16px 35px rgba(65, 39, 22, 0.16);
  animation: galleryAppear 0.45s ease;
}

/* Membuat dua foto lebih tinggi agar estetik */

.documentation-item:nth-child(1),
.documentation-item:nth-child(6) {
  grid-row: span 2;
  min-height: 678px;
}

/* Menyembunyikan foto ketika difilter */

.documentation-item[hidden] {
  display: none !important;
}

/* Tombol pembuka foto */

.gallery-open {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: transparent;
  text-align: left;
  cursor: zoom-in;
}

.gallery-open img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition:
    transform 0.65s ease,
    filter 0.35s ease;
}

.gallery-open:hover img {
  transform: scale(1.07);
  filter: saturate(1.08) contrast(1.03);
}

/* Tulisan di atas foto */

.gallery-overlay {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 48%;
  padding: 52px 22px 22px;
  color: white;
  background: linear-gradient(
    to top,
    rgba(29, 16, 10, 0.95),
    transparent
  );
  transition: padding 0.3s ease;
}

.gallery-open:hover .gallery-overlay {
  padding-bottom: 28px;
}

.gallery-overlay small {
  margin-bottom: 7px;
  color: #e5b659;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-overlay strong {
  color: #fffaf1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.2;
}

/* =========================================
   LIGHTBOX / FOTO SAAT DIBUKA
   ========================================= */

.gallery-lightbox {
  width: min(940px, calc(100% - 32px));
  max-height: 90vh;
  padding: 0;
  overflow: hidden auto;
  border: 1px solid rgba(229, 182, 89, 0.55);
  border-radius: 20px;
  background: #241711;
  color: #fffaf1;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.gallery-lightbox[open] {
  animation: lightboxOpen 0.3s ease;
}

.gallery-lightbox::backdrop {
  background: rgba(18, 10, 6, 0.85);
  backdrop-filter: blur(7px);
}

.gallery-lightbox > img {
  display: block;
  width: 100%;
  max-height: 64vh;
  object-fit: contain;
  background: #140d09;
}

.lightbox-caption {
  padding: 22px 26px 26px;
}

.lightbox-caption span {
  display: block;
  margin-bottom: 7px;
  color: #e5b659;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lightbox-caption h3 {
  margin: 0 0 8px;
  color: #fffaf1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.lightbox-caption p {
  margin: 0;
  color: #d9cbbd;
  line-height: 1.7;
}

/* Tombol tutup */

.lightbox-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(26, 15, 10, 0.8);
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  transition: 0.3s ease;
}

.lightbox-close:hover {
  background: #b57a20;
  transform: rotate(8deg);
}

/* Fokus keyboard */

.gallery-filter:focus-visible,
.gallery-open:focus-visible,
.lightbox-close:focus-visible {
  outline: 3px solid rgba(214, 160, 61, 0.7);
  outline-offset: 3px;
}

/* Animasi */

@keyframes galleryAppear {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lightboxOpen {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* =========================================
   RESPONSIVE TABLET
   ========================================= */

@media (max-width: 900px) {
  .gallery {
    padding: 78px 0;
  }

  .gallery-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .documentation-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .documentation-item,
  .documentation-item:nth-child(1),
  .documentation-item:nth-child(6) {
    grid-row: auto;
    min-height: 340px;
  }
}

/* =========================================
   RESPONSIVE HP
   ========================================= */

@media (max-width: 580px) {
  .gallery {
    padding: 64px 0;
  }

  .gallery-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
  }

  .gallery-filters::-webkit-scrollbar {
    display: none;
  }

  .gallery-filter {
    flex: 0 0 auto;
  }

  .documentation-gallery {
    grid-template-columns: 1fr;
  }

  .documentation-item,
  .documentation-item:nth-child(1),
  .documentation-item:nth-child(6) {
    min-height: 390px;
  }

  .gallery-lightbox {
    width: calc(100% - 20px);
    border-radius: 14px;
  }

  .gallery-lightbox > img {
    max-height: 58vh;
  }

  .lightbox-caption {
    padding: 18px 20px 22px;
  }
}

/* =========================================
   IDENTITAS KKN-P 62
   ========================================= */

.kkn-identity {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 42px;
  align-items: center;
  margin-top: 48px;
  padding: 34px;
  border: 1px solid rgba(184, 128, 42, 0.25);
  border-radius: 24px;
  background:
    radial-gradient(
      circle at top right,
      rgba(207, 153, 59, 0.16),
      transparent 35%
    ),
    #fffaf0;
  box-shadow: 0 20px 55px rgba(69, 43, 27, 0.12);
}

/* Bagian gambar dan logo */

.kkn-identity-visual {
  min-width: 0;
}

.kkn-logo-list {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.kkn-logo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid rgba(103, 70, 43, 0.15);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.kkn-logo-item img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.kkn-logo-item figcaption {
  max-width: 135px;
  color: #4e3728;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
}

.kkn-group-photo {
  position: relative;
  min-height: 400px;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #332117;
  box-shadow: 0 16px 35px rgba(55, 32, 18, 0.2);
}

.kkn-group-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.kkn-group-photo:hover img {
  transform: scale(1.025);
}

.kkn-group-photo figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 60px 20px 18px;
  color: #fff8ed;
  font-size: 0.86rem;
  line-height: 1.55;
  background: linear-gradient(
    to top,
    rgba(31, 18, 11, 0.94),
    transparent
  );
}

/* Bagian informasi */

.kkn-identity-content {
  min-width: 0;
}

.kkn-identity-label {
  display: inline-block;
  margin-bottom: 12px;
  color: #b47b24;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kkn-identity-content h3 {
  margin: 0 0 18px;
  color: #302016;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
}

.kkn-identity-content > p {
  margin: 0 0 26px;
  color: #6b5849;
  line-height: 1.8;
}

/* Nama DPL dan ketua */

.kkn-person-list {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.kkn-person {
  padding: 16px 18px;
  border-left: 3px solid #c48a2d;
  border-radius: 0 12px 12px 0;
  background: #f2e5ce;
}

.kkn-person small {
  display: block;
  margin-bottom: 5px;
  color: #8a694b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kkn-person strong {
  display: block;
  color: #352319;
  font-size: 0.98rem;
  line-height: 1.45;
}

/* Tombol Instagram */

.kkn-socials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.kkn-social-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 11px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(177, 117, 35, 0.25);
  border-radius: 14px;
  background: #fff;
  color: #3d291d;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.kkn-social-link:hover {
  color: #fff;
  background: linear-gradient(
    135deg,
    #7232bd,
    #d62976,
    #f09433
  );
  box-shadow: 0 12px 25px rgba(155, 53, 112, 0.2);
  transform: translateY(-3px);
}

.instagram-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 1.5rem;
}

.kkn-social-link small,
.kkn-social-link strong {
  display: block;
}

.kkn-social-link small {
  margin-bottom: 3px;
  font-size: 0.67rem;
  opacity: 0.72;
}

.kkn-social-link strong {
  font-size: 0.84rem;
}

.social-arrow {
  font-size: 1.1rem;
}

/* Tampilan tablet */

@media (max-width: 950px) {
  .kkn-identity {
    grid-template-columns: 1fr;
  }

  .kkn-group-photo,
  .kkn-group-photo img {
    min-height: 380px;
  }
}

/* Tampilan HP */

@media (max-width: 600px) {
  .kkn-identity {
    gap: 28px;
    margin-top: 34px;
    padding: 18px;
    border-radius: 18px;
  }

  .kkn-logo-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kkn-logo-item {
    flex-direction: column;
    text-align: center;
  }

  .kkn-logo-item img {
    width: 58px;
    height: 58px;
  }

  .kkn-group-photo,
  .kkn-group-photo img {
    min-height: 260px;
  }

  .kkn-socials {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   JELAJAH TEMPAT
   ========================================= */

.explore {
  padding: 100px 0;
  color: #efe5d8;
  background:
    radial-gradient(
      circle at top right,
      rgba(193, 137, 48, 0.16),
      transparent 32%
    ),
    linear-gradient(180deg, #25170f 0%, #392419 100%);
}

.explore-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}

.explore-heading h2 {
  max-width: 780px;
  margin: 10px 0 0;
  color: #fff7ea;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 4.5rem);
  line-height: 1.05;
}

.explore-heading > p {
  margin: 0;
  color: #cdbdaa;
  font-size: 1rem;
  line-height: 1.8;
}

/* Kelompok kategori */

.explore-category {
  margin-bottom: 72px;
}

.explore-category-heading {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(232, 184, 96, 0.22);
}

.explore-category-heading > span {
  display: grid;
  width: 47px;
  height: 47px;
  flex: 0 0 47px;
  place-items: center;
  border: 1px solid rgba(226, 173, 74, 0.5);
  border-radius: 50%;
  color: #dfac50;
  font-size: 0.78rem;
  font-weight: 700;
}

.explore-category-heading small {
  color: #d6a14a;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.explore-category-heading h3 {
  margin: 4px 0 0;
  color: #fff4e3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
}

/* Grid kartu */

.explore-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.explore-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(226, 173, 74, 0.2);
  border-radius: 20px;
  background: rgba(255, 248, 237, 0.06);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.explore-card:hover {
  border-color: rgba(226, 173, 74, 0.52);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.28);
  transform: translateY(-5px);
}

.explore-card-wide {
  grid-column: 1 / -1;
}

/* Foto dan video */

.explore-media {
  position: relative;
  height: 470px;
  overflow: hidden;
  background: #130c08;
}

.explore-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #130c08;
}

.explore-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  background: rgba(31, 18, 11, 0.8);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

/* Isi kartu */

.explore-content {
  padding: 24px;
}

.explore-content > small {
  display: block;
  margin-bottom: 8px;
  color: #d9a74e;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.explore-content h3 {
  margin: 0 0 13px;
  color: #fff6e8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
}

.explore-content p {
  margin: 0;
  color: #d0c1af;
  line-height: 1.75;
}

.explore-note {
  margin-top: 18px;
  padding: 13px 15px;
  border-left: 3px solid #d5a14b;
  border-radius: 0 10px 10px 0;
  background: rgba(212, 158, 67, 0.09);
  color: #cbbbaa;
  font-size: 0.82rem;
  line-height: 1.6;
}

/* Galeri dua foto */

.explore-photo-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  height: 470px;
  gap: 3px;
  background: #130c08;
}

.explore-photo-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.explore-photo-gallery img:hover {
  transform: scale(1.025);
}

/* Foto lanskap lebar */

.explore-landscape {
  position: relative;
  height: 480px;
  overflow: hidden;
}

.explore-landscape img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.explore-card:hover .explore-landscape img {
  transform: scale(1.035);
}

.explore-landscape-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 80px 26px 25px;
  background: linear-gradient(
    to top,
    rgba(26, 15, 9, 0.96),
    transparent
  );
}

.explore-landscape-overlay small {
  color: #e0ad52;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.explore-landscape-overlay h3 {
  margin: 7px 0 0;
  color: #fff7ea;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

/* Media campuran foto dan video */

.explore-mixed-media {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  height: 470px;
  gap: 3px;
  background: #130c08;
}

.explore-mixed-media img,
.explore-mixed-media video {
  display: block;
  width: 100%;
  height: 100%;
}

.explore-mixed-media img {
  object-fit: cover;
}

.explore-mixed-media video {
  object-fit: contain;
  background: #130c08;
}

/* Galeri Bandara yang dapat digeser */

.explore-bandara-card {
  width: 100%;
}

.explore-scroll-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(270px, 34%);
  gap: 5px;
  padding-bottom: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-color: #bd8430 #2a1a11;
  scrollbar-width: thin;
  background: #130c08;
}

.explore-scroll-gallery img {
  display: block;
  width: 100%;
  height: 430px;
  object-fit: cover;
  scroll-snap-align: start;
}

.explore-scroll-gallery::-webkit-scrollbar {
  height: 8px;
}

.explore-scroll-gallery::-webkit-scrollbar-track {
  background: #2a1a11;
}

.explore-scroll-gallery::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #bd8430;
}

/* Sumber dokumentasi */

.explore-source {
  padding: 22px 24px;
  border: 1px solid rgba(221, 169, 77, 0.25);
  border-radius: 15px;
  background: rgba(255, 248, 235, 0.055);
}

.explore-source strong {
  display: block;
  margin-bottom: 7px;
  color: #e1ad51;
}

.explore-source p {
  margin: 0;
  color: #c9b8a5;
  line-height: 1.7;
}

/* Tablet */

@media (max-width: 900px) {
  .explore {
    padding: 78px 0;
  }

  .explore-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .explore-media,
  .explore-photo-gallery,
  .explore-mixed-media {
    height: 410px;
  }

  .explore-scroll-gallery {
    grid-auto-columns: minmax(260px, 55%);
  }
}

/* HP */

@media (max-width: 650px) {
  .explore {
    padding: 64px 0;
  }

  .explore-heading {
    margin-bottom: 48px;
  }

  .explore-category {
    margin-bottom: 55px;
  }

  .explore-grid {
    grid-template-columns: 1fr;
  }

  .explore-card-wide {
    grid-column: auto;
  }

  .explore-media {
    height: 430px;
  }

  .explore-photo-gallery {
    grid-template-columns: 1fr;
    height: auto;
  }

  .explore-photo-gallery img {
    height: 300px;
  }

  .explore-landscape {
    height: 330px;
  }

  .explore-mixed-media {
    grid-template-columns: 1fr;
    height: auto;
  }

  .explore-mixed-media img {
    height: 300px;
  }

  .explore-mixed-media video {
    height: 430px;
  }

  .explore-scroll-gallery {
    grid-auto-columns: 82%;
  }

  .explore-scroll-gallery img {
    height: 350px;
  }

  .explore-content {
    padding: 20px;
  }
}
/* =========================================
   SLIDER FOTO DAN VIDEO JELAJAH TEMPAT
   ========================================= */

.media-carousel {
  position: relative;
  height: 570px;
  overflow: hidden;
  background: #110b07;
}

.media-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.media-carousel-slide {
  position: absolute;
  inset: 0;
  display: grid;
  width: 100%;
  height: 100%;
  margin: 0;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  transform: translateX(35px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    visibility 0.4s ease;
}

.media-carousel-slide.active {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}

.media-carousel-slide img,
.media-carousel-slide video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #110b07;
}

/* Keterangan media */

.media-carousel-slide figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 60px 75px 18px;
  color: #fff7e9;
  font-size: 0.84rem;
  text-align: center;
  background: linear-gradient(
    to top,
    rgba(18, 10, 6, 0.9),
    transparent
  );
  pointer-events: none;
}

/* Tombol panah */

.media-carousel-button {
  position: absolute;
  z-index: 5;
  top: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(28, 16, 10, 0.78);
  color: #fff;
  font-size: 2.1rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(7px);
  transform: translateY(-50%);
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.media-carousel-button:hover {
  background: #bd8430;
}

.media-carousel-button.previous {
  left: 18px;
}

.media-carousel-button.next {
  right: 18px;
}

.media-carousel-button.previous:hover {
  transform: translateY(-50%) translateX(-3px);
}

.media-carousel-button.next:hover {
  transform: translateY(-50%) translateX(3px);
}

/* Nomor slide */

.media-carousel-counter {
  position: absolute;
  z-index: 5;
  top: 17px;
  right: 17px;
  display: flex;
  gap: 5px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50px;
  background: rgba(28, 16, 10, 0.76);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(7px);
}

/* =========================================
   FOTO PANORAMA TANPA TERPOTONG
   ========================================= */

.explore-landscape-full {
  height: auto;
  min-height: 0;
  background: #110b07;
}

.explore-landscape-full img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* =========================================
   FOTO PORTRAIT EMBUNG REJO
   ========================================= */

.explore-landscape-portrait {
  display: grid;
  height: 720px;
  place-items: center;
  background: #110b07;
}

.explore-landscape-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Tablet */

@media (max-width: 900px) {
  .media-carousel {
    height: 500px;
  }

  .explore-landscape-portrait {
    height: 620px;
  }
}

/* HP */

@media (max-width: 600px) {
  .media-carousel {
    height: 470px;
  }

  .media-carousel-button {
    width: 42px;
    height: 42px;
  }

  .media-carousel-button.previous {
    left: 10px;
  }

  .media-carousel-button.next {
    right: 10px;
  }

  .media-carousel-slide figcaption {
    padding-right: 55px;
    padding-left: 55px;
  }

  .explore-landscape-portrait {
    height: 520px;
  }
}

/* ==================================================
   GRID TIGA EMBUNG
================================================== */

.explore-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.explore-grid-three .explore-card {
  min-width: 0;
  height: 100%;
}

.explore-grid-three .explore-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.explore-grid-three .explore-actions {
  margin-top: auto;
  padding-top: 20px;
}


/* ==================================================
   FOTO LEMBAH SURGA
================================================== */

.explore-photo {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background: #130c08;
}

.explore-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


/* ==================================================
   FOTO PORTRAIT EMBUNG GUWOREJO
================================================== */

.explore-photo-contain {
  position: relative;
  width: 100%;
  height: 480px;
  padding: 12px;
  overflow: hidden;
  background: #130c08;
}

.explore-photo-contain img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 14px;
}


/* ==================================================
   RESPONSIVE TABLET
================================================== */

@media (max-width: 1100px) {
  .explore-grid-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .explore-grid-three #embung-guworejo {
    grid-column: 1 / -1;
  }
}


/* ==================================================
   RESPONSIVE HP
================================================== */

@media (max-width: 700px) {
  .explore-grid,
  .explore-grid-three {
    grid-template-columns: 1fr;
  }

  .explore-grid-three #embung-guworejo {
    grid-column: auto;
  }

  .explore-photo {
    height: 430px;
  }

  .explore-photo-contain {
    height: 500px;
  }
}

/* =====================================================
   PERBAIKAN TIGA KARTU EMBUNG
   LETAKKAN PALING BAWAH STYLE.CSS
===================================================== */

/* Grid tiga embung */
.explore-grid-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 28px;
}

/* Ketiga kartu dibuat sama tinggi */
.explore-grid-three > .explore-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
}

/* Semua area foto dan video dibuat sama tinggi */
.explore-grid-three .explore-media,
.explore-grid-three .media-carousel,
.explore-grid-three .media-carousel-track,
.explore-grid-three .media-carousel-slide,
.explore-grid-three .explore-photo-contain {
  position: relative;
  width: 100%;
  height: 420px;
  min-height: 420px;
  max-height: 420px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
}

/* Slide yang tidak aktif disembunyikan */
.explore-grid-three .media-carousel-slide {
  display: none;
}

/* Hanya slide aktif yang ditampilkan */
.explore-grid-three .media-carousel-slide.active {
  display: block;
}

/* Foto memenuhi seluruh area tanpa sisi hitam */
.explore-grid-three .explore-media img,
.explore-grid-three .media-carousel-slide img,
.explore-grid-three .explore-photo-contain img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
}

/* Video memenuhi seluruh area tanpa sisi hitam */
.explore-grid-three .explore-media video,
.explore-grid-three .media-carousel-slide video {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: cover;
  object-position: center;
  background: transparent;
}

/* Hilangkan padding lama Embung Guworejo */
#embung-guworejo .explore-photo-contain {
  padding: 0;
  background: transparent;
}

/* Samakan awal bagian isi */
.explore-grid-three .explore-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}

/* Samakan tinggi judul agar paragraf setelahnya sejajar */
.explore-grid-three .explore-content h3 {
  min-height: 2.1em;
  margin-top: 12px;
  margin-bottom: 20px;
  font-size: clamp(2rem, 2.7vw, 3.2rem);
  line-height: 1.05;
}

/* Samakan posisi label kecil */
.explore-grid-three .explore-content > small {
  display: block;
  min-height: 24px;
}

/* Tombol Maps tetap berada di bagian bawah kartu */
.explore-grid-three .explore-actions {
  margin-top: auto;
  padding-top: 24px;
}


/* =====================================================
   RESPONSIVE TABLET
===================================================== */

@media (max-width: 1100px) {
  .explore-grid-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .explore-grid-three > .explore-card:last-child {
    grid-column: 1 / -1;
  }
}


/* =====================================================
   RESPONSIVE HP
===================================================== */

@media (max-width: 700px) {
  .explore-grid-three {
    grid-template-columns: 1fr;
  }

  .explore-grid-three > .explore-card:last-child {
    grid-column: auto;
  }

  .explore-grid-three .explore-media,
  .explore-grid-three .media-carousel,
  .explore-grid-three .media-carousel-track,
  .explore-grid-three .media-carousel-slide,
  .explore-grid-three .explore-photo-contain {
    height: 360px;
    min-height: 360px;
    max-height: 360px;
  }

  .explore-grid-three .explore-content h3 {
    min-height: 0;
  }
}

/* =====================================================
   VIDEO LEMBAH SURGA TANPA SISI HITAM
===================================================== */

#lembah-surga .explore-media {
  position: relative;
  width: 100%;
  height: 520px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: transparent;
}

#lembah-surga .explore-media video {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: cover;
  object-position: center;
  background: transparent;
}

/* Ukuran pada HP */
@media (max-width: 700px) {
  #lembah-surga .explore-media {
    height: 400px;
  }
}

/* Video Lembah Surga memenuhi kotak tanpa sisi hitam */
#lembah-surga .explore-media {
  position: relative;
  width: 100%;
  height: 520px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: transparent;
}

#lembah-surga .explore-media video {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: cover !important;
  object-position: center center;
  background-color: transparent !important;
}

/* Tampilan HP */
@media (max-width: 700px) {
  #lembah-surga .explore-media {
    height: 400px;
  }
}

/* =====================================================
   PERBAIKAN NAVIGASI VERSI HP
===================================================== */

@media (max-width: 900px) {

  /* Tombol hamburger selalu berada di atas panel */
  .menu-button {
    position: relative;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    gap: 6px;
    cursor: pointer;
  }

  .menu-button span {
    display: block;
    width: 26px;
    height: 2px;
    background: #fff;
    transition:
      transform 0.3s ease,
      opacity 0.3s ease;
  }

  /* Kondisi awal menu: tertutup */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    width: min(86vw, 390px);
    height: 100dvh;
    padding: 110px 24px 40px;

    overflow-x: hidden;
    overflow-y: auto;

    background: rgba(27, 17, 12, 0.98);
    border-left: 1px solid rgba(215, 158, 52, 0.35);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.45);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);

    transition:
      transform 0.35s ease,
      opacity 0.35s ease,
      visibility 0.35s ease;
  }

  /* Kondisi menu ketika dibuka */
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  /* Link utama */
  .nav-links > a,
  .nav-dropdown {
    width: 100%;
  }

  .nav-links > a,
  .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    padding: 16px 10px;

    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  /* Dropdown awalnya tertutup */
  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    padding: 8px;
    margin: 0 0 8px;

    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(215, 158, 52, 0.25);
    box-shadow: none;
  }

  /* Dropdown terbuka */
  .nav-dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    display: block;
    width: 100%;
    padding: 14px 12px;
  }

  /* Hamburger berubah menjadi X */
  .menu-button.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-button.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-button.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Mencegah halaman belakang ikut bergerak */
  body.menu-open {
    overflow: hidden;
  }

  /* Lapisan gelap di belakang menu */
  body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(0, 0, 0, 0.55);
  }

  .navbar,
  .menu-button,
  .nav-links {
    isolation: isolate;
  }
}

/* =====================================================
   PERBAIKAN FINAL MENU NAVIGASI HP
===================================================== */

@media (max-width: 900px) {

  /* Navbar harus berada di atas lapisan halaman */
  .navbar {
    position: relative !important;
    z-index: 9998 !important;
    isolation: auto !important;
  }

  /* Panel navigasi */
  .nav-links {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    left: auto !important;

    z-index: 9999 !important;

    width: min(88vw, 390px) !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;

    padding: 110px 28px 50px !important;

    overflow-x: hidden !important;
    overflow-y: auto !important;

    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;

    background: rgba(20, 13, 9, 0.98) !important;
  }

  /* Saat menu ditutup */
  .nav-links:not(.open) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(105%) !important;
  }

  /* Saat menu dibuka */
  .nav-links.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(0) !important;
  }

  /* Tombol hamburger dan tombol X */
  .menu-button {
    position: fixed !important;
    top: 26px !important;
    right: 26px !important;

    z-index: 10001 !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    width: 52px !important;
    height: 52px !important;
    padding: 0 !important;

    cursor: pointer !important;
    pointer-events: auto !important;

    background: rgba(25, 16, 11, 0.92) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
  }

  .menu-button span {
    position: absolute !important;
    display: block !important;

    width: 26px !important;
    height: 2px !important;

    margin: 0 !important;

    background: #ffffff !important;
    transform-origin: center !important;

    transition:
      transform 0.3s ease,
      opacity 0.3s ease !important;
  }

  /* Bentuk hamburger ketika tertutup */
  .menu-button:not(.open) span:nth-child(1) {
    transform: translateY(-8px) rotate(0) !important;
  }

  .menu-button:not(.open) span:nth-child(2) {
    opacity: 1 !important;
    transform: translateY(0) rotate(0) !important;
  }

  .menu-button:not(.open) span:nth-child(3) {
    transform: translateY(8px) rotate(0) !important;
  }

  /* Bentuk X ketika terbuka */
  .menu-button.open span:nth-child(1) {
    transform: translateY(0) rotate(45deg) !important;
  }

  .menu-button.open span:nth-child(2) {
    opacity: 0 !important;
    transform: scaleX(0) !important;
  }

  .menu-button.open span:nth-child(3) {
    transform: translateY(0) rotate(-45deg) !important;
  }

  /* Lapisan gelap tidak boleh menghalangi tombol */
  body.menu-open::before {
    z-index: 9997 !important;
    pointer-events: none !important;
  }

  /*
   * Halaman belakang tidak bergerak,
   * tetapi daftar navigasi tetap dapat digulir.
   */
  body.menu-open {
    overflow: hidden !important;
  }

  /* Menu utama */
  .nav-links > a,
  .nav-dropdown {
    flex: 0 0 auto !important;
    width: 100% !important;
  }

  .nav-links > a,
  .dropdown-toggle {
    min-height: 68px !important;
    padding: 18px 14px !important;
  }

  /* Dropdown tidak menggunakan posisi melayang */
  .dropdown-menu {
    position: static !important;
    width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .nav-dropdown:not(.open) .dropdown-menu {
    display: none !important;
  }

  .nav-dropdown.open .dropdown-menu {
    display: block !important;
  }
}
/* =====================================================
   PERBAIKAN DROPDOWN NAVIGASI HP
===================================================== */

@media (max-width: 900px) {

  /* Pembungkus setiap dropdown */
  .nav-dropdown {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
  }

  /* Tombol dropdown */
  .dropdown-toggle {
    position: relative !important;
    z-index: 2 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    width: 100% !important;
    min-height: 68px !important;
    padding: 18px 14px !important;

    color: #ffffff !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;

    cursor: pointer !important;
    pointer-events: auto !important;
  }

  /* Kondisi dropdown tertutup */
  .nav-dropdown .dropdown-menu {
    position: static !important;
    inset: auto !important;

    display: none !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 0 10px !important;
    padding: 8px 10px !important;

    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;

    overflow: visible !important;

    background: rgba(255, 255, 255, 0.055) !important;
    border: 1px solid rgba(215, 158, 52, 0.28) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
  }

  /* Kondisi dropdown terbuka */
  .nav-dropdown.open .dropdown-menu {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;

    height: auto !important;
    max-height: none !important;

    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  /* Link di dalam dropdown */
  .nav-dropdown .dropdown-menu a {
    position: relative !important;

    display: block !important;
    width: 100% !important;
    min-height: auto !important;

    padding: 14px 12px !important;

    color: #f5eadc !important;
    text-align: left !important;
    text-decoration: none !important;

    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;

    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .nav-dropdown .dropdown-menu a:last-child {
    border-bottom: 0 !important;
  }

  /* Warna ketika link disentuh */
  .nav-dropdown .dropdown-menu a:hover,
  .nav-dropdown .dropdown-menu a:focus {
    color: #f0b747 !important;
    background: rgba(240, 183, 71, 0.08) !important;
  }

  /*
   * Panel navigasi tetap bisa digulir ketika
   * dropdown menjadi panjang.
   */
  .nav-links.open {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding-bottom: 80px !important;

    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }
}

/* =====================================================
   VIDEO AIR TERJUN NGELEYANGAN DI GALERI
===================================================== */

.gallery-video-item {
  overflow: hidden;
  background: rgba(21, 28, 29, 0.96);
  border: 1px solid rgba(216, 174, 84, 0.25);
  border-radius: 16px;
}

.gallery-video-item video {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: #000;
}

.gallery-video-item figcaption {
  padding: 18px 20px 20px;
}

.gallery-video-item figcaption small {
  display: block;
  margin-bottom: 6px;
  color: #d9ae50;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.gallery-video-item figcaption strong {
  display: block;
  color: #fff;
  font-size: 18px;
  line-height: 1.4;
}

.gallery-video-item figcaption p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 700px) {
  .gallery-video-item video {
    height: 230px;
  }
}

.aftermovie{ text-align:center; }
.aftermovie h2{ max-width:640px; margin:16px auto 0; }
.aftermovie-desc{
  max-width:520px; margin:16px auto 40px;
  color:#6b5c47; line-height:1.6;
}
.aftermovie-video{
  max-width:960px; margin:0 auto;
  border-radius:12px; overflow:hidden;
  box-shadow:0 20px 50px rgba(0,0,0,.25);
}
.aftermovie-video video{ width:100%; display:block; }

.daily-activity-desc{
  max-width: 560px;
  color: #6b5c47;
  line-height: 1.6;
  margin-top: 14px;
}

.daily-activity-videos{
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.daily-activity h2{
  margin: 10px 0 0;
  max-width: 700px;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 1.04;
  letter-spacing: -.03em;
}

.daily-activity-videos article{
  overflow: hidden;
  background: var(--dark);
  border: 1px solid rgba(242, 231, 211, 0.14);
}

.daily-activity-videos video{
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  background: #000;
}

.daily-activity-videos article > div{
  padding: 18px 20px;
}

.daily-activity-videos span{
  color: var(--gold);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.daily-activity-videos h4{
  margin: 7px 0 0;
  color: var(--cream);
  font: 400 1.3rem Georgia, serif;
}

@media (max-width: 900px){
  .daily-activity-videos{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px){
  .daily-activity-videos{ grid-template-columns: 1fr; }
}

.footer-cp{
  padding: 18px 0;
  text-align: center;
  border-top: 1px solid rgba(242, 231, 211, 0.1);
}
.footer-cp p{
  margin: 0;
  font-size: 0.85rem;
  color: rgba(242, 231, 211, 0.65);
}
.footer-cp a{
  color: var(--gold, #c9a24a);
  text-decoration: underline;
}
.footer-cp a:hover{
  color: #fff;
}