body.page-pembuka.fade-out {
      opacity: 0;
      transition: opacity 1s ease;
    }

    .open-btn-pembuka {
      display: inline-block;
      padding: 10px 25px;
      background-color: #550000;
      color: #fff;
      font-family: 'Montserrat', sans-serif;
      text-decoration: none;
      border-radius: 30px;
      transition: background-color 0.3s ease;
    }

@font-face {
  font-family: 'wind';
  src: url('wind.woff2') format('woff2'),
       url('wind.woff') format('woff'),
       url('wind.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
}

html, body {
  background-color: var(--muted) !important;
  color: var(--accent) !important;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

:root{
  --accent:#2b2b1f;
  --muted:#f3eadf;
  --overlay:rgba(255,255,255,0.6);
  --btn-bg:#2b2b1f;
  --btn-txt:#fff;
  --max-width:1100px;
}

*{box-sizing:border-box}
html,body{height:100%;margin:0;font-family:Inter,system-ui}
body{color:var(--accent);background:var(--muted)}
.wrap{max-width:var(--max-width);margin:0 auto;padding:0 24px}

.hidden {
  display: none;
}
 
/* ===== GATES ===== */
#gates{
  position:relative;
  height:100vh;
  min-height:680px;
  background-size:cover;
  background-position:center;
  display:flex;
  justify-content:center;
  align-items:flex-start; 
  padding-top:50px;       
}

#gates::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.418) 10%,
    rgba(2, 2, 2, 0.377) 80%
  );
}

.gates-inner{
  position:relative;
  z-index:2;
  text-align:center;
  max-width:980px;
}

.top-label{
  font-family:'Playfair Display';
  letter-spacing:4px;
  font-size:23px;
  margin-bottom:8px;
  text-transform:uppercase;
  font-weight: bold;
  color: white;
  margin-bottom:12px;
}

.title{
  font-family:'Playfair Display';
  font-size:70px;
  margin:12px 0;
  color: white;
}

.date{
  font-family:'Playfair Display';
  letter-spacing:2px;
  color: white;
  margin-bottom:40px;
}

.invite-card{
  display:inline-block;
  padding:30px 56px;
  border-radius:28px;
  margin-top:320px;
}

.invite-name-dear{
  font-family:'Playfair Display';
  font-size:15px;
  margin:3px 0;
  color: white;
}

.invite-name{
  font-weight:700;
  font-family:'Playfair Display';
  font-size:25px;
  margin:3px 0;
  color: white;
}

.dear{
  font-family:'Playfair Display';
  font-size:15px;
  margin:3px 0;
  color: white;
}

.subtitle{
  font-size:13px;
  color: white;
  margin-bottom: 40px;
}

.open-btn{
  margin-top:12px;
  padding:12px 42px;
  border-radius:60px;
  border:none;
  background-color: #1f3025;
  color:white;
  cursor:pointer;
  font-family:'Playfair Display';
  text-decoration: none;
  margin-bottom: 20px;
}


@media (max-width: 768px) {
  .top-label{
  font-family:'Playfair Display';
  letter-spacing:4px;
  font-size:14px;
  margin-bottom:8px;
  text-transform:uppercase;
  font-weight: bold;
  color: white;
}

.title{
  font-family:'Playfair Display';
  font-size:30px;
  margin:8px 0;
  color: white;
}

.date{
  font-family:'Playfair Display';
  letter-spacing:2px;
  color: white;
}

.invite-card{
  display:inline-block;
  padding:30px 56px;
  border-radius:28px;
  margin-top:220px;
}

.invite-name-dear{
  font-family:'Playfair Display';
  font-size:15px;
  margin:3px 0;
  color: white;
}

.invite-name{
  font-weight:700;
  font-family:'Playfair Display';
  font-size:25px;
  margin:3px 0;
  color: white;
}

.dear{
  font-family:'Playfair Display';
  font-size:15px;
  margin:3px 0;
  color: white;
}

.subtitle{
  font-size:13px;
  color: white;
  margin-bottom: 40px;
}

.open-btn{
  margin-top:12px;
  padding:12px 42px;
  border-radius:60px;
  border:none;
  background-color: #1f3025;
  color:white;
  cursor:pointer;
  font-family:'Playfair Display';
  text-decoration: none;
  margin-bottom: 20px;
}
}


/* SECTION PERTAMA */
#vinylControl {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.3s ease-in-out;
}

/* Animasi vinyl muter */
#vinylControl.playing {
  animation: spin 4s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsif Mobile */
@media (max-width: 768px) {
  #vinylControl {
    width: 50px;
    height: 50px;
    bottom: 15px;
    left: 15px;
  }
}

.section-awalan {
  background: url('../../images/greenvale/bgpertama.webp') no-repeat center center/cover;
  height: 120vh;
  width: 100%;
  display: flex;
  align-items: flex-start; 
  justify-content: center; 
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  padding-top: 4rem; 
}

/* Overlay hitam */
.section-awalan::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45); 
  z-index: 1;
}

.awalan-content {
  position: relative; 
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
  
}

.awalan-subtitle {
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-family: 'Libertinus Math';
}

.awalan-names {
  font-size: 3.2rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin: 0.5rem 0;
}

.awalan-names span {
  font-family: 'Playfair Display', serif;
}

.awalan-date {
  margin-top: 2rem;
  font-size: 1rem;
  letter-spacing: 4px;
  font-family: 'Montserrat';
}

.awalan-verse {
  margin-top: 2rem;
  font-size: 1rem;
  color: #f0f0f0;
  font-family: 'Libertinus Math';
}

.awalan-verse-ref {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
  color: #ffffff;
  font-family: 'Libertinus Math';
}

/* Responsive */
@media screen and (max-width: 768px) {
  .awalan-names {
    font-size: 2rem;
  }

  .awalan-subtitle {
    font-size: 0.85rem;
  }

  .awalan-date {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 480px) {

  .awalan-content {
    padding: 1.5rem;
  }

  .awalan-verse {
    font-size: 1rem;
  }
}

@media screen and (max-width: 375px) {
  .awalan-names {
    font-size: 1.7rem;
  }

  .awalan-subtitle {
    font-size: 0.85rem;
  }

  .awalan-date {
    font-size: 0.9rem;
  }
}

/* ===== AWALAN SEQUENTIAL ANIMATION ===== */
.fade-item {
  opacity: 0;
  transform: translateY(30px);
  animation: awalanFadeUp 1s ease forwards;
}

/* URUTAN MUNCULNYA */
.fade-item:nth-child(1) { animation-delay: 0.3s; }
.fade-item:nth-child(2) { animation-delay: 0.4s; }
.fade-item:nth-child(3) { animation-delay: 0.6s; }
.fade-item:nth-child(4) { animation-delay: 0.8s; }
.fade-item:nth-child(5) { animation-delay: 1s; }

/* KEYFRAME ANIMASI */
@keyframes awalanFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== COUNTDOWN ===== */
#countdown {
  position: relative;
  background: url('../../images/greenvale/cd-bg.webp') no-repeat center center/cover;
  padding: 120px 0 80px;
  background-size: cover;
  background-position: center;
  text-align: center;
  overflow: hidden;
  font-family: 'wind';
  color: #1f3025;
}

/* Overlay putih transparan */
#countdown::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7); /* atur opacity di sini */
  z-index: 1;
}

/* Supaya konten tetap di atas overlay */
#countdown > * {
  position: relative;
  z-index: 2;
}

.count-title{
  text-transform:uppercase;
  letter-spacing:3px;
  font-weight: bold;
  font-size: 20px;
  font-family: 'wind';
}

.count-sub{
  font-family: 'wind';
  font-size:50px;
  margin-bottom:30px;
  letter-spacing: 3px;
}

.timer .value{
  font-size:48px;
}

.timer-list{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
}

/* ===== COUNTDOWN SCROLL ANIMATION ===== */
.count-anim {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
}

/* Saat aktif */
#countdown.active .count-anim {
  animation: cdScrollFade 1s ease forwards;
}

/* KEYFRAMES */
@keyframes cdScrollFade {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ===== COUPLE ===== */
/* ===== GROOM & BRIDE ===== */
#couple{
  padding:100px 0 120px;
  background:#f4eadf;
}

.couple-header{
  text-align:center;
  margin-bottom:60px;
  color: #1f3025;
  font-family: 'wind';
}

.couple-top{
  letter-spacing:3px;
  font-size:13px;
  margin-bottom:6px;
  color: #1f3025;
}

.couple-title{
  font-family: 'wind';
  font-size:48px;
  color: #1f3025;
}

.couple-inner{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:60px;
  align-items:center;
  text-align:center;
  color: #1f3025;
}

/* PERSON */
.person img{
  width:100%;
  max-width:260px;
  height:360px;
  object-fit:cover;
  margin-bottom:20px;
}

.person h3{
  font-family:'Playfair Display';
  font-size:26px;
  line-height:1.2;
  margin-bottom:10px;
  color: #1f3025;
}

.person h3 small{
  display:block;
  font-size:18px;
  font-weight:400;
  color: #1f3025;
}

.small-title{
  font-size:13px;
  text-transform:uppercase;
  margin-bottom:6px;
  letter-spacing:1px;
  color: #1f3025;
}

.small{
  font-size:14px;
  line-height:1.7;
  color: #1f3025;
}

/* AMPERSAND */
.amp{
  font-family:'Playfair Display';
  font-size:42px;
  color: #1f3025;
}

/* QUOTE */
.couple-quotes{
  margin-top:70px;
  text-align:center;
  max-width:820px;
  margin-left:auto;
  margin-right:auto;
  color:#1f3025;
  padding:0 20px;
}

.quote-text{
  font-size:16px;
  line-height:1.9;
  margin-bottom:12px;
  font-family:'Playfair Display';
}

.quote-source{
  display:block;
  font-size:14px;
  letter-spacing:1px;
  opacity:0.9;
}

/* RESPONSIVE */
@media(max-width:700px){
  .couple-quotes{
    margin-top:60px;
  }

  .quote-text{
    font-size:14px;
  }
}
/* ===== RESPONSIVE ===== */
@media(max-width:900px){
  .couple-inner{
    gap:30px;
  }
}

@media(max-width:700px){
  .couple-inner{
    grid-template-columns:1fr;
  }

  .amp{
    display:none;
  }

  .person img{
    max-width:220px;
    height:320px;
  }

  .couple-title{
    font-size:30px;
  }
}

.ig-link{
  display:inline-block;
  margin:8px 0 14px;
  font-size:20px;
  color: #1f3025;
  transition:0.3s;
}

.ig-link:hover{
  color:#264230;
  transform:scale(1.15);
}

/* ===== COUPLE SCROLL ANIMATION ===== */
.couple-anim-top,
.couple-anim-left,
.couple-anim-right,
.couple-anim-fade {
  opacity: 0;
  transition: 1s ease;
}

/* HEADER dari atas */
.couple-anim-top {
  transform: translateY(-40px);
}

/* BRIDE dari kiri */
.couple-anim-left {
  transform: translateX(-60px);
}

/* GROOM dari kanan */
.couple-anim-right {
  transform: translateX(60px);
}

/* QUOTES fade */
.couple-anim-fade {
  transform: translateY(20px);
}

/* AKTIF SAAT DISCROLL */
#couple.active .couple-anim-top,
#couple.active .couple-anim-left,
#couple.active .couple-anim-right,
#couple.active .couple-anim-fade {
  opacity: 1;
  transform: translate(0,0);
}


/* ================= WHERE & WHEN ================= */
.uwa-wherewhen{
  background: url('../../images/greenvale/bgwhen.webp') no-repeat center center/cover;
  background-size:cover;
  background-position:center;
  padding:120px 20px;
  position:relative;
}

.uwa-where-overlay{
  max-width:480px;
  margin:auto;
  background: rgba(38, 66, 48, 0.7); 
  color:white;
  padding:50px 30px;
  text-align:center;
}

.uwa-where-sub{
  font-family:'Wind';
  letter-spacing:3px;
  font-size:13px;
  color: #ffffff;
}

.uwa-event-box{
  margin-top:10px;
}

.uwa-event-box h3{
  font-family: 'Wind';
  font-size:18px;
  font-weight:600;
  letter-spacing:1px;
  margin-bottom:20px;
}

.uwa-event-box p{
  font-size:14px;
  letter-spacing:0.5px;
  margin:10px 0;
  opacity:0.95;
}

.uwa-location{
  font-size:13px;
  line-height:1.6;
}

.uwa-btn-group{
  margin-top:16px;
  display:flex;
  justify-content:center;
  gap:12px;
}

.uwa-btn{
  padding:8px 18px;
  border:1px solid white;
  color:white;
  text-decoration:none;
  border-radius:30px;
  font-size:13px;
}

/* ================= RESPONSIVE ================= */
@media(max-width:700px){
  .uwa-where-overlay{
    width:100%
  }

}

/* ===== WHERE & WHEN SCROLL ANIMATION ===== */

/* BOX HIJAU (MUNCUL PERTAMA) */
.uwa-anim-box {
  opacity: 0;
  transform: scale(0.96);
  transition: 1s ease;
}

/* SEMUA TEKS */
.uwa-anim-text {
  opacity: 0;
  transform: translateY(18px);
  transition: 0.8s ease;
}

/* SAAT AKTIF */
.uwa-anim-section.active .uwa-anim-box {
  opacity: 1;
  transform: scale(1);
}

/* TEKS MUNCUL SETELAH BOX */
.uwa-anim-section.active .uwa-anim-text {
  opacity: 1;
  transform: translateY(0);
}

/* DELAY BERTAHAP BIAR RAPI */
.uwa-anim-text:nth-child(1) { transition-delay: 0.3s; }
.uwa-anim-text:nth-child(2) { transition-delay: 0.5s; }
.uwa-anim-text:nth-child(3) { transition-delay: 0.7s; }
.uwa-anim-text:nth-child(4) { transition-delay: 0.9s; }


/* ================= LIVE STREAM ================= */
.uwa-livestream{
  background:#1f3025;
  color:white;
  text-align:center;
  padding:50px 20px;
}

.uwa-livestream h2{
  font-family: 'Wind';
  font-size:28px;
  font-weight:600;
  letter-spacing:1px;
  margin-bottom:20px;
}

.uwa-livestream p{
  font-size:12px;
  letter-spacing:0.5px;
  margin-bottom:20px;
}

.uwa-live-btn{
  display:inline-block;
  margin-top:16px;
  padding:10px 28px;
  background:rgb(173, 196, 133);
  color:black;
  border-radius:40px;
  text-decoration:none;
  font-family: 'Wind';
  font-weight: bold;
}

/* Styling Tambahan untuk Dresscode */
.uwa-dresscode {
  margin-top: 30px;
  padding-top: 20px;
}

.uwa-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  width: 50%;
  margin: 0 auto 25px auto;
}

.uwa-color-palette {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 15px 0;
}

.uwa-color-circle {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: inline-block;
}

.uwa-dress-note {
  font-style: italic;
  font-size: 12px !important;
  opacity: 0.8;
}

/* Tambahkan delay animasi untuk elemen ke-5 (Dresscode) */
.uwa-anim-text:nth-child(5) { 
  transition-delay: 1.1s; 
}

/* ================= LOVE STORY ================= */
.uwa-lovestory{
  background:#f3eadf;
  padding:60px 10px;
  text-align:center;
}

.uwa-story-box{
  max-width:700px;
  margin:48px auto;
}

.uwa-story-box img{
  width:100%;
  display:block;
}

.uwa-story-sub {
  letter-spacing:3px;
  font-size:13px;
  margin-bottom:6px;
  color: #1f3025;
  font-family: 'Wind';
}

.uwa-story-desc {
  letter-spacing:3px;
  font-size:13px;
  margin-bottom:6px;
  color: #1f3025;
  font-family: 'Wind';
}

.uwa-story-title{
  font-family: 'wind';
  font-size:48px;
  color: #1f3025;
  margin-top: 20px;
}

/* ===== LOVE STORY IMAGE TEXT OVERLAY ===== */
.uwa-story-img{
  position:relative;
  overflow:hidden;
}

.uwa-story-img img{
  width:100%;
  display:block;
}

.uwa-story-overlay{
  position:absolute;
  inset:0;
  background:rgba(0, 0, 0, 0.3);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  text-align:center;
  padding:20px;
}

.uwa-story-overlay h3{
  font-family:'Wind', serif;
  font-size:25px;
  letter-spacing:2px;
  color:white;
  margin:0 0 4px 0;
}

.uwa-story-overlay p{
  font-size:14px;
  color:white;
  opacity:0.95;
  margin:0; 
}

/* RESPONSIVE */
@media(max-width:768px){
  .uwa-story-overlay h3{
    font-size:16px;
  }

  .uwa-story-overlay p{
    font-size:13px;
  }
}

/* ===== LOVE STORY CINEMATIC ANIMATION ===== */

/* HEADER */
.uwa-story-anim-head{
  opacity: 0;
  transform: translateY(-30px);
  filter: blur(6px);
  transition: 1s cubic-bezier(.25,.8,.25,1);
}

/* BOX IMAGE WRAPPER */
.uwa-story-anim-item{
  opacity: 0;
  transform: translateY(60px) scale(0.94);
  clip-path: inset(100% 0 0 0);
  transition: 1.1s cubic-bezier(.25,.8,.25,1);
}

/* OVERLAY TEXT */
.uwa-story-overlay{
  transform: translateY(30px);
  opacity: 0;
  transition: 0.9s ease;
}

/* ===== SAAT AKTIF ===== */
.uwa-story-anim-section.active .uwa-story-anim-head{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.uwa-story-anim-section.active .uwa-story-anim-item{
  opacity: 1;
  transform: translateY(0) scale(1);
  clip-path: inset(0 0 0 0);
}

.uwa-story-anim-section.active .uwa-story-overlay{
  transform: translateY(0);
  opacity: 1;
}

/* DELAY BERTAHAP BIAR CINEMATIC */
.uwa-story-anim-item.active{
  opacity: 1;
  transform: translateY(0) scale(1);
  clip-path: inset(0 0 0 0);
}

.uwa-story-anim-item.active .uwa-story-overlay{
  transform: translateY(0);
  opacity: 1;
}




/* ================= OUR MOMENTS ================= */
.om-section{
  background:#f3eadf;
  padding:10px 0;  
  text-align:center;
}


.om-title span{
  font-family:'Playfair Display';
  font-size:32px;
}

.om-grid{
  width:100%;
  margin-top:50px;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:0;
}

.om-item{
  width:100%;
  opacity:0;
  transform:translateY(40px);
  transition:all .6s ease;
  cursor:pointer;
}

.om-sub {
  letter-spacing:3px;
  font-size:13px;
  margin-bottom:6px;
  color: #1f3025;
  font-family: 'Wind';
}

.om-title{
  font-family: 'wind';
  font-size:48px;
  color: #1f3025;
  margin-top: 20px;
}


/* popup */
.om-popup{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.9);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.om-popup img{
  max-width:80%;
  max-height:80%;
}

.om-close{
  position:absolute;
  top:20px;
  right:30px;
  font-size:40px;
  color:white;
  cursor:pointer;
}

.om-nav{
  position:absolute;
  top:50%;
  color:white;
  font-size:40px;
  cursor:pointer;
}

.om-prev{
  left:20px;
}

.om-next{
  right:20px;
}

.quotes-our-moments{
  margin-top:40px;
  font-style:italic;
}

/* ===== POPUP RESPONSIVE MOBILE ===== */
@media (max-width:768px){
  .om-popup img{
    max-width:95%;
    max-height:95%;
  }

  .om-close{
    font-size:32px;
    top:14px;
    right:20px;
  }

  .om-nav{
    font-size:32px;
  }

  .count-sub{
  font-family: 'wind';
  font-size:20px;
  margin-bottom:30px;
  letter-spacing: 3px;
}

.uwa-story-title{
  font-family: 'wind';
  font-size:28px;
  color: #1f3025;
  margin-top: 10px;
}

.om-title{
  font-family: 'wind';
  font-size:28px;
  color: #1f3025;
  margin-top: 20px;
}
}


/* ================= RSVP ================= */
.rsvp-section {
  max-width: 800px;
  margin: 50px auto;
  padding: 2rem;
  background:#ffffff;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
  font-family: 'Wind';
}

.rsvp-title {
  font-size: 2rem;
  color: #1f3025;
  margin-bottom: 0.5rem;
}

.rsvp-subtitle {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #1f3025;
}

.rsvp-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.rsvp-input-name,
.rsvp-input-guest {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  font-family: 'Libertinus Math';
}

.rsvp-btn-send {
  padding: 1rem;
  background: #1f3025;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s;
  font-family: 'Montserrat';
  width: 100%;
}

.rsvp-btn-send:hover {
  background: #1f3025;
}

.rsvp-feedback {
  margin-top: 1rem;
  font-size: 1rem;
  color: #1f3025;
}

/* ================= WISH ================= */
.wish-section {
  max-width: 800px;
  margin: 50px auto;
  padding: 2rem;
  background:#ffffff;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
  font-family: 'Wind';
}

.wish-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #1f3025
}

.wish-subtitle {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #1f3025;
}

.wish-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wish-input-name,
.wish-input-text {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  font-family: 'Libertinus Math';
}

.wish-btn-send {
  padding: 1rem;
  background: #1f3025;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s;
  font-family: 'Montserrat';
}

.wish-list {
  margin-top: 2rem;
  text-align: left;
  max-height: 400px; 
  overflow-y: auto;
  padding-right: 0.5rem; 
}

.wish-item {
  background-color: rgba(32, 83, 34, 0.2); /*background text kalau udah kekirim*/
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word; 
}

.wish-item-name { /*title orang yang ngirim*/
  font-weight: bold;
  color: #1f3025;;
  font-family: 'Libertinus Math';
}

.wish-item-text {
  margin-top: 0.5rem;
  color: #333;
  font-family: 'Libertinus Math';
}

@media (max-width: 600px) {

  .wish-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 600px) {

  .rsvp-section,
  .wish-section {
    margin: 30px 16px; /* jarak kiri kanan */
    padding: 1.5rem;
  }

  .wish-title {
    font-size: 1.5rem;
  }
}

/* gift */
.hadiah-section {
  background-image: url('../../images/greenvale/bggift.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 5rem 1rem;
  position: relative;
  font-family: 'Playfair Display', serif;
}

.hadiah-title {
  font-family: 'wind';
  font-size: 48px;
  margin-top: 20px;

  background-color: rgba(243, 234, 223, 0.8); 
  color: #1f3025;              
  padding: 10px 10px;          
  border-radius: 22px;        
  display: inline-block;      
}

.hadiah-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
}

/* Card style mengikuti event-card */
.hadiah-card {
   background-color: rgba(243, 234, 223, 0.8); 
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 60% / 12%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 4rem 2rem;
  max-width: 380px;
  width: 100%;
  color: #fffbfb;
  position: relative;
  overflow: hidden;
}

.hadiah-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hadiah-subtitle {
  font-size: 1.6rem;
  color: #1f3025;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hadiah-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #1f3025;
}

.bank-logo {
  height: 40px;
  margin-bottom: 0.5rem;
}

.rekening {
  font-weight: bold;
  font-size: 1.1rem;
  color: #1f3025;
}

.nama-rekening {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1f3025;
  line-height: 1.4;
}

.copyBtn,
.button-classkonfirmasihadiah {
  background-color: #1f3025;
  color: #ffffff;
  border: none;
  padding: 0.6rem 1.6rem;
  border-radius: 2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 1rem;
  text-decoration: none;
}

.copyBtn:hover,
.button-classkonfirmasihadiah:hover {
  background-color: #243b2c;
  transform: scale(1.05);
}


/* Responsive */
@media (max-width: 768px) {
  .hadiah-container {
    flex-direction: column;
    align-items: center;
  }

  .hadiah-title {
    font-size: 2.2rem;
  }

  .hadiah-card {
    max-width: 90%;
    border-radius: 40px;
    padding: 3rem 1.5rem;
  }

  .hadiah-text {
    font-size: 0.9rem;
  }
}

/* ================= HADIAH SCROLL ANIMATION ================= */

.hadiah-animation .hadiah-title,
.hadiah-animation .hadiah-card {
  opacity: 1; 
  transform: translateY(60px) scale(0.92);
  filter: blur(8px);
  transition: 
    transform 0.9s cubic-bezier(.25,.8,.25,1),
    filter 0.9s cubic-bezier(.25,.8,.25,1);
}

/* SAAT AKTIF */
.hadiah-animation.active .hadiah-title {
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.hadiah-animation.active .hadiah-card {
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* CLOSING */
#closing-section {
  background: url('../../images/greenvale/closing.webp') no-repeat center center;
  background-size: cover;
  position: relative;
  width: 100%;
  height: 85vh; 
  display: flex;
  align-items: flex-end; 
  justify-content: center;
  padding: 40px 20px; 
  box-sizing: border-box;
}

.closing-overlay {
  text-align: center;
  max-width: 800px; 
}

.closing-overlay h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  font-family: 'Libertinus Math';
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.closing-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-family: 'Libertinus Math';
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.closing-overlay p {
  font-size: 1.5rem;
  font-family: 'Libertinus Math';
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  max-width: 700px; /* ini yang membatasi panjang teks */
  margin: 0 auto 1rem auto; /* agar tetap di tengah horizontal */
}

@media (max-width: 600px) {
  .closing-overlay h1 {
    font-size: 3rem;
  }

  .closing-overlay h3 {
    font-size: 1.2rem; 
  }

  .closing-overlay p {
    font-size: 1rem;
    max-width: 90%; 
  }
}

/* FOOTER */
#site-footer {
  background-color: white;
  padding: 10px 0;
  text-align: center;
  border-top: 1px solid #eee;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #555;
  font-family: 'Inter', 'Poppins', sans-serif;
}

.footer-content img {
  height: 24px;
  width: auto;
}

.copyright {
  font-weight: 400;
}

@media (max-width: 768px) {
  .footer-content {
    font-size: 0.7rem;
  }
}

/* ================= PRELOADER ================= */
#preloader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-content {
  width: 200px; /* Lebar area loading */
  text-align: center;
}

/* Logo Favicon */
.loader-logo {
  width: 40px;
  height: auto;
  margin-bottom: 20px;
  animation: fadeIn 0.8s ease;
}

/* Progress Bar Container */
.progress-container {
  width: 100%;
  height: 2px; /* Tipis biar elegan */
  background: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}

/* Progress Bar Inner */
.progress-bar {
  width: 0%; /* Start dari 0 */
  height: 100%;
  background: #1a1a1a; /* Warna bar gelap premium */
  transition: width 0.4s ease; /* Transisi pas nambah % */
}

.loading-text {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #888888;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
}