/* ==============================
   Motion Burgundy
   ============================== */

:root {
--primary: #3D0F20;
--primary-dark: #3D0F20;
  --primary-soft:#FFFDFB;
  
  --surface: color-mix(in srgb, #FFFDFB 92%, transparent); /* background netral */

  --text: #FFFDFB;
  --text-dark: #000;

  --radius-sm:      12px;
  --radius-md:      18px;
  --radius-lg:      36px;
  --shadow-soft:   0 2px 16px rgba(122, 98, 66, 0.10);
  --shadow-medium: 0 6px 32px rgba(122, 98, 66, 0.18);
  --video-pembuka: url("/themes/motion-burgundy/assets/image/mot-burgundy.mp4");
  --delay-konten: 10000;
}  

body.theme-fixed-bg::before{
    background:url("image/bg-burgundy2.webp") center / cover no-repeat;
}

section.section-fullscreen:has(.pembuka-photo):not(.cover){
    background:url('image/bg-burgundy4.jpeg') center / cover no-repeat;
}

/* =================================================
   RESET
================================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}



body{ /* font ini hanya atur quote, teks the wedding of*/
    
    font-family: var(--font-body); /* Tenor Sans */
    font-size: 15px;
    margin-bottom: 12px;
    font-weight: 400;
    line-height: 1.6; /* lebih lega = premium */
    letter-spacing: 0.02em;
    color: inherit;
}

/* =================================================
   FIXED BACKGROUND SYSTEM
================================================= */

body.theme-fixed-bg::before{
    content:"";
    position:fixed;
    top:0;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    width:480px;
    max-width:100vw;
    height:100vh;
    z-index:0;
}

body.theme-fixed-bg::after{
    content:"";
    position:fixed;
    top:0;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    width:540px;
    max-width:100vw;
    height:100vh;
    background:color-mix(in srgb, var(--primary) 10%, transparent);
    z-index:1;
    pointer-events:none;
}

body.theme-fixed-bg{
    background:transparent;
}

body.theme-fixed-bg section{
    position:relative;
    z-index:2;
    background-color:transparent;
}

/* disable bg template */
body.theme-fixed-bg 
.section-bg:not(.section-fullscreen):not(.penutup){
    background-image:none;
}



/* =================================================
   SECTION SYSTEM 
================================================= */

section{
    max-width:480px;
    margin:0 auto;
    padding:60px 12px;
    text-align:center;
    position:relative;
}

.section-bg{
    position:relative;
    overflow:hidden;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}

.section-bg > *{
    position:relative;
    z-index:3;
}

/* fullscreen layout */
.section-fullscreen{
    min-height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
}

/* ===============================================
   WATERMARK
================================================= */

.watermark{
    position:fixed;
    top:0;
    left:50%;
    transform:translateX(-50%);
    z-index:9999;

    background:linear-gradient(135deg,#f5d06f,#d4af37,#b8962e);
    color:#3a2c00;

    padding:8px 26px 10px;
    font-size:13px;
    font-weight:700;

    border-bottom-left-radius:18px;
    border-bottom-right-radius:18px;

    box-shadow:
        0 6px 14px rgba(0,0,0,.25),
        inset 0 1px 0 rgba(255,255,255,.6);
}

.watermark::before,
.watermark::after{
    content:"";
    position:absolute;
    top:0;
    border-top:18px solid #b8962e;
}

.watermark::before{
    left:-18px;
    border-left:18px solid transparent;
}

.watermark::after{
    right:-18px;
    border-right:18px solid transparent;
}


/* =============================================
   typografi & btn
=============================================== */

h1 { 
    font-size: 38px; /* Couple name */
}                

h2 { 
    font-size: 36px;
}                

h3 { 
    font-size: 26px;
}

/* =========================
   HEADLINE & AKSEN
========================= */
h1 {
    font-family: var(--font-accent);
    margin-bottom: 16px;
    font-weight: 400;
    letter-spacing: 0.02em; /* ini bikin mahal */
    line-height: 1.2;
    
}

h2 {
    font-family: var(--font-accent); /* Script */
    margin-bottom: 14px;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.3;
    color:var(--primary-dark);
}

/* =========================
   BODY TEXT
========================= */
p {
    font-family: var(--font-body); /* Tenor Sans */
    font-size: 15px;
    margin-bottom: 12px;
    font-weight: 400;
    line-height: 1.8; /* lebih lega = premium */
    letter-spacing: 0.02em;
    color: inherit;
}

.card-pria h3,
.card-wanita h3{ 
    font-family: var(--font-accent);
    font-size:30px;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.4;
}

.kado-fisik-box h3 {
font-family: var(--font-heading);
    margin-top:18px;
    font-size:24px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.section-gift h2,
.gallery h2 {
    color:var(--text);
}

/* =========================
   SMALL TEXT
========================= */
small {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: inherit;
}

#namatamu{
    font-size: 22px;
}

/* =========================
   LABEL ALAMAT
========================= */
.alamat-label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.10em; /* ini bikin keliatan mahal banget */
    color: inherit;
}

.btn {
    /* Menggunakan linear-gradient untuk efek transparan */
    background: linear-gradient(to top, var(--primary-dark), var(--primary));
    
    color: var(--text);
    font-weight: 600;
    border: solid 1px var(--primary-soft);
    padding: 8px 30px;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: .3s;
    font-size: 14px;
    margin-top: 10px;
    box-shadow: var(--shadow-soft);
}

.btn:hover{
    background:var(--primary-dark);
}

.btn:active{
    transform:translateY(1px);
}



/* ===============================================
   ANIMATION BASE
================================================= */

.fade-item {
    opacity: 0;
    /* Kita pakai sedikit rotasi biar ada kesan 'jatuh' yang elegan */
    transform: translateY(30px) rotateX(-5deg); 
    /* Transisi dibikin sedikit lebih cepat dari sebelumnya tapi tetap smooth */
    transition: 
        opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    perspective: 1000px; /* Penting untuk efek rotateX agar terlihat 3D */
    will-change: transform, opacity;
}

.fade-in {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

/* Tambahan: Efek Stagger (Muncul bergantian) */
/* Kamu bisa tambahkan delay di HTML atau pakai class tambahan ini */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* =================================================
   COVER 
   ================================================= */
   .cover{
    min-height:100vh;
    display:flex;
    align-items:flex-end;       /*turun ke bawah */
    justify-content:center;
    padding-bottom:90px;        /*jarak dari bawah (feel premium) */
    
    background-size:cover;
    background-position:center;
    position:relative;
    overflow:hidden;
}

/* OVERLAY GRADASI BAWAH */
.cover::before{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:40%; /* hanya 25% dari bawah*/
    background:linear-gradient(
        to top,
        var(--primary) 0%,
        rgba(0,0,0,0) 100%
    );
    z-index:0;
    pointer-events:none;
}

/* wrapper isi cover */
.cover > div{
    text-align:center;
    color:#fff;
    max-width:460px;
    z-index:2;
}

.cover .couple-name{
    margin:18px 0 10px;
}

.cover small{
    display:block;
    margin-top:360px;
    text-transform: uppercase;
}


#namatamu{
    margin-top:5px;
    font-weight:500;
    font-size:18px;
    letter-spacing:0.03px;
}



/* ================================================
   Section PEMBUKA 
   ================================================= */

section.section-fullscreen:has(.pembuka-photo) {
    padding-bottom: 140px;
    color: var(--text);
}

.pembuka-photo {
    display: block;
    margin: 0 auto 30px;
    margin-top:45px;
    width: 260px;
    height: 280px;
    object-fit: cover;
    object-position: center top; /* wajah biasanya di atas */

    border-radius: 250px 250px 4px 4px;
    border: 1px solid var(--primary);

    box-shadow:var(--shadow-medium);

}

/* ============= bg video ===================== */
#content > *:not(.video-bg) {
    position: relative;
    z-index: 2;
}

#content.video-active > *:not(.video-bg) {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.video-bg {
    display: block !important;
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.video-bg.active {
    opacity: 1;
}

.video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#content.show-content > *:not(.video-bg) {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;

    transition: 
        opacity 1s ease,
        transform 1s ease;
}

#content.show-content .fade-item {
    opacity: 1;
    transform: translateY(0);
}

#content .fade-item {
    opacity: 0;
    transform: translateY(30px);
}

#content.show-content .fade-item:nth-child(1){ transition-delay: .2s }
#content.show-content .fade-item:nth-child(2){ transition-delay: .4s }
#content.show-content .fade-item:nth-child(3){ transition-delay: .6s }


/* =================================================
   COUNTDOWN
================================================= */

/*Set COUNTDOWN tampil di atas qutes */
section.section-fullscreen:has(.pembuka-photo) .countdown {
    display: none !important;
}

.countdown {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.countdown .unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 64px;
    padding: 14px;
    border-radius: var(--radius-sm);
    background:var(--text);

    border: 1px solid var(--primary-dark);
    box-shadow:
        0 4px 16px rgba(61, 82, 68, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.countdown .number {
    font-family: var(--font-heading);  /* Cormorant Garamond */
    font-size: 22px;
    font-weight: 400;                  /* light lebih elegan */
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 6px;
}

.countdown .label {
    font-family: var(--font-body);     /* Jost */
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-dark);
    padding-bottom: 0;
}

/* separator titik dua antar unit */
.countdown .separator {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 300;
    color: var(--text-dark);
    align-self: center;
    margin-bottom: 16px;               /* offset supaya sejajar dengan angka */
    opacity: 0.6;
}

/* Animasi Bawaan */
@keyframes coverEnter {
    from { opacity: 0; transform: translateY(60px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===============================================
   CARD MEMPELAI
================================================= */

.card-mempelai{
    width:100%;
    min-height:80vh;
    z-index:4;
    padding:60px 12px;
    margin-bottom:50px;
    border-radius:var(--radius-lg);
    color:var(--text-dark);
    background:var(--surface);
    box-shadow:
        0 18px 40px rgba(0,0,0,.08),
        0 6px 14px rgba(0,0,0,.05);
        
    border: 3px solid var(--primary);
    border-width: 6px 0 6px 0;


    display:flex;
    flex-direction:column;
    justify-content:center;   /* tengah vertikal */
    align-items:center;       /* tengah horizontal */
}

.salam-pembuka{
    margin-top:20px;
}

/* wrapper umum card */
.card{
    margin:40px auto;
    position:relative;
}

.card-wanita {
    margin-top:20px;   
}

/* foto mempelai  */
.profile-photo {
    margin-top: 35px;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;

    width: 180px;
    height: 280px;
    object-fit: cover;
    object-position: center top;

    border-radius: var(--radius-lg); /* arch portrait */
    border: 3px solid var(--primary-dark);

    box-shadow:
        0 0 0 7px rgba(61, 82, 68, 0.06),
        0 8px 28px rgba(61, 82, 68, 0.18),
        0 2px 6px rgba(61, 82, 68, 0.10);

    /* INITIAL STATE */
    opacity: 0;
    transform: scale(1.2);

    transition:
        opacity 1s ease,
        transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ================================
   1. AMANKAN PARENT CONTAINER
================================ */
.card-pria,
.card-wanita {
    position: relative; /* Wajib ada agar pseudo-element ::after mengacu ke card ini */
}

/* ================================
   2. BUNGA PRIA (KANAN)
================================ */
.card-pria::after {
    content: "";
    position: absolute;
    z-index: 1;
    width: 140px;
    height: 140px;
    top: 120px;
    left: 50%;
    background: url("image/decor-mt-jawa.webp") no-repeat center / contain;
    pointer-events: none;

    /* INITIAL STATE (Turun 30px & Transparan) */
    opacity: 0;
    transform: translateY(70px) translateX(30px);

    /* TRANSITION */
    transition: 
        opacity 1s ease,
        transform 3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* SAAT MUNCUL (PRIA) */
.card-pria.show::after,
.card-pria.fade-in::after {
    opacity: 1;
    transform: translateY(0) translateX(30px);
}

/* ================================
   3. BUNGA WANITA (KIRI - FLIPPED)
================================ */
.card-wanita::after {
    content: "";
    position: absolute;
    z-index: 1;
    width: 140px;
    height: 140px;
    top: 120px;
    left: 50%;
    background: url("image/decor-mt-jawa.webp") no-repeat center / contain;
    pointer-events: none;

    /* INITIAL STATE (Turun 30px, Transparan, & Terbalik Horizontal) */
    opacity: 0;
    transform: translateY(70px) translateX(-165px) scaleX(-1);

    /* TRANSITION */
    transition: 
        opacity 1s ease,
        transform 3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* SAAT MUNCUL (WANITA) */
.card-wanita.show::after,
.card-wanita.fade-in::after {
    opacity: 1;
    transform: translateY(0) translateX(-165px) scaleX(-1);
}

/* SAAT MUNCUL */
.profile-photo.show{
    opacity:1;
    transform: scale(1);
}


/* icon instagram */
.instagram-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px auto 0;
    text-decoration:none;

    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-dark);
    border: 1.5px solid var(--primary-soft);
    color: var(--text);
    font-size: 16px;

    transition: 
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.instagram-icon-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #f5f2ec;
    transform: scale(1.12);
    box-shadow: 0 4px 16px rgba(61, 82, 68, 0.25);
    
}

/* =================================================
   QUOTE
================================================= */

body.theme-fixed-bg .quote{
    background: var(--primary-dark);
    overflow: hidden; /* penting biar layer ikut rounded*/
}

/* pelapis background berulang */
.quote::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("image/bg-batik-batak.webp");
    background-position: top center; /* Posisi khusus di atas tengah */
    background-repeat: repeat;       /* Berulang sempurna */
    background-size: 200px;          /* Atur ukuran motif batik agar pas (bisa diubah px-nya) */

    z-index: 0;
    opacity: 0.15;

    pointer-events: none;
}

/* pastikan isi tetap di atas */
.quote > *{
    position: relative;
    z-index: 1;
}

.quote .card-countdown {
    display: block !important;
    margin-bottom: 24px;
}



.card-countdown {
    padding:40px 12px 0px 12px;
}

.countdown::before {
    content: "Save The Date";
    flex-basis: 100%; /* Memaksa mengambil 1 baris penuh di atas */
    text-align: center;
    
    font-family: var(--font-accent);
    font-size: 42px;
    letter-spacing: 0.04em;
    color: var(--text);
    margin-bottom: 8px; /* Beri sedikit jarak ke kotak angka */
}


section blockquote{
    color:var(--text);
    padding:60px 12px;
    border-radius:var(--radius-lg);
    border:2px solid var(--primary);
    color:var(--text-dark);
    background:var(--text);
    overflow: hidden;
}

/* pelapis background */
section blockquote::before{
    content: "";
    position: absolute;
    inset: 0;

    background: url("image/bg-burgundy3.webp") bottom / cover no-repeat;

    z-index: 0;
    opacity: 0.10; /* atur transparansi biar halus */
    
    border: 3px solid var(--primary-soft);
    border-width: 6px 0 6px 0;


    pointer-events: none;
}

/* pastikan isi tetap di atas */
section blockquote > *{
    position: relative;
    z-index: 1;
}

/* =============================================
   SECTION ACARA
=============================================== */

.section-acara{
    width:100%;
    position:relative;
    z-index:4;
    margin:0 auto;
    padding:5px;
}


.card-acara{
    width:100%;
    margin:0 auto;
    padding:80px 12px;
    margin-bottom:20px;
    color:var(--text-dark);
    position:relative;
    z-index:5;
    max-width:460px;
    border-radius:var(--radius-lg);
    background: var(--text);
    text-align:center;
    
    border: 3px solid var(--primary);
    border-width: 6px 0 6px 0;

    box-shadow:
    inset 0 4px 10px -4px rgba(0,0,0,.08),
    inset 0 -2px 6px -3px rgba(255,255,255,.5);

    overflow: hidden; /* penting biar layer ikut rounded */
}

/* pelapis background */
.card-acara::before{
    content: "";
    position: absolute;
    inset: 0;

    background: url("image/bg-burgundy2.webp") center / cover no-repeat;

    z-index: 0;
    opacity: 0.10; /* atur transparansi biar halus */

    pointer-events: none;
}

/* pastikan isi tetap di atas */
.card-acara > *{
    position: relative;
    z-index: 1;
}

.card-acara .tanggal-custom {
    font-weight:600;;
}

.alamat-label {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

/* ICON AUTO */
.alamat-label::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f3c5"; /* location-dot */
    font-size: 1em; /* ikut ukuran teks */
    line-height: 1;
}

.card-acara .btn{
    margin-top:12px;
}

/* ==============================================
   LIVE STREAMING
================================================= */
body.theme-fixed-bg .live-stream {
    color: var(--text-dark);
    background: var(--surface);
}

.live-stream {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    padding: 48px 24px;
    min-height: 360px;
}

.live-btn{
    display:inline-block;
    margin-top:12px;
    padding:8px 24px;
    border-radius:30px;

    background:var(--primary-dark);
    color:#fff;

    font-weight:500;
    text-decoration:none;

    box-shadow:var(--shadow-medium);
}

.live-btn:hover{
    background:var(--primary-dark);
}

/* =================================================
   GALLERY
================================================= */

body.theme-fixed-bg .gallery{
    background: var(--primary);
    color:var(--text);
}

.gallery{
    background:var(--primary);
    text-align:center;
}

/* masonry */
.gallery-masonry{
    column-count:2;
    column-gap:12px;
    margin-top:30px;
}

.masonry-item{
    width:100%;
    margin-bottom:12px;
    break-inside:avoid;
}

/* =================================================
   GALLERY MODAL (FIXED & CLEAN)
================================================= */

.gallery-modal{
    position:fixed;
    inset:0;
    z-index:9999;
    display:none;
}

.gallery-modal.active{
    display:block;
}

.gallery-modal-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.75);
}

.gallery-modal-box{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:10px;
}

.gallery-modal-box img{
    width:100%;
    max-height:100%;
    object-fit:contain;
    border-radius:12px;
    background:#000;
}

/* tombol close */
.gallery-modal-close{
    position:fixed;
    top:14px;
    right:14px;
    width:40px;
    height:40px;
    border-radius:50%;
    border:none;

    background:rgba(0,0,0,.6);
    color:#fff;
    font-size:22px;

    cursor:pointer;
    z-index:10000;
}

/* NAVIGATION (FIX DUPLIKASI) */
.gallery-nav{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:42px;
    height:42px;

    border-radius:50%;
    border:none;

    background:rgba(0,0,0,.55);
    color:#fff;
    font-size:26px;

    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    z-index:5;
}

.gallery-nav.prev{ left:10px; }
.gallery-nav.next{ right:10px; }

/* indikator */
.gallery-indicator{
    position:absolute;
    bottom:12px;
    left:50%;
    transform:translateX(-50%);

    background:rgba(0,0,0,.55);
    color:#fff;

    padding:6px 12px;
    border-radius:999px;
    font-size:13px;
}

/* responsive */
@media (max-width:768px){
    .gallery-nav{
        width:36px;
        height:36px;
        font-size:22px;
    }
}

/* =================================================
   VIDEO PREWEDDING
================================================= */

.video-prewedding{
    width:100%;
    margin:20px 0;
}

.video-prewedding iframe{
    width:100%;
    height:220px;
    border:none;
}

@media (min-width:600px){
    .video-prewedding iframe{ height:320px; }
}

@media (min-width:1024px){
    .video-prewedding iframe{ height:420px; }
}

/* =================================================
   LOVE STORY
================================================= */

body.theme-fixed-bg .love-story{
    background:var(--surface);
    color:var(--text-dark);
}

.love-story{
    position:relative;
    z-index:4;
    margin:0 auto;
    padding:60px 24px 40px;

    width:100%;

    background:var(--surface);

    box-shadow:
        0 18px 40px rgba(0,0,0,.08),
        0 6px 14px rgba(0,0,0,.05);
}

/* judul */
.love-story h2{
    margin-bottom:24px;
    
}

/* intro */
.love-story > p{
    margin-bottom:24px;
}

/* item */
.story-item{
    position:relative;
    padding:30px 20px;
    margin-bottom:20px;
    background:var(--text);
    border-bottom:solid 3px var(--primary-dark);
    border-radius:var(--radius-md);
}


/* title */
.story-item h3{
    color:var(--primary-dark);
    text-align:left;
    font-size: 24px;
}

/* text */
.story-item p{
    text-align:left;
    color:var(--text-dark);
}

/* =================================================
   RSVP
================================================= */

body.theme-fixed-bg .section-rsvp{
    background: var(--surface);
    color:var(--text-dark);
}

.section-rsvp{
    position:relative;
    margin:0 auto;
    padding:60px 15px;
    width:100%;
}

/* =================================================
   GIFT / KADO DIGITAL
================================================= */

body.theme-fixed-bg .section-gift{
    background: var(--primary);
    color:var(--text);
}

.section-gift{
    position:relative;
    padding:40px 40px;
    text-align:center;
}

/* card rekening */
.gift-card{
    background:var(--text);
    border-radius:var(--radius-sm);
    padding:20px;
    margin:20px 0;
    text-align:center;
    box-shadow:var(--shadow-soft);
}

.gift-card strong{
    display:block;
    font-size:18px;
    margin-bottom:8px;
    color:var(--text-dark);
}

.gift-card small{
    display:block;
    font-size:14px;
    color:var(--text-dark);
}

.gift-card span.account-number{
    display:block;
    font-size:14px;
    font-weight:600;
    color:var(--text-dark);
}

.kado-fisik-box{
    color:var(--text-dark);
    
}

/* tombol gift */
.gift-card .btn{
    background:var(--primary-dark);
    padding:8px 18px;
    font-size:13px;
    border-radius:var(--radius-sm);
}

/* =============================================
   TURUT MENGUNDANG
================================================= */

body.theme-fixed-bg .turut-mengundang{
    background:var(--surface);
    color:var(--text-dark);
}

.turut-mengundang{
    width:90%;
    max-width:460px;
    margin:20px auto;
    padding:40px 16px;
    box-sizing:border-box;

    border-radius:var(--radius-lg);

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    text-align:left;
}
/* subtitle */
.mengundang-subtitle{
    margin-top:18px;
    font-size:14px;
    color:var(--primary-dark);
}

/* list */
.mengundang-list{
    list-style:none;
    padding-left:0;
}

.mengundang-list li{
    position:relative;
    padding-left:22px;
    margin-bottom:10px;
    font-size:14px;
    line-height:1.4;
}

/* bullet */
.mengundang-list li::before{
    content:"";
    position:absolute;
    left:0;
    top:8px;
    width:8px;
    height:8px;

    background:var(--primary);
    border-radius:50%;
}

/* =================================================
   PENUTUP (SUDAH DIBERSIHKAN TOTAL)
================================================= */

section.penutup{
    min-height:80vh;
    width:100%;

    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    align-items:center;
    text-align:center;
    padding-bottom:60px;
    position:relative;
}

/* content */
.penutup > *{
    position:relative;
    z-index:2;
    color:var(--text);
}

/* pakai foto pembuka sebagai background */
.penutup:has(.pembuka-photo){
    background-image: var(--section-bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* hide img */
.penutup .pembuka-photo{
    display:none;
}

.penutup::before{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.25) 75%,
        rgba(61, 15, 32, 0.85) 100%
    );
    z-index:1;
}

/* =============================================
   FOOTER
================================================= */

body.theme-fixed-bg .section-footer{
    background:color-mix(in srgb, #fff 90%, transparent);
}

.footer{
    padding:10px 20px;
    text-align:center;
}

.footer-inner{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:10px;
}

.footer-logo{
    height:36px;
    opacity:.85;
}

.footer-text{
    font-size:13px;
    color:var(--text-dark);
}

.footer-text strong{
    color:var(--primary-dark);
}

/* =================================================
   MUSIC BUTTON
================================================= */

#music-toggle{
    position:fixed;
    bottom:20px;
    left:20px;

    width:50px;
    height:50px;

    border-radius:50%;
    background:var(--text);
    color:var(--primary-dark);

    border:1px solid var(--primary-dark);
    box-shadow:var(--shadow-medium);

    display:flex;
    justify-content:center;
    align-items:center;

    cursor:pointer;

    opacity:0;
    visibility:hidden;
    transition:.3s;

    z-index:999;
}

#music-toggle.visible{
    opacity:1;
    visibility:visible;
}

/* =================================================
   RESPONSIVE FINAL
================================================= */

@media(max-width:480px){

    section{
        padding:50px 16px;
    }

    .story-item::before{
        width:10px;
        height:10px;
        left:4px;
    }

    .cover{
        padding-bottom:150px;
    }

}

