/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css?family=Lato|Raleway|Rouge+Script");
@import url("https://fonts.googleapis.com/css2?family=Satisfy&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@400;600;700&display=swap");

.has-vertically-aligned-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

* {
  box-sizing: border-box;
}

html {
  font-family: 'Montserrat', sans-serif;
  width: 100%;
  min-height: 100%;
  scroll-behavior: smooth;

}

body.noscroll {
  overflow: hidden;
  height: 100vh;
}

/* Color Scheme */
:root {
  --beige-lightest: #f8f5f0;
  --beige-light: #e9e2d5;
  --beige-medium: #d9caaf;
  --beige-dark: #c9b18c;
  --beige-darkest: #a88d69;
  --text-dark: #5a5245;
  --text-light: #f8f5f0;
  --accent: #a88d69;
}

.header-wrapper {
  margin: 0;
}

.navbar-item {
  line-height: 38px;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 1rem;

}

.navbar-item.is-active {
  border-bottom: 2px solid #c8a24d;
}

.a.navbar-item {
  accent-color: #c8a24d;
}


.hero {
  min-height: 100vh;
  /* pastikan tinggi ada */
  background:
    url("../image/backgroundcatair.webp") center/cover no-repeat,
    /* overlay cat air */
    #0f3d7a;
  /* warna dasar di bawahnya */
  background-blend-mode: lighten;
  /* campurkan transparan */
  font-family: 'Raleway', sans-serif;
  background-attachment: scroll;
  /* ganti dari fixed biar cross-device aman */
  color: white;
  /* pastikan teks tetap terbaca */
}





.hero .title {
  font-family: 'Satisfy', cursive;
  font-weight: 700;
  transform: rotate(-2deg);
  font-size: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: 5px;
  color: whitesmoke;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.hero .subtitle {
  color: rgba(255, 255, 255, 0.85);
  /* Lebih soft daripada pure white */
  font-size: 1.125rem;
  /* Lebih besar dari 1rem, tapi tetap proporsional */
  font-weight: 400;
  /* Pastikan tidak terlalu tipis */
  letter-spacing: 0.5px;
  /* Sedikit jarak agar lebih lega */
  line-height: 1.6;
  /* Jarak antar baris nyaman */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  /* Tambahkan bayangan agar tetap terbaca di background terang */
}

.hero .tempatwaktu {
  padding-top: 12px;
  font-size: 1rem;

}

.hero .hero-foot {
  height: 50px;
  background: white;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.082);
}

@media (max-width: 599px) {
  .hero .hero-foot {
    display: none;
  }
}

.hero .hero-foot .hero-foot--wrapper {
  margin: 7px auto;
  height: 50px;
}

.hero .hero-foot .hero-foot--wrapper .hero-menu-desktop {
  line-height: 38px;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 1rem;
}

.hero .hero-foot .hero-foot--wrapper .hero-menu-desktop ul li {
  display: inline-block;
  padding-right: 15px;
  padding-left: 15px;
}

.hero .hero-foot .hero-foot--wrapper .hero-menu-desktop ul li.is-active a {
  border-bottom: 2px solid #c8a24d;
}

.hero .hero-foot .hero-foot--wrapper .hero-menu-desktop ul li a {
  color: #c8a24d;
}

.hero .hero-foot .hero-foot--wrapper .hero-menu-desktop ul li a:hover {
  color: #c8a24d;
  transition: all .2s ease-in-out;
  border-bottom: 2px solid #c28285;
}


.space40px {
  height: 40px;
}

.space24px {
  height: 24px;
}

.main-content {
  /* padding-top: 2rem; */
  color: #000;
  font-family: 'Raleway', sans-serif;
}

.main-content .section-dark {
  background-color: #0f3d7a;
  padding: clamp(40px, 8vw, 80px) clamp(16px, 5vw, 40px);
}

.main-content .section-darker {
  background-color: #0f3d7a;
  padding: clamp(40px, 8vw, 80px) clamp(16px, 5vw, 40px);
}

.main-content .section-dark.resume {
  height: 400px;
  padding-top: 60px;

}

@media (max-width: 599px) {
  .main-content .section-dark.resume {
    padding-top: 75px;
  }
}

.main-content .section-dark.resume .title {
  padding: 20px;
}

.main-content .section-dark.resume button {
  border: 2px solid #c8a24d;
  background: white;
  color: #c8a24d;
  height: 50px;
  width: 250px;
  font-size: 1rem;
  text-transform: uppercase;
}

.main-content .section-dark.resume .fa-download {
  color: #c8a24d;
}

.main-content .section-dark.my-work {
  padding: 80px 40px;
}

.main-content .section-cashbac {
  background-color: rgb(238, 250, 253);
  padding: 80px 40px;
}

@media (max-width: 599px) {
  .main-content .section-dark.foto-foto {
    padding: 75px 20px;
  }
}

.main-content .section-dark.foto-foto .foto-item {
  margin-bottom: 1rem;
  -webkit-transition: all .1s ease-in-out;
  transition: all .1s ease-in-out;
  border-radius: 5px;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 5px 20px rgba(14, 25, 80, 0.3);
}

.main-content .section-dark.my-work .work-item:hover {
  -webkit-transform: scale(1.055) translateY(-2px);
  transform: scale(1.055) translateY(-2px);
  -webkit-box-shadow: 0 2px 25px 0 rgba(30, 30, 30, 0.1);
  box-shadow: 0 2px 25px 0 rgba(30, 30, 30, 0.1);
}

.section-map {
  padding: 0 0 0 0;
}

.main-content .section-light {
  padding: 80px 40px;
}

.main-content .section-light.regular-section {
  padding-bottom: 80px;
}

.main-content .section-light.regular-section .is-larger {
  font-size: 1.2rem;
}

@media (max-width: 599px) {
  .main-content .section-light.regular-section .about-links {
    text-align: center;
  }
}

.main-content .section-light.regular-section .right-image img {
  border-radius: 11px;
  margin: 20px;
  box-shadow: 0 5px 20px rgba(14, 25, 80, 0.3);
}

@media (max-width: 599px) {
  .main-content .section-light.regular-section .right-image img {
    margin: auto;
  }
}

.main-content .section-light.skills {
  padding: 100px;
}

@media (max-width: 599px) {
  .main-content .section-light.skills {
    padding: 50px 20px 40px 20px;
    padding-bottom: 20px;
  }
}

.main-content .section-light.skills h1 {
  padding: 10px;
  font-size: 24px;
}

.main-content .section-light.contact {
  padding: 80px;
}

.main-content .section-light.contact button {
  width: 100%;
  color: rgb(0, 0, 0);
  height: 50px;
  font-size: 1.1rem;
  text-transform: uppercase;
  font-family: 'Raleway', sans-serif;
}

@media (max-width: 599px) {
  .main-content .section-light.contact {
    padding: 80px 40px;
  }
}

.main-content .section-color.pertanyaan {
  padding: 100px;
  background-color: #c8a24d;
  color: white;
}

.main-content .section-color.pertanyaan .title,
.main-content .section-color.pertanyaan .subtitle {
  color: white;
}

.main-content .section-color.pertanyaan i {
  font-size: 3rem;
  padding: 20px;
}

.main-content .section-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  color: #c8a24d;
  text-transform: uppercase;
  font-size: 1.5rem;
  letter-spacing: 0px;
  padding-block: 0.3rem;
  /* hanya atas dan bawah */
}

.nama-lengkap {
  color: #fff9ef;
  letter-spacing: 0px;
  line-height: 2.4rem;
}

.ampersand {
  font-size: 5rem;
  font-family: 'Rouge Script', sans-serif;
  color: #c8a24d;
  line-height: 3rem;
  display: inline-block;
  vertical-align: middle;
}

.bodytext {
  font-size: 18px;
}

.waktu {
  color: #363636;
  font-size: 1.2rem;
  font-family: 'Raleway', sans-serif;
}

.tanggal-angka {
  font-size: 5rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  line-height: 1;
}

.tempat {
  color: #fff9ef;
  font-size: 1.2rem;
  font-family: 'Raleway', sans-serif;
  margin-bottom: 50px;
}


.has-vertically-align {
  vertical-align: middle;
}

.footer {
  bottom: 0;
  margin-bottom: 145px;
  width: 100vw;
  padding: 10px 10px 10px 10px;
  line-height: 25px;
  text-align: center;
  vertical-align: middle;
  background: #0f3d7a;
  color: whitesmoke;
}

.footer p {
  color: white;
  font-weight: 500;
  font-size: 10pt;
  display: inline-block;
  vertical-align: middle;
}


.main-content .no-padding-top {
  padding-top: 0px;
}

.footer img {
  margin: 10px 0px 10px 10px;
  display: inline-block;
  max-height: 24px;
  vertical-align: middle;
}

.footer a .nav-item {
  color: whitesmoke;
}

.fa-download {
  color: #43485c;
}

.divider {
  display: block;
  margin: 0 auto;
  max-width: 200px;
  /* atau sesuai kebutuhan, misalnya 150px */
  width: 100%;
  /* biar bisa mengecil di layar kecil */
  height: auto;
  /* menjaga rasio gambar */
}

.bismillah {
  margin: 6px;
  display: inline-block;
  max-height: 50px;
  vertical-align: middle;
}

/* #toTop {
  height: 50px;
  width: 50px;
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #c8a24d;
  color: white;
  cursor: pointer;
  border-radius: 50%;
  font-size: 2rem;
  box-shadow: 0 5px 20px rgba(14, 25, 80, 0.3);
} */

#toTop a {
  color: white;
}

#toTop:hover {
  background-color: #c8a24d;
}

::-webkit-scrollbar {
  width: 8px;
  background-color: #fff9ef;
}

::-webkit-scrollbar-thumb {
  box-shadow: inset 0 0 6px #c8a24d;
  -webkit-box-shadow: inset 0 0 6px #c8a24d;
  background-color: #c8a24d;
}


.btn-whatsapp:hover {
  color: white;
  background-color: #59a543;
  font-size: 1.2rem;
  border-radius: 10px;
  border: 2px solid #59a543;
  width: 210px;
  height: 65px;
  align-items: center;
  margin: 1rem;
}


.btn-whatsapp {
  background-color: #6cc751;
  width: 210px;
  height: 65px;
  color: white;
  font-size: 1.2rem;
  border-radius: 10px;
  border-left: 1px solid #6cc751;
  border-right: 1px solid #6cc751;
  border-top: 1px solid #6cc751;
  border-bottom: 1px solid #6cc751;
  align-items: center;
  margin: 1rem;

}


.btn-cta:hover {
  color: #141313;
  background-color: #c8a24d;
  font-size: 1.2rem;
  border-radius: 10px;
  border: 2px solid #5c433e;
  width: 210px;
  height: 65px;
  align-items: center;
  margin: 1rem;
}

.btn-cta {
  background-color: #c8a24d;
  width: 210px;
  height: 65px;
  color: #5c433e;
  font-size: 1.2rem;
  border: 2px solid #5c433e;
  border-radius: 10px;
  align-items: center;
  margin: 1rem;
}

.cashbac-logo-inline {
  width: 160px;
  vertical-align: middle;
}

.button-download {
  min-width: 200px;
  height: 55px;
  align-items: center;
  margin: 0.1rem;

}


.voucher-code {
  height: 55px;
  max-width: 180px;
  border: 2px solid #26ade4;
  border-radius: 10px 0 0 10px;
  font-size: 24px;
  padding: 15px;
}

.btn-voucher-code {
  height: 55px;
  min-width: 100px;
  border: 2px solid #26ade4;
  background-color: #26ade4;
  border-radius: 0 10px 10px 0;
  font-size: 20px;
  padding: 0;
  margin: 0;
  vertical-align: middle;
  color: white;
}

.fa-copy {
  margin-right: 5px;
}

.white {
  color: ghostwhite
}


.dusty-pink {
  color: #D8A9A8
}

.dusty-pink-lighter {
  color: #0f3d7a
}

.dusty-pink-lightest {
  color: #fff9ef
}

.dusty-pink-darker {
  color: #c8a24d
}

.dusty-pink-darkest {
  color: #c8a24d
}

.tile {
  border-radius: 10px;
}


.foto1 {
  background-image: linear-gradient(rgba(95, 2, 2, 0.5), rgba(48, 47, 47, 0.9)), url("../image/foto1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 24rem;
}


.foto2 {
  background-image: linear-gradient(rgba(95, 2, 2, 0.5), rgba(48, 47, 47, 0.9)), url("../image/foto2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 24rem;
}

.foto3 {
  background-image: linear-gradient(rgba(95, 2, 2, 0.5), rgba(48, 47, 47, 0.9)), url("../image/foto3.jpg");
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  min-height: 24rem;
}

.foto4 {
  background-image: linear-gradient(rgba(95, 2, 2, 0.5), rgba(48, 47, 47, 0.9)), url("../image/foto4.jpg");
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  min-height: 24rem;
}

.foto5 {
  background-image: linear-gradient(rgba(95, 2, 2, 0.5), rgba(48, 47, 47, 0.9)), url("../image/foto4.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 24rem;
}


.foto6 {
  background-image: linear-gradient(rgba(95, 2, 2, 0.5), rgba(48, 47, 47, 0.9)), url("../image/foto4.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 24rem;
}



.title-foto {
  font-size: 18pt;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  text-align: left;
  color: white;
}


.subtitle-foto {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 14pt;
  font-weight: 600;
  margin-top: 15px;
  text-align: left;
  color: white;
}

.section-light {
  background-image: url(../image/divider-flowers-leaves.png);
  background-position: bottom -30px center;
  background-repeat: no-repeat;
  background-size: initial;
}

.instagram {
  color: #c8a24d;
  font-size: 1.25rem;
  font-weight: 900;
  margin-top: 0.5rem;
  display: inline-block;
  vertical-align: middle;
  text-align: center;
  padding: 10px;
}

/* Kartu keluar ke atas (smooth) */
.card-fade-slide {
  animation: fadeSlideUp 0.6s ease-out forwards;
}

@keyframes fadeSlideUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-80px);
  }
}

/* Preloader wrapper geser ke atas */
.preloader-wrapper.hide-wrapper {
  animation: hideWrapperUp 0.6s ease-out forwards;
}

@keyframes hideWrapperUp {
  to {
    transform: translateY(-100%);
    opacity: 0;
  }
}

#hitungmundur {
  color: white;
}

#hitungmundur span,
#hitungmundur p,
#hitungmundur li {
  color: white;
}

.hero-middle {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-block: 1rem;
}

.hero-middle img {
  width: 100%;
  max-height: auto;
  max-width: 400px;
  object-fit: contain;
  display: block;
}

.pengantin-pp {
  display: flex;
  flex-direction: column;
  align-items: horizontal center;
  justify-content: vertical center;
  max-width: 180px;
  margin: 0 auto;
}

.pengantin-pp img {
  width: 100%;
  height: auto;
}

p {
  max-width: 400px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  /* Responsive font size */
  line-height: 1.30;
  /* Lebih lega */
  letter-spacing: 0.1px;
  /* Sedikit jarak antar huruf */


}

/* img {
  max-width: 330px;
  height: auto;
} */

.floating-button {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-6px);
  }

  100% {
    transform: translateY(0px);
  }
}

.audio-toggle {
  position: relative;
  background: #c8a24d;
  color: #0f3d7a;
  border: 2px solid #0f3d7a;
  font-size: 20px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.2s ease;
  color: #4a4a4a;
  cursor: pointer;
  display: block;
  height: 3.25rem;
  width: 3.25rem;
  margin-left: auto;
}

.navbar-brand {

  background: #fff9ef;
}

/* Scroll down */


/*=============== VARIABLES CSS ===============*/
:root {
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: #0f3d7a;
  --black-color: #0f3d7a;
  --white-color: hsl(0, 0%, 100%);
  --text-color: hsl(225, 8%, 65%);
  --body-color: #f7fafc;

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat Alternates", sans-serif;
  --biggest-font-size: 2.5rem;
  --tiny-font-size: .625rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-semi-bold: 600;
  --font-bold: 700;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
  :root {
    --biggest-font-size: 3.5rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  background-color: var(--body-color);
  color: var(--text-color);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

/* Remove the property of 100vh, when inserting its content */
.section {
  height: 100vh;
  padding-block: 2.5rem;
}

.section h1 {
  font-size: var(--biggest-font-size);
  color: var(--black-color);
  text-align: center;
}

/*=============== NAVBAR ===============*/
.nav {
  position: fixed;
  bottom: 3.5rem;
  left: 0;
  right: 0;
  background-color: var(--black-color);
  width: 90%;
  margin-inline: auto;
  box-shadow: 0px 0px 8px 2px #f9f5e23b;
  padding: 1rem 1.75rem;
  border-radius: 4rem;
  z-index: var(--z-fixed);
}

.nav__list {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__link {
  color: var(--text-color);
  font-size: 1.5rem;
  transition: color .4s;
}

.nav__link:hover {
  color: var(--white-color);
}

/*=============== EXPAND LIST ===============*/
.nav__expand {
  border: none;
  outline: none;
  width: 40px;
  height: 40px;
  background-color: var(--first-color);
  border-radius: 50%;
  cursor: pointer;
}

.nav__expand-icon {
  display: inline-block;
  color: var(--white-color);
  font-size: 1.5rem;
  transition: transform .4s;
}

.nav__expand-list {
  position: absolute;
  top: -4.5rem;
  left: 0;
  right: 0;
  background-color: var(--black-color);
  box-shadow: 0 2px 16px hsla(228, 95%, 4%, .1);
  width: max-content;
  margin-inline: auto;
  padding: .5rem 1.5rem;
  border-radius: 4rem;
  display: flex;
  column-gap: 2rem;
  z-index: -1;
  overflow: hidden;
  transform: translateY(5rem) scale(.1);
  transition: transform .5s cubic-bezier(.5, 1.8, .4, .8);
}

.nav__expand-list li {
  transform: translateY(-3rem);
  transition: transform .4s;
}

.nav__expand-list li:nth-child(1) {
  transition-delay: .2s;
}

.nav__expand-list li:nth-child(2) {
  transition-delay: .3s;
}

.nav__expand-list li:nth-child(3) {
  transition-delay: .4s;
}

.nav__expand-link {
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: color .4s;
}

.nav__expand-link i {
  font-size: 1.5rem;
}

.nav__expand-link span {
  font-size: var(--tiny-font-size);
  font-weight: var(--font-semi-bold);
}

.nav__expand-link:hover {
  color: var(--white-color);
}

/* Show list */
.show-list,
.show-list li {
  transform: translateY(0);
}

/* Rotate icon */
.rotate-icon {
  transform: rotate(135deg);
}

/* Active link */
.active-link {
  color: var(--white-color);
}

/*=============== BREAKPOINTS ===============*/
/* For medium devices */
@media screen and (min-width: 450px) {
  .nav {
    width: 350px;
  }
}

/* For large devices */
@media screen and (min-width: 1150px) {
  .container {
    margin-inline: auto;
  }
}

/* Container luar untuk sejajarkan slider dengan paragraf */
.slider-wrapper {
  padding: 0 16px;
  /* sejajar dengan teks */
  box-sizing: border-box;
}

/* SLIDER GALERI */
.slider {
  display: flex;
  gap: 12px;
  /* jarak antar gambar */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  max-width: 400px;
  margin: 0 auto;
}

.slider img {
  flex: 0 0 100%;
  max-width: 100%;
  height: auto;
  scroll-snap-align: center;
  object-fit: contain;
  border-radius: 12px;
  /* sudut membulat */
}

.slider::-webkit-scrollbar {
  display: none;
}


/* ===== Form Ucapan / Kehadiran ===== */
#nama {
  font-weight: 700;
  /* bold */
  color: #333;
  /* biar jelas terbaca */
}

/* ===== Form: struktur & label ===== */
#ucapan-form {
  max-width: 560px;
  margin: 24px auto;
  padding: 20px;
  background: #fff9f6;
  border: 1px solid #e9e2d5;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
  display: grid;
  gap: 16px;
}

#ucapan-form .form-group {
  display: grid;
  gap: 8px;
}

.form-label-ux {
  font-size: .9rem;
  font-weight: 700;
  color: #5a5245;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.form-label-ux i {
  color: #c8a24d;
}

.form-label-ux .req {
  color: #b74a4a;
  margin-left: 4px;
}

.form-label-ux .opt {
  color: #8f8576;
  font-weight: 600;
}

#ucapan-form input,
#ucapan-form select,
#ucapan-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d6c9bd;
  border-radius: 10px;
  font-size: .95rem;
  font-family: inherit;
  background: #fff;
  color: #333;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

#ucapan-form textarea {
  resize: vertical;
  min-height: 96px;
}

#ucapan-form input:focus,
#ucapan-form textarea:focus {
  border-color: #c8a24d;
  box-shadow: 0 0 0 2px rgba(153, 110, 109, .18);
}

/* hint kecil */
#ucapan-form .hint {
  font-size: .8rem;
  color: #8f8576;
  margin-top: 4px;
}

/* ===== Pills Kehadiran ===== */
.kh-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid #e9e2d5;
  background: #fff;
  color: #5a5245;
  font-weight: 700;
  transition: all .15s ease;
}

.pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.pill--ghost {
  background: #c8a24d;
  color: #fff;
  border-color: #c8a24d;
}

.pill--ghost:hover {
  background: #825c5b;
}

/* radio checked -> pill aktif dengan warna berbeda */
#kh-hadir:checked+label.pill {
  background: #e8f7ed;
  color: #1f7a3a;
  border-color: #cfead8;
}

#kh-belum:checked+label.pill {
  background: #fff6e5;
  color: #9a6a00;
  border-color: #fde6ba;
}

#kh-tidak:checked+label.pill {
  background: #fdeaea;
  color: #9a1e1e;
  border-color: #f6c9c9;
}

/* ===== Stepper Jumlah ===== */
.kh-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 4px 0;
  background: #fff;
  border: 1px solid #e9e2d5;
  border-radius: 999px;
  padding: 6px 14px;
  width: max-content;
  margin-left: 0;
  /* biar ikut rata kiri dengan label; pakai auto kalau mau center */
}

.kh-stepper .stepper {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #d6c9bd;
  background: #fff9f6;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  padding: 0;
}

.kh-stepper .stepper:hover {
  background: #f6ebe4;
}

#kh-jumlah-view {
  min-width: 32px;
  text-align: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #5a5245;
}

/* ===== Submit button (tap target ≥44px) ===== */
.btn-submit {
  background: #c8a24d;
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  min-height: 44px;
  cursor: pointer;
  transition: background .2s, transform .1s;
}

.btn-submit:hover {
  background: #825c5b;
  transform: translateY(-1px);
}

.btn-submit:active {
  transform: translateY(0);
}

/* Dark section: tetap terang (biar konsisten tema) */
.section-dark #ucapan-form {
  background: #fff9f6;
  border-color: #e9e2d5;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .20);
}

.section-dark .form-label-ux {
  color: #5a5245;
}

.section-dark .pill {
  background: #fff;
  border-color: #e9e2d5;
  color: #5a5245;
}

.section-dark .pill--ghost {
  background: #c8a24d;
  color: #fff;
}

.section-dark .kh-stepper {
  background: #fff;
  border-color: #e9e2d5;
}

/* Daftar ucapan */
.daftar-ucapan {
  max-width: 560px;
  margin: 20px auto 32px;
  display: grid;
  gap: 12px;
}

.ucapan-item {
  position: relative;
  border: 1px solid #e9e2d5;
  /* beige terang */
  background: #ffffff;
  border-radius: 14px;
  padding: 10px 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
  transition: transform .15s ease, box-shadow .15s ease;
}

.ucapan-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .10);
}

/* ====== DARK SECTION OVERRIDES ====== */
.section-dark .daftar-ucapan {
  gap: 14px;
}

.section-dark .ucapan-item {
  background: #0f3d7a;
  /* kartu gelap */
  border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .30);
}

/* teks default di kartu (light) */
.ucapan-item b {
  color: #c8a24d;
}

.ucapan-item p {
  margin: 8px 0 0 0;
  line-height: 1.5;
  color: #333;
}

.ucapan-item small {
  font-size: .8rem;
  color: #888;
  font-weight: normal;
  margin-left: 8px;
}

/* teks default di kartu (dark) */
.section-dark .ucapan-item b {
  color: #fff;
}

.section-dark .ucapan-item p {
  color: #f9f9f9;
}

.section-dark .ucapan-item small {
  color: rgba(255, 255, 255, .65);
}

/* Head: nama & waktu */
.ucapan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.ucapan-head b {
  font-weight: 700;
  font-size: .98rem;
}

.ucapan-head small {
  font-size: .8rem;
  white-space: nowrap;
  opacity: .9;
}

/* Body: isi pesan */
.ucapan-body {
  font-size: .95rem;
  line-height: 1.55;
  margin: 6px 0 10px;
}

/* Foot: badge status + jumlah orang */
.ucapan-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Badge (inspirasi Bulma .tag) */
.ucapan-foot .tag {
  border-radius: 999px;
  font-weight: 600;
  padding: .35rem .65rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
}

/* ====== BADGE – LIGHT MODE ====== */
.tag--hadir {
  background: #e8f7ed;
  color: #1f7a3a;
  border-color: #cfead8;
}

.tag--belum {
  background: #fff6e5;
  color: #9a6a00;
  border-color: #fde6ba;
}

.tag--tidak {
  background: #fdeaea;
  color: #9a1e1e;
  border-color: #f6c9c9;
}

.tag--jumlah {
  background: #e8f1fb;
  color: #1c4b93;
  border-color: #cfe0f7;
}

/* ====== BADGE – DARK MODE (kontras lebih kuat) ====== */
.section-dark .tag--hadir {
  background: #1f7a3a;
  color: #e8f7ed;
  border-color: transparent;
}

.section-dark .tag--belum {
  background: #9a6a00;
  color: #fff6e5;
  border-color: transparent;
}

.section-dark .tag--tidak {
  background: #9a1e1e;
  color: #fdeaea;
  border-color: transparent;
}

.section-dark .tag--jumlah {
  background: #1c4b93;
  color: #e8f1fb;
  border-color: transparent;
}

/* Garis pemisah halus antar kartu pada mobile */
@media (max-width:480px) {
  .ucapan-item {
    padding: 10px;
  }
}

/* Placeholder saat belum ada ucapan */
#ucapan-placeholder {
  background: repeating-linear-gradient(45deg, #fafafa, #fafafa 10px, #f4f4f4 10px, #f4f4f4 20px);
  border: 1px dashed #e0c9c9;
  text-align: center;
}

.section-dark #ucapan-placeholder {
  background: repeating-linear-gradient(45deg, #2f2f3e, #2f2f3e 10px, #343447 10px, #343447 20px);
  border-color: rgba(255, 255, 255, .25);
}

/* Ikon di dalam tag */
.tag i {
  font-size: 1rem;
  line-height: 0;
}

.gift-box {
  background-color: #fff8f7;
  border: 1px solid #e0c9c9;
  border-radius: 12px;
  display: inline-block;
  padding: 20px;
  margin-top: 15px;
  font-size: 1.1rem;
  line-height: 1.5;
}

.gift-box i,
.gift-box p {
  margin-right: 5px;
  color: #333;
}

#audio-control {
  position: fixed;
  right: 20px;
  z-index: 10;
  /* Lebih tinggi dari navbar dan konten */
  font-size: 1.8rem;
  color: #c8a24d;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

/* nama tamu bottom */
#bottom-greeting {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #f8f8f8;
  color: #333;
  padding: 10px 16px;
  text-align: center;
  font-weight: 500;
  font-size: 14px;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

@keyframes warpOut {
  0% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    filter: url('#warp-filter');
  }

  50% {
    opacity: 0.5;
    transform: scale(1.1) rotate(2deg);
  }

  100% {
    opacity: 0;
    transform: scale(0.7) rotate(-10deg);
    filter: blur(18px);
  }
}

.preloader-wrapper.warp-out {
  animation: warpOut 1s ease-in forwards;
  pointer-events: none;
}


/* Tab gift */
.tab-pane {
  display: none;
}

.tab-pane.is-active {
  display: block;
}

/* Style tabs biar nyatu dengan card */
.tabs.is-boxed li.is-active a {
  background-color: #7f5b5a;
  border-color: #7f5b5a;
  color: #363636;
}

.tabs.is-boxed a {
  border-radius: 6px 6px 0 0;
}

/* Card style untuk tab content */
.tab-pane .box {
  border-radius: 7px;
  /* nyambung sama tab header */
  box-shadow: -2px 1em 2em 0em rgba(10, 10, 10, .1), 0 0 0 1px rgba(10, 10, 10, .02);
  padding: 1.5rem;
}

.tab-pane {

  border-radius: 0 0 6px 6px;
}

/* Warna teks tab yang tidak aktif */
#gift .tabs.is-boxed li a {
  color: #a1a1a1;
  /* putih */
  background-color: transparent;
  border-color: #a1a1a1;
}

/* Tab aktif tetap seperti card */
#gift .tabs.is-boxed li.is-active a {
  color: #ffffff;
  font-weight: bold;
  /* warna teks aktif */
  background-color: #0f3d7a;
  /* putih untuk panel aktif */
  border-color: #ddd;
}


.ucapan-text.is-clamp {
  display: -webkit-box;
  /* fallback lama */
  -webkit-box-orient: vertical;
  /* fallback lama */
  overflow: hidden;

  -webkit-line-clamp: 5;
  /* vendor prefix (lama) */
  line-clamp: 5;
  /* standar baru */
}

.ucapan-more {
  margin-top: 6px;
  background: none;
  border: 0;
  padding: 0;
  font-weight: 700;
  color: #c8a24d;
  cursor: pointer;
}

.section-dark .ucapan-more {
  color: #fff;
  opacity: .9;
}

/* biar tinggi clamp akurat */

/* === Ucapan head: nama & waktu selaras === */
.ucapan-head {
  display: flex;
  align-items: center;
  /* waktu & nama sejajar vertikal */
  justify-content: space-between;
  gap: 8px;
}

/* Nama bisa panjang → ellipsis, biar waktu tetap terlihat */
.ucapan-head b {
  flex: 1 1 auto;
  min-width: 0;
  /* wajib untuk ellipsis */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Waktu konsisten, angka rata (tabular) dan tak terpotong */
.ucapan-time {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: .82rem;
  color: #888;
  font-variant-numeric: tabular-nums;
  /* angka sejajar */
  letter-spacing: .2px;
  opacity: .9;
}

/* Dark section: kontras waktu */
.section-dark .ucapan-time {
  color: rgba(255, 255, 255, .75);
}

/* Desktop/tablet: tambahkan bullet pemisah di depan waktu */
@media (min-width: 481px) {
  .ucapan-head b+.ucapan-time::before {
    content: "•";
    margin: 0 6px 0 10px;
    opacity: .5;
  }
}

/* Mobile: waktu turun ke baris baru di bawah nama */
@media (max-width: 480px) {
  .ucapan-head {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0px 8px;
  }

  .ucapan-time {
    order: 2;
    /* pastikan muncul setelah nama */
    width: 100%;
    opacity: .85;
  }
}

/* pagination */

.ucapan-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 24px;
}

.ucapan-pager button {
  background: #c19a6b;
  /* warna tema */
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.ucapan-pager button:hover:enabled {
  background: #a67c52;
  /* warna hover */
}

.ucapan-pager button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

#sponsor-aldi-dara img {
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

#sponsor-aldi-dara img:hover {
  opacity: 1;
}

.my-video {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  display: block;
}