/* Animasi menyeluruh yang lembut pada konten halaman */
.reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity .72s ease, transform .72s cubic-bezier(.2,.72,.25,1), box-shadow .35s ease;
  transition-delay: var(--motion-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translate3d(0,0,0); }
.scroll-motion.visible { animation: softGlowIn .9s ease both; }

/* Foto dan kartu ikut hidup saat disentuh/diarahkan */
main .card, main .notice, main .potential, main .gallery-item,
main .infographic-card, main .photo-large, main .feature-cta {
  transition: transform .38s cubic-bezier(.2,.7,.2,1), box-shadow .38s ease, border-color .38s ease;
}
main .card:hover, main .notice:hover, main .potential:hover,
main .infographic-card:hover, main .feature-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(21,91,69,.13), 0 0 0 1px rgba(180,200,121,.16);
}
main .gallery-item { overflow: hidden; }
main .gallery-item img, main .card-image, main .potential-image {
  transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .7s ease;
}
main .gallery-item:hover img, main .card:hover .card-image, main .potential:hover .potential-image {
  transform: scale(1.045);
  filter: saturate(1.06);
}

/* Kilau warna lembut yang melintas pada aksen section */
main .section-title .kicker, main .kicker { transition: color .35s ease, letter-spacing .35s ease; }
main section:hover .section-title .kicker { color: #b18b3e; letter-spacing: .11em; }
#scrollColorLine {
  position: fixed; top: 0; left: 0; width: 0; height: 3px; z-index: 2147483001;
  pointer-events: none;
  background: linear-gradient(90deg,#155b45 0%,#48a77d 42%,#b4c879 72%,#e2c16c 100%);
  box-shadow: 0 1px 10px rgba(48,155,111,.32);
}
@keyframes softGlowIn {
  0% { filter: drop-shadow(0 0 0 rgba(69,174,126,0)); }
  45% { filter: drop-shadow(0 5px 14px rgba(69,174,126,.13)); }
  100% { filter: drop-shadow(0 0 0 rgba(69,174,126,0)); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.visible, .scroll-motion.visible, main .card, main .notice,
  main .potential, main .gallery-item, main .infographic-card, main .photo-large,
  main .feature-cta, main .gallery-item img, main .card-image, main .potential-image {
    opacity: 1 !important; transform: none !important; animation: none !important;
    transition: none !important; filter: none !important;
  }
  #scrollColorLine { display: none; }
}

/* Ambient color motion across the page, not only at the edges */
body { position: relative; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 34rem 25rem at 48% 43%, rgba(72,167,125,.075), transparent 72%),
    radial-gradient(ellipse 28rem 22rem at 78% 72%, rgba(226,193,108,.065), transparent 72%);
  animation: ambientDrift 16s ease-in-out infinite alternate;
}
body > * { position: relative; }
body > .cursor-aura { position: fixed; }
.cursor-aura {
  position: fixed; left: 50%; top: 50%; width: 390px; height: 390px;
  border-radius: 50%; pointer-events: none; z-index: 2147482000;
  background: radial-gradient(circle, rgba(72,167,125,.16) 0%, rgba(180,200,121,.09) 34%, rgba(226,193,108,.035) 54%, transparent 72%);
  transform: translate(-50%,-50%); opacity: 0; transition: opacity .35s ease;
  mix-blend-mode: multiply; filter: blur(7px); will-change: left, top;
}
body.cursor-active .cursor-aura { opacity: .8; }
/* A restrained highlight travels across content cards when hovered */
main .card, main .notice, main .potential, main .gallery-item,
main .infographic-card, main .feature-cta, main .summary-card {
  position: relative; isolation: isolate;
}
main .card::after, main .notice::after, main .potential::after,
main .infographic-card::after, main .feature-cta::after, main .summary-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 18%, rgba(180,200,121,.13) 48%, transparent 78%);
  opacity: 0; transform: translateX(-18%); transition: opacity .45s ease, transform .65s ease;
}
main .card:hover::after, main .notice:hover::after, main .potential:hover::after,
main .infographic-card:hover::after, main .feature-cta:hover::after, main .summary-card:hover::after {
  opacity: 1; transform: translateX(18%);
}
main .section-title h2::after, main .section-title h3::after {
  content: ""; display: block; width: 46px; height: 3px; margin-top: 11px;
  border-radius: 4px; background: linear-gradient(90deg,#155b45,#b4c879,#e2c16c);
  transform-origin: left; animation: titleLine 1.1s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes ambientDrift { from { transform: translate3d(-1.5%, -1%, 0) scale(1); } to { transform: translate3d(1.5%, 1%, 0) scale(1.06); } }
@keyframes titleLine { from { transform: scaleX(.12); opacity: .35; } to { transform: scaleX(1); opacity: 1; } }
@media (hover: none), (max-width: 760px) {
  .cursor-aura { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
  main .card::after, main .notice::after, main .potential::after,
  main .infographic-card::after, main .feature-cta::after, main .summary-card::after,
  main .section-title h2::after, main .section-title h3::after { animation: none; transition: none; }
}
