@font-face {
    font-family: "Great Vibes";
    src: url("https://db.onlinewebfonts.com/t/5bf06596a053153248631d74f9fc4e28.eot");
    src: url("https://db.onlinewebfonts.com/t/5bf06596a053153248631d74f9fc4e28.eot?#iefix") format("embedded-opentype"),
         url("https://db.onlinewebfonts.com/t/5bf06596a053153248631d74f9fc4e28.woff2") format("woff2"),
         url("https://db.onlinewebfonts.com/t/5bf06596a053153248631d74f9fc4e28.woff") format("woff"),
         url("https://db.onlinewebfonts.com/t/5bf06596a053153248631d74f9fc4e28.ttf") format("truetype"),
         url("https://db.onlinewebfonts.com/t/5bf06596a053153248631d74f9fc4e28.svg#Great Vibes") format("svg");
}

#invitation{
    background:#fffdf6;
    height: 100%;
    margin:0px;
    padding:0px;
    overflow-x:hidden;
    animation: 1s ease-out 0s 1 fadeInY;
}

/* FAB Button */
.fab {
    z-index:99;
  position: fixed;
  /*bottom: 70px;*/
  /*bottom: 13%;*/
  bottom: calc(30px + env(safe-area-inset-bottom, 0px));
  left: 30px;
  /*width: 70px;*/
  /*height: 70px;*/
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 0, 110, 0.6);
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.fab:focus {
  outline: none;
  box-shadow: none;
}

.fab:hover {
  transform: scale(1.1) rotate(10deg);
  background: #d90429;
}

.fab:active {
  transform: scale(0.95);
}

.overlay-dark {
  position: fixed;
  inset: 0; /* cover seluruh modal */
  background: rgba(0, 0, 0, 0.2); /* atur opacity sesuai kebutuhan */
  pointer-events: none; /* supaya tidak mengganggu klik */
  z-index: 1;
}

@media only screen and (max-width: 768px)  {
.bridge{
    height:5vh;
    background:#fffdf6;
    display:flex;
    flex-direction: column; /* susun vertikal */
    justify-content: center; /* jarak atas - bawah */
    align-items:center;
}

.bridge h1{
    color:#7d633b;
    font-family:"Alex Brush";
    font-size:1.25rem;
    text-align:center;
    letter-spacing: 0.1875rem;
}

/*zero*/
.zero{
	min-height: 100vh; /* agar tinggi 1 layar penuh */
    min-height: 100dvh; /* agar tinggi 1 layar penuh */
    background:url('../image/zero_bg.webp');
    background-position: center;
    background-size: cover;
}
    
/*FIRST*/
.first{
	display: flex;
    flex-direction: column; /* susun vertikal */
    /*justify-content: space-between; */
    min-height: 100vh; /* agar tinggi 1 layar penuh */
    min-height: 100dvh; /* agar tinggi 1 layar penuh */
    padding: 60px 20px; /* beri jarak sisi */
    background:url('../image/slideshow.webp');
    background-position: center;
    background-size: cover;
    position: relative;
}

.slideshow {
    
    position: absolute;
  top: 10%;
  left:10%;
  width: 80%;
  height: 60%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: slideShow 15s infinite;
  z-index: 1;
  border-radius: 20px; /* ubah sesuai selera, misalnya 12px, 30px, atau 50px */
}

/* Ganti URL gambar sesuai kebutuhan */
@keyframes slideShow {
  0% {
    background-image: url("../image/slide-1.webp");
  }
  33% {
    background-image: url("../image/slide-2.webp");
  }
  66% {
    background-image: url("../image/slide-3.webp");
  }
  100% {
    background-image: url("../image/slide-1.webp");
  }
}

/* Tambahkan efek transisi halus */
.slideshow {
  transition: background-image 1s ease-in-out;
}

.first-content{
    opacity:0;
    margin:0 auto;
    /*margin-top: 65vh;*/
    z-index:2;
    position: absolute;
  bottom: 20%;
  left:0%;
  width: 100%;
}

.first-content h1{
    color:#800000;
    font-family:"Alex Brush";
    letter-spacing: 0.1875rem;
    text-align: center;
    font-size: 2.5rem;
  
}

.first-content img{
     width: 260px;         /* atur ukuran sesuai desain */
      height: auto;
      /*filter: drop-shadow(0 0 8px rgba(0,0,0,0.2));*/
}

.countdown-section{ 
    /*height:20vh; */
    height:300px; 
    background:#fffdf6;
    background:url('../image/countdown.webp');
    background-position: center;
    background-size: cover;
    /*justify-content:center; */
    align-items: center; 
    text-align:center; 
    display: flex; 
    flex-direction: column; }

.countdown-dateinfo{
    opacity:0;
    margin-top:50px;
    text-align:center;
    font-size:1.5rem;
    letter-spacing: 0.1rem;
    color:#dad4b5;
    font-family:"EB Garamond";
}

.countdown{
    opacity:0;
    justify-content:center;
    align-items: center;
    text-align:center;
    display: flex;
    flex-direction: row;
    align-content: space-between;
}

.countdown-item-1, .countdown-item-2, .countdown-item-3, .countdown-item-4{
  width: 4rem;
  height: 4rem;
  font-size:1rem;
  margin:0.5rem;
    color:#dad4b5;
    font-family:"EB Garamond";
}

.countdown-item-1 p, .countdown-item-2 p, .countdown-item-3 p, .countdown-item-4 p{
  font-size:1.5rem;
  margin-top:-1rem;
  color:#dad4b5;
        font-family:"EB Garamond";
}

/*SECOND*/
.second{
	background:#e6ddd2;
    background:url('../image/groom_bg.webp');
    background-size: cover;
	background-repeat: no-repeat;
	background-position: right;
	display: flex;
    flex-direction: column; /* susun vertikal */
    /*justify-content: space-between; */
    min-height: 100vh; /* agar tinggi 1 layar penuh */
    padding: 60px 40px; /* beri jarak sisi */
}

.second-title{
    margin-top: 40px; /* teks agak ke atas */
    opacity:0;
}

.second-title h1{
    color:#7d633b;
    font-family:"EB Garamond";
    letter-spacing: 0.1875rem;
    text-align: left;
    font-size: 2.25rem;
}

.groom-frame{
    opacity:0;
  margin:0 auto;
  margin-top:40px;
  width: 260px;               /* ubah sesuai kebutuhan */
  aspect-ratio: 3 / 4;       /* bentuk vertikal oval — ubah untuk lebar/tinggi lain */
  overflow: hidden;
  display: inline-block;
  border-radius: 999px;      /* safety rounding */
  position: relative;
  /* frame border lembut */
  /*box-shadow: 0 8px 30px rgba(0,0,0,0.25);*/
  padding: 6px;              /* jarak antara border luar dan gambar */
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
}

/* inner image dipotong jadi oval */
.groom-frame img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position:bottom;
  /*object-position:30% 0%;*/
  display: block;
  clip-path: ellipse(50% 60% at 50% 50%); /* bentuk oval; sesuaikan 50% 60% */
  -webkit-clip-path: ellipse(50% 60% at 50% 50%);
  border-radius: 50%; /* fallback */
}

.second-content{
    margin-top: 40px; /* teks agak ke atas */
    opacity:0;
}

.second-content h1{
    color:#7d633b;
    font-family:"Alex Brush";
    letter-spacing: 0.1875rem;
    text-align: left;
    font-size: 1.75rem;
}

.second-content h2{
    color:#7d633b;
    font-family:"EB Garamond";
    letter-spacing: 0.1875rem;
    text-align: left;
    font-size: 0.75rem;
}

.second-content h3{
    color:#7d633b;
    font-family:"EB Garamond";
    letter-spacing: 0.1875rem;
    text-align: left;
    font-size: 0.75rem;
    margin-bottom:10px;
}

/*THIRD*/
.third{
    background:#e6ddd2;
    background:url('../image/bride_bg.webp');
    background-size: cover;
	background-repeat: no-repeat;
	background-position: left;
	display: flex;
    flex-direction: column; /* susun vertikal */
    /*justify-content: space-between; */
    min-height: 100vh; /* agar tinggi 1 layar penuh */
    padding: 60px 40px; /* beri jarak sisi */
}

.third-title{
    margin-top: 40px; /* teks agak ke atas */
    opacity:0;
}

.third-title h1{
    color:#7d633b;
    font-family:"EB Garamond";
    letter-spacing: 0.1875rem;
    text-align: right;
    font-size: 2.25rem;
}

.bride-frame{
    opacity:0;
  margin:0 auto;
  margin-top:40px;
  width: 260px;               /* ubah sesuai kebutuhan */
  aspect-ratio: 3 / 4;       /* bentuk vertikal oval — ubah untuk lebar/tinggi lain */
  overflow: hidden;
  display: inline-block;
  border-radius: 999px;      /* safety rounding */
  position: relative;
  /* frame border lembut */
  /*box-shadow: 0 8px 30px rgba(0,0,0,0.25);*/
  padding: 6px;              /* jarak antara border luar dan gambar */
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
}

/* inner image dipotong jadi oval */
.bride-frame img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position:bottom;
  display: block;
  clip-path: ellipse(50% 60% at 50% 50%); /* bentuk oval; sesuaikan 50% 60% */
  -webkit-clip-path: ellipse(50% 60% at 50% 50%);
  border-radius: 50%; /* fallback */
}

.third-content{
    margin-top: 40px; /* teks agak ke atas */
    opacity:0;
}

.third-content h1{
    color:#7d633b;
    font-family:"Alex Brush";
    letter-spacing: 0.1875rem;
    text-align: right;
    font-size: 1.75rem;
}

.third-content h2{
    color:#7d633b;
    font-family:"EB Garamond";
    letter-spacing: 0.1875rem;
    text-align: right;
    font-size: 0.75rem;
}

.third-content h3{
    color:#7d633b;
    font-family:"EB Garamond";
    letter-spacing: 0.1875rem;
    text-align: right;
    font-size: 0.75rem;
    margin-bottom:10px;
}

/*Save The Date*/
.save-the-date {
  position: relative;
  background: #fffdf6;
  min-height: 80vh;
  overflow: hidden;
}

.save-the-date-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

/* Gambar-gambar */
.save-the-date-bg1 { background-image: url('../image/savethedate-1.webp'); }
.save-the-date-bg2 { background-image: url('../image/savethedate-2.webp'); }
.save-the-date-bg3 { background-image: url('../image/savethedate-3.webp'); }
.save-the-date-bg4 { background-image: url('../image/savethedate-4.webp'); }


.mapsButton{
    
  padding: 14px 20px;
  border: 1px solid rgba(59, 36, 21, 0.15); /* soft border */
  color:#7d633b;
  font-family:"EB Garamond";
  font-size: 1rem;
  text-transform: uppercase;
  cursor: pointer;
  display:block;
  margin:0 auto;
  
  background: linear-gradient(
        180deg,
        rgba(255, 253, 208, 0.95),
        rgba(255, 253, 208, 0.8)
      );
  font-weight: 600;
      letter-spacing: 0.05em;
      border-radius: 14px;
      box-shadow: 0 8px 20px rgba(59, 36, 21, 0.08);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
}

/*FOURTH*/
.fourth{
    background:#fffdf6;
 /*   background:url('../image/fourth.webp');*/
 /*   background-size: cover;*/
	/*background-repeat: no-repeat;*/
	/*background-position: bottom center;*/
	/*background:#fffdf6;*/
	display: flex;
    flex-direction: column; /* susun vertikal */
    justify-content: center; /* center horizontal */
    align-items: center;     /* center vertical */
    min-height: 90vh; /* agar tinggi 1 layar penuh */
    padding: 60px 20px; /* beri jarak sisi */
    position: relative;
}

.fourth-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

/* Gambar-gambar */
.fourth-bg1 { background-image: url('../image/fourth-1.webp'); }
.fourth-bg2 { background-image: url('../image/fourth-2.webp'); }
.fourth-bg3 { background-image: url('../image/fourth-3.webp'); }
.fourth-bg4 { background-image: url('../image/fourth-4.webp'); }

.fourth-title{
    margin-top: 40px; /* teks agak ke atas */
    opacity:0;
    
    padding: 1.6rem 2rem;
      border-radius: 14px;                       /* rounded corner */
      background: rgba(255, 255, 255, 0.04);     /* very subtle transparent fill */
      border: 1px solid rgba(255, 255, 255, 0.12); /* transparent border */
      backdrop-filter: blur(6px) saturate(120%); /* glass blur for readability */
      -webkit-backdrop-filter: blur(6px);
      /*box-shadow: 0 8px 30px rgba(2, 6, 23, 0.6); */
      box-shadow: 0 0px 30px rgba(2, 6, 23, 0.3); /* lift from background */
      
      
}

.divider-simple {
  border: none;
  background:#7d633b;
  height: 2px;
  width: 60%;
  /*background: linear-gradient(to right, transparent, #aaa, transparent);*/
  margin: 40px auto;
}


.fourth-title h1{
    /*color:#E5E3D7;*/
    color:#7d633b;
        font-family:"Alex Brush";
    letter-spacing: 0.1875rem;
    text-align: center;
    font-size: 2.25rem;
    font-weight:700;
}

.fourth-title h2{
    /*color:#E5E3D7;*/
    color:#7d633b;
        font-family:"Alex Brush";
    letter-spacing: 0.1875rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight:600;
}

.fourth-title h3{
    /*color:#E5E3D7;*/
    color:#7d633b;
        font-family:"EB Garamond";
    letter-spacing: 0.1875rem;
    text-align: center;
    font-size: 1rem;
    font-weight:500;
}

.fourth-title h4{
    color:#7d633b;
        font-family:"EB Garamond";
    letter-spacing: 0.05rem;
    text-align: center;
    font-size: 0.75rem;
}

.fourth-content{
     margin-bottom: 40px; /* countdown agak ke bawah */
     opacity:0;
}

.fourth-content h1{
    color:#3B2415;
    font-family:"Dancing Script"; /* ref nya ada di index.php ambil dari fontgoogleapis */
    letter-spacing: 0.1875rem;
    text-align: center;
    font-size: 2rem;
}

/*SIXTH*/
.sixth{
    /*margin-top:5vh;*/
    /*margin-top:20px;*/
    /*height:40vh;*/
    height:900px;
    /*height:100vh;*/
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items: center;
    position: relative;
    /*background:#fffdf6;*/
    background:url('../image/sixth.webp');
    background-size: cover;
	background-repeat: no-repeat;
	background-position: top center;
	
  overflow: hidden;              /* biar blur tidak keluar */
  z-index: 1;    
}

/*.sixth::before {            */
/*  content: "";*/
/*  position: absolute;       */
/*  top: 0;*/
/*  left: 0;*/
/*  width: 100%;*/
/*  height: 100%;*/
/*  background:url('../image/fourth.webp');*/
/*  background-size: cover;*/
/*  background-repeat: no-repeat;*/
/*  background-position: top center;*/
/*  filter: blur(10px);*/
/*  transform: scale(1.1);    */
/*  z-index: -1;  */
/*}*/

.sixth-top{
    /*height:100vh;*/
    /*width:100vw;*/
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    opacity:0;
}

.sixth-top-form{
    /*margin:8vh 8vw;*/
    /*padding: 1.2em 1.2em;*/
    border-radius: 1em;
    /*background: #DFD998;*/
    /*text-align:center;*/
    width:270px;
}

.sixth-top-form label{
    color:#7d633b;
    font-family:"EB Garamond";
}


.sixth-top-title{
    margin-top:25px;
    margin-bottom:5px;
    text-align:center;
    /*font-family:"Cormorant SC", bold !important;*/
    color:#7d633b;
        font-family:"Alex Brush";
    font-size:2rem;
}


.sixth-top-button-container{
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items: center;
    width:100%;
}

.sixth-top-button{
    padding: 14px 20px;
  border: 1px solid rgba(59, 36, 21, 0.15); /* soft border */
  color:#7d633b;
  font-family:"EB Garamond";
  font-size: 1rem;
  text-transform: uppercase;
  cursor: pointer;
  display:block;
  margin:0 auto;
  
  background: linear-gradient(
        180deg,
        rgba(255, 253, 208, 0.95),
        rgba(255, 253, 208, 0.8)
      );
  font-weight: 600;
      letter-spacing: 0.05em;
      border-radius: 14px;
      box-shadow: 0 8px 20px rgba(59, 36, 21, 0.08);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
}

/*SEVENTH*/
.seventh{
    /*height:60vh;*/
    height:750px;
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items: center;
    background:#fffdf6;
    background:url('../image/seventh.webp');
    background-size: cover;
	background-repeat: no-repeat;
	background-position: top center;
}

.seventh-title{
    /*margin-top:10vh;*/
    margin-top:30px;
    opacity:0;
}

.seventh-title h1{
    color:#7d633b;
        font-family:"Alex Brush";
    letter-spacing: 0.1875rem;
    text-align: center;
    font-size: 2.5rem;
}

.seventh-comment{
    margin:0.5vh 5vw 5vh;
    width:85vw;
    /*height:45vh;*/
    height:500px;
    overflow-y: scroll;
    opacity:0;
}

.seventh-comment-content{
    margin:5vw 5vw;
    padding:5vw;
    background:#F3F2F0;
    opacity:75%;
    border:none;
    border-radius: 1rem;
    color:#7d633b;
        font-family:"EB Garamond";
}

.seventh-comment-content h4{
    margin-bottom: 2px;
    font-size:1.25rem;
}

.seventh-comment-content p{
    margin-top: 8px;
    margin-bottom: 1px;
    font-size:1.25rem;
}

.send-gift{
    /*height:35vh;*/
    height:450px;
    padding: 0vh 10vw;
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items: center;
    /*background:#fffdf6;*/
    /*background:white;*/
    background:url('../image/send-gift.webp');
    background-size: cover;
	background-repeat: no-repeat;
	background-position: top center;
    position: relative;
  overflow: hidden;              /* biar blur tidak keluar */
  z-index: 1;
}

/*.send-gift::before {            */
/*  content: "";*/
/*  position: absolute;           */
/*  top: 0;*/
/*  left: 0;*/
/*  width: 100%;*/
/*  height: 100%;*/
/*  background:url('../image/fifth.webp');*/
/*  background-size: cover;*/
/*  background-repeat: no-repeat;*/
/*  background-position: top center;*/
/*  filter: blur(10px);*/
/*  transform: scale(1.1);        */
/*  z-index: -1;  */
/*}*/

.send-gift-title{
    opacity:0;
    /*margin-top:1vh;*/
    text-align:center;
    /*font-family:"Cormorant SC", bold !important;*/
    font-size:2rem;
    color:#7d633b;
    font-family:"Alex Brush";
}

.send-gift-button{
    opacity:0;
    padding: 14px 20px;
  border: 1px solid rgba(59, 36, 21, 0.15); /* soft border */
  color:#7d633b;
  font-family:"EB Garamond";
  font-size: 1rem;
  text-transform: uppercase;
  cursor: pointer;
  display:block;
  margin:0 auto;
  
  background: linear-gradient(
        180deg,
        rgba(255, 253, 208, 0.95),
        rgba(255, 253, 208, 0.8)
      );
  font-weight: 600;
      letter-spacing: 0.05em;
      border-radius: 14px;
      box-shadow: 0 8px 20px rgba(59, 36, 21, 0.08);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
}

/* The Modal (background) */
.modalQR {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 99; /* Sit on top */
  padding-top: 25vh; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */

}

/* Modal Content */
.modal-contentQR {
  background-color: rgba(255,255,255,0.8);
  margin: auto;
  padding: 20px;
  /*border: 1px solid #888;*/
  border-radius:1rem;
  width: 80%;
  color: #3B2415;
}

.modal-titleQR{
    text-align:center;
    margin-bottom:10px;
    margin-top:36px;
    font-size:1.3rem;
     color:#7d633b;
     font-family:"EB Garamond";
}

.modal-isiQR{
   display: flex;
    flex-direction: column;
    text-align: center;
    justify-content:center;
    align-items: center;
    /*font-family: 'Bell MT' !important;*/
    color:#7d633b;
        font-family:"EB Garamond";
  font-size:1.2rem;
}

.modal-imageQR{
    width:18.75rem;
    height:18.75rem;
}

/* The Close Button */
.closeQR {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.closeQR:hover,
.closeQR:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/*EIGHT*/
.eight{
    /*height:60vh;*/
    /*height: 260px;*/
    height: 312px;
    background:#fffdf6;
}

.carousel {
    opacity:0;
    width: 100%;
    max-width: 1000px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    display: flex;
    scrollbar-width: none;
}
.carousel::-webkit-scrollbar {
    display: none;
}
    
.slide {
    flex: 0 0 40%;
    scroll-snap-align: start;
    overflow: hidden;
    position: relative;
}
    
.slide img {
    width: 100%;
    height: 312px;
    object-fit: cover;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}


/*FOOTER*/
.footer{
    height:20vh;
    width:100vw;
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items: center;
    /*background:#6B6C60;*/
    background:#fffdf6;
}

.footer-image{
    height:3.063rem;
    width:6.125rem;
    margin:0 auto;
    filter:invert(1);
}

.footer-text{
    margin:0 auto;
    /*color:white;*/
    color:#7d633b;
    text-align:center;
    font-size:0.75rem;
    letter-spacing: 0.2rem;
}




