@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500&family=Montserrat:wght@300;400;500&display=swap');


/* =========================================================
   01. RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    background: #181818;
    color: #294866;
    overflow-x: hidden;
}

button,
input,
select,
textarea {
    font-family: inherit;
}


/* =========================================================
   02. PAGE LOAD
========================================================= */

html.page-loading body {
    opacity: 0;
}

html.page-loaded body {
    opacity: 1;
    transition: opacity .45s ease;
}


/* =========================================================
   03. DESKTOP LAYOUT
========================================================= */

.desktop-layout {
    width: 100%;
    min-height: 100vh;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        430px;
}


/* =========================================================
   04. DESKTOP LEFT PANEL
========================================================= */

.desktop-panel {
    position: fixed;

    top: 0;
    left: 0;

    width: calc(100% - 430px);
    height: 100vh;

    overflow: hidden;

    background: #111;
}

.desktop-photo {
    position: absolute;
    inset: 0;

    background-image:
        url("assets/images/background-desktop.jpg");

    background-size: cover;

    background-position:
        center center;

    background-repeat:
        no-repeat;

    filter:
        contrast(1.08)
        saturate(1.04)
        brightness(.88);
}

.desktop-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, .08),
            rgba(0, 0, 0, .18),
            rgba(0, 0, 0, .68)
        );
}

.desktop-content {
    position: absolute;

    left: 55px;
    bottom: 50px;

    z-index: 2;

    color: white;
}

.desktop-label {
    margin-bottom: 10px;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 22px;
}

.desktop-name {
    margin-bottom: 14px;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size:
        clamp(
            64px,
            6vw,
            96px
        );

    font-weight: 400;

    line-height: .9;
}

.desktop-date {
    font-size: 12px;

    letter-spacing: 1px;
}


/* =========================================================
   05. MOBILE PANEL
========================================================= */

.mobile-panel {
    width: 430px;

    min-height: 100vh;

    background: #eaf3fb;
    
    grid-column: 2;
}

.mobile-shell {
    position: relative;

    width: 100%;

    min-height: 100vh;

    padding-bottom: 0;

    background: #eaf3fb;
}

/* =========================================================
   06. OPENING COVER
========================================================= */

.opening-cover {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    height: 100vh;
    height: 100svh;

    min-height: 650px;

    z-index: 100;

    display: flex;

    justify-content: center;
    align-items: flex-end;

    overflow: hidden;

    background: #111;

    transition:
        opacity .9s ease,
        visibility .9s ease;
}

.opening-photo {
    position: absolute;

    inset: 0;

    background-image:
        url("assets/images/foto-cover.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transition:
        transform 1.2s cubic-bezier(.22, .61, .36, 1),
        filter 1.2s ease;
        filter:
    brightness(.65);
}

.opening-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, .05),
            rgba(0, 0, 0, .15),
            rgba(0, 0, 0, .78)
        );
}

.opening-content {
    position: relative;

    z-index: 2;

    width: 88%;
    max-width: 340px;

    padding:
        0
        15px
        45px;

    text-align: center;

    color: white;

    transition:
        opacity .65s ease,
        transform .8s ease;
}

.opening-label {
    margin-bottom: 12px;

    font-size: 10px;

    letter-spacing: 3px;
}

.opening-name {
    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 58px;

    font-weight: 400;

    line-height: .8;
}

.opening-name span {
    display: block;

    margin:
        10px 0;

    font-size: .42em;
}

.opening-date {
    margin-top: 20px;

    font-size: 10px;

    letter-spacing: 1px;
}

.guest {
    margin-top: 24px;

    font-size: 10px;

    line-height: 1.7;
}

.guest strong {
    display: block;

    margin-top: 3px;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 20px;

    font-weight: 400;
}

#openInvitation {
    margin-top: 20px;

    padding:
        12px
        25px;

    border: none;

    border-radius: 30px;

    background: white;

    color: #294866;

    font-size: 10px;

    cursor: pointer;
}


/* =========================================================
   07. COVER ANIMATION
========================================================= */

.opening-label,
.opening-name,
.opening-date,
.guest,
#openInvitation {
    opacity: 0;

    transform:
        translateY(18px);
}

.page-loaded .opening-label {
    animation:
        coverContentIn
        .7s ease
        .20s
        forwards;
}

.page-loaded .opening-name {
    animation:
        coverContentIn
        .8s ease
        .38s
        forwards;
}

.page-loaded .opening-date {
    animation:
        coverContentIn
        .7s ease
        .58s
        forwards;
}

.page-loaded .guest {
    animation:
        coverContentIn
        .7s ease
        .76s
        forwards;
}

.page-loaded #openInvitation {
    animation:
        coverContentIn
        .7s ease
        .95s
        forwards;
}

@keyframes coverContentIn {

    from {
        opacity: 0;

        transform:
            translateY(18px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}

.opening-cover.opening-exit
.opening-content {
    opacity: 0;

    transform:
        translateY(-25px);
}

.opening-cover.opening-exit
.opening-photo {
    transform:
        scale(1);

    filter:
        blur(4px)
        brightness(.75);
}

.opening-cover.hide {
    opacity: 0;

    visibility: hidden;

    pointer-events: none;
}

/* FIX SCROLL SAAT COVER DIBUKA */
.opening-cover.opening-exit {
    pointer-events: none;
}

/* =========================================================
   08. HERO
========================================================= */

/* =========================================================
   HERO - FINAL
========================================================= */

.hero {
    position: relative;

    width: 100%;

    min-height: 100vh;
    min-height: 100svh;

    display: flex;

    justify-content: center;
    align-items: center;

    overflow: hidden;

    text-align: center;

    background-image:
        url("assets/images/background-hero.png");

    background-size:
        cover;

    background-position:
        center;

    background-repeat:
        no-repeat;

    z-index: 1;
}

.hero::before {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        rgba(255, 252, 245, .24);

    pointer-events: none;
}

.hero-content {
    position: relative;

    z-index: 3;

    width: 84%;
    max-width: 320px;

    opacity: 0;

    transform:
        translateY(30px);

    transition:
        opacity 1s ease,
        transform 1s ease;
}

body.invitation-open .hero-content {
    opacity: 1;

    transform:
        translateY(0);
}

.hero-frame {
    width: 100%;

    padding:
        34px
        20px;

    border:
        1px solid
        rgba(58, 79, 66, .38);

    border-radius: 18px;

    background:
        rgba(255, 252, 245, .25);

    backdrop-filter:
        blur(3px);

    -webkit-backdrop-filter:
        blur(3px);
}

.hero-label {
    margin-bottom: 18px;

    font-size: 9px;

    letter-spacing: 4px;

    color: #294866;
}

.hero-name {
    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 60px;

    font-weight: 400;

    line-height: .82;

    color: #294866;
}

.hero-name span {
    display: block;

    margin:
        12px 0;

    font-size: .42em;
}

.hero-date {
    margin-top: 24px;

    font-size: 10px;

    letter-spacing: 2.5px;

    color: #294866;
}

/* =========================================================
   HERO ORNAMENT - REPEAT ENTRANCE
   MASUK SATU-SATU
========================================================= */

.hero-parallax {
    opacity: 0;

    transition:
        opacity .75s ease;
}


/* =========================================================
   1. BUNGA KIRI ATAS
========================================================= */

.hero.ornament-enter
.hero-flower-top-left {
    opacity: 1;

    transition-delay:
        .10s;
}


/* =========================================================
   2. BUNGA KANAN ATAS
========================================================= */

.hero.ornament-enter
.hero-flower-top-right {
    opacity: 1;

    transition-delay:
        .28s;
}


/* =========================================================
   3. BUNGA TENGAH ATAS
========================================================= */

.hero.ornament-enter
.hero-flower-top-center {
    opacity: 1;

    transition-delay:
        .46s;
}

/* =========================================================
   ANIMASI BUNGA TERTIUP ANGIN
   - Tidak mengganggu parallax scroll
   - Gerakan sangat lembut
========================================================= */


/* bunga kiri atas */
.hero-flower-top-left {
    transform-origin:
        20% 15%;

    animation:
        flowerWindLeft
        6.5s
        ease-in-out
        infinite;
}


/* bunga kanan atas */
.hero-flower-top-right {
    transform-origin:
        80% 15%;

    animation:
        flowerWindRight
        7s
        ease-in-out
        infinite;
}


/* =========================================================
   ANIMASI KIRI
========================================================= */

@keyframes flowerWindLeft {

    0% {
        rotate: 0deg;
    }

    25% {
        rotate: 1.3deg;
    }

    50% {
        rotate: -0.8deg;
    }

    75% {
        rotate: 1deg;
    }

    100% {
        rotate: 0deg;
    }

}


/* =========================================================
   ANIMASI KANAN
========================================================= */

@keyframes flowerWindRight {

    0% {
        rotate: 0deg;
    }

    25% {
        rotate: -1.2deg;
    }

    50% {
        rotate: .7deg;
    }

    75% {
        rotate: -1deg;
    }

    100% {
        rotate: 0deg;
    }

}



/* HERO - OVAL WEDDING PORTRAIT */

.hero .hero-content.hero-portrait-layout {
    position: absolute;
    top: 14%;
    left: 50%;
    z-index: 4;

    width: 85%;
    max-width: 320px;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    opacity: 0;
    transform: translate(-50%, 25px);

    transition:
        opacity 1s ease,
        transform 1s ease;
}

body.invitation-open
.hero .hero-content.hero-portrait-layout {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* TULISAN ATAS */

.hero-portrait-label {
    margin-bottom: 20px;
    font-size: 10px;
    letter-spacing: 4px;
    color: #6687ad;
}

/* BINGKAI FOTO OVAL */

.hero-oval-frame {
    width: clamp(165px, 46vw, 205px);
    aspect-ratio: 3 / 4;

    border-radius: 50%;
    overflow: hidden;

    border: 5px solid #f5f9ff;
    outline: 1px solid #a1bcdb;

    box-shadow:
        0 12px 35px rgba(65, 95, 140, .18);

    background: #dce9f7;

    opacity: 0;

transform: translateY(45px) scale(.85);

transition:
    opacity 1.2s ease,
    transform 1.4s cubic-bezier(.16, 1, .3, 1);

will-change: opacity, transform;
}


/* BINGKAI OVAL MUNCUL */

.hero-oval-frame.oval-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ZOOM HALUS FOTO DI DALAM BINGKAI */

.hero-oval-frame.oval-visible img {
    animation: heroPhotoSoftZoom
        8s ease-in-out 1.4s infinite;
}

@keyframes heroPhotoSoftZoom {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.045);
    }
}


.hero-oval-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* NAMA MEMPELAI */

.hero-portrait-name {
    margin-top: 12px;

    font-family: "Cormorant Garamond", serif;
    font-size: clamp(35px, 9vw, 45px);
    font-weight: 400;
    line-height: 1.1;

    color: #3e5d85;

    transition-delay: .55s;
}

.hero-portrait-name span {
    font-size: .65em;
    color: #7898bd;
}

/* TANGGAL */

.hero-portrait-date {
    margin-top: 12px;
    font-size: 10px;
    letter-spacing: 2.5px;
    color: #7090b6;
}


/* =========================================
   HERO TEXT - LUXURY SCROLL REVEAL
========================================= */

.hero-text-reveal {
    opacity: 0;
    transform: translateY(25px);

    transition:
        opacity .9s ease,
        transform 1.1s cubic-bezier(.16, 1, .3, 1);
}

/* TULISAN MUNCUL */

.hero-text-reveal.text-visible {
    opacity: 1;
    transform: translateY(0);
}

/* URUTAN ANIMASI */

.hero-portrait-label {
    transition-delay: .1s;
}

.hero-portrait-name {
    transition-delay: .55s;
}

.hero-portrait-date {
    transition-delay: .75s;
}


/* RESPONSIVE UNTUK HP PENDEK */

@media (max-height: 700px) {
    .hero .hero-content.hero-portrait-layout {
        top: 11%;
    }

    .hero-oval-frame {
        width: 155px;
    }

    .hero-portrait-name {
        margin-top: 16px;
    }
}



/* =========================================================
   HERO PARALLAX - FINAL
   - posisi ornament
   - ukuran responsive otomatis
   - goyang seperti tertiup angin
   - fade saat scroll
========================================================= */


/* =========================================================
   SEMUA ORNAMENT
========================================================= */

.hero-parallax {
    position: absolute;

    z-index: 2;

    pointer-events: none;
    user-select: none;

    will-change:
        transform,
        opacity,
        rotate;

    --parallax-y: 0px;
    --fade-opacity: 1;
    --ornament-scale: 1;

    opacity:
        var(--fade-opacity);

    scale:
        var(--ornament-scale);

    transition:
        opacity .15s linear;
}


/* =========================================================
   BUNGA KIRI ATAS
========================================================= */

.hero-flower-top-left {
    width: 175px;
    top: -28px;
    left: -34px;

    transform:
        translate3d(
            0,
            var(--parallax-y),
            0
        );

    transform-origin:
        20% 15%;

    animation:
        flowerWindLeft
        6.5s
        ease-in-out
        infinite;
}


/* =========================================================
   BUNGA KANAN ATAS
========================================================= */

.hero-flower-top-right {
    width: 175px;
    top: -28px;
    right: -34px;


    transform:
        translate3d(
            0,
            var(--parallax-y),
            0
        );

    transform-origin:
        80% 15%;

    animation:
        flowerWindRight
        7s
        ease-in-out
        infinite;
}


/* =========================================================
   CONTENT / CARD
========================================================= */

.hero-content {
    position: relative;

    z-index: 4;
}


.hero-frame {
    position: relative;

    z-index: 4;

    width: 100%;

    max-width: 320px;

    padding:
        52px
        22px
        30px;

    background:
        rgba(255, 252, 245, .72);

    border:
        1px solid
        rgba(70, 92, 78, .22);

    border-radius: 24px;

    backdrop-filter:
        blur(8px);

    -webkit-backdrop-filter:
        blur(8px);

    box-shadow:
        0 18px 45px
        rgba(53, 64, 57, .08);
}


/* =========================================================
   ANIMASI GOYANG KIRI
========================================================= */

@keyframes flowerWindLeft {

    0% {
        rotate: 0deg;
    }

    20% {
        rotate: 2.2deg;
    }

    45% {
        rotate: -1.6deg;
    }

    70% {
        rotate: 1.8deg;
    }

    100% {
        rotate: 0deg;
    }

}


/* =========================================================
   ANIMASI GOYANG KANAN
========================================================= */

@keyframes flowerWindRight {

    0% {
        rotate: 0deg;
    }

    20% {
        rotate: -2.2deg;
    }

    45% {
        rotate: 1.6deg;
    }

    70% {
        rotate: -1.8deg;
    }

    100% {
        rotate: 0deg;
    }

}


/* =========================================================
   MOBILE
   Ukuran otomatis mengikuti desktop
========================================================= */

@media (max-width: 768px) {

    .hero-parallax {
        --ornament-scale: .90;
    }

    .hero-frame {
        max-width: 315px;

        padding:
            50px
            20px
            28px;
    }

}


/* =========================================================
   HP KECIL
========================================================= */

@media (max-width: 360px) {

    .hero-parallax {
        --ornament-scale: .84;
    }

}

/* =========================================================
   HERO → INTRO ORNAMENT
   SCROLL ENTRANCE + EXIT
========================================================= */

.hero-intro-ornament {
    position: relative;

    width: 100%;
    height: 0;

    z-index: 20;

    overflow: visible;

    clip-path:
        inset(
            -300px
            0
            -220px
            0
        );

    pointer-events: none;
}


/* =========================================================
   SEMUA ORNAMENT
   KONDISI AWAL = BELUM TERLIHAT
========================================================= */

/* =========================================
   HERO → INTRO — SMOOTH FLOWER TRANSITION
========================================= */

.hero-boundary-flower {
    position: absolute;

    display: block;

    pointer-events: none;
    user-select: none;

    opacity: 0;

    translate: 0 22px;
    scale: 1.08;

    transition:
        opacity 1.3s ease-in-out,
        translate 1.6s cubic-bezier(.22, 1, .36, 1),
        scale 1.6s cubic-bezier(.22, 1, .36, 1);

    will-change:
        opacity,
        translate,
        scale,
        rotate;
}


/* =========================================================
   BUNGA KIRI - NAIK LEBIH TINGGI
========================================================= */

.hero-boundary-left {
    width:
        clamp(
            200px,
            58vw,
            245px
        );

    left:
        clamp(
            -42px,
            -9vw,
            -24px
        );

    top:
        clamp(
            -185px,
            -43vw,
            -145px
        );

    z-index: 5;

    transform-origin:
        20% 85%;
}


/* =========================================================
   BUNGA KANAN - NAIK LEBIH TINGGI
========================================================= */

.hero-boundary-right {
    width:
        clamp(
            200px,
            58vw,
            245px
        );

    right:
        clamp(
            -42px,
            -9vw,
            -24px
        );

    top:
        clamp(
            -185px,
            -43vw,
            -145px
        );

    z-index: 5;

    transform-origin:
        80% 85%;
}


/* =========================================================
   HERO CANDLE - SMOOTH ENTRANCE
========================================================= */

.hero-boundary-candle {
    width: clamp(190px, 50vw, 235px);

    left: 50%;

    top: clamp(-245px, -57vw, -190px);

    z-index: 2;

    transform: translateX(-50%);

    transform-origin:
        center center;

    opacity: 0;

    translate:
        0
        28px;

    scale:
        1.05;

    transition:
        opacity .9s ease,
        translate 1.25s cubic-bezier(.16, 1, .3, 1),
        scale 1.25s cubic-bezier(.16, 1, .3, 1);

    animation:
        none;
}


/* =========================================================
   MASUK SAAT SCROLL
========================================================= */

.hero-intro-ornament.boundary-active
.hero-boundary-flower {
    opacity: 1;

    translate:
        0
        0;

    scale:
        1;
}


/* BUNGA KIRI MASUK DULU */

.hero-intro-ornament.boundary-active
.hero-boundary-left {
    transition-delay:
        .08s;
}


/* BUNGA KANAN MENYUSUL */

.hero-intro-ornament.boundary-active
.hero-boundary-right {
    transition-delay:
        .22s;
}


/* LILIN PALING AKHIR */

.hero-intro-ornament.boundary-active
.hero-boundary-candle {
    transition-delay:
        .34s;
}


/* =========================================================
   GERAK BUNGA SETELAH MASUK
========================================================= */

.hero-intro-ornament.boundary-active
.hero-boundary-left {
    animation:
        boundaryFlowerLeft
        7.5s
        ease-in-out
        infinite;
}


.hero-intro-ornament.boundary-active
.hero-boundary-right {
    animation:
        boundaryFlowerRight
        8s
        ease-in-out
        infinite;
}


/* =========================================================
   HERO CANDLE ACTIVE
========================================================= */

.hero-intro-ornament.boundary-active
.hero-boundary-candle {
    opacity: 1;

    translate:
        0
        0;

    scale:
        1;

    transition-delay:
        .30s;

    animation:
        heroCandleSoftZoom
        5s
        ease-in-out
        1.7s
        infinite;
}


/* =========================================================
   ANIMASI BUNGA KIRI
========================================================= */

@keyframes boundaryFlowerLeft {

    0% {
        rotate: 0deg;
    }

    25% {
        rotate: 1.8deg;
    }

    50% {
        rotate: -1.2deg;
    }

    75% {
        rotate: 1.3deg;
    }

    100% {
        rotate: 0deg;
    }

}


/* =========================================================
   ANIMASI BUNGA KANAN
========================================================= */

@keyframes boundaryFlowerRight {

    0% {
        rotate: 0deg;
    }

    25% {
        rotate: -1.8deg;
    }

    50% {
        rotate: 1.2deg;
    }

    75% {
        rotate: -1.3deg;
    }

    100% {
        rotate: 0deg;
    }

}


/* =========================================================
   HERO CANDLE SOFT ZOOM
========================================================= */

@keyframes heroCandleSoftZoom {

    0% {
        scale: 1;
    }

    25% {
        scale: 1.025;
    }

    50% {
        scale: 1.055;
    }

    75% {
        scale: 1.025;
    }

    100% {
        scale: 1;
    }

}


/* =========================================================
   SAAT COVER BELUM DIBUKA
========================================================= */

body.invitation-locked
.hero-intro-ornament {
    opacity: 0;
    visibility: hidden;
}


body.invitation-open
.hero-intro-ornament {
    opacity: 1;
    visibility: visible;
}

/* =========================================================
   09. GLOBAL SECTION
========================================================= */

.section {
    position: relative;

    width: 100%;

    min-height: 100vh;

    padding:
        85px
        30px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    text-align: center;

    background: #eaf3fb;
}

.section-label {
    margin-bottom: 12px;

    font-size: 9px;

    letter-spacing: 4px;

    color: #557a9e;
}

.section-title {
    margin-bottom: 25px;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 46px;

    font-weight: 400;

    color: #294866;
}

.section-text {
    max-width: 310px;

    font-size: 12px;

    line-height: 1.9;

    color: #557a9e;
}


/* =========================================================
   COUNTDOWN - PREMIUM GREEN
========================================================= */

.countdown-section {
    min-height: auto;

    padding:
        58px
        30px
        64px;

    background:
        linear-gradient(
            180deg,
            #294866 0%,
            #294866 100%
        );

    color:
        #ffffff;
}


/* =========================================================
   LABEL
========================================================= */

.countdown-section .section-label {
    margin-bottom: 9px;

    color:
        rgba(255, 255, 255, .62);
}


/* =========================================================
   TITLE
========================================================= */

.countdown-section .section-title {
    margin-bottom: 10px;

    color:
        #ffffff;
}


.countdown-section .section-title::after {
    content: "";

    display: block;

    width: 44px;
    height: 1px;

    margin:
        14px
        auto
        0;

    background:
        rgba(255, 255, 255, .30);
}


/* =========================================================
   COUNTDOWN CONTAINER
========================================================= */

.countdown {
    width: 100%;

    max-width: 340px;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 9px;

    margin-top: 28px;
}


/* =========================================================
   COUNTDOWN BOX
========================================================= */

.countdown-box {
    position: relative;

    padding:
        20px
        5px
        17px;

    border:
        1px solid
        rgba(255, 255, 255, .20);

    border-radius:
        18px;

    background:
        rgba(255, 255, 255, .10);

    box-shadow:
        0
        10px
        28px
        rgba(24, 35, 29, .16);

    backdrop-filter:
        blur(8px);

    -webkit-backdrop-filter:
        blur(8px);
}


/* dekorasi garis kecil */

.countdown-box::before {
    content: "";

    position: absolute;

    top: 8px;
    left: 50%;

    width: 18px;
    height: 1px;

    transform:
        translateX(-50%);

    background:
        rgba(255, 255, 255, .25);
}


/* =========================================================
   ANGKA
========================================================= */

.countdown-box span {
    display: block;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 36px;

    font-weight: 400;

    line-height: 1;

    color:
        #ffffff;
}


/* =========================================================
   TEXT DAYS / HOURS / MINUTES / SECONDS
========================================================= */

.countdown-box small {
    display: block;

    margin-top: 8px;

    font-size: 7px;

    letter-spacing: 1.5px;

    text-transform:
        uppercase;

    color:
        rgba(255, 255, 255, .62);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .countdown-section {
        padding:
            52px
            22px
            58px;
    }


    .countdown {
        max-width: 315px;

        gap: 8px;

        margin-top: 24px;
    }


    .countdown-box {
        padding:
            18px
            4px
            15px;

        border-radius:
            16px;
    }


    .countdown-box span {
        font-size: 32px;
    }

}


/* =========================================================
   HP KECIL
========================================================= */

@media (max-width: 390px) {

    .countdown-section {
        padding-left: 18px;
        padding-right: 18px;
    }


    .countdown {
        max-width: 300px;

        gap: 7px;
    }


    .countdown-box span {
        font-size: 29px;
    }


    .countdown-box small {
        font-size: 6px;

        letter-spacing: 1px;
    }

}


/* =========================================================
   11. INTRO - PREMIUM
========================================================= */

.intro-section {
    position: relative;

    z-index: 3;

    min-height: auto;

    padding:
        112px
        30px
        64px;

    background:
        linear-gradient(
            to bottom,
            #eaf3fb 0%,
            #eaf3fb 65%,
            #f3f8fd 100%
        );

    overflow: visible;
}


/* Ruang aman untuk ornament Hero → Intro pada HP */
@media (max-width: 768px) {

    .intro-section {
        padding:
            104px
            24px
            62px;
    }

}


@media (max-width: 390px) {

    .intro-section {
        padding:
            94px
            20px
            58px;
    }

}


.intro-section .section-label {
    margin-bottom: 10px;

    color:
        #557a9e;
}


.intro-section .section-title {
    margin-bottom: 18px;

    color:
        #294866;
}


.intro-section .section-title::after {
    content: "";

    display: block;

    width: 42px;
    height: 1px;

    margin:
        14px
        auto
        0;

    background:
        rgba(71, 91, 78, .28);
}


.intro-section .section-text {
    position: relative;

    z-index: 2;

    max-width: 320px;

    margin:
        0
        auto;

    padding:
        24px
        22px;

    border:
        1px solid
        rgba(82, 99, 88, .12);

    border-radius:
        22px;

    background:
        rgba(255, 255, 255, .32);

    box-shadow:
        0
        12px
        30px
        rgba(59, 72, 63, .05);

    line-height: 2;

    color:
        #557a9e;
}


/* =========================================================
   BUNGA PEMBATAS INTRO + COUPLE
   ZOOM + SCROLL ENTRANCE
========================================================= */

.intro-couple-flower {
    position: absolute;

    left: 50%;

    bottom: -50px;

    width:
        clamp(
            180px,
            55vw,
            250px
        );

    z-index: 10;

    pointer-events: none;
    user-select: none;

    transform-origin:
        center center;

    opacity: 0;

    transform:
        translateX(-50%)
        scale(1.24);

    transition:
        opacity .8s ease,
        transform 1s
        cubic-bezier(.22, .61, .36, 1);

    will-change:
        transform,
        opacity;
}


/* BUNGA AKTIF SAAT MASUK VIEWPORT */

.intro-section.intro-flower-active
.intro-couple-flower {
    opacity: 1;

    animation:
        introCoupleFlowerZoom
        5.5s
        ease-in-out
        infinite;
}


/* =========================================================
   ZOOM LEMBUT
========================================================= */

@keyframes introCoupleFlowerZoom {

    0% {
        transform:
            translateX(-50%)
            scale(1);
    }

    50% {
        transform:
            translateX(-50%)
            scale(1.06);
    }

    100% {
        transform:
            translateX(-50%)
            scale(1);
    }

}


/* =========================================================
   12. COUPLE - BLOOMY BLUE ROYAL ARCH PREMIUM
========================================================= */

/* SECTION */

.couple-section {
    position: relative;
    z-index: 1;

    width: 100%;
    padding: 95px 20px 100px;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #f4f9ff 0%,
            #e8f2fc 45%,
            #dcebf9 100%
        );
}


/* CONTAINER */

.couple-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
}


/* HEADING */

.couple-section .section-heading {
    width: 100%;
    margin-bottom: 50px;
    text-align: center;
}

.couple-section .section-desc {
    max-width: 315px;
    margin: 0 auto;

    font-size: 11px;
    line-height: 1.9;
    color: #5e7e9f;
}


/* =========================================================
   COUPLE CARD
========================================================= */

.couple-card {
    position: relative;

    width: 100%;
    max-width: 330px;

    margin: 0 auto 65px;
    padding: 25px 15px 30px;

    text-align: center;
    isolation: isolate;
}

.couple-card:last-child {
    margin-bottom: 0;
}


/* DEKORASI ATAS */

.couple-card::before {
    content: "✦";

    display: block;
    position: relative;
    z-index: 4;

    margin-bottom: 22px;

    font-size: 16px;
    color: #89aacc;
}


/* =========================================================
   ORNAMEN BUNGA
========================================================= */

.couple-ornament {
    position: absolute;
    display: block;

    z-index: 1;

    pointer-events: none;
    user-select: none;
}




/* BUNGA KIRI */

.couple-ornament-left {
    width: clamp(125px, 39vw, 165px);

    top: clamp(-15px, -3vw, 0px);
    left: clamp(-45px, -10vw, -25px);

    z-index: 2;

    transform-origin: 20% 80%;

    animation:
        coupleFlowerLeft
        7s ease-in-out infinite;
}

/* BUNGA KANAN */

.couple-ornament-right {
    width: clamp(125px, 38vw, 160px);

    top: clamp(75px, 23vw, 110px);
    right: clamp(-45px, -10vw, -25px);

    z-index: 2;

    transform-origin: 80% 80%;

    animation:
        coupleFlowerRight
        7.5s ease-in-out infinite;
}




/* =========================================================
   BINGKAI ROYAL ARCH PREMIUM
========================================================= */

.couple-frame {
    position: relative;
    z-index: 3;

    width: 245px;

    margin: 0 auto 35px;
    padding: 9px;

    border-radius:
        135px 135px 25px 25px;

    border: 1px solid #8aaed1;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #e1edfa 30%,
            #f9fcff 55%,
            #b6cde6 100%
        );

    box-shadow:
        0 20px 42px rgba(63, 99, 139, .17),
        0 5px 12px rgba(71, 108, 149, .09),
        inset 0 0 0 3px rgba(255,255,255,.75);
}


/* GARIS BINGKAI KEDUA */

.couple-frame::before {
    content: "";

    position: absolute;
    inset: 4px;

    border: 1px solid rgba(104, 148, 193, .55);

    border-radius:
        132px 132px 21px 21px;

    pointer-events: none;
}


/* AKSEN MUTIARA */

.couple-frame::after {
    content: "✦";

    position: absolute;

    bottom: -15px;
    left: 50%;

    transform: translateX(-50%);

    width: 32px;
    height: 32px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    border: 1px solid #a5c2df;

    background: #f7fbff;
    color: #7c9fc3;

    font-size: 14px;

    box-shadow:
        0 4px 12px rgba(62, 96, 137, .15);
}


/* =========================================================
   FOTO MEMPELAI
========================================================= */

.couple-photo {
    position: relative;

    width: 100%;
    aspect-ratio: 4 / 5;

    margin: 0;
    padding: 0;

    overflow: hidden;

    border-radius:
        125px 125px 17px 17px;

    border: 2px solid rgba(255,255,255,.92);

    background: #dceafa;
}


/* FOTO */

.couple-photo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;

    border-radius: inherit;

    transition:
        transform .8s cubic-bezier(.22,.61,.36,1);
}


/* HOVER FOTO */

.couple-frame:hover .couple-photo img {
    transform: scale(1.045);
}


/* =========================================================
   IDENTITAS MEMPELAI
========================================================= */

/* ROLE */

.couple-role {
    position: relative;
    z-index: 4;

    margin-bottom: 9px;

    font-size: 9px;
    letter-spacing: 3.5px;

    text-transform: uppercase;
    color: #7195b9;
}


/* NAMA */

.couple-name {
    position: relative;
    z-index: 4;

    max-width: 300px;
    margin: 0 auto;

    font-family: "Cormorant Garamond", serif;

    font-size: 36px;
    font-weight: 500;
    line-height: 1.15;

    color: #355b82;
}


/* GARIS DEKORATIF NAMA */

.couple-name-divider {
    position: relative;
    z-index: 4;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    width: 150px;
    margin: 20px auto;
}

.couple-name-divider::before,
.couple-name-divider::after {
    content: "";

    flex: 1;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #9abbd9
        );
}

.couple-name-divider::after {
    transform: rotate(180deg);
}

.couple-name-divider span {
    font-size: 13px;
    color: #88aace;
}


/* ORANG TUA */

.couple-parent {
    position: relative;
    z-index: 4;

    margin: 0;

    font-size: 11px;
    line-height: 1.9;

    color: #496987;
}


/* INSTAGRAM */

.couple-instagram {
    position: relative;
    z-index: 4;

    margin-top: 20px;

    font-size: 10px;
    letter-spacing: 1px;

    color: #7195b9;
}


/* =========================================================
   ANIMASI BUNGA KIRI
========================================================= */

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

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

    50% {
        rotate: -1.3deg;
        transform: translateY(1px);
    }

    75% {
        rotate: 1.5deg;
        transform: translateY(-1px);
    }
}


/* =========================================================
   ANIMASI BUNGA KANAN
========================================================= */

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

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

    50% {
        rotate: 1.3deg;
        transform: translateY(1px);
    }

    75% {
        rotate: -1.5deg;
        transform: translateY(-1px);
    }
}


/* =========================================================
   RESPONSIVE MOBILE
========================================================= */

@media (max-width: 768px) {

    .couple-section {
        padding: 85px 20px 90px;
    }

    .couple-section .section-heading {
        margin-bottom: 42px;
    }

    .couple-card {
        max-width: 320px;
        margin-bottom: 65px;
    }

    .couple-frame {
        width: 230px;
    }
}


/* =========================================================
   RESPONSIVE DESKTOP
========================================================= */

@media (min-width: 769px) {

    .couple-container {
        max-width: 430px;
    }

    .couple-card {
        max-width: 340px;
    }

    .couple-frame {
        width: 250px;
    }
}


/* =========================================================
   RESPONSIVE HP KECIL
========================================================= */

@media (max-width: 390px) {

    .couple-card {
        max-width: 300px;
    }

    .couple-frame {
        width: 210px;
    }

    .couple-name {
        font-size: 33px;
    }
}



/* =========================================================
   13. WEDDING EVENT - FINAL CLEAN
========================================================= */

.event-section {
    position: relative;

    width: 100%;

    min-height: 100vh;

    padding:
        22px
        20px
        90px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: flex-start;

    text-align: center;

    overflow: hidden;

    background:
        transparent;
}


.event-section::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: clamp(300px, 85vw, 440px);

    z-index: 2;

    background: linear-gradient(
        to bottom,
        #dcebf9 0%,
        rgba(220, 235, 249, 1) 10%,
        rgba(220, 235, 249, .92) 30%,
        rgba(220, 235, 249, .65) 55%,
        rgba(220, 235, 249, .25) 80%,
        rgba(220, 235, 249, 0) 100%
    );

    pointer-events: none;
}



/* =========================================================
   BACKGROUND FOTO EVENT
========================================================= */

.event-fixed-background {
    position: fixed;

    top: 0;
    right: 0;

    width: 430px;

    height: 100vh;
    height: 100svh;

    margin: 0;
    padding: 0;

    

background-image:
    linear-gradient(
        to bottom,
        rgba(46, 63, 86, 0.35) 0%,
        rgba(46, 63, 86, 0.50) 50%,
        rgba(30, 48, 75, 0.60) 100%
    ),
    url("assets/images/background-event.jpg");



    background-size:
        auto 118%;

    background-position:
        center 45%;

    background-repeat:
        no-repeat;

    background-color:
        #eaf3fb;

    z-index: 0;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .35s ease,
        visibility .35s ease;
}


/* background aktif */

.event-section.event-active
.event-fixed-background {
    opacity: 1;

    visibility: visible;
}


/* =========================================================
   ORNAMENT EVENT - RESPONSIVE OTOMATIS
========================================================= */

/* =========================================================
   EVENT ORNAMENT - ZOOM SAAT SCROLL
========================================================= */

.event-ornament {
    position: absolute;

    display: block;

    z-index: 4;

    pointer-events: none;
    user-select: none;

    opacity: 0;

    scale: 1.22;

    transition:
        opacity .75s ease,
        scale 1s cubic-bezier(.22, .61, .36, 1);

    will-change:
        opacity,
        scale,
        transform,
        rotate;
}


/* BUNGA MASUK */

.event-section.event-ornament-enter
.event-ornament {
    opacity: 1;

    scale: 1;
}


/* BUNGA KIRI MASUK DULU */

.event-section.event-ornament-enter
.event-ornament-left {
    transition-delay:
        .10s;
}


/* BUNGA KANAN MENYUSUL */

.event-section.event-ornament-enter
.event-ornament-right {
    transition-delay:
        .25s;
}


/* BUNGA ATAS / KIRI */

.event-ornament-left {
    width: clamp(92px, 25vw, 108px);

    top: clamp(105px, 30vw, 130px);

    left: clamp(6px, 2vw, 10px);

    transform-origin:
        20% 70%;

    animation:
        eventFlowerLeft
        7s
        ease-in-out
        infinite;
}


/* BUNGA BAWAH / KANAN */

.event-ornament-right {
    width: clamp(100px, 27vw, 118px);

    right: clamp(6px, 2vw, 10px);

    bottom: clamp(-10px, -2vw, 0px);

    transform-origin:
        80% 70%;

    animation:
        eventFlowerRight
        7.5s
        ease-in-out
        infinite;
}


.event-section .section-label {
    position: relative;

    z-index: 3;

    margin-top: 36px;
    margin-bottom: 8px;

    color:
        #294866;

    font-weight: 500;

    text-shadow:
        0
        1px
        2px
        rgba(255, 255, 255, .70);
}


.event-section .section-title {
    position: relative;

    z-index: 3;

    margin-bottom: 26px;

    color:
        #294866;

    text-shadow:
        0
        2px
        6px
        rgba(255, 255, 255, .85);
}


/* KABUT LEMBUT DI BELAKANG JUDUL */

.event-section .section-title::before {
    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    width: 260px;
    height: 120px;

    transform:
        translate(
            -50%,
            -50%
        );

    background:
        radial-gradient(
            ellipse at center,
            rgba(250, 247, 241, .72) 0%,
            rgba(250, 247, 241, .42) 45%,
            rgba(250, 247, 241, 0) 75%
        );

    filter:
        blur(8px);

    z-index: -1;

    pointer-events: none;
}


/* GARIS TIPIS DI BAWAH JUDUL */

.event-section .section-title::after {
    content: "";

    display: block;

    width: 58px;
    height: 1px;

    margin:
        12px
        auto
        0;

    background:
        rgba(58, 78, 66, .38);
}


/* =========================================================
   EVENT CARD
========================================================= */

.event-card {
    position: relative;

    z-index: 3;

    width: 100%;

    max-width: 330px;

    margin:
        10px
        auto;

    padding:
        34px
        24px
        32px;

    border:
        1px solid
        rgba(255, 255, 255, .54);

    border-radius:
        28px;

    background:
        rgba(250, 247, 241, .76);

    box-shadow:
        0
        16px
        36px
        rgba(48, 61, 52, .10);

    backdrop-filter:
        blur(8px);

    -webkit-backdrop-filter:
        blur(8px);

    overflow: hidden;
}


/* =========================================================
   EFEK DALAM CARD
========================================================= */

.event-card::before {
    content: "";

    position: absolute;

    top: -32px;

    right: -32px;

    width: 105px;

    height: 105px;

    border-radius:
        50%;

    background:
        radial-gradient(
            circle,
            rgba(180, 194, 182, .18),
            rgba(180, 194, 182, 0) 72%
        );

    z-index: 0;
}


.event-card > * {
    position: relative;

    z-index: 2;
}


/* =========================================================
   EVENT SMALL
========================================================= */

.event-small {
    margin-bottom: 12px;

    font-size: 8px;

    letter-spacing: 3px;

    color:
        #557a9e;
}


/* =========================================================
   HARI
========================================================= */

.event-card h3 {
    margin-top: 0;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 31px;

    font-weight: 400;

    color:
        #294866;
}


/* =========================================================
   TANGGAL
========================================================= */

.event-date-big {
    margin:
        5px
        0;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 76px;

    line-height: .9;

    color:
        #294866;
}


/* =========================================================
   TEXT
========================================================= */

.event-card p {
    font-size: 10px;

    line-height: 1.7;

    color:
        #557a9e;
}


/* =========================================================
   DIVIDER
========================================================= */

.event-divider {
    width: 38px;

    height: 1px;

    margin:
        18px
        auto;

    background:
        rgba(93, 112, 99, .38);
}


/* =========================================================
   LOCATION
========================================================= */

.event-location {
    margin-top: 18px;

    font-size:
        12px !important;

    font-weight: 500;

    color:
        #294866 !important;
}


/* =========================================================
   ADDRESS
========================================================= */

.event-address {
    max-width: 260px;

    margin:
        6px
        auto
        0;

    font-size:
        9px !important;

    line-height:
        1.8 !important;

    color:
        #557a9e !important;
}


/* =========================================================
   BUTTON
========================================================= */

.location-button {
    margin-top: 20px;
}


/* =========================================================
   ANIMASI BUNGA KIRI
========================================================= */

@keyframes eventFlowerLeft {

    0% {
        rotate: 0deg;

        transform:
            translateY(0);
    }

    25% {
        rotate: 2deg;

        transform:
            translateY(-3px);
    }

    50% {
        rotate: -1.2deg;

        transform:
            translateY(1px);
    }

    75% {
        rotate: 1.4deg;

        transform:
            translateY(-2px);
    }

    100% {
        rotate: 0deg;

        transform:
            translateY(0);
    }

}


/* =========================================================
   ANIMASI BUNGA KANAN
========================================================= */

@keyframes eventFlowerRight {

    0% {
        rotate: 0deg;

        transform:
            translateY(0);
    }

    25% {
        rotate: -2deg;

        transform:
            translateY(-3px);
    }

    50% {
        rotate: 1.2deg;

        transform:
            translateY(1px);
    }

    75% {
        rotate: -1.4deg;

        transform:
            translateY(-2px);
    }

    100% {
        rotate: 0deg;

        transform:
            translateY(0);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .event-section {
        padding:
            18px
            20px
            85px;
    }


    .event-fixed-background {
        left: 0;

        right: auto;

        width: 100%;

        background-size:
            auto 118%;

        background-position:
            center 45%;
    }


    .event-section .section-label {
        margin-top: 34px;
    }


    .event-card {
        max-width: 325px;

        padding:
            34px
            22px
            30px;
    }

}


/* =========================================================
   HP KECIL
========================================================= */

@media (max-width: 390px) {

    .event-section {
        padding-top: 16px;
    }


    .event-section .section-label {
        margin-top: 30px;
    }


    .event-card {
        max-width: 305px;
    }

}

/* =========================================================
   14. BUTTON
========================================================= */

.outline-button {
    display: inline-block;

    margin-top: 20px;

    padding:
        11px
        24px;

    border:
        1px solid
        #557a9e;

    border-radius: 30px;

    background: transparent;

    color: #294866;

    font-size: 9px;

    text-decoration: none;

    cursor: pointer;
}




/* =========================================================
   GALLERY - BLOOMY BLUE LUXURY MAGAZINE
========================================================= */

.gallery-section {
    position: relative;
    overflow: hidden;

    width: 100%;
    padding:
        clamp(75px, 18vw, 100px)
        clamp(14px, 4vw, 24px)
        95px;

    background: linear-gradient(
        180deg,
        #f1f7ff 0%,
        #e6f1fc 48%,
        #dceafa 100%
    );
}

/* HEADING */


.gallery-heading {
    width: 100%;
    max-width: 390px;

    margin: 0 auto 28px;

    text-align: center;
}


.gallery-heading .section-label {
    color: #7699bd;
    letter-spacing: 3px;
}


.gallery-heading .section-title {
    max-width: 100%;
    margin: 10px auto 12px;

    font-family: "Cormorant Garamond", serif;
    font-size: clamp(30px, 8vw, 39px);
    font-weight: 400;
    line-height: 1.12;

    color: #355b82;
    text-align: center;
}



.gallery-heading .section-text {
    display: block;

    width: 100%;
    max-width: 290px;

    margin: 0 auto;
    padding: 0;

    font-family: "Cormorant Garamond", serif;
    font-size: clamp(16px, 4.5vw, 19px);
    font-style: italic;
    line-height: 1.5;

    text-align: center;
    color: #7995b3;
}


.gallery-heading-ornament {
    margin-top: 18px;
    color: #9bb9d9;
    font-size: 17px;
}

/* =========================================
   EDITORIAL GRID
========================================= */

.gallery-editorial-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: clamp(9px, 2.5vw, 14px);

    width: 100%;
    max-width: 390px;

    margin: 0 auto;
}

/* FRAME FOTO */

.gallery-item {
    position: relative;

    min-width: 0;
    overflow: hidden;

    padding: 5px;

    border: 1px solid #b0c9e3;
    border-radius: 7px;

    background: linear-gradient(
        135deg,
        #ffffff,
        #d9e8f7,
        #f7fbff
    );

    box-shadow:
        0 7px 18px rgba(56, 90, 132, .12),
        0 16px 32px rgba(56, 90, 132, .08);
}

/* FOTO */

.gallery-item img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    border-radius: 3px;

    transition:
        transform 1.2s cubic-bezier(.16, 1, .3, 1),
        filter .8s ease;
}

/* HOVER */

.gallery-item:hover img {
    transform: scale(1.055);
}

/* =========================================
   FEATURED PHOTO - FULL WIDTH
========================================= */

.gallery-featured {
    grid-column: 1 / -1;

    height: clamp(190px, 55vw, 260px);
}

/* CAPTION FOTO UTAMA */

.gallery-photo-caption {
    position: absolute;

    bottom: 5px;
    left: 5px;
    right: 5px;

    z-index: 2;

    padding: 28px 14px 12px;

    background: linear-gradient(
        to top,
        rgba(20, 45, 77, .70),
        transparent
    );

    border-radius: 0 0 3px 3px;
}

.gallery-photo-caption span {
    font-size: 9px;
    letter-spacing: 2px;
    color: #ffffff;
}

/* =========================================
   PORTRAIT PHOTOS
========================================= */

.gallery-portrait {
    height: clamp(205px, 65vw, 280px);
}

/* =========================================
   EDITORIAL QUOTE
========================================= */

.gallery-quote {
    grid-column: 1 / -1;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 175px;

    padding: 30px 16px;
    margin: 6px 0;

    text-align: center;

    border-top: 1px solid rgba(112,153,195,.38);
    border-bottom: 1px solid rgba(112,153,195,.38);
}

.gallery-quote-star {
    color: #8eafd0;
    font-size: 18px;
}

.gallery-quote p {
    margin: 15px 0;

    font-family: "Cormorant Garamond", serif;
    font-size: clamp(28px, 8vw, 36px);
    font-style: italic;
    font-weight: 400;
    line-height: 1.1;

    color: #42678e;
}

.gallery-quote-sign {
    font-size: 9px;
    letter-spacing: 3px;
    color: #82a0c0;
}

/* =========================================
   CINEMATIC VIDEO
========================================= */

.gallery-video {
    width: 100%;
    max-width: 390px;

    margin: 75px auto 0;
    text-align: center;
}

.gallery-video-heading {
    margin-bottom: 25px;
}

.gallery-video-heading span {
    display: block;
    margin-bottom: 10px;

    font-size: 9px;
    letter-spacing: 3px;
    color: #7798b9;
}

.gallery-video-heading h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(30px, 8vw, 40px);
    font-weight: 400;

    color: #355b82;
}

/* VIDEO FRAME */

.gallery-video-frame {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 9;

    padding: 6px;

    border: 1px solid #9bb9da;
    border-radius: 9px;

    background: linear-gradient(
        145deg,
        #fff,
        #d6e7f8,
        #adc9e4
    );

    box-shadow:
        0 12px 30px rgba(51,85,127,.16);
}

.gallery-video-frame iframe {
    display: block;

    width: 100%;
    height: 100%;

    border: 0;
    border-radius: 4px;

    background: #182a40;
}

.gallery-video-caption {
    margin-top: 20px;

    font-family: "Cormorant Garamond", serif;
    font-size: 19px;
    font-style: italic;

    color: #7293b5;
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 390px) {

    .gallery-featured {
        height: clamp(170px, 55vw, 215px);
    }

    .gallery-portrait {
        height: clamp(185px, 65vw, 235px);
    }

    .gallery-quote {
        min-height: 155px;
    }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .gallery-item img {
        transition: none;
    }
}



/* =========================================================
   16. LOVE STORY - LUXURY EDITORIAL FINAL
   Premium Design - Static Photo
   Tanpa Zoom / Hover / Scroll Zoom
========================================================= */

/* =========================================================
   SECTION
========================================================= */

.story-section {
    position: relative;
    overflow: hidden;

    padding: 85px 24px 90px;

    background: linear-gradient(
        180deg,
        #eaf3fb 0%,
        #f3f8fd 48%,
        #eaf3fb 100%
    );

    text-align: center;
}

/* =========================================================
   HEADING
========================================================= */

.story-section .story-heading {
    position: relative;
    margin-bottom: 42px;
}

.story-section .story-heading-line {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 13px;
    margin: 18px auto;
}

.story-section .story-heading-line::before,
.story-section .story-heading-line::after {
    content: "";

    width: 45px;
    height: 1px;

    background: rgba(166, 139, 94, .45);
}

.story-section .story-heading-line span {
    color: #7e9fc5;
    font-size: 13px;
}

.story-section .story-intro {
    max-width: 270px;
    margin: 0 auto;

    font-family: "Cormorant Garamond", serif;
    font-size: 19px;
    font-style: italic;
    line-height: 1.5;

    color: #557a9e;
}

/* =========================================================
   TIMELINE
========================================================= */

.story-section .timeline {
    position: relative;

    width: 100%;
    max-width: 350px;

    margin: 0 auto;

    text-align: left;
}

.story-section .timeline::before {
    content: "";

    position: absolute;

    top: 12px;
    bottom: 15px;
    left: 7px;

    width: 1px;

    background: linear-gradient(
        to bottom,
        transparent,
        rgba(177, 149, 104, .7) 12%,
        rgba(177, 149, 104, .5) 88%,
        transparent
    );
}

/* =========================================================
   TIMELINE ITEM
========================================================= */

.story-section .timeline-item {
    position: relative;

    padding-left: 27px;
    margin-bottom: 45px;
}

.story-section .timeline-item:last-child {
    margin-bottom: 0;
}

/* =========================================================
   GOLD DOT
========================================================= */

.story-section .timeline-dot {
    position: absolute;

    top: 17px;
    left: 1px;

    width: 13px;
    height: 13px;

    border: 3px solid #f3f8fd;
    border-radius: 50%;

    background: #7e9fc5;

    box-shadow:
        0 0 0 1px rgba(177, 149, 104, .6),
        0 0 12px rgba(177, 149, 104, .2);
}

/* =========================================================
   PREMIUM CARD
========================================================= */

.story-section .story-card {
    position: relative;
    overflow: hidden;

    width: 100%;

    border: 1px solid rgba(178, 153, 113, .25);
    border-radius: 5px;

    background: #f3f8fd;

    box-shadow:
        0 7px 15px rgba(64, 61, 49, .035),
        0 20px 45px rgba(64, 61, 49, .07);
}

/* =========================================================
   PHOTO FRAME
========================================================= */

.story-section .story-photo-frame {
    position: relative;

    width: calc(100% - 20px);
    aspect-ratio: 4 / 5;

    margin: 10px auto 0;

    overflow: hidden;

    background: #eaf3fb;
}

/* =========================================================
   PHOTO - STATIC
   Tidak ada efek zoom atau animasi
========================================================= */

.story-section .story-photo-frame img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transform: none;
    scale: 1;

    animation: none;
    transition: none;

    filter:
        saturate(1.02)
        contrast(1.01);
}

/* FOTO TETAP DIAM SAAT HOVER DAN SCROLL */

.story-section .story-photo-frame:hover img,
.story-section .timeline-item.show
.story-photo-frame img,
.story-section .story-photo-frame.story-zoom-active img,
.story-section .story-photo-frame.story-photo-visible img {
    transform: none;
    scale: 1;
    animation: none;
    transition: none;
}

/* =========================================================
   PHOTO OVERLAY
========================================================= */

.story-section .story-photo-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom,
        transparent 65%,
        rgba(0, 0, 0, .18) 100%
    );

    pointer-events: none;
}

/* HILANGKAN NOMOR FOTO */

.story-section .story-photo-number {
    display: none;
}

/* =========================================================
   CARD BODY
========================================================= */

.story-section .story-card-body {
    padding: 27px 22px 31px;
    text-align: center;
}

/* =========================================================
   YEAR
========================================================= */

.story-section .story-card-body .story-year {
    display: block;

    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    font-weight: 500;

    letter-spacing: 2.3px;
    line-height: 1.6;

    color: #7e9fc5;
}

/* =========================================================
   TITLE
========================================================= */

.story-section .story-card-body h3 {
    margin: 10px 0 14px;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(30px, 8vw, 38px);
    font-weight: 400;
    line-height: 1.1;

    color: #294866;
}

/* =========================================================
   DIVIDER
========================================================= */

.story-section .story-divider {
    width: 38px;
    height: 1px;

    margin: 0 auto 18px;

    background: #7e9fc5;
}

/* =========================================================
   DESCRIPTION
========================================================= */

.story-section .story-card-body p {
    margin: 0;

    font-family: "Montserrat", sans-serif;
    font-size: 10.5px;
    font-weight: 400;

    line-height: 2;
    letter-spacing: .15px;

    color: #557a9e;
}

/* =========================================================
   ENDING
========================================================= */

.story-section .story-ending {
    display: flex;
    flex-direction: column;
    align-items: center;

    margin-top: 55px;
}

.story-section .story-ending > span {
    margin-bottom: 14px;

    font-size: 16px;
    color: #7e9fc5;
}

.story-section .story-ending p {
    font-family: "Cormorant Garamond", serif;

    font-size: 23px;
    font-style: italic;
    line-height: 1.4;

    color: #294866;
}

.story-section .story-ending-line {
    width: 75px;
    height: 1px;

    margin-top: 22px;

    background: linear-gradient(
        to right,
        transparent,
        #7e9fc5,
        transparent
    );
}

/* =========================================================
   MOBILE RESPONSIVE
========================================================= */

@media (max-width: 480px) {

    .story-section {
        padding: 72px 22px 80px;
    }

    .story-section .timeline {
        max-width: 100%;
    }

    .story-section .timeline-item {
        padding-left: 25px;
        margin-bottom: 38px;
    }

    .story-section .story-card-body {
        padding: 24px 18px 28px;
    }

    .story-section .story-card-body p {
        font-size: 10px;
        line-height: 1.9;
    }

}

/* =========================================================
   REDUCED MOTION
========================================================= */

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

    .story-section .story-photo-frame img {
        transform: none;
        scale: 1;
        animation: none;
        transition: none;
    }

}



/* =========================================================
   WEDDING GIFT - ATM PREMIUM
========================================================= */

.gift-section {
    min-height: auto;

    padding:
        68px
        28px
        78px;

    background:
        linear-gradient(
            to bottom,
            #f3f8fd 0%,
            #eaf3fb 100%
        );
}


/* =========================================================
   HEADING
========================================================= */

.gift-section .section-label {
    margin-bottom: 8px;

    color:
        #557a9e;
}


.gift-section .section-title {
    margin-bottom: 14px;

    color:
        #294866;
}


.gift-section .section-text {
    max-width: 315px;

    margin-bottom: 28px;

    color:
        #557a9e;
}


/* =========================================================
   CARD ATM
========================================================= */


/* =========================================================
   CARD ATM - BLOOMY BLUE RESPONSIVE CLAMP
========================================================= */

.gift-card {
    position: relative;

    width: 100%;
    max-width: 335px;

    margin:
        clamp(10px, 3vw, 14px) auto;

    padding:
        clamp(20px, 6vw, 26px)
        clamp(18px, 5.5vw, 24px);

    overflow: hidden;

    border:
        1px solid rgba(204, 225, 245, .55);

    border-radius:
        clamp(20px, 6vw, 26px);

    background:
        linear-gradient(
            145deg,
            #527ba8 0%,
            #365d88 48%,
            #294866 100%
        );

    box-shadow:
        0 18px 42px rgba(41, 72, 102, .20),
        inset 0 1px 0 rgba(255, 255, 255, .15);

    text-align: left;
    color: #ffffff;
}



/* =========================================================
   DEKORASI CARD
========================================================= */

.gift-card::before {
    content: "";

    position: absolute;

    width: 190px;
    height: 190px;

    top: -105px;
    right: -80px;

    border-radius:
        50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, .17),
            rgba(255, 255, 255, 0) 70%
        );

    pointer-events: none;
}


.gift-card::after {
    content: "";

    position: absolute;

    width: 125px;
    height: 125px;

    bottom: -75px;
    left: -48px;

    border:
        1px solid
        rgba(255, 255, 255, .10);

    border-radius:
        50%;

    pointer-events: none;
}


.gift-card > * {
    position: relative;

    z-index: 2;
}


/* =========================================================
   HEADER LOGO BANK
========================================================= */

.gift-bank-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    min-height: 32px;

    margin-bottom: 18px;
}


/* =========================================================
   LOGO BCA / MANDIRI
========================================================= */

.gift-bank-logo {
    display: block;

    width: auto;

    max-width: 105px;

    height: 28px;

    object-fit: contain;
}


/* =========================================================
   NAMA BANK
========================================================= */

.gift-bank-name {
    margin: 0;

    font-size: 8px;

    letter-spacing: 2.4px;

    text-transform: uppercase;

    color:
        rgba(255, 255, 255, .62);
}


/* =========================================================
   NOMOR REKENING
========================================================= */

.gift-account-number {
    margin:
        20px
        0
        8px;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 31px;

    font-weight: 400;

    line-height: 1;

    letter-spacing: 1.8px;

    color:
        #ffffff;
}


/* =========================================================
   NAMA PEMILIK
========================================================= */

.gift-account-name {
    display: block;

    font-size: 9px;

    letter-spacing: 1px;

    color:
        rgba(255, 255, 255, .72);
}


/* =========================================================
   TOMBOL COPY
========================================================= */

.gift-copy-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    margin-top: 22px;

    padding:
        10px
        19px;

    border:
        1px solid
        rgba(255, 255, 255, .30);

    border-radius:
        30px;

    background:
        rgba(255, 255, 255, .10);

    color:
        #ffffff;

    font-size: 8px;

    letter-spacing: 1px;

    cursor: pointer;

    backdrop-filter:
        blur(4px);

    -webkit-backdrop-filter:
        blur(4px);

    transition:
        transform .25s ease,
        background .25s ease;
}


.gift-copy-button:hover {
    transform:
        translateY(-1px);

    background:
        rgba(255, 255, 255, .18);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .gift-section {
        padding:
            58px
            22px
            68px;
    }


    .gift-section .section-text {
        max-width: 300px;

        margin-bottom: 24px;
    }


    .gift-bank-header {
        min-height: 30px;

        margin-bottom: 16px;
    }


    .gift-bank-logo {
        max-width: 92px;

        height: 25px;
    }


    .gift-bank-name {
        font-size: 7px;

        letter-spacing: 2px;
    }


    .gift-account-number {
        margin-top: 18px;

        font-size: 28px;

        letter-spacing: 1.4px;
    }


    .gift-account-name {
        font-size: 8px;
    }


    .gift-copy-button {
        margin-top: 19px;

        padding:
            9px
            17px;

        font-size: 7px;
    }

}


/* =========================================================
   HP KECIL
========================================================= */

@media (max-width: 390px) {

    .gift-section {
        padding-left: 18px;

        padding-right: 18px;
    }

    .gift-bank-logo {
        max-width: 84px;

        height: 23px;
    }


    .gift-account-number {
        font-size: 26px;
    }

}





/* =========================================================
   19. RSVP + WEDDING WISHES
   BLOOMY BLUE ROYAL PEARL PREMIUM
========================================================= */

/* SECTION BACKGROUND */

.rsvp-section,
.wishes-section {
    position: relative;
    min-height: auto;
    padding: 75px 24px 85px;

    background: linear-gradient(
        180deg,
        #f3f8fd 0%,
        #eaf3fb 55%,
        #e2eefb 100%
    );

    overflow: hidden;
}

/* LABEL */

.rsvp-section .section-label,
.wishes-section .section-label {
    margin-bottom: 10px;
    font-size: 9px;
    letter-spacing: 3.5px;
    color: #7394b8;
}

/* TITLE */

.rsvp-section .section-title,
.wishes-section .section-title {
    margin-bottom: 14px;

    font-family: "Cormorant Garamond", serif;
    font-size: clamp(37px, 10vw, 45px);
    font-weight: 400;
    color: #294866;
}

/* TANPA ORNAMEN DI BAWAH JUDUL */

.rsvp-section .section-title::after,
.wishes-section .section-title::after {
    content: none;
    display: none;
}

/* DESCRIPTION */

.rsvp-section .section-text,
.wishes-section .section-text {
    max-width: 305px;
    margin: 0 auto 28px;

    font-size: 11px;
    line-height: 1.9;
    color: #6384a6;
}

/* =========================================
   ROYAL PEARL FORM FRAME
========================================= */

.rsvp-form,
.wish-form {
    position: relative;

    width: 100%;
    max-width: 335px;

    margin: 20px auto 0;
    padding: 48px 23px 32px;

    display: flex;
    flex-direction: column;
    gap: 14px;

    isolation: isolate;

    border: 1px solid #9fbbd9;
    border-radius: 25px;

    background: linear-gradient(
        145deg,
        rgba(255,255,255,.98) 0%,
        rgba(246,250,255,.97) 55%,
        rgba(229,240,252,.97) 100%
    );

    box-shadow:
        0 18px 42px rgba(45,80,120,.13),
        0 5px 15px rgba(45,80,120,.05),
        inset 0 0 0 4px rgba(255,255,255,.82);
}

/* GARIS BINGKAI KEDUA */

.rsvp-form::before,
.wish-form::before {
    content: "";

    position: absolute;
    inset: 7px;
    z-index: -1;

    border: 1px solid rgba(147,181,215,.48);
    border-radius: 18px;

    pointer-events: none;
}

/* =========================================
   ORNAMEN DI DALAM BINGKAI FORM
   GARIS - BINTANG - GARIS
========================================= */

.rsvp-form::after,
.wish-form::after {
    content: "✦";

    position: absolute;
    top: 16px;
    left: 50%;

    transform: translateX(-50%);

    width: 120px;
    height: 18px;

    text-align: center;

    font-family: serif;
    font-size: 15px;
    line-height: 18px;

    color: #86a8cb;

    background: linear-gradient(
        to right,
        transparent 0 8%,
        #b2cbe5 8% 36%,
        transparent 36% 64%,
        #b2cbe5 64% 92%,
        transparent 92% 100%
    );

    background-size: 100% 1px;
    background-position: center;
    background-repeat: no-repeat;

    pointer-events: none;
}

/* =========================================
   INPUT, SELECT, TEXTAREA
========================================= */

.rsvp-form input,
.rsvp-form select,
.wish-form input,
.wish-form textarea {
    width: 100%;
    min-height: 45px;
    padding: 13px 15px;

    border: 1px solid #c3d7ec;
    border-radius: 12px;

    background: rgba(250,252,255,.96);

    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    color: #294866;

    outline: none;

    transition:
        border-color .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}

/* INPUT FOCUS */

.rsvp-form input:focus,
.rsvp-form select:focus,
.wish-form input:focus,
.wish-form textarea:focus {
    border-color: #80a6cc;
    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(135,169,203,.15);
}

/* PLACEHOLDER */

.rsvp-form input::placeholder,
.wish-form input::placeholder,
.wish-form textarea::placeholder {
    color: #8aa5c0;
    opacity: 1;
}

/* TEXTAREA */

.wish-form textarea {
    min-height: 130px;
    resize: vertical;
    line-height: 1.8;
}

/* =========================================
   PREMIUM SUBMIT BUTTON
========================================= */

.rsvp-form button,
.wish-form button {
    width: 100%;
    margin-top: 8px;
    padding: 15px 20px;

    border: 1px solid #5278a4;
    border-radius: 999px;

    background: linear-gradient(
        135deg,
        #527ba8 0%,
        #365d88 48%,
        #294866 100%
    );

    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 500;

    letter-spacing: 1.5px;
    text-transform: uppercase;

    color: #ffffff;
    cursor: pointer;

    box-shadow:
        0 9px 22px rgba(41,72,102,.23),
        inset 0 1px 0 rgba(255,255,255,.28);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        filter .25s ease;
}

/* BUTTON HOVER */

.rsvp-form button:hover,
.wish-form button:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);

    box-shadow:
        0 13px 27px rgba(41,72,102,.28);
}

/* BUTTON ACTIVE */

.rsvp-form button:active,
.wish-form button:active {
    transform: translateY(0);
}

/* BUTTON DISABLED */

.rsvp-form button:disabled,
.wish-form button:disabled {
    opacity: .65;
    cursor: not-allowed;
}

/* =========================================
   FORM MESSAGE
========================================= */

.form-message {
    margin-top: 14px;

    font-size: 10px;
    line-height: 1.7;
    color: #42678e;

    opacity: 0;
    transition: opacity .3s ease;
}

.form-message.show {
    opacity: 1;
}

/* =========================================
   WEDDING WISHES LIST
========================================= */

.wish-list {
    width: 100%;
    max-width: 335px;
    margin: 30px auto 0;

    display: flex;
    flex-direction: column;
    gap: 13px;

    max-height: 500px;

    overflow-y: auto;
    overflow-x: hidden;

    padding: 3px 7px 3px 3px;

    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color:
        rgba(106,146,187,.4) transparent;
}

/* =========================================
   WISH MESSAGE CARD
========================================= */

.wish-item {
    position: relative;
    flex: 0 0 auto;

    width: 100%;
    padding: 24px 20px 21px;

    border: 1px solid #b0c9e3;
    border-radius: 17px;

    background: linear-gradient(
        145deg,
        #ffffff 0%,
        #f4f9ff 55%,
        #e5f0fb 100%
    );

    box-shadow:
        0 10px 25px rgba(51,87,128,.10),
        inset 0 0 0 3px rgba(255,255,255,.7);

    text-align: left;
}

/* ORNAMEN KARTU UCAPAN */

.wish-item::before {
    content: "✦";

    position: absolute;
    top: 13px;
    right: 16px;

    font-size: 13px;
    color: #96b5d6;

    pointer-events: none;
}

/* NAMA TAMU */

.wish-item strong {
    display: block;
    margin-bottom: 9px;

    font-family: "Cormorant Garamond", serif;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.2;

    color: #294866;
}

/* ISI UCAPAN */

.wish-item p {
    margin: 0;

    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    line-height: 1.9;

    color: #537495;
    overflow-wrap: anywhere;
}

/* =========================================
   CUSTOM SCROLLBAR
========================================= */

.wish-list::-webkit-scrollbar {
    width: 4px;
}

.wish-list::-webkit-scrollbar-track {
    background: transparent;
}

.wish-list::-webkit-scrollbar-thumb {
    background: rgba(109,150,190,.4);
    border-radius: 20px;
}

.wish-list::-webkit-scrollbar-thumb:hover {
    background: rgba(88,129,171,.6);
}

/* =========================================
   RESPONSIVE MOBILE
========================================= */

@media (max-width: 768px) {

    .rsvp-section,
    .wishes-section {
        padding: 65px 22px 75px;
    }

    .rsvp-form,
    .wish-form {
        max-width: 325px;
        padding: 46px 21px 29px;
    }

    .wish-list {
        max-width: 315px;
        max-height: 470px;
        gap: 11px;
    }

    .wish-item {
        padding: 21px 18px 19px;
    }
}

/* =========================================
   RESPONSIVE HP KECIL
========================================= */

@media (max-width: 390px) {

    .rsvp-section,
    .wishes-section {
        padding: 60px 18px 70px;
    }

    .rsvp-form,
    .wish-form {
        max-width: 300px;
        padding: 43px 18px 27px;
        border-radius: 22px;
    }

    .rsvp-form::before,
    .wish-form::before {
        border-radius: 16px;
    }

    .rsvp-section .section-title,
    .wishes-section .section-title {
        font-size: 37px;
    }

    .wish-list {
        max-width: 300px;
        max-height: 450px;
    }

    .wish-item {
        padding: 19px 16px 17px;
    }

    .wish-item strong {
        font-size: 19px;
    }

    .wish-item p {
        font-size: 10px;
    }
}

/* =========================================================
   END RSVP + WEDDING WISHES
========================================================= */

/* =========================================================
   CLOSING SECTION
========================================================= */

.closing-section {
    position: relative;

    width: 100%;

    min-height: 100vh;
    min-height: 100svh;

    padding:
        clamp(110px, 24vw, 145px)
        clamp(18px, 5vw, 26px)
        clamp(245px, 65vw, 285px);

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    text-align: center;

    background-image:
        url("assets/images/background-hero.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    background-color: #eaf3fb;
}


/* =========================================================
   BACKGROUND OVERLAY
========================================================= */

.closing-section::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            180deg,
            rgba(223, 234, 249, .12) 0%,
            rgba(213, 227, 245, .18) 50%,
            rgba(196, 215, 237, .25) 100%
        );

    pointer-events: none;
}


/* =========================================================
   PREMIUM PEARL CONTENT PANEL
========================================================= */


.closing-content {
    position: relative;

    z-index: 4;

    width: 100%;
    max-width: 315px;

    margin: 0 auto;

    /* TURUNKAN BINGKAI DAN TULISAN */
    transform: translateY(30px);

    padding:
        clamp(28px, 7vw, 36px)
        clamp(18px, 5vw, 25px)
        clamp(30px, 7vw, 38px);

    text-align: center;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.96) 0%,
            rgba(244,249,255,.94) 55%,
            rgba(231,241,252,.96) 100%
        );

    border:
        1px solid rgba(154,185,218,.85);

    border-radius:
        clamp(22px, 6vw, 28px);

    box-shadow:
        0 18px 45px rgba(43,76,115,.15),
        0 5px 15px rgba(43,76,115,.06),
        inset 0 0 0 3px rgba(255,255,255,.75);
}

/* =========================================================
   LABEL THANK YOU
========================================================= */

.closing-section .section-label {
    margin-bottom: 16px;

    font-family: "Montserrat", sans-serif;

    font-size: 9px;
    font-weight: 500;
    letter-spacing: 4px;

    color: #7195ba;
}


/* =========================================================
   NAMA MEMPELAI
========================================================= */

.closing-section .closing-name {
    margin: 0;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size:
        clamp(42px, 11vw, 54px);

    font-weight: 400;

    line-height: .95;

    color: #294866;

    text-shadow: none;
}


/* SIMBOL & */

.closing-section .closing-name span {
    display: block;

    margin:
        9px 0 11px;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: .42em;
    font-weight: 400;

    color: #86a8ca;
}


/* =========================================================
   ORNAMEN GARIS DI BAWAH NAMA
========================================================= */

.closing-name::after {
    content: "✦";

    display: block;

    margin:
        19px auto 0;

    font-family: serif;

    font-size: 14px;
    line-height: 1;

    color: #9bb9d8;
}


/* =========================================================
   PARAGRAF PENUTUP
========================================================= */

.closing-section .closing-text {
    width: 100%;

    max-width: 265px;

    margin:
        21px auto 0;

    font-family:
        "Montserrat",
        sans-serif;

    font-size:
        clamp(11px, 2.9vw, 13px);

    font-weight: 400;

    line-height: 1.85;

    color: #4a6787;
}


/* =========================================================
   TANGGAL PERNIKAHAN
========================================================= */

.closing-section .closing-date {
    display: inline-block;

    margin-top: 22px;

    padding:
        10px 18px;

    border:
        1px solid #bfd3e8;

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            #f5faff,
            #e2effc
        );

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 10px;

    font-weight: 500;

    letter-spacing: 3px;

    color: #42678e;

    box-shadow:
        0 5px 15px rgba(65,101,146,.06);
}


/* =========================================================
   CLOSING ORNAMENT - SCROLL ANIMATION
========================================================= */

.closing-ornament {
    position: absolute;

    z-index: 5;

    display: block;

    pointer-events: none;
    user-select: none;

    backface-visibility: hidden;

    opacity: 0;

    translate: 0 35px;
    scale: 1.20;

    transition:
        opacity .75s ease,
        translate 1s cubic-bezier(.22,.61,.36,1),
        scale 1s cubic-bezier(.22,.61,.36,1);

    will-change:
        opacity,
        translate,
        scale,
        rotate;
}


/* =========================================================
   BUNGA KIRI ATAS
========================================================= */

.closing-flower-top-left {
    width:
        clamp(145px, 45vw, 175px);

    top: -28px;
    left: -34px;

    z-index: 5;

    transform-origin: 20% 20%;
}


/* =========================================================
   BUNGA KANAN ATAS
========================================================= */

.closing-flower-top-right {
    width:
        clamp(145px, 45vw, 175px);

    top: -28px;
    right: -34px;

    z-index: 5;

    transform-origin: 80% 20%;
}


/* =========================================================
   BUNGA KIRI BAWAH
========================================================= */

.closing-flower-bottom-left {
    width:
        clamp(200px, 58vw, 245px);

    left:
        clamp(-42px, -9vw, -24px);

    bottom:
        clamp(-125px, -29vw, -90px);

    z-index: 5;

    transform-origin: 20% 85%;
}


/* =========================================================
   BUNGA KANAN BAWAH
========================================================= */

.closing-flower-bottom-right {
    width:
        clamp(200px, 58vw, 245px);

    right:
        clamp(-42px, -9vw, -24px);

    bottom:
        clamp(-125px, -29vw, -90px);

    z-index: 5;

    transform-origin: 80% 85%;
}


/* =========================================================
   RUMAH TENGAH BAWAH
========================================================= */

.closing-candle-bottom {
    width:
        clamp(190px, 50vw, 235px);

    left: 50%;

    bottom:
        clamp(-65px, -15vw, -35px);

    z-index: 3;

    transform: translateX(-50%);

    transform-origin: center bottom;

    animation: none;
}


/* =========================================================
   ORNAMENT MASUK SAAT SCROLL
========================================================= */

.closing-section.closing-ornament-enter
.closing-ornament {
    opacity: 1;

    translate: 0 0;
    scale: 1;
}


/* =========================================================
   DELAY MASUK BERTAHAP
========================================================= */

.closing-section.closing-ornament-enter
.closing-flower-top-left {
    transition-delay: .15s;
}

.closing-section.closing-ornament-enter
.closing-flower-top-right {
    transition-delay: .25s;
}

.closing-section.closing-ornament-enter
.closing-flower-bottom-left {
    transition-delay: .35s;
}

.closing-section.closing-ornament-enter
.closing-flower-bottom-right {
    transition-delay: .45s;
}



/* =========================================
   CLOSING - ORNAMENT ACTIVE ANIMATION
========================================= */

/* RUMAH: ZOOM LEMBUT */

.closing-section.closing-ornament-enter
.closing-candle-bottom {
    opacity: 1;
    translate: 0 0;

    animation:
        closingCandleZoom
        5s ease-in-out
        1.2s infinite;
}

@keyframes closingCandleZoom {
    0%, 100% {
        scale: 1;
    }

    50% {
        scale: 1.08;
    }
}

/* BUNGA KIRI ATAS DAN BAWAH */

.closing-section.closing-ornament-enter
.closing-flower-top-left,
.closing-section.closing-ornament-enter
.closing-flower-bottom-left {
    animation:
        closingFlowerLeft
        6s ease-in-out
        1s infinite;
}

/* BUNGA KANAN ATAS DAN BAWAH */

.closing-section.closing-ornament-enter
.closing-flower-top-right,
.closing-section.closing-ornament-enter
.closing-flower-bottom-right {
    animation:
        closingFlowerRight
        6.5s ease-in-out
        1s infinite;
}

/* GERAK BUNGA KIRI */

@keyframes closingFlowerLeft {
    0%, 100% {
        rotate: 0deg;
    }

    50% {
        rotate: 3deg;
    }
}

/* GERAK BUNGA KANAN */

@keyframes closingFlowerRight {
    0%, 100% {
        rotate: 0deg;
    }

    50% {
        rotate: -3deg;
    }
}




/* =========================================================
   21. FLOATING NAVIGATION
========================================================= */

.floating-nav {
    position: fixed;

    left: calc(100% - 215px);
    bottom: 16px;

    transform: translateX(-50%);

    width: 390px;
    max-width: calc(100% - 24px);

    z-index: 999;

    display: grid;
    grid-template-columns: repeat(5, 1fr);

    padding: 8px 10px;
    border-radius: 18px;

    background: linear-gradient(
        135deg,
        rgba(62, 99, 142, .96),
        rgba(41, 72, 102, .98)
    );

    border: 1px solid rgba(201, 222, 243, .28);

    box-shadow:
        0 12px 32px rgba(37, 65, 98, .22);
}

.nav-item {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 3px;

    padding: 6px;

    color:
        rgba(255, 255, 255, .58);

    text-decoration: none;
}

.nav-item.active {
    color: white;
}

.nav-icon {
    font-size: 18px;
}

.nav-item small {
    font-size: 7px;
}


/* =========================================================
   22. MUSIC BUTTON
========================================================= */

.music-button {
    position: fixed;

    top: 18px;
    right: 18px;

    z-index: 1000;

    width: 42px;
    height: 42px;

    border: 1px solid rgba(210, 229, 247, .35);
    border-radius: 50%;

    background: linear-gradient(
        135deg,
        #5780ad,
        #294866
    );

    color: #ffffff;

    box-shadow:
        0 8px 24px rgba(41, 72, 102, .20);

    cursor: pointer;
}


/* =========================================================
   23. LOCK BEFORE OPEN
========================================================= */

body.invitation-locked {
    height: 100vh;

    overflow-x: hidden;
    overflow-y: hidden;

    touch-action: auto;
}

body.invitation-locked
.floating-nav,
body.invitation-locked
.music-button {
    opacity: 0;

    visibility: hidden;

    pointer-events: none;
}


/* =========================================================
   24. SCROLL REVEAL
========================================================= */

.reveal {
    opacity: 0;

    transform:
        translateY(28px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.reveal.show {
    opacity: 1;

    transform:
        translateY(0);
}

.reveal-delay-1 {
    transition-delay: .10s;
}

.reveal-delay-2 {
    transition-delay: .20s;
}

.reveal-delay-3 {
    transition-delay: .30s;
}


/* =========================================================
   25. MOBILE
========================================================= */

@media (max-width: 768px) {

    .desktop-layout {
        display: block;
    }

    .desktop-panel {
        display: none;
    }

    .mobile-panel {
        width: 100%;
    }

    .opening-cover {
        position: fixed;

        inset: 0;

        min-height: 0;
    }

    .hero-name,
    .opening-name {
        font-size: 54px;
    }

    .floating-nav {
        left: 50%;

        width:
            calc(100% - 24px);

        bottom: 12px;
    }

    .music-button {
        top: 14px;
        right: 14px;
    }

}

/* =========================================================
   COUPLE FRAME - PREMIUM ARCH
   Fungsi:
   - Bingkai foto pengantin lebih elegan
   - Bentuk arch / oval wedding
========================================================= */

.couple-photo {
    position: relative;

    width: 220px;

    aspect-ratio: 4 / 5;

    margin:
        0 auto 24px;

    padding: 8px;

    overflow: visible;

    border:
        1px solid
        rgba(82, 100, 89, .34);

    border-radius:
        120px
        120px
        24px
        24px;

    background:
        rgba(255, 252, 247, .72);

    box-shadow:
        0 14px 35px
        rgba(47, 61, 52, .10);
}


/* garis bingkai kedua */

.couple-photo::before {
    content: "";

    position: absolute;

    inset: 4px;

    border:
        1px solid
        rgba(109, 124, 114, .20);

    border-radius:
        116px
        116px
        20px
        20px;

    pointer-events: none;
}


/* aksen kecil bawah */

.couple-photo::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -9px;

    width: 44px;
    height: 1px;

    background:
        rgba(79, 96, 86, .38);

    transform:
        translateX(-50%);
}


/* foto */

.couple-photo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    border-radius:
        110px
        110px
        16px
        16px;
}


/* =========================================================
   COUPLE CARD DECORATION
========================================================= */

.couple-card {
    position: relative;
}

.couple-card::before {
    content: "✦";

    display: block;

    margin-bottom: 12px;

    font-size: 10px;

    color:
        rgba(70, 90, 78, .52);
}


/* =========================================================
   GALLERY FRAME - PREMIUM
   Fungsi:
   - Gallery lebih rapi dan elegan
   - Bingkai tipis seperti print wedding
========================================================= */

.gallery-item {
    position: relative;

    overflow: hidden;

    padding: 5px;

    border:
        1px solid
        rgba(79, 96, 86, .25);

    border-radius: 12px;

    background:
        rgba(255, 252, 247, .70);

    box-shadow:
        0 10px 24px
        rgba(44, 57, 49, .08);
}


/* inner frame */

.gallery-item::before {
    content: "";

    position: absolute;

    inset: 4px;

    z-index: 2;

    border:
        1px solid
        rgba(255, 255, 255, .70);

    border-radius: 8px;

    pointer-events: none;
}


/* foto gallery */

.gallery-item img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    border-radius: 7px;

    transition:
        transform .8s ease,
        filter .8s ease;
}


/* efek hover */

.gallery-item:hover img {
    transform:
        scale(1.04);

    filter:
        brightness(.97);
}


/* =========================================================
   GALLERY GRID SPACING
========================================================= */

.gallery-grid {
    gap: 9px;
}

/* =========================================================
   HERO ORNAMENT - FIX ENTRANCE SATU PER SATU
   LETAKKAN PALING BAWAH STYLE.CSS
========================================================= */

.hero .hero-parallax {
    opacity: 0 !important;

    transition:
        opacity .55s ease !important;
}


/* ornament yang sedang dimunculkan */

.hero .hero-parallax.ornament-visible {
    opacity: 1 !important;
}

/* =========================================================
   HERO ORNAMENT - ZOOM ENTRANCE / EXIT
   MASUK  : BESAR -> NORMAL
   KELUAR : NORMAL -> BESAR
========================================================= */


/* =========================================================
   KONDISI AWAL
   Ornament mulai dari ukuran besar
========================================================= */

.hero .hero-parallax {
    opacity: 0 !important;

    scale: 1.30;

    transition:
        opacity .75s ease,
        scale 1.05s cubic-bezier(
            .16,
            1,
            .3,
            1
        ) !important;
}


/* =========================================================
   SAAT MASUK HERO
   besar -> ukuran normal
========================================================= */

.hero .hero-parallax.ornament-visible {
    opacity: 1 !important;

    scale: 1;
}


/* =========================================================
   SAAT KELUAR HERO
   ukuran normal -> membesar
========================================================= */

.hero .hero-parallax.ornament-exit {
    opacity: 0 !important;

    scale: 1.30;

    transition:
        opacity .65s ease,
        scale .85s cubic-bezier(
            .22,
            .61,
            .36,
            1
        ) !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .hero .hero-parallax {
        scale: 1.18;
    }

    .hero .hero-parallax.ornament-visible {
        scale: .90;
    }

    .hero .hero-parallax.ornament-exit {
        scale: 1.18;
    }

}


/* =========================================================
   HP KECIL
========================================================= */

@media (max-width: 360px) {

    .hero .hero-parallax {
        scale: 1.10;
    }

    .hero .hero-parallax.ornament-visible {
        scale: .84;
    }

    .hero .hero-parallax.ornament-exit {
        scale: 1.10;
    }

}

/* =========================================================
   FIX LAYOUT SHIFT SAAT BUKA UNDANGAN
========================================================= */

html {
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body {
    width: 100%;
}


/* =========================================================
   CREATOR CREDIT
========================================================= */

.creator-section {
    position: relative;

    width: 100%;

    min-height:
        clamp(
            340px,
            85vw,
            400px
        );

    padding:
        clamp(52px, 13vw, 68px)
        24px
        clamp(125px, 30vw, 145px);

    display: flex;

    align-items: flex-start;
    justify-content: center;

    background:
        #eaf3fb;

    text-align: center;

    overflow: hidden;
}


/* =========================================================
   INNER
========================================================= */

.creator-section-inner {
    width: 100%;

    max-width: 260px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: flex-start;
}


/* =========================================================
   GARIS ATAS
========================================================= */

.creator-line {
    width:
        clamp(
            38px,
            10vw,
            50px
        );

    height: 1px;

    margin-bottom:
        clamp(
            24px,
            6vw,
            30px
        );

    background:
        rgba(62, 77, 68, .28);
}


.creator-symbol {
    width:
        clamp(
            52px,
            15vw,
            68px
        );

    height: auto;

    margin:
        0
        auto
        clamp(
            14px,
            4vw,
            18px
        );

    object-fit: contain;
}


/* =========================================================
   CREATED BY
========================================================= */

.creator-label {
    margin:
        0
        0
        clamp(
            9px,
            2.5vw,
            12px
        );

    font-size:
        clamp(
            7px,
            2vw,
            9px
        );

    font-weight: 500;

    letter-spacing:
        clamp(
            3px,
            .9vw,
            4px
        );

    line-height: 1;

    color:
        #557a9e;
}


.creator-brand-logo {
    width:
        clamp(
            105px,
            30vw,
            135px
        );

    height: auto;

    margin: 0 auto;

    object-fit: contain;
}

/* =========================================================
   CREATOR SOCIAL MEDIA - LEBIH BESAR & LEBIH DEKAT
========================================================= */

.creator-socials {
    margin-top:
        clamp(
            18px,
            4vw,
            24px
        );

    display: flex;

    align-items: center;
    justify-content: center;

    gap:
        clamp(
            12px,
            3vw,
            16px
        );
}


/* =========================================================
   AREA KLIK
========================================================= */

.creator-social-link {
    width:
        clamp(
            42px,
            11vw,
            50px
        );

    height:
        clamp(
            42px,
            11vw,
            50px
        );

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    text-decoration: none;

    transition:
        transform .3s ease,
        opacity .3s ease;
}


/* =========================================================
   ICON WA + INSTAGRAM
========================================================= */

.creator-social-icon {
    display: block;

    width:
        clamp(
            30px,
            8vw,
            36px
        );

    height:
        clamp(
            30px,
            8vw,
            36px
        );

    object-fit: contain;

    opacity: .9;

    transition:
        transform .3s ease,
        opacity .3s ease;
}


/* =========================================================
   HOVER
========================================================= */

.creator-social-link:hover {
    transform:
        translateY(-2px);
}


.creator-social-link:hover
.creator-social-icon {
    transform:
        scale(1.08);

    opacity: 1;
}

/* =========================================================
   BLOOMY BLUE THEME — color-only enhancements
   Pastel blue / powder blue / dusty blue / porcelain
   Original HTML, photos, floral ornaments and JS unchanged.
========================================================= */
:root {
  --bloom-ice: #f3f8ff;
  --bloom-mist: #e7f2fd;
  --bloom-powder: #d6e8f9;
  --bloom-blue: #a8c9e8;
  --bloom-dusty: #789fc6;
  --bloom-deep: #355b82;
  --bloom-ink: #284661;
}
body { color: var(--bloom-ink); }
.mobile-panel, .mobile-shell { background: var(--bloom-ice); }
.intro-section, .gallery-section, .gift-section, .rsvp-section, .wishes-section {
  background: linear-gradient(155deg, #f5faff 0%, #e8f3fd 50%, #dbeaf9 100%);
}
.couple-section, .story-section {
  background: linear-gradient(165deg, #e0edfb 0%, #f4f9fe 52%, #dcebf9 100%);
}
.countdown-section {
  background: linear-gradient(155deg, #719cc7 0%, #446c98 54%, #294e79 100%);
}
.hero::before { background: rgba(227, 241, 253, .35); }
.hero-frame {
  background: rgba(245, 250, 255, .78);
  border: 1px solid rgba(100, 147, 190, .3);
  box-shadow: 0 18px 45px rgba(42, 83, 125, .12);
}
.hero-name, .section-title, .couple-name { color: var(--bloom-deep); }
.hero-label, .hero-date, .section-label { color: #6489af; }

.event-section { background-color: #e9f3fe; }

#openInvitation { background: #e6f3ff; color: #30577b; }
#openInvitation:hover { background: #cee6fb; }
.opening-overlay, .desktop-overlay {
  background: linear-gradient(to bottom, rgba(19, 43, 75, .07), rgba(23, 48, 85, .22), rgba(16, 39, 75, .76));
}
/* Photographic backgrounds remain controlled by the original template. */

/* =========================================
   PREMIUM 2 — MOBILE REFINEMENT
========================================= */

@media (max-width: 768px) {

  /* HERO — posisi konten */
  .hero .hero-content.hero-portrait-layout {
    top: 20% !important;
  }

  /* COUPLE — foto masuk ke dalam bingkai */
  .couple-frame {
    box-sizing: border-box;
  }

  .couple-frame .couple-photo {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
  }

  .couple-frame .couple-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* CLOSING — turunkan THANK YOU */
  .closing-section .section-label {
    position: relative;
    top: 12px;
  }

  /* CLOSING — turunkan nama pasangan */
  .closing-section .closing-name {
    position: relative;
    top: 12px;
  }

  /* CLOSING — bunga kiri atas */
  .closing-section .closing-flower-top-left {
    top: -65px;
    left: -46px;
  }

  /* CLOSING — bunga kanan atas */
  .closing-section .closing-flower-top-right {
    top: -65px;
    right: -46px;
  }

  /* NAVBAR — jarak dan ukuran ikon */
  .floating-nav .nav-item {
    flex: 1;
    min-width: 0;
    align-items: center;
    justify-content: center;
  }

  .floating-nav .nav-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .floating-nav .nav-icon svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

}
