/* ==============================
   Motion 
   ============================== */

:root {
  --primary: #8FA3B0;        
  --primary-dark: #5F7482; 
  --primary-soft: #b09c8f;
  
  --surface: color-mix(in srgb, #F4F4F2 75%, transparent); /* background netral */

  --text: #F4F4F2;           /* teks terang (putih kebiruan) */
  --text-dark: #494b50;      /* teks gelap (biru abu tua) */

  --radius-sm:      12px;
  --radius-md:      18px;
  --radius-lg:      18px;
  --shadow-soft:   0 2px 16px rgba(122, 98, 66, 0.10);
  --shadow-medium: 0 6px 32px rgba(122, 98, 66, 0.18);
}  

body.theme-fixed-bg::before{
    background:url("image/bg1-tema10.jpeg") center / cover no-repeat;
}

section.section-fullscreen:has(.pembuka-photo):not(.cover){
    background:url('image/bg1-tema10.jpeg') center / cover no-repeat;
}

section.cover{
    background: url('image/bg1-tema10.jpeg') center / cover no-repeat !important;
}


/* ========================
   BASE BUNGA GOYANG
========================= */

.card-pria::after,
.card-wanita::after,
.quote::after,
.section-acara::after{
    content: "";
    position: absolute;
    z-index: 1;
    width: 280px;
    height: 280px;
    opacity: 0.5;

    transform-origin: bottom center;
    background: url("image/pohon-tema10.png") no-repeat center / contain;
    pointer-events: none;
}

/* POSISI Pembuka */
.bunga-goyang .bunga{
    display: block !important;
}

.bunga{
    position: absolute !important;
    z-index: 2;

    width: 300px;
    height: 300px;

    opacity: 0.7;

    transform-origin: bottom center;
    background: url("image/pohon-tema10.png") no-repeat center / contain;
    pointer-events: none;
}

.bunga-kiri{
    top: 150px;
    left: -16%;
    --geser: -120px;

    animation:
        goyang-natural 7s ease-in-out infinite;
}

.bunga-kanan{
    top: 140px;
    right: -16%;
    --geser: 120px;

    animation: 
        goyang-natural 6s ease-in-out infinite 1s;
}

.bunga-kanan01{
    background-image: url("image/bunga11.png");
    width: 200px;
    height: 200px;
    top: 45%;
    left: 50%;

    transform: translate(-50%, -50%);
    --geser: 120px;
     --rotate: -15deg;

    animation: goyang-natural 6s ease-in-out infinite;
}

/* POSISI lain */

.card-pria::after{
    top: 140px;
    left: 58%;
    --geser: 40px;
    animation: goyang-natural 6s ease-in-out infinite;
}

.card-wanita::after{
    top: 130px;
    left: -5%;
    --geser: -160px;
    animation: goyang-natural 6s ease-in-out infinite;
}

.quote::after{
    top: 160px;
    left: 55%;
    opacity: 0.6;
    --geser: 40px;
    animation: goyang-natural 6s ease-in-out infinite;
}

.section-acara::after{
    top: 10px;
    left: -2%;
    --geser: -160px;
    animation: goyang-natural 6s ease-in-out infinite;
}

/* ANIMASI */
@keyframes goyang-natural {
    0%   { transform: translateX(var(--geser)) rotate(var(--rotate, 0deg)); }
    25%  { transform: translateX(var(--geser)) rotate(calc(var(--rotate, 0deg) + 3deg)); }
    50%  { transform: translateX(var(--geser)) rotate(var(--rotate, 0deg)); }
    75%  { transform: translateX(var(--geser)) rotate(calc(var(--rotate, 0deg) - 3deg)); }
    100% { transform: translateX(var(--geser)) rotate(var(--rotate, 0deg)); }
}

/* =================================================
   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.8; /* 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:420px;
    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:420px;
    max-width:100vw;
    height:100vh;
    background:color-mix(in srgb, var(--primary) 20%, 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:420px;
    margin:0 auto;
    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: 48px; /* dibesarin biar luxury */
}                

h2 { 
    font-size: 46px;
}                

h3 { 
    font-size: 26px;
}

/* =========================
   HEADLINE & AKSEN
========================= */
h1 {
    font-family: var(--font-accent); /* Bodoni */
    margin-bottom: 16px;
    font-weight: 400;
    letter-spacing: 0.06em; /* 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(--text-dark);
}


/* =========================
   SUB HEADING
========================= */
h3 {
    font-family: var(--font-heading);
    margin-bottom: 10px;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

/* =========================
   BODY TEXT
========================= */
p {
    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;
}

/* =========================
   SECTION KHUSUS
========================= */
.section-rsvp h2,
.turut-mengundang h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.06em;
}

.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.08em;
    color: inherit;
}

#namatamu{
    font-size: 18px;
    font-weight:500;
}

/* =========================
   LABEL ALAMAT
========================= */
.alamat-label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.18em; /* ini bikin keliatan mahal banget */
    color: inherit;
}

.btn {
    /* Menggunakan linear-gradient untuk efek transparan */
    background: linear-gradient(to right, 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-medium);
}

.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; /* Kembalikan ke aslinya agar tombol lancar */
    justify-content: center;
    padding-bottom: 90px;
    position: relative;
    color:var(--text-dark);
}

.cover::before{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        #ffffff 0%,
        rgba(255,255,255,0.8) 30%,
        rgba(255,255,255,0.4) 60%,
        rgba(255,255,255,0) 100%
    );

    z-index: 1;
    pointer-events: none;
}

.cover-pelapis{
    padding:40px 15px;
    border-radius: 240px 240px 4px 4px;
    border: 3px solid var(--text);
    outline: 3px solid var(--primary-dark);
}

/* Kontainer Teks */
.cover > div {
    display: flex;
    flex-direction: column; /* Susun Vertikal: Foto -> Teks -> Tombol */
    align-items: center;
    text-align: center;
    max-width: 420px;
    z-index:2;
    
    /* Tetap gunakan animasi bawaan kamu */
    animation: coverEnter .9s cubic-bezier(.22,.61,.36,1) forwards;
}

.cover small{
    margin-top:10px; /*kepada yth*/
    font-size:14px;
    font-weight:600;
}

.cover .foto-cover-khusus {
    display: block !important;
    margin: 0 auto 30px;

    width: 200px;
    height: 280px;
    object-fit: cover;
    object-position: center top; /* wajah biasanya di atas */

    border-radius: 240px 240px 4px 4px;
    border: 3px solid var(--text);
    outline: 2px solid var(--primary-dark);


    box-shadow:
        0 0 0 7px rgba(61, 82, 68, 0.06),  /* halo lembut */
        0 4px 24px rgba(61, 82, 68, 0.20); /* shadow utama */

    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cover .foto-cover-khusus:hover {
    transform: scale(1.03);
    box-shadow:
        0 0 0 7px rgba(61, 82, 68, 0.10),
        0 12px 40px rgba(61, 82, 68, 0.28);
}



/* ================================================
   Section PEMBUKA 
   ================================================= */

section.section-fullscreen:has(.pembuka-photo) {
    position: relative; /* penting buat layer */
    padding-bottom: 30px;
    color: var(--text-dark);
}

section.section-fullscreen:has(.pembuka-photo)::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        #F4F4F2 0%,
        rgba(244, 244, 242,0.8) 30%,
        rgba(244, 244, 242,0.4) 60%,
        rgba(244, 244, 242,0) 100%
    );

    z-index: 1;
    pointer-events: none;
}

.pembuka-photo {
    display: block;
    margin: 0 auto 30px;
    width: 200px;
    height: 280px;
    object-fit: cover;
    object-position: center top; /* wajah biasanya di atas */

    border-radius: 240px;
    border: 4px solid var(--text);
    outline: 2px solid var(--primary-dark);

    box-shadow:
        0 0 0 7px rgba(61, 82, 68, 0.06),  /* halo lembut */
        0 4px 24px rgba(61, 82, 68, 0.20); /* shadow utama */

    transition: transform 0.4s ease, box-shadow 0.4s ease;
}


.countdown::before {
    content: "SAVE THE DATE";
    
    flex-basis: 100%;
    
    text-align: center;
    font-family: var(--font-heading);
    font-size: 18px;
    letter-spacing: 0.25em;
    color: var(--primary-dark);
    margin-bottom: 4px;

}

/* =================================================
   COUNTDOWN
================================================= */

.countdown{
    display:flex;
    justify-content:center;
    flex-wrap: wrap;
    gap:12px;  
    font-weight:500;
}

.countdown .unit{
    display:flex;
    flex-direction:column;
    align-items:center;

    background: linear-gradient(to top, var(--primary-dark), var(--primary));
    color:var(--text);

    padding:10px 14px;         /* ⬅️ diperkecil */
    width:56px;              /* ⬅️ lebih ramping */
    border-radius:8px;
    border: 3px solid var(--text);
    outline: 1px solid var(--primary);

    box-shadow:0 4px 10px rgba(0,0,0,.12);
}

.countdown .number {
    font-family: var(--font-heading);  /* Cormorant Garamond */
    font-size: 20px;
    font-weight: 400;                  /* light lebih elegan */
    line-height: 1;
    margin-bottom: 2px;
}

.countdown .label {
    font-family: var(--font-body);     /* Jost */
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.05em;
}


/* Animasi Bawaan */
@keyframes coverEnter {
    from { opacity: 0; transform: translateY(60px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===============================================
   CARD MEMPELAI
================================================= */

.card-mempelai{
    position: relative; /* penting */
    width:100%;
    min-height:80vh;
    z-index:4;
    padding:60px 12px;
    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);

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    z-index: 2;
}

.salam-pembuka{
    margin-top:40px;
}

/* wrapper umum card */
.card{
    min-height:240px;
    margin:40px auto;
    position:relative;
}

/* 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: 240px 240px 4px 4px; /* arch portrait */
    border: 3px solid var(--text);
    outline: 2px solid var(--primary);
    outline-offset: 5px;

    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);
}


/* SAAT MUNCUL */
.profile-photo.show{
    opacity:1;
    transform: scale(1);
}

.card-pria h3,
.card-wanita h3{
    font-size:28px;
}


/* icon instagram */
.instagram-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px auto 0;

    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--text-dark);
    border: 1.5px solid var(--primary-soft);
    color: var(--text);
    font-size: 16px;
    text-decoration:none;

    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;
    
}
section blockquote{
    color:var(--text);
    padding:80px 15px;
    position: relative;
    z-index:2;
}


/* =============================================
   SECTION ACARA
=============================================== */

.section-acara{
    width:100%;
    position:relative;
    z-index:4;
    margin:0 auto;
    padding:80px 20px;
    background:var(--primary);

    text-align:center;
    box-shadow:
        0 18px 40px rgba(0,0,0,.08),
        0 6px 14px rgba(0,0,0,.05);
}


.card-acara{
    position:relative;
    width:100%;
    margin:0 auto;
    padding:45px 12px;
    margin-top:30px;
    color:var(--text-dark);
    position:relative;
    z-index:5;
    max-width:460px;
    border-radius:var(--radius-lg);
    border:3px solid var(--surface);
    background: var(--text);
    text-align:center;

    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-tema10.jpeg") center / cover no-repeat;

    z-index: 0;
    opacity: 0.15; /* 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-dark);
    color:var(--text);
}

.gallery{
    background:var(--primary);
    text-align:center;
    padding:60px 15px;
}

/* 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{
    color:var(--text-dark);
    background:var(--surface);
}

.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:22px 20px;
    margin-bottom:20px;
    border:solid 2px var(--primary-soft);
    border-radius:var(--radius-md);
    background:var(--surface);
}


/* 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-md);
    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-lg);
}

/* =============================================
   TURUT MENGUNDANG
================================================= */

body.theme-fixed-bg .turut-mengundang{
    background:var(--surface);
    color:var(--text-dark);
}

.turut-mengundang{
    width:90%;
    max-width:400px;
    margin:40px auto;
    padding:40px 16px;
    box-sizing:border-box;

    border-radius:var(--radius-lg);
    border:3px solid var(--primary-soft);

    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-soft);
    border-radius:50%;
}

/* =================================================
   PENUTUP (SUDAH DIBERSIHKAN TOTAL)
================================================= */
body.theme-fixed-bg .penutup{
    background:var(--primary-dark);
}

section.penutup{
    width:100%;
    padding:40px 20px;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    align-items:center;
    text-align:center;
    position:relative;
    
}

.penutup-layer{
    min-height:80vh;
    width:100%;
    border-radius:240px 240px 0px 0px;
    border:3px solid var(--surface);
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    align-items:center;
    text-align:center;
    padding:40px 10px;
    position: relative;
    z-index: 10;
}

/* content */
.penutup > *{
    position:relative;
    color:var(--text-dark);
}

/* pakai foto pembuka sebagai background */
.penutup-layer:has(.pembuka-photo){
    background-image: var(--section-bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* hide img */
.penutup-layer .pembuka-photo{
    display:none;
}

.penutup-layer::before{
    border-radius:240px 240px 0px 0px;
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        #ffffff 0%,
        rgba(255,255,255,0.8) 30%,
        rgba(255,255,255,0.4) 60%,
        rgba(255,255,255,0) 100%
    );

    z-index: 0;
    pointer-events: none;
}

/* =============================================
   FOOTER
================================================= */

body.theme-fixed-bg .section-footer{
    background:color-mix(in srgb, #fff 90%, transparent);
}

.footer{
    padding:30px 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:0px;
    }

    .story-item::before{
        width:10px;
        height:10px;
        left:4px;
    }

    .cover{
        padding-bottom:90px;
    }

}

