/* ========= GLOBAL ========= */
* {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

  -webkit-touch-callout: none; /* iOS long-press */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  background: #0b1a2b;
}

.hidden { display: none; }

.page {
  min-height: 100vh;
  padding: 80px 24px;
  text-align: center;
}

/* ========= OPENING ========= */
.opening {
  position: relative;
  height: 100vh;
  background: url("../assets/images/cover.jpg") center top / cover no-repeat;
  font-family: 'Cormorant Garamond', serif;
}

.opening .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,.65),
    rgba(0,0,0,.65)
  );
}

.opening-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 40px 24px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.small {
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.opening h1 {
  font-size: 34px;
  margin-bottom: 16px;
}

.line {
  width: 90px;
  height: 1px;
  background: rgba(255,255,255,.7);
  margin: 16px 0;
}

.guest {
  margin-bottom: 32px;
}

.opening button {
  padding: 14px 36px;
  border-radius: 30px;
  border: none;
  background: rgba(139, 115, 67, 0.75);
  color: #fff;
  letter-spacing: 1.5px;
}

/* ========= HERO ========= */
.hero {
  position: relative;
  background: url("../assets/images/hero-bg.jpg") center/cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35); /* atur gelapnya */
}

.hero > * {
  position: relative;
  z-index: 2;
}

.page.hero {
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: top; /* atas-tengah-bawah */
  align-items: center;     /* kiri-tengah-kanan */
  text-align: center;
  padding-top: 50px;
}

.small {
  font-size: 14px;
  letter-spacing: 3px;
  margin-bottom: 7px;
}

.scroll {
  position: absolute;
  bottom: 24px;
  font-size: 24px;
  animation: bounce 2s infinite;
}

/* ========= PROFILE ========= */
.profile {
  background: #112c52;
}

.profile .photo {
  width: 260px;
  height: 420px;
  margin: 32px auto;
  border-radius: 50%;
  overflow: hidden;
}

.profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-intro {
  min-height: 100vh;
  background: radial-gradient(circle at top, #0f2a4d, #07162a);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  color: #fff;
}

/* FRAME UTAMA */
.intro-frame {
  position: relative;
  max-width: 520px;
  padding: 56px 36px;
  text-align: center;
  border-radius: 26px;

  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);

  border: 1px solid rgba(255,215,160,0.35);
  box-shadow:
    0 0 0 1px rgba(255,215,160,0.15),
    0 25px 60px rgba(0,0,0,0.45);

  animation: fadeUp 1s ease both;
}

/* GLOW HALUS */
.intro-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,215,160,0.35),
    transparent
  );
  filter: blur(18px);
  z-index: -1;
}

/* TITLE */
.intro-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

/* GARIS PEMISAH */
.intro-divider {
  width: 80px;
  height: 2px;
  margin: 0 auto 22px;
  background: linear-gradient(to right, transparent, #e6c98a, transparent);
}

/* PARAGRAF UTAMA */
.intro-text {
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.95;
  margin-bottom: 16px;
}

/* SUB TEXT */
.intro-sub {
  font-size: 14px;
  letter-spacing: 0.4px;
  opacity: 0.85;
}

/* ANIMASI */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.with-love {
  min-height: 1400px;
  background: linear-gradient(#c2c2c2, #444f61);
  padding: 120px 0;
  text-align: center;
  color: #fff;
  position: relative;
}

.with-love-title {
  font-family: 'Great Vibes', cursive;
  font-size: 46px;
  color: #171938;
  position: absolute;
  top: 70px;          /* ⬅️ naik-turun di sini */
  left: 17%;
  transform: translateX(-50%);
  z-index: 5;         /* pastiin di atas shape */
  letter-spacing: 2px;
  white-space: nowrap;
}

.shape-outer {
  width: 350px;
  height: 1000px;
  margin: 60px auto;
  background: linear-gradient(
  180deg,
  #0f1b33 0%,
  #2b2e54 50%,
  #14162c 100%
);
  border-radius: 260px;
  display: flex;
  flex-direction: column;        /* susun atas → bawah */
  align-items: center;            /* center horizontal */
  justify-content: flex-start;    /* NEMPEL KE ATAS */
  padding-top: 40px;              /* jarak dari atas */
}

.shape-name {
  margin-top: 40px;
  font-family: 'Great Vibes', cursive;
  font-size: 43px;      /* gede dikit biar elegan */
  font-weight: 400;
  color: #f5d28b;       /* gold lembut (opsional) */
  text-align: center;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(245, 210, 139, 0.35);
}

.textP {
  font-size: 15px;
  margin-top: 40px;
  padding: 0 40px;
}

.ig-link {
  margin-top: 200px;
  display: inline-flex;
  align-items: center;
  gap: 10px;

  text-decoration: none;
  color: #f5d28b; /* gold */
  font-size: 14px;
  letter-spacing: 0.5px;
}

.ig-link img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1); /* biar putih */
}

.ig-link:hover {
  opacity: 0.75;
}

.shape-inner {
  width: 280px;
  height: 460px;
  background: url("../assets/images/profile.jpg") center/cover no-repeat;
  border-radius: 230px;
  border: 3px solid #b2b1c6;
}

.shape-text {
  margin-top: 20px;
}

.shape-text .name {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
}

.shape-text .desc {
  font-size: 13px;
  opacity: 0.85;
}

.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* WAJIB */
}

/* ===== SAVE THE DATE ===== */
.event {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center; /* ⬅️ ini penting */
  padding: 120px 24px;
  overflow: hidden;
}

.bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
  z-index: 0;
}

.bg-layer.active {
  opacity: 1;
}

.bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* ⬅️ ATUR GELAP DI SINI */
  z-index: 1;
}

.event-card {
  width: 100%;
  max-width: 420px;
  padding: 60px 32px;
  border-radius: 70px;
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 2;

  /* frame */
  border: 2px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(6px);
}

/* title */
.event-title {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

/* garis kecil */
.event-divider {
  width: 80px;
  height: 2px;
  background: #d8b26a;
  margin: 0 auto 32px;
}

/* date text */
.event-day {
  font-size: 18px;
  letter-spacing: 2px;
}

.event-date {
  font-size: 22px;
  font-weight: 500;
  margin: 8px 0;
}

.event-time {
  font-size: 16px;
  opacity: .85;
  margin-bottom: 32px;
}

/* lokasi */
.event-place strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.event-place span {
  font-size: 14px;
  opacity: .8;
}

/* button */
.btn-map {
  display: inline-block;
  margin-top: 36px;
  padding: 14px 32px;
  border-radius: 30px;
  background: linear-gradient(135deg, #e3c07a, #caa25c);
  color: #000;
  font-weight: 500;
  text-decoration: none;
  transition: .3s ease;
}

.btn-map:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,.3);
}

/* ========= COUNTDOWN ========= */
.countdown-page {
  min-height: 100vh;
  padding: 100px 20px;
  background: radial-gradient(
    circle at top,
    #123c6b,
    #071a30 70%
  );
  display: flex;
  justify-content: center;
  align-items: center;
}

/* FRAME UTAMA */
.countdown-frame {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.06),
    rgba(255,255,255,.02)
  );
  border-radius: 260px;
  padding: 40px 24px 60px;
  text-align: center;
  position: relative;
  box-shadow: 0 40px 90px rgba(0,0,0,.55);
}

/* =========================
   FOTO
========================= */
.countdown-photo {
  width: 280px;
  height: 420px;
  margin: 0 auto 28px;
  border-radius: 200px;
  background: url("../assets/images/last.jpg") center/cover no-repeat;
  border: 4px solid rgba(255,255,255,.85);
  box-shadow: 0 25px 50px rgba(0,0,0,.45);
}

/* =========================
   TIMER
========================= */
.countdown-timer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}

.time-box {
  background: linear-gradient(
    180deg,
    #e7c983,
    #c9a85f
  );
  border-radius: 16px;
  padding: 14px 0;
  color: #1b1b1b;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}

.time-box span {
  display: block;
  font-size: 22px;
  font-weight: 700;
}

.time-box small {
  font-size: 12px;
  letter-spacing: 1px;
}

/* =========================
   BUTTON
========================= */
.countdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(
    180deg,
    #e9c97f,
    #c9a85f
  );
  color: #1c1c1c;
  padding: 14px 28px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(0,0,0,.35);
  transition: transform .25s ease, box-shadow .25s ease;
}

.countdown-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0,0,0,.45);
}

/* =========================
   NOTE
========================= */
.countdown-note {
  margin-top: 18px;
  font-size: 14px;
  opacity: .85;
}

/* ===== DRESSCODE ===== */
.dresscode {
  min-height: 300px;
  padding: 80px 24px;
  background: linear-gradient(#afada8, #4b5b76);
  text-align: center;
}

/* judul */
.dresscode-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 12px;
}

/* deskripsi kecil */
.dresscode-desc {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 32px;
}

/* container warna */
.dresscode-colors {
  display: flex;
  justify-content: center;
  gap: 18px;
}

/* bulatan warna */
.dresscode-colors .color {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.5);
  transition: transform .3s ease, box-shadow .3s ease;
}

/* hover halus */
.dresscode-colors .color:hover {
  transform: scale(1.08);
  box-shadow: 0 0 18px rgba(255,255,255,.25);
}

/* warna */
.color.black { background: #000000; }
.color.white { background: #fff; }
.color.pink  { background: #e3c381; }


/* ================= RSVP PAGE ================= */
.rsvp {
  min-height: 90vh;
  padding: 100px 20px;
  background: radial-gradient(circle at top, #102a44, #081c33);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.rsvp .bg-layer {
  z-index: 0;
}

.rsvp .bg-overlay {
  z-index: 1;
}



/* CARD */
.rsvp-card {
  width: 100%;
  max-width: 420px;
  padding: 40px 28px;
  border-radius: 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  text-align: center;
  animation: fadeUp 1s ease;
  position: relative;
  z-index: 2;
}

/* TITLE */
.rsvp-title {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 10px;
}

.rsvp-desc {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 30px;
}

/* FORM */
.rsvp-form .field {
  margin-bottom: 18px;
  text-align: left;
}

.rsvp-form label {
  font-size: 13px;
  margin-bottom: 6px;
  display: block;
  opacity: 0.8;
}

.rsvp-form input,
.rsvp-form select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: none;
  outline: none;
  font-size: 14px;
  background: rgba(255,255,255,0.9);
}

/* BUTTON */
.rsvp-btn {
  margin-top: 10px;
  width: 100%;
  padding: 14px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #e0b873, #cfa35a);
  color: #111;
  font-weight: 600;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}

.rsvp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(224,184,115,.4);
}

/* ANIMATION */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery {
  padding: 120px 20px 160px;
  background: radial-gradient(circle at top, #10345f, #07192d);
  text-align: center;
}

.gallery-title {
  font-size: 30px;
  margin-bottom: 50px;
}

/* GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 560px;
  margin: 0 auto;
}

/* ITEM */
.gallery-item {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}

/* RATIO (AMAN) */
.gallery-item::before {
  content: "";
  display: block;
  padding-top: 140%;
}

/* IMAGE */
.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

/* HOVER */
.gallery-item:hover img,
.gallery-item:active img {
  transform: scale(1.1);
}

/* DESKTOP */
@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
  }
}

  .gallery-item.wide {
    grid-column: span 2;
  }

/* ================= MODAL ================= */

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.gallery-modal.active {
  display: block;
}

.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.65);
}

.gallery-preview {
  position: relative;
  width: 85vw;
  max-width: 420px;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
  background: #0b2038;
  padding: 16px;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,.7);
}

.gallery-preview img {
  width: 100%;
  border-radius: 14px;
}

/* CLOSE */
.gallery-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #d6b46c;
  font-size: 16px;
  cursor: pointer;
}

/* NAV */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(214,180,108,.9);
  font-size: 18px;
  cursor: pointer;
}

.gallery-nav.prev { left: -16px; }
.gallery-nav.next { right: -16px; }

/* ===============================
   GALLERY MODAL ANIMATION
================================ */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
}

.gallery-modal.active {
  display: block;
}

.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(6px);
  opacity: 0;
  animation: fadeIn .4s forwards;
}

.gallery-preview {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(.9);
  max-width: 85vw;
  max-height: 80vh;
  background: #0b2038;
  padding: 16px;
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  opacity: 0;
  animation: zoomIn .4s ease forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes zoomIn {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* IMAGE */
.gallery-preview img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 16px;
}

/* CLOSE */
.gallery-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

/* NAV */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.85);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
}

.gallery-nav.prev { left: -18px; }
.gallery-nav.next { right: -18px; }

/* ===============================
   INDICATOR DOTS
================================ */
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.gallery-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
}

.gallery-dots span.active {
  background: #e5c27a;
}

/* ========= WISHES ========= */
.wishes {
  padding: 90px 20px 120px;
  background: linear-gradient(180deg, #0c2746, #081c33);
  color: #fff;
  text-align: center;
}

.wishes-title {
  font-size: 30px;
  margin-bottom: 6px;
}

.wishes-subtitle {
  opacity: .8;
  margin-bottom: 36px;
}

/* ===============================
   FORM
================================ */
.wish-form {
  max-width: 420px;
  margin: 0 auto 50px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border-radius: 22px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
}

.wish-form input,
.wish-form textarea {
  border: none;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  outline: none;
}

.wish-form textarea {
  min-height: 90px;
  resize: none;
}

.wish-form button {
  margin-top: 6px;
  padding: 12px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #e0b96a, #cfa24f);
  color: #000;
  font-weight: 600;
  cursor: pointer;
}

/* ===============================
   WISH LIST
================================ */
.wishes-list {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.wish-card {
  background: rgba(255,255,255,0.95);
  color: #0b2038;
  border-radius: 20px;
  padding: 18px 20px;
  text-align: left;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  animation: wishFade .6s ease both;
}

.wish-card h4 {
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 600;
}

.wish-card p {
  font-size: 14px;
  line-height: 1.5;
  opacity: .9;
}

/* ===============================
   PAGINATION
================================ */
.pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.pagination button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
}

.pagination button.active {
  background: #e0b96a;
  color: #000;
  font-weight: 600;
}

/* ===============================
   ANIMATION
================================ */
@keyframes wishFade {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ========= MUSIC ========= */
.music-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: rgba(202, 197, 197, 0.1);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .3s ease;
  box-shadow: 0 8px 25px rgba(0,0,0,.4);
}

.music-btn:hover {
  transform: scale(1.08);
}

.icon-play,
.icon-pause {
  width: 18px;
  height: 18px;
  position: relative;
}

/* PLAY */
.icon-play::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0;
  width: 0;
  height: 0;
  border-left: 18px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

/* PAUSE */
.icon-pause::before,
.icon-pause::after {
  content: "";
  position: absolute;
  top: 0;
  width: 5px;
  height: 20px;
  background: #fff;
}

.icon-pause::before {
  left: 2px;
}

.icon-pause::after {
  right: 2px;
}


/* =========================
   FOOTER
========================= */
.footer {
  padding: 40px 20px 50px;
  background: #0a1f36;
  text-align: center;
  color: #fff;
}

.footer-credit {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 18px;
}

/* SOCIAL ICON */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 18px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
}

.footer-social a:hover {
  background: #d6b36a;
  transform: translateY(-3px);
}

/* ICON BASE */
.icon {
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
}

/* ICON IMAGE */
.icon.ig {
  background-image: url("../assets/icons/instagram.svg");
}

.icon.wa {
  background-image: url("../assets/icons/whatsapp.svg");
}

.footer-copy {
  font-size: 12px;
  opacity: 0.6;
}

/* ===============================
   SCROLL REVEAL (SECTION)
================================ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================
   ELEMENT REVEAL
================================ */

.reveal-title {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.reveal-title.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-divider {
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.8s ease;
}

.reveal-divider.active {
  transform: scaleX(1);
}

/* ===============================
   FULL PHOTO SECTION
================================ */

.photo-section {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: unset;
  padding: 0;
  overflow: hidden;
}

.photo-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease;
}

.photo-bg.active {
  opacity: 1;
}

.photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0); /* atur gelap di sini */
}
