/* Font families */
.font-section-judul {
  font-family: "Vesper Libre", serif;
  font-weight: 400;
  font-style: normal;
}

.font-cinzel {
  font-family: "Cinzel", sans-serif;
}

.font-vidaloka {
  font-family: "Vidaloka", sans-serif;
}

.font-belleza {
  font-family: "Belleza", sans-serif;
}

.font-zcoll {
  font-family: "ZCOOL XiaoWei", sans-serif;
}

.font-libreCaslon {
  font-family: "Libre Caslon Display", sans-serif;
}

.font-aboreto {
  font-family: "Aboreto", sans-serif;
}

.font-poppins {
  font-family: "Poppins", sans-serif;
}

.font-inter {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.font-pinyon {
  font-family: "Pinyon Script", sans-serif;
}

.font-zenantique {
  font-family: "Zen Antique", sans-serif;
}

.font-caudex {
  font-family: "Caudex", sans-serif;
}

.font-segoe {
  font-family: "Segoe UI", sans-serif;
}

.font-imperial {
  font-family: "Imperial Script", sans-serif;
}

/* Background images */
.bg-quotes-section {
  background-image: radial-gradient(at center right, #FFF0E5 0%, #E8D5C4 100%);
}

#section-quotes .quotes-text {
  color: #700F06;
}

#section-quotes .quotes-body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-style: normal;
}

#section-story {
  color: #700f06;
}

#section-story .font-section-judul,
#section-story p {
  color: #700f06;
}

.bg-schedule {
  background-color: #FFFAF380;
}

.bg-gallery-section {
  background-image: linear-gradient(180deg, #00000080 0%, #868A78 100%);
}

.bg-btn-mempelai {
  background-color: #585C4C;
}

.bg-overlay-mempelai {
  background-color: rgb(255, 249, 240, 0.88);
}

.bg-overlay-schedule {
  background-color: #FFF9F0;
}

/* Max widths */
.max-w-1\/10 {
  max-width: 10%;
}

.max-w-1\/2 {
  max-width: 50%;
}

.max-w-1\/4 {
  max-width: 25%;
}

/* Colors */
.text-red-cover {
  color: #6E2428;
}

.text-gold-cover {
  color: #DBCCA2;
}

.text-gold-cover-dalam {
  color: #DFB584;
}

.text-putih-cover {
  color: #FFFBE9D4;
}

.text-story-section {
  color: #FFF1CF;
}

.text-white-payment {
  color: #D5CBB4;
}

.text-red-border-payment {
  color: #9C8594;
}

.text-grey-comment {
  color: #625B4F;
}

.text-green-cover {
  color: #3C4034;
}

/* Background Colors */
.bg-red-cover {
  background-color: #661217;
}

.bg-green-cover {
  background-color: #585C4C;
}

.bg-gold-cover {
  background-color: #DBCCA2;
}

.bg-gold-cover-dalam {
  background-color: #DFB584;
}

.bg-putih-cover {
  background-color: #FFFBE9D4;
}

.bg-putih-schedule {
  background-color: #FFF9F0;
}

.bg-story-section {
  background-color: #FFF1CF;
}

.bg-white-payment {
  background-color: #D5CBB4;
}

.bg-red-border-payment {
  background-color: #9C8594;
}

.bg-countdown {
  background-color: #FBECD7;
}

.bg-red-guest {
  background-color: #6E2428;
}

.bg-green-guest {
  background-color: #F1EDE4;
}

.bg-ruby-footer {
  background-color: #700F06;
}

.bg-ruby-footer,
.bg-ruby-footer * {
  color: #ffffff !important;
}

/* Border Color */
.border-red-cover {
  border-color: #661217;
}

.border-gold-cover {
  border-color: #DBCCA2;
}

.border-gold-cover-dalam {
  border-color: #DFB584;
}

.border-putih-cover {
  border-color: #FFFBE9D4;
}

.border-story-section {
  border-color: #FFF1CF;
}

.border-white-payment {
  border-color: #D5CBB4;
}

.border-red-border-payment {
  border-color: #9C8594;
}

.border-mempelai {
  border-color: #868A78;
}

.border-wish {
  border-color: BBBBBB;
}

.divide-red-border-payment {
  border-color: #9C8594;
}

.border-overlay-mempelai {
  border-color: #6E2428;
}

.border-schedule {
  border-color: #585C4C;
}

.border-green {
  border-color: #A6A69A;
}

.text-gold-trj {
  color: #2C1E11;
}

.bg-gold-trj {
  background-color: #2C1E11;
}

.trj-cover-overlay {
  background-color: #FFF0E5;
  opacity: 0.25;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

/* Mempelai — panel di atas foto (teks & foto pasangan) */
.trj-mempelai-panel {
  background-color: rgba(255, 240, 229, 0.82);
  border: 4px solid #700f06;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.text-mempelai-ruby {
  color: #700f06;
}

.trj-mempelai-photo-border {
  border-color: #700f06;
}

.trj-mempelai-photo-shell {
  position: relative;
  display: block;
  overflow: visible;
}

/* bunga Kanan — di luar lingkaran foto, bersinggungan dengan border (#700f06) */
.trj-mempelai-photo-corner-flower {
  position: absolute;
  right: -38%;
  bottom: -5%;
  width: clamp(210px, 85%, 380px);
  height: auto;
  z-index: 2;
  pointer-events: none;
  transform-origin: 92% 88%;
  transform: translate(calc(15% + 10px), calc(10% + 6px));
}

@media screen and (min-width: 768px) {
  .trj-mempelai-photo-corner-flower {
    width: clamp(250px, 75%, 450px);
    right: -34%;
    bottom: -8%;
    transform: translate(calc(18% + 12px), calc(12% + 8px));
  }
}

/* Link IG di section mempelai — ikon saja warna #700f06 */
.trj-mempelai-ig-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  line-height: 1;
  color: #700f06;
  background-color: transparent;
  border: none;
  font-size: 1.625rem;
  text-decoration: none;
}

.trj-mempelai-ig-btn:hover {
  opacity: 0.82;
}

.trj-mempelai-ig-btn:focus-visible {
  outline: 2px solid #700f06;
  outline-offset: 3px;
  border-radius: 4px;
}

/* Shadow */
.shadoww {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}


/* position */
.-scale-x-100 {
  transform: scaleX(-1);
}

/* Border radius */
.rounded-4xl {
  border-radius: 3.125rem;
}

/* Animation */
.animate-zoom-in {
  animation-name: zoomIn;
  animation-duration: 9s;
  animation-fill-mode: forwards;
}

/* Keyframes */
@keyframes zoomIn {

  0%,
  87.5% {
    opacity: 0;
    transform: scale3d(0, 0, 0);
  }

  93.75% {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}

/* Decorative flowers — gentle sway (quotes, penutup, etc.) */
.trj-flower-sway {
  transform-origin: 50% 35%;
  animation: trj-flower-sway 5.5s ease-in-out infinite;
}

.trj-flower-sway--alt {
  animation-delay: -2.75s;
}

@keyframes trj-flower-sway {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  33% {
    transform: translateY(-12px) rotate(2.5deg);
  }

  66% {
    transform: translateY(-5px) rotate(-2deg);
  }
}

/* Guest book corners — keeps original tilt inside keyframes */
.trj-flower-wish-pos-left {
  top: -5%;
  right: 88%;
  transform-origin: 55% 40%;
  animation: trj-flower-wish-left 5s ease-in-out infinite;
}

.trj-flower-wish-pos-right {
  top: -5%;
  left: 88%;
  transform-origin: 45% 40%;
  animation: trj-flower-wish-right 5s ease-in-out infinite;
  animation-delay: -2.5s;
}

@keyframes trj-flower-wish-left {

  0%,
  100% {
    transform: rotate(35deg) translateY(0);
  }

  50% {
    transform: rotate(31deg) translateY(-14px);
  }
}

@keyframes trj-flower-wish-right {

  0%,
  100% {
    transform: rotate(-35deg) translateY(0);
  }

  50% {
    transform: rotate(-31deg) translateY(-14px);
  }
}

@media (prefers-reduced-motion: reduce) {

  .trj-flower-sway,
  .trj-flower-wish-pos-left,
  .trj-flower-wish-pos-right {
    animation: none !important;
  }
}


/* Section */

.acara-wrapper {
  background-position: center center;
  background-size: cover;
  opacity: 1;
  padding: 60px 36px 150px 36px;
  text-align: center;
  margin: 0px 0px 10px 0px;
  border-radius: 500px 500px 500px 500px;
  background-image: url('./bg-mempelai.png');
}

/* Responsive background for mempelai sections */
.mempelai-bg-section {
  background-size: cover !important;
}

/* Desktop fix - use scroll for better performance */
@media screen and (min-width: 768px) {
  .mempelai-bg-section {
    background-attachment: scroll !important;
    background-size: cover !important;
    background-position: center !important;
  }
}

/* Alternative approach for very wide screens */
@media screen and (min-width: 1400px) {
  .mempelai-bg-section {
    background-attachment: scroll !important;
    background-size: cover !important;
    background-position: center !important;
  }
}

/* Schedule background section - same fix as mempelai */
.schedule-bg-section {
  background-size: cover !important;
}

/* Desktop fix for schedule background */
@media screen and (min-width: 768px) {
  .schedule-bg-section {
    background-attachment: scroll !important;
    background-size: cover !important;
    background-position: center !important;
  }
}

/* Alternative approach for very wide screens - schedule */
@media screen and (min-width: 1400px) {
  .schedule-bg-section {
    background-attachment: scroll !important;
    background-size: cover !important;
    background-position: center !important;
  }
}

/* Jadwal: kartu ikut ukuran Cover3.webp; teks absolute di atas gambar tanpa overlay krem */
.trj-schedule-event-card {
  position: relative;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  width: fit-content;
  border-radius: 1.25rem;
  border: 4px solid #ceb172;
  background-color: #fff9f0;
  box-shadow:
    0 2px 0 rgba(206, 177, 114, 0.35),
    0 16px 40px rgba(0, 0, 0, 0.12);
}

.trj-schedule-event-card-photo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  vertical-align: top;
}

.trj-schedule-event-card-inner {
  position: absolute;
  inset: 0;
  padding-top: clamp(7.5rem, 32%, 14rem);
  padding-right: 1.05rem;
  padding-bottom: 1.5rem;
  padding-left: 1.05rem;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  -webkit-overflow-scrolling: touch;
}

#section-schedule .trj-schedule-stack {
  color: #700f06;
}

#section-schedule .trj-schedule-stack a:not(.trj-schedule-map-btn) {
  color: inherit;
}

#section-schedule .trj-schedule-event-card-inner h1,
#section-schedule .trj-schedule-event-card-inner p,
#section-schedule .trj-schedule-event-card-inner p span {
  text-shadow:
    0 0 1px rgba(255, 249, 240, 0.98),
    0 1px 3px rgba(255, 249, 240, 0.95),
    0 0 18px rgba(255, 249, 240, 0.65);
}

/* Blok tanggal: HARI → angka besar → BULAN TAHUN */
.trj-schedule-date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.trj-schedule-date-day,
.trj-schedule-date-mmyy {
  font-family: "Vesper Libre", serif;
  font-weight: 700;
  font-style: normal;
  font-size: clamp(0.9375rem, 2.8vw, 1.125rem);
  letter-spacing: 0.12em;
  line-height: 1.3;
  margin: 0;
}

.trj-schedule-date-num {
  font-family: "Vidaloka", serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(3.5rem, 14vw, 5.25rem);
  line-height: 1;
  letter-spacing: 0.03em;
  margin: 0.25rem 0;
}

@media screen and (min-width: 768px) {

  .trj-schedule-date-day,
  .trj-schedule-date-mmyy {
    font-size: 1.1875rem;
    letter-spacing: 0.14em;
  }
}

/* Waktu & lokasi: Inter 400; ukuran sama dengan .trj-schedule-date-mmyy */
#section-schedule .trj-schedule-waktu-lokasi {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(0.9375rem, 2.8vw, 1.125rem);
  line-height: 1.45;
  letter-spacing: normal;
}

@media screen and (min-width: 768px) {
  #section-schedule .trj-schedule-waktu-lokasi {
    font-size: 1.1875rem;
  }
}

/* Pembagian di atas lokasi: garis · rumah (cerobong) · garis */
#section-schedule .trj-schedule-location-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: clamp(0.5rem, 3vw, 1rem);
  margin: 0.35rem auto 0.65rem;
  color: #700f06;
}

#section-schedule .trj-schedule-location-divider__rule {
  flex: 1 1 auto;
  height: 1px;
  background-color: #700f06;
  min-width: 0.75rem;
}

#section-schedule .trj-schedule-location-divider__mark {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.0625rem;
  line-height: 1;
}

@media screen and (min-width: 768px) {
  #section-schedule .trj-schedule-location-divider__mark {
    font-size: 1.125rem;
  }
}

#section-schedule .trj-schedule-map-btn,
#section-live-streaming .trj-schedule-map-btn,
#section-guest .trj-schedule-map-btn,
#section-guest-book .trj-schedule-map-btn {
  color: #fff;
  border: none;
  background: linear-gradient(180deg, #e1bf7c 0%, #b69f65 100%);
  text-decoration: none;
  text-shadow: none;
  transition: filter 0.2s ease;
}

#section-schedule .trj-schedule-map-btn:hover,
#section-live-streaming .trj-schedule-map-btn:hover,
#section-guest .trj-schedule-map-btn:hover,
#section-guest-book .trj-schedule-map-btn:hover {
  filter: brightness(1.06);
}

#section-schedule .trj-schedule-map-btn:focus-visible,
#section-live-streaming .trj-schedule-map-btn:focus-visible,
#section-guest .trj-schedule-map-btn:focus-visible,
#section-guest-book .trj-schedule-map-btn:focus-visible {
  outline: 2px solid #700f06;
  outline-offset: 3px;
}

/* Cover4 (#trj-guest-wish-bg): semua border penanda dipadukan #CEB172 */
#trj-guest-wish-bg .border-green,
#trj-guest-wish-bg .border-black,
#trj-guest-wish-bg .border-wish {
  border-color: #ceb172 !important;
}

#trj-guest-wish-bg .rounded-2xl.border.shadoww {
  border-color: #ceb172 !important;
}

@media screen and (min-width: 768px) {
  .trj-schedule-event-card-inner {
    padding-top: clamp(9rem, 36%, 16.5rem);
    padding-right: 1.35rem;
    padding-bottom: 1.75rem;
    padding-left: 1.35rem;
  }
}

#section-guest {
  background: transparent;
}

/* Kartu bank & e-wallet (hanya kartu ini): tekstur elegan #700F06 — panel amplop luar tetap Cover1 */
#trj-guest-wish-bg .trj-amplop-ruby-card.trj-gift-payment-card {
  background-color: #5c0c05;
  background-image:
    linear-gradient(155deg, rgba(255, 248, 240, 0.09) 0%, transparent 42%),
    repeating-linear-gradient(-11deg,
      transparent,
      transparent 4px,
      rgba(0, 0, 0, 0.045) 4px,
      rgba(0, 0, 0, 0.045) 5px),
    linear-gradient(152deg, #671007 0%, #700f06 52%, #4d0b04 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 225, 0.14),
    0 8px 24px rgba(0, 0, 0, 0.3);
}

#trj-guest-wish-bg .trj-amplop-ruby-card .trj-gift-payment-card__text,
#trj-guest-wish-bg .trj-amplop-ruby-card .trj-gift-payment-card__hint,
#trj-guest-wish-bg .trj-amplop-ruby-card .trj-gift-payment-card__title,
#trj-guest-wish-bg .trj-amplop-ruby-card .trj-gift-payment-card__number,
#trj-guest-wish-bg .trj-amplop-ruby-card .trj-gift-payment-card__recipient {
  color: #fff5eb !important;
}

#trj-guest-wish-bg .trj-amplop-ruby-card .trj-gift-payment-card__hint {
  opacity: 0.9;
}

#trj-guest-wish-bg .trj-amplop-ruby-card .trj-gift-payment-card__salin {
  background: linear-gradient(180deg, #e9d5a8 0%, #c9a065 92%);
  color: #3d1508 !important;
  font-family: "Inter", sans-serif;
}

#trj-guest-wish-bg .trj-amplop-ruby-card .trj-gift-payment-card__salin:focus-visible {
  outline-color: #fff5eb;
}

/* Kartu rekening & e-wallet (amplop) — horizontal, bunga flower-gift */
#section-guest .trj-gift-payment-card {
  width: 100%;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
  border-radius: 18px;
  overflow: hidden;
  /* Latar foto Cover1 (+ veil dari Vue .trjCover4InnerCardBg); kartu bergelap: .trj-amplop-ruby-card */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 6px 26px rgba(60, 64, 52, 0.08);
}

#section-guest .trj-gift-payment-card__inner {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 7rem;
}

#section-guest .trj-gift-payment-card__text {
  flex: 1;
  padding: 1.15rem 0.75rem 1.15rem 1.35rem;
  text-align: left;
  color: #700f06;
  min-width: 0;
}

#section-guest .trj-gift-payment-card__hint {
  font-family: "Inter", sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0.88;
  margin: 0 0 0.4rem;
  line-height: 1.3;
  color: #700f06;
}

#section-guest .trj-gift-payment-card__title {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(1.05rem, 3.2vw, 1.2rem);
  margin: 0 0 0.2rem;
  line-height: 1.25;
  color: #700f06;
}

#section-guest .trj-gift-payment-card__number {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(0.9375rem, 2.8vw, 1.0625rem);
  letter-spacing: 0.05em;
  margin: 0;
  word-break: break-word;
  color: #700f06;
}

#section-guest .trj-gift-payment-card__recipient {
  font-family: "Inter", sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  margin: 0.45rem 0 0;
  line-height: 1.45;
  color: #700f06;
}

#section-guest .trj-gift-payment-card__bank-logo {
  display: block;
  margin-top: 0.625rem;
  max-width: 9rem;
  max-height: 2.375rem;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

#trj-guest-wish-bg .trj-amplop-ruby-card .trj-gift-payment-card__bank-logo {
  padding: 0.35rem 0.5rem;
  background: rgba(255, 251, 247, 0.96);
  border-radius: 0.375rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

/* Logo e-wallet (PNG brand) sedikit lebih lebar dari logo bank */
#section-guest .trj-gift-payment-card__ewallet-logo {
  max-width: 6.5rem;
}

#section-guest .trj-gift-payment-card__aside {
  position: relative;
  flex-shrink: 0;
  width: clamp(128px, 33vw, 200px);
  min-height: 7.85rem;
}

#section-guest .trj-gift-payment-card__flower {
  position: absolute;
  right: -4px;
  bottom: -2px;
  height: calc(100% + 26px);
  max-height: 168px;
  width: auto;
  object-fit: contain;
  object-position: bottom right;
  pointer-events: none;
  display: block;
}

#section-guest .trj-gift-payment-card__salin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-62%, -50%);
  z-index: 2;
  margin: 0;
  cursor: pointer;
  border: none;
  padding: 0.52rem 1.32rem;
  border-radius: 9999px;
  background-color: #585c4c;
  color: #fff;
  font-family: "Vesper Libre", serif;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: filter 0.2s ease, transform 0.15s ease;
}

@media (hover: hover) {
  #section-guest .trj-gift-payment-card__salin:hover {
    filter: brightness(1.08);
  }
}

#section-guest .trj-gift-payment-card__salin:active {
  transform: translate(-62%, -50%) scale(0.98);
}

#section-guest .trj-gift-payment-card__salin:focus-visible {
  outline: 2px solid #3c4034;
  outline-offset: 3px;
}

@media screen and (max-width: 420px) {
  #section-guest .trj-gift-payment-card__inner {
    flex-direction: column;
  }

  #section-guest .trj-gift-payment-card__aside {
    width: 100%;
    min-height: 118px;
  }

  #section-guest .trj-gift-payment-card__flower {
    right: 0;
    max-height: 130px;
  }

  #section-guest .trj-gift-payment-card__salin {
    left: auto;
    right: 16%;
    transform: translate(0, -50%);
  }

  #section-guest .trj-gift-payment-card__salin:active {
    transform: translate(0, -50%) scale(0.98);
  }
}

.section-penutup {
  background-position: center center;
  background-size: cover;
  background-attachment: scroll;
  width: 100%;
  min-height: 100vh;
}

.trj-penutup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 240, 229, 0.45);
  z-index: 1;
  pointer-events: none;
}

.video-embed {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  margin-bottom: 20px;
  overflow: hidden;
}

.video-embed iframe,
.video-embed embed,
.video-embed object {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

#section-gallery .trj-gallery-title,
#section-gallery .trj-gallery-title * {
  color: #700f06;
}

#section-gallery .trj-gallery-video-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.06);
}

#section-gallery .trj-gallery-video-wrap>* {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#section-gallery .trj-gallery-video-wrap iframe,
#section-gallery .trj-gallery-video-wrap embed,
#section-gallery .trj-gallery-video-wrap object {
  border: 0;
}


/* Slide Up */
.slide-up-enter-active,
.slide-up-leave-active {
  transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}

.slide-up-enter,
.slide-up-leave-to {
  transform: translateY(-100%);
  opacity: 0;
}

/* Fade */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 1s;
}

.fade-enter,
.fade-leave-to {
  opacity: 0;
}

/* Swiper */
#section-schedule .swiper {
  width: 100%;
  max-width: 300px;
  height: 475px;
  border-radius: 115px 115px 0 0;
  border: 4px solid #868A78;
  overflow: hidden;
}

#section-countdown .swiper {
  width: 100%;
  height: 520px;
  overflow: hidden;
}

/* Overlay merah #700F06 di atas foto countdown — nuansa merah lebih kuat, foto tetap terbaca */
#section-countdown .trj-countdown-photo-overlay {
  z-index: 1;
  pointer-events: none;
  background-color: rgb(112 15 6 / 0.38);
}

#section-countdown .trj-countdown-calendar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.75rem;
  padding: 0.65rem 1.35rem;
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background-color: rgba(255, 240, 229, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

#section-countdown .trj-countdown-calendar-btn:hover {
  background-color: rgba(255, 240, 229, 0.32);
  border-color: #fff;
}

#section-countdown .trj-countdown-calendar-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

#section-quotes .swiper {
  width: 100%;
  height: 450px;
  border-radius: 32px;
  overflow: hidden;
}

#section-guest .swiper {
  width: 100%;
  max-width: 300px;
  height: 225px;
  border-radius: 1rem;
  border: 4px solid #DFB584;
  overflow: hidden;
  margin: 0 auto;
  margin-bottom: 1rem;
}

#section-penutup .swiper {
  width: 200px;
  height: 300px;
  border-radius: 999px;
  border: 4px solid #700F06;
  overflow: hidden;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {

  #section-schedule .swiper,
  #section-countdown .swiper,
  #section-story .swiper {
    height: 600px;
  }

  #section-guest .swiper {
    max-width: 400px;
    height: 300px;
  }

  #section-penutup .swiper {
    width: 260px;
    height: 350px;
  }
}

@media screen and (min-width: 1024px) {

  #section-schedule .swiper,
  #section-story .swiper {
    max-width: 500px;
    height: 800px;
  }

  #section-guest .swiper {
    max-width: 500px;
    height: 425px;
  }

  #section-penutup .swiper {
    width: 260px;
    height: 475px;
  }
}

@media screen and (min-height: 700px) {
  #section-penutup .swiper {
    height: 400px;
    width: 250px;
  }
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiperGallery {
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
}

.swiper-slide-gallery {
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiperThumb {
  height: 20%;
  box-sizing: border-box;
  padding: 10px 0;
}

.swiper-slide .swiper-slide-thumb {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide .swiper-slide-thumb img {
  display: block;
  width: 90px;
  height: 60px;
  object-fit: cover;
}

.gallery-container {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
}

.gallery-item {
  flex: 1 1 calc(50% - 10px);
  box-sizing: border-box;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

}

.z-cuss {
  z-index: 9999;
}

.animate-spin-slow {
  animation: spin 4s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


/* Custom Countdown Styles */
.custom-countdown-box {
  width: 200px;
  height: 200px;
  background: #FBECD7;
  border-radius: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  margin: 0 8px;
}

.circle-outline {
  width: 48px;
  height: 48px;
  border: 5px solid #6E2428;
  border-radius: 50%;
  margin-bottom: 12px;
}

.countdown-label {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  color: #6E2428;
  margin-top: 8px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

@media (max-width: 900px) {
  .custom-countdown-box {
    width: 120px;
    height: 120px;
    border-radius: 32px;
  }

  .countdown-label {
    font-size: 1.2rem;
  }

  .circle-outline {
    width: 32px;
    height: 32px;
    border-width: 3px;
  }
}

/* =====================================================================
   Isi undangan (.trj-invitation-body): teks biasa #700F06 + Inter 400;
   Judul blok section = Vesper Libre; tombol/CTA (font & warna tema) tidak diubah.
   Cover video pendek (.trj-inline-cover) tetap pakai hijau #3c4034.
   ===================================================================== */
.trj-invitation-body p,
.trj-invitation-body li,
.trj-invitation-body td,
.trj-invitation-body th,
.trj-invitation-body label,
.trj-invitation-body blockquote {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #700f06;
}

.trj-invitation-body h2,
.trj-invitation-body h3,
.trj-invitation-body h4,
.trj-invitation-body h5,
.trj-invitation-body h6 {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  color: #700f06;
}

.trj-invitation-body .font-section-judul {
  font-family: "Vesper Libre", serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
  color: #700f06 !important;
}

.trj-invitation-body h1.font-imperial {
  font-family: "Imperial Script", cursive !important;
  font-weight: 400 !important;
}

.trj-invitation-body p.font-vidaloka,
.trj-invitation-body span.font-vidaloka,
.trj-invitation-body h1.font-vidaloka:not(.font-section-judul) {
  font-family: "Vidaloka", serif !important;
}

.trj-invitation-body .font-vidaloka:not(button):not(.trj-schedule-map-btn) {
  font-weight: 400 !important;
}

.trj-invitation-body .trj-schedule-date-day,
.trj-invitation-body .trj-schedule-date-mmyy {
  font-family: "Vesper Libre", serif !important;
  font-weight: 700 !important;
}

.trj-invitation-body .trj-schedule-date-num {
  font-family: "Vidaloka", serif !important;
  font-weight: 400 !important;
}

.trj-invitation-body .trj-schedule-event-card-inner .font-imperial {
  font-family: "Imperial Script", cursive !important;
  font-weight: 400 !important;
}

.trj-invitation-body .trj-schedule-waktu-lokasi {
  font-family: "Inter", sans-serif !important;
  font-weight: 400 !important;
  color: #700f06 !important;
}

.trj-invitation-body .text-green-cover:not(.font-section-judul) {
  color: #700f06 !important;
}

.trj-invitation-body .trj-inline-cover .text-green-cover {
  color: #3c4034 !important;
}

.trj-invitation-body i.text-green-cover {
  color: #700f06 !important;
}

.trj-invitation-body .trj-inline-cover i.text-green-cover {
  color: #3c4034 !important;
}

.trj-invitation-body .text-mempelai-ruby:not(.font-section-judul) {
  color: #700f06 !important;
}

.trj-invitation-body .text-grey-comment {
  font-family: "Inter", sans-serif !important;
  font-weight: 400 !important;
  color: #700f06 !important;
}

.trj-invitation-body .text-white {
  color: #ffffff !important;
}

.trj-invitation-body #section-countdown {
  color: #ffffff;
}

.trj-invitation-body #section-countdown .font-section-judul {
  color: #ffffff !important;
}

.trj-invitation-body #section-countdown .font-aboreto {
  font-family: "Aboreto", serif !important;
}

.trj-invitation-body #section-countdown .font-aboreto p {
  font-family: inherit !important;
  color: #ffffff !important;
}

.trj-invitation-body #section-countdown .font-aboreto p.text-2xl.font-bold {
  font-weight: 700 !important;
}

.trj-invitation-body #section-countdown .font-aboreto p:not(.text-2xl) {
  font-weight: 400 !important;
}

.trj-invitation-body div.flex.flex-col.gap-4.text-sm {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  color: #700f06;
}

.trj-invitation-body textarea,
.trj-invitation-body input:not([type="submit"]):not([type="button"]):not([type="radio"]):not([type="checkbox"]):not([type="hidden"]) {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  color: #700f06;
}

.trj-invitation-body a:not(.trj-schedule-map-btn):not(.trj-mempelai-ig-btn):not(.bg-btn-mempelai):not(.trj-gift-payment-card__salin) {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  color: #700f06;
}

.trj-invitation-body small {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  color: #700f06;
}

.trj-invitation-body .font-roboto {
  font-family: "Inter", sans-serif !important;
  font-weight: 400 !important;
}

.trj-invitation-body ::placeholder {
  font-family: "Inter", sans-serif;
  color: rgb(112 15 6 / 0.5);
}

.trj-invitation-body h3.comment-name,
.trj-invitation-body .comment-sosmed,
.trj-invitation-body .comment-message,
.trj-invitation-body .comment-name span {
  font-family: "Inter", sans-serif !important;
  font-weight: 400 !important;
  color: #700f06 !important;
}

.trj-invitation-body .comment-name .font-bold {
  font-weight: 400 !important;
}

.trj-invitation-body .font-segoe:not(button) {
  font-family: "Inter", sans-serif !important;
}

/* Ensure all buttons use Vesper Libre font */
.trj-invitation-body button,
.trj-invitation-body .trj-schedule-map-btn,
.trj-invitation-body .trj-countdown-calendar-btn,
.trj-invitation-body .trj-gift-payment-card__salin,
.trj-invitation-body .trj-mempelai-ig-btn,
.trj-invitation-body [role="button"] {
  font-family: "Vesper Libre", serif !important;
}