/* invite-structure.css - lapisan struktur bersih di atas style.css warisan.
   Tujuan: ritme section konsisten, nav aksesibel, responsif, status offline jelas.
   Tidak mengubah ID lama agar JS (scrollTo*, konfir, kado) tetap jalan. */

:root {
  --brand: #ff9c1f;
  --ink: #1d1d1d;
  --paper: #ffffff;
  --shell: 500px;
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 40px;
  --s5: 64px;
}

/* Skip link: hanya terlihat saat fokus keyboard. */
.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 1000000;
  background: #000;
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* Kerangka mobile: semua konten utama max 500px, sejajar fix-menu. */
#page,
.mob-con {
  max-width: var(--shell);
  margin-left: auto;
  margin-right: auto;
}

/* style.css memberi .mob-con overflow:hidden dan #page height:100%, sehingga
   semua konten di bawah 5.296px (galeri, kado, penutup) terpotong dan tidak bisa
   dijangkau scroll. Halaman dibiarkan tumbuh setinggi isinya. */
.mob-con {
  overflow: visible;
}
#page {
  height: auto;
}

/* Hero: wadah teks dibentang setinggi hero, teks di tengah (kolom), ornamen di dasar. */
#fun-div-id14 {
  top: 0 !important;
  bottom: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#fun-div-id15 {
  top: 0 !important;
  padding-bottom: 36px !important;
}
#fun-div-id21a {
  width: 90% !important;
}
@media (max-height: 700px) {
  #fun-img-awalid4 {
    width: 64px;
  }
}
#fun-div-id14 > img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
}
/* Hero setinggi foto slide: tanpa pita hitam padding dan dots di atas foto. */
#bx1-fun-div-id8 {
  padding: 0;
}
#fun-div-id11 .splide__slide {
  height: 100vh !important;
  height: 100svh !important;
}
#fun-div-id11 .splide__pagination {
  position: absolute;
  bottom: 104px;
  z-index: 2;
}

/* Penutup dulu tersarang di .box-51 (warisi p putih); kini saudara, warna dipasang eksplisit. */
#akhir-kata p {
  color: #fff;
}

/* Panel offcanvas dari main.js: setinggi halaman dan menelan gesture gulir. */
#fh5co-offcanvas {
  display: none !important;
}

/* Ritme section: variasi 2 pola (teks vs kartu), bukan satu template. */
.box-3,
.box-4,
.box-5,
.box-51,
.fh5co-section-gray,
.ucapan,
#fh5co-footer {
  padding-top: var(--s4);
  padding-bottom: var(--s4);
}
.box-4 .container,
.box-3 .container {
  width: min(90%, 440px);
}

/* Peta responsif: iframe bawaan width=600 merusak mobile. */
.embed_map_cli iframe,
#map_id iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}
img {
  max-width: 100%;
  height: auto;
}
/* Foto lazy 2:3 tanpa dimensi: pesan ruang agar tombol nav tidak meleset saat foto termuat. */
.story-img,
#ak-fun-img-id7 {
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

/* Galeri 360px: row Bootstrap tanpa container meluber 30px. */
#galery_id .row {
  margin-left: 0;
  margin-right: 0;
}
/* Galeri 2 kolom: semua foto 2:3 potret, jadi grid CSS cukup (justifiedGallery dicabut). */
#galleryGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 0 6px;
}
#galleryGrid .gallery-item {
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
}
#galleryGrid .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Navigasi bawah: bar kertas gading agar ikon gelap terbaca di siang hari,
   aksen oranye hanya di item aktif (satu momen kunci). */
#menu_id.fix-menu {
  background: #fffdf8 !important;
  height: auto;
  border: 1px solid rgba(32, 26, 21, 0.14);
  border-radius: 18px;
  box-shadow: 0 -4px 16px rgba(32, 26, 21, 0.12);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
#menu_id .nav-grid {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  gap: 3px;
}
#menu_id .nav-item,
#menu_id .nav-toggle {
  appearance: none;
  border: 0;
  background: none;
  font: inherit;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 52px;
  padding: 4px 0;
  color: #4a4239;
  font-size: 9px;
  font-weight: 600;
  cursor: pointer;
}
#menu_id .nav-ic {
  width: 22px;
  height: 22px;
}
#menu_id .nav-item[aria-current="true"] {
  color: #a34e00;
}
#menu_id .nav-item[aria-current="true"]::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ff9c1f;
}
#menu_id .nav-sep {
  width: 1px;
  background: rgba(32, 26, 21, 0.14);
  margin: 8px 0;
}
#menu_id .nav-toggle[aria-pressed="false"] {
  opacity: 0.45;
}
#menu_id .notif_scroll {
  position: absolute;
  bottom: calc(100% + 8px);
  right: -4px;
  background: #201a15;
  color: #fffdf8;
  font-size: 10px;
  font-weight: 400;
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: 20px;
}
.fix-menu .item1:focus-visible,
.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid #000;
  outline-offset: 2px;
}

/* Status offline: tombol yang butuh server tidak dibuang, tapi jujur. */
.offline-note {
  font-size: 12px;
  line-height: 1.5;
  background: #fff8e6;
  border: 1px solid #e8c15a;
  color: #5c4a12;
  border-radius: 8px;
  padding: 8px 12px;
  margin: 12px auto;
  max-width: 420px;
  text-align: center;
}

/* Diet gerak (MOTION 1): tak ada loop abadi, reveal sekali dan cepat. */
#page .simply-countdown > .simply-section {
  animation: none;
}
.splide__slide.is-active {
  animation: none;
}
[data-aos] {
  transition-duration: 0.5s !important;
}

/* Kontras teks di atas foto: bayangan teks agar tulisan putih terbaca (R-25). */
.awal-dalam h1,
.awal-dalam h3,
.awal-dalam p,
.box31 h1,
.box31 h3,
.box31 p {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

/* Kurangi gerak: hormati prefers-reduced-motion, matikan pulse abadi. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* countdown: title one line, consistent spacing, readable cards and ayat */
.box31 .fun-h3-4{font-size:20px!important;margin:0 0 4px}
.box31 .fun-h1-9{font-size:clamp(36px,11vw,52px)!important;line-height:1.1;white-space:nowrap;margin:0}
.box31 .fun-div-510{height:24px!important}
.box31 .fun-div-512{height:32px!important}
#fun-div-id41{display:flex;justify-content:center;gap:8px}
#fun-div-id41 > .simply-section{margin:0;flex:0 1 72px;width:auto;height:72px;display:flex;align-items:center;justify-content:center}
#fun-div-id41 .simply-section > div{width:auto;height:auto;display:flex;flex-direction:column;align-items:center;gap:4px}
#fun-div-id41 .simply-amount{font-size:26px!important;line-height:1;margin:0;font-variant-numeric:tabular-nums}
#fun-div-id41 .simply-word{font-size:10px!important;line-height:1;letter-spacing:.06em;text-transform:uppercase}
#box31-fun-div-id24 .fun-span-109{font-size:18px!important;line-height:1.9}
#box31-fun-div-id24 .fun-span-112,#box31-fun-div-id24 .fun-span-115{font-size:14px!important;line-height:1.6}
#menu_id .notif_scroll{display:none}
/* empty footer band: watermark was removed, only audio remains (plays while hidden) */
#fh5co-footer{display:none}
#our-gallery-id3{margin-bottom:24px}
#page h1{line-height:1.2}
#akhir-fun-h1-id1{line-height:1.1!important}
#acara1-fun-h3-id5,#acara2-fun-h3-id6{line-height:1.5}
#page .fun-p-158{line-height:1.5!important}
.box31{padding:var(--s4) 0!important}
