/* RESET AMAN */
*, html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Work Sans', sans-serif;
}

:root {
    --pink: #ED6687;
    --pink-muted: #f8cbd7;
    --pink-light: #fcdbe9;
    --pink-hover: #d84686;
    --white: #fff;
    --grey: #ccc;
    --light-grey: #d4d4d4;
    --dark-grey: #999;
    --dark: #151515;
    --black: #000;
    --yellow: #F2C18B;
}

.text-yellow {
    color: var(--yellow);
}
/* JANGAN set height di body */
body.locked {
    overflow: hidden;
    height: 100vh;
}

body.unlocked {
    overflow-x: hidden;
    overflow-y: auto;
}
#app {
    min-height: 100svh;
    overflow-x: hidden;
}

.huruf-sambung {
    font-family: 'Great Vibes', cursive !important;
    color: var(--pink);
}

.font-sans {
    font-family: 'Work Sans', sans-serif !important;
    color: var(--dark);
}

.font-serif {
    font-family: 'Inria Serif', serif !important;
}





/* =====================
NAVBAR MOBILE
===================== */
.nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background-color: var(--pink);
    display: flex;
    z-index: 10;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.9s ease, opacity 0.4s ease;
}

.nav.show {
    transform: translateY(0);
    opacity: 1;
}


.nav li {
    flex: 1;
}

.nav li a {
    color: var(--light-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 18px;
}

.nav li a:hover {
    color: var(--white);
}

/* MUSIC BUTTON */
.nav .nav-music {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--dark);
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
}

.nav li a {
    text-decoration: none;
}

.nav li a.nav-item-music {
    font-size: 28px;
    position: relative;
    top: -35px;
}


.rotate {
    animation: rotateAnimation 5s linear infinite;
}

@keyframes rotateAnimation {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


/* hero section */
/* =================================
   HERO - STYLE SEPERTI REFERENSI
================================= */

#hero-section {
    width: 100%;
    height: 100svh;
    min-height: 650px;

    position: relative;
    overflow: hidden;

    background:
        url("assets/images/hero-section.png")
        center center / cover no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay pink tipis */
#hero-section::before {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(255, 182, 205, 0.08);

    z-index: 1;
}

/* sparkle */
#hero-section .sparkle {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    pointer-events: none;

    z-index: 2;
}

/* =========================
   CONTENT
========================= */

.hero-content {
    position: relative;

    z-index: 5;

    width: min(86%, 380px);

    display: flex;
    flex-direction: column;

    align-items: center;
    text-align: center;

    /* posisi keseluruhan */
    transform: translateY(-1vh);
}

/* =========================
   JUDUL
========================= */

.hero-title {
    margin: 0 0 28px;

    font-family: "Great Vibes", cursive;

    font-size: clamp(32px, 9vw, 48px);

    font-weight: 400;

    line-height: 1;

    text-shadow:
        0 1px 1px rgba(255,255,255,.7);
}

.shadow-white {
        text-shadow:
        0 1px 1px rgba(255,255,255,.7);
}

/* =========================
   FOTO
========================= */

.hero-photo {
    width: 190px;
    height: 190px;

    padding: 8px;

    background: rgba(255,255,255,.95);

    box-shadow:
        0 5px 20px rgba(120,60,80,.12);

    margin-bottom: 18px;
}

.hero-photo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}



/* =========================
   NAMA
========================= */

.hero-name {
    margin: 0 0 22px;

    font-family: "Great Vibes", cursive;

    font-size: clamp(42px, 11vw, 58px);

    font-weight: 400;

    line-height: 1;

    text-shadow:
        0 1px 2px rgba(255,255,255,.8);
}

/* =========================
   RECIPIENT CARD
========================= */

.hero-recipient {
    width: 80%;

    padding: 17px 15px;

    background: rgba(255,255,255,.95);

    border: 2px solid #e27d9a;

    border-radius: 15px;

    box-shadow:
        0 5px 15px rgba(120,60,80,.10);

    margin-bottom: 18px;
}

.hero-recipient p {
    margin: 0;

    color: #333;

    font-family: "Work Sans", sans-serif;

    font-size: 12px;

    line-height: 1.45;
}

.hero-recipient span {
    display: block;

    margin: 7px 0;

    color: #d45b7b;

    font-size: 17px;

    font-weight: 700;
}

/* =========================
   BUTTON
========================= */

.hero-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    min-width: 175px;

    padding: 11px 22px;

    border-radius: 30px;

    background: #ed6687;

    color: white;

    text-decoration: none;

    font-family: "Work Sans", sans-serif;

    font-size: 14px;

    font-weight: 600;

    box-shadow:
        0 5px 15px rgba(210,80,120,.25);

    transition: .3s ease;
}

.hero-button:hover {
    transform: translateY(-2px);

    background: #d95376;

    color: white;
}

.hero-button i {
    font-size: 15px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 12px 0;
}

.cd-box {
    min-width: 56px;
    padding: 6px 8px;
    border-radius: 10px;
    text-align: center;
    color: #fff;
    font-size: 11px;
    backdrop-filter: blur(2px);
}

.cd-number {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.1;
    display: block;
}

.cd-label {
    font-size: 15px;
}


/* section pembuka */
.text-pink {
    color: var(--pink);
}

/* =========================================
   PEMBUKA SECTION - AQIQAH
========================================= */

#pembuka-section {
    position: relative;
    width: 100%;
    min-height: 100svh;

    overflow: hidden;

    padding: 0 !important;
    margin: 0 !important;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f8cbd7;
}


/* =========================================
   BACKGROUND IMAGE
========================================= */

#pembuka-section .pembuka-bg {
    position: absolute !important;

    inset: 0 !important;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;

    margin: 0 !important;

    display: block !important;

    object-fit: cover;

    object-position: center;

    box-shadow: none !important;

    z-index: 0;
}


/* =========================================
   OVERLAY
========================================= */

.pembuka-overlay {
    position: absolute;

    inset: 0;

    background: rgba(255, 220, 230, 0.08);

    z-index: 1;

    pointer-events: none;
}


/* =========================================
   CONTENT
========================================= */

.pembuka-content {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 500px;

    min-height: 100svh;

    padding:
        calc(env(safe-area-inset-top) + 35px)
        25px
        calc(env(safe-area-inset-bottom) + 30px);

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;
}


/* =========================================
   JUDUL
========================================= */

.pembuka-title {
    margin: 0 0 25px;

    font-family: "Great Vibes", cursive;

    font-size: clamp(34px, 9vw, 48px);

    font-weight: 800;

    line-height: 1.1;

    color: var(--pink);

    text-shadow:
        0 1px 2px rgba(255,255,255,.8);
}


/* =========================================
   BALON UDARA
========================================= */

.pembuka-ballon {
    width: 230px;

    margin: 0 auto 15px;
    margin-left: 25%;
}

.pembuka-ballon img {
    width: 80% !important;

    max-width: 80% !important;

    height: auto;

    margin: 0 !important;

    display: block;

    box-shadow: none !important;

    filter: drop-shadow(
        0 8px 10px rgba(130,70,80,.12)
    );
}


/* =========================================
   NAMA SYIFA
========================================= */

.pembuka-name {
    margin: 0 0 20px;

    font-family: "Great Vibes", cursive;

    font-size: clamp(50px, 13vw, 68px);

    font-weight: 800;

    line-height: 1;

    color: var(--pink);

    text-shadow:
        0 1px 2px rgba(255,255,255,.8);
}


/* =========================================
   TEKS DOA
========================================= */

.pembuka-text {
    width: 100%;

    max-width: 390px;

    margin: 0 auto 20px;

    color: #333;

    font-family: "Work Sans", sans-serif;

    font-size: 15px;

    line-height: 1.35;

    font-style: italic;

    font-weight: 500;
}

.pembuka-text p {
    margin: 0 0 8px;
}

.pembuka-text p:first-child {
    font-weight: 600;

    font-size: 16px;
}


/* =========================================
   COUNTDOWN
========================================= */

#pembuka-section .countdown {
    display: flex;

    justify-content: center;

    align-items: stretch;

    gap: 7px;

    width: 100%;

    margin: 5px auto 0;
}

#pembuka-section .cd-box {
    flex: 1;

    min-width: 0;

    max-width: 78px;

    padding: 9px 5px;

    border-radius: 7px;

    background: #ed6687;

    color: white;

    text-align: center;

    box-shadow:
        0 4px 10px rgba(180,70,100,.18);

    backdrop-filter: none;
}

#pembuka-section .cd-number {
    display: block;

    font-size: 25px;

    font-weight: 500;

    line-height: 1;
}

#pembuka-section .cd-label {
    display: block;

    margin-top: 5px;

    font-family: "Work Sans", sans-serif;

    font-size: 12px;

    line-height: 1;
}

/* =========================
   SAVE THE DATE
========================= */

.save-date-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    margin: 14px auto 0;
    padding: 10px 18px;

    background: #ED6687;
    color: #fff;

    border-radius: 7px;
    text-decoration: none;

    font-family: "Work Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3px;

    box-shadow: 0 4px 10px rgba(180, 70, 100, .18);

    transition: .25s ease;
}

.save-date-btn i {
    font-size: 13px;
}

.save-date-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    background: #e85b7d;
}


.wave-pembuka-bawah {
    position: absolute;
    left: -1%;
    bottom: -1%;
    width: 102%;
    height: auto;
    display: block;
    z-index: 10;
    pointer-events: none;
}

.wave-acara-atas {
    position: absolute;
    left: -1%;
    margin-top: -14%;
    width: 102%;
    height: auto;
    display: block;
    z-index: 10;
    pointer-events: none;
}

/* =========================
   QUOTE SECTION
   FLAT - 40VH
========================= */

.quote-section {
    position: relative;

    height: 25vh;
    min-height: 25vh;

    background: var(--pink);
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 45px 25px;

    /* TIDAK ADA margin-top negatif */
    margin-top: 0;

    z-index: 2;
}


/* =========================
   HILANGKAN SEMUA LENGKUNG
   DARI QUOTE SECTION
========================= */

.quote-section::before,
.quote-section::after {
    display: none !important;
    content: none !important;
}


/* =========================
   ISI QUOTE
========================= */

.quote-content {
    position: relative;
    z-index: 5;

    width: 100%;
    max-width: 780px;

    text-align: center;
}


/* ARAB */

.quote-arabic {
    font-family: "Amiri", serif;

    font-size: clamp(14px, 2.8vw, 20px);

    line-height: 1.6;

    color: #fff;

    margin-bottom: 10px;
}


/* TERJEMAHAN */

.quote-translation {
    font-family: "Work Sans", sans-serif;

    font-size: clamp(11px, 2.5vw, 15px);

    font-style: italic;

    line-height: 1.35;

    max-width: 700px;

    margin: 10px auto;

    color: #fff;
}


/* SUMBER AYAT */

.quote-source {
    margin-top: 10px;

    font-family: "Work Sans", sans-serif;

    font-size: clamp(10px, 2.2vw, 14px);

    font-style: italic;

    color: #fff;
}

/* =========================================
   PROFIL BAYI
========================================= */

.profil-section {
    position: relative;
    min-height: 620px;
    padding: 95px 20px 80px;

    background-image: url("assets/images/bg-profil.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

/* AREA PINK DI BAGIAN ATAS */
.profil-section::before {
    content: "";
    position: absolute;

    top: -55px;
    left: -10%;

    width: 120%;
    height: 110px;

    background: #ED6687;

    border-radius: 0 0 50% 50% / 0 0 100% 100%;

    z-index: 1;
}

/* ISI */
.profil-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 430px;

    text-align: center;
}

/* SALAM */
.profil-salam {
    margin: 0 0 18px;

    font-family: "Work Sans", sans-serif;
    font-size: 18px;
    font-weight: 700;

    color: var(--pink);
}

/* TEKS UNDANGAN */
.profil-undangan {
    margin: 0 auto 28px;

    font-family: "Work Sans", sans-serif;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 500;

    color: #333;
}

/* FOTO */
.profil-foto {
    width: 210px;
    height: 210px;

    margin: 0 auto 22px;

    overflow: hidden;

    background: #fff;

    box-shadow:
        0 0 0 8px rgba(255,255,255,.9);
}

.profil-foto img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

/* NAMA */
.profil-nama {
    margin: 0 0 22px;

    font-family: "Great Vibes", cursive;
    font-size: clamp(42px, 11vw, 58px);
    font-weight: 800;
    line-height: 1;

    color: var(--pink);
    text-shadow:
        0 1px 2px rgba(255,255,255,.8);
}

/* LAHIR */
.profil-lahir {
    margin-bottom: 18px;

    font-family: "Work Sans", sans-serif;
    color: #333;
}

.profil-lahir p {
    margin: 0 0 3px;

    font-size: 14px;
    font-weight: 500;
}

.profil-lahir strong {
    font-size: 15px;
    font-weight: 700;
}

/* ORANG TUA */
.profil-orangtua {
    font-family: "Work Sans", sans-serif;

    font-size: 13px;
    line-height: 1.25;

    color: #333;
}

.profil-orangtua p {
    margin: 2px 0;
}

/* BAYANGAN TEKS PROFIL */
.profil-section p {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}


/* MOBILE */
@media (max-width: 480px) {

    .profil-section {
        min-height: 610px;
        padding: 90px 18px 70px;
    }

    .profil-section::before {
        top: -45px;
        height: 90px;
    }

    .profil-salam {
        font-size: 17px;
    }

    .profil-undangan {
        font-size: 13px;
    }

    .profil-foto {
        width: 205px;
        height: 205px;
    }

    .profil-nama {
        font-size: 48px;
    }

    .profil-lahir p {
        font-size: 13px;
    }

    .profil-lahir strong {
        font-size: 14px;
    }

    .profil-orangtua {
        font-size: 12px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 480px) {

    .pembuka-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .pembuka-title {
        margin-bottom: 20px;

        font-size: 38px;
    }

    .pembuka-ballon {
        width: 215px;

        margin-bottom: 10px;
    }

    .pembuka-name {
        font-size: 55px;

        margin-bottom: 18px;

        text-shadow:
        0 1px 2px rgba(255,255,255,.8);
    }

    .pembuka-text {
        font-size: 13px;

        max-width: 350px;

        line-height: 1.35;
    }

    .pembuka-text p:first-child {
        font-size: 15px;
    }

    #pembuka-section .cd-box {
        padding: 8px 3px;
    }

    #pembuka-section .cd-number {
        font-size: 22px;
    }

    #pembuka-section .cd-label {
        font-size: 11px;
    }
}

.section-title {
    text-align: center;
    padding-bottom: 30px;
}

.section-title h3 {
    margin: 15px 0 5px 5px;
    font-size: 10px;
    line-height: 1.6;
}

.section-title p {
    font-size: 8px;
    line-height: 1.7;
    margin: 15px 0 10px 10px;
}

.section-bg {
    background-color: var(--pink-muted) ;
}

#content-section {
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--pink-light);
}

::-webkit-scrollbar-thumb {
    background: var(--pink);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--pink-hover);
}


.card-acara {
    width: calc(90% - 10px);
    box-shadow: 4px 4px 4px 4px rgba(0,0,0,.05);
}

.btn-pink {
    font-family: sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 28px;
    border-radius: 4px;
    transition: 0.5s;
    color: var(--white);
    background: var(--pink);
}

.btn-pink:hover {
    background: var(--pink-hover);
    color: var(--white);
}

.border-pink {
    border-radius: 15px;
    border: 2px solid var(--pink);
}


/* ================================
   ACARA + LOKASI
================================ */

.acara-lokasi-section {
    position: relative;
    min-height: 100vh;
    padding: 70px 18px 80px;
    overflow: hidden;

    background-image: url("assets/images/acara-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Lapisan lembut supaya background tidak mengganggu isi */
.acara-lokasi-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.35);
    z-index: 0;
}

.acara-lokasi-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 480px;
    margin: auto;
}

.acara-lokasi-opening {
    margin: 0 0 15px;
    text-align: center;

    font-family: "Great Vibes", cursive;
    font-size: 25px;
    color: #ED6687;
}

/* KARTU PUTIH BESAR */
.acara-lokasi-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.96);

    padding: 35px 20px 25px;

    border-radius: 8px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.08);

    text-align: center;
}

/* TANGGAL */
.acara-lokasi-card h2 {
    margin: 0 0 18px;

    font-family: "Work Sans", sans-serif;
    font-size: 28px;
    line-height: 1.05;
    font-weight: 800;

    color: #d94e6f;
}

/* JAM */
.acara-jam {
    margin: 0 0 22px;

    font-family: "Work Sans", sans-serif;
    font-size: 17px;
    font-weight: 500;

    color: #222;
}

/* GARIS + ICON LOKASI */
.lokasi-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    margin: 0 auto 25px;
    width: 80%;
}

.lokasi-divider span {
    height: 1px;
    flex: 1;
    background: #777;
}

.lokasi-divider i {
    font-size: 22px;
    color: #111;
}

/* NAMA TEMPAT */
.acara-lokasi-card h3 {
    margin: 0 0 8px;

    font-family: "Work Sans", sans-serif;
    font-size: 18px;
    font-weight: 700;

    color: #d45a73;
}

/* ALAMAT */
.lokasi-alamat {
    margin: 0 0 25px;

    font-family: "Work Sans", sans-serif;
    font-size: 14px;
    line-height: 1.45;

    color: #333;
}

/* GOOGLE MAP */
.map-wrapper {
    width: 100%;
    height: 330px;

    overflow: hidden;

    border-radius: 2px;
}

.map-wrapper iframe {
    display: block;

    width: 100%;
    height: 100%;

    border: 0;
}

.btn-open-map {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin-top: 18px;
    padding: 11px 25px;

    background: #ED6687;
    color: #fff;

    border-radius: 50px;

    font-family: "Work Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition: .3s ease;
}

.btn-open-map:hover {
    background: #d95576;
    color: #fff;
    transform: translateY(-2px);
}

/* Item */
/* container tiap item */
.timeline > li {
    position: relative;
    display: flex;
    gap: 14px;
    margin-bottom: 40px;
    align-items: flex-start;
}

/* foto */
.timeline > li > .timeline-badge {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 3px solid var(--pink);
    box-shadow: 0 8px 20px rgba(241, 78, 149, 0.4);
}

/* panel card */
.timeline > li > .timeline-panel {
    background: white;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #eee;
    box-shadow: 0 8px 20px rgba(0,0,0,.05);
    width: 100%;
}

/* Judul */
.timeline-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 4px;
}

/* Tanggal */
.timeline-date {
    display: block;
    font-size: 11px;
    color: var(--pink);
    margin-bottom: 8px;
}

/* Isi */
.timeline-body p {
    font-size: 12px;
    line-height: 1.6;
}

/* Hapus arrow desktop */
.timeline > li > .timeline-panel::before,
.timeline > li > .timeline-panel::after {
    display: none;
}


/* ======================
   MINI GALLERY PREVIEW
====================== */
.gallery-section {
    display: flex;
    text-align: center;
}

/* ===== MASONRY 2–3 KOLOM ===== */
#gallery-section {
    padding: 40px 20px;
}

/* container */
.gallery-grid {
    column-count: 3;
    column-gap: 12px;
}

/* tiap item */
.gallery-grid a {
    display: inline-block;
    width: 100%;
    margin-bottom: 12px;
    break-inside: avoid;
}

/* gambar */
.gallery-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    object-fit: cover;
}

/* mobile */
@media (max-width: 768px) {
    .gallery-grid {
        column-count: 2;
        column-gap: 10px;
    }
}



/* gift section */
.credit-card {
    background-color: var(--dark-grey);
    background-size: cover;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    padding: 20px;
    width: 300px;
    color: var(--white);
    position: absolute;
}

.card-logo {
    width: 75px;
    position: absolute;
    top: 15px;
    right: 15px;
}

.card-container {
    display: flex;
    align-items: center;
    margin-top: 50px;
}

.card-sim {
    width: 50px;
    margin-right: 10px;
}

.card-number {
    font-family: 'Courier New', monospace;
    font-size: 22px;
    text-decoration: none;
}

.card-name {
    font-family: 'Courier New', monospace;
    font-size: 16px;
    text-align: left;
    margin-top: 10px;
}

.copy-button {
    font-family: 'Courier New', monospace;
    position: absolute;
    text-decoration: none;
    top: 5px;
    left: 15px;
    background-color: var(--white);
    color: var(--black);
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.copy-button:hover {
    background: var(--pink);
    color: white;
}

.btn-kirim {
    font-weight: bold;
    color: var(--white);
    background: var(--pink);
}

.btn-kirim:hover {
    background: var(--pink-hover);
    color: var(--white);
}


.ucapan-box {
    margin-top: 50px;
    background: rgba(255,255,255,0.9);
    padding: 20px;
    border-radius: 16px;
}

.ucapan-box input,
.ucapan-box textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.ucapan-item {
    border-bottom: 1px solid #ddd;
    padding: 8px 0;
}


/* ucapan */
#listUcapan {
    margin-top: 50px;
  max-height: 360px;
  overflow-y: auto; 
    padding-right: 6px;
}

/* biar scrollbar ga jelek */
#listUcapan::-webkit-scrollbar {
  width: 6px;
}

#listUcapan::-webkit-scrollbar-thumb {
  background: var(--pink);    /* gold */
  border-radius: 10px;
}

#listUcapan::-webkit-scrollbar-track {
  background: transparent;
}

#btnKirim:disabled {
    background: var(--dark-grey);
    opacity: 0.4;
    cursor: not-allowed;
}






/* penutup section */
#penutup-section {
    position: relative;
    height: 100vh;
    color: var(--white);
    display: flex;
    align-items: center;
}

#penutup-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.8) 60%,
            rgba(0, 0, 0, 1) 100%
        ),
        url('assets/images/penutup.jpeg');
    background-position: center;
    background-size: cover;
    z-index: -1;
}

/* footer */
.footer {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer .social {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    text-decoration: none;
    transition: 0.3s ease;
    box-shadow: 0 8px 18px rgba(0,0,0,0.4);
}

/* WhatsApp */
.footer .wa {
    background: #25D366;
}

/* Instagram */
.footer .ig {
    background: radial-gradient(circle at 30% 30%,
        #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
}

/* TikTok */
.footer .tt {
    background: #000;
}

/* Hover effect */
.footer .social:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 30px rgba(0,0,0,0.6);
}


.ttd img {
    max-width: 150px;
    opacity: 0.9;
    filter: drop-shadow(0 5px 15px rgba(255,255,255,0.3));
}



/* =====================================================
   FIX HERO - iPhone 14 Pro / HP LAYAR PENDEK
   ===================================================== */
@media screen and (max-width: 430px) and (max-height: 900px) {

  .hero {
    min-height: 100svh !important;
    height: 100svh !important;
    max-height: 100svh !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding-top: env(safe-area-inset-top) !important;
    padding-bottom: calc(20px + env(safe-area-inset-bottom)) !important;

    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Konten hero */
  .hero-content {
    width: 100% !important;
    max-width: 100% !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 15px 20px !important;
    box-sizing: border-box !important;

    /* Sedikit naik supaya tombol tidak tenggelam */
    transform: translateY(-2vh) !important;
  }

  /* Judul / teks hero */
  .hero-content h1,
  .hero-content h2,
  .hero-content p {
    margin-bottom: 8px !important;
  }

  /* Tombol buka undangan */
  .hero-content .btn,
  .hero-content button,
  .hero-content a.btn {
    position: relative !important;
    z-index: 100 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin-top: 10px !important;
    margin-bottom: 10px !important;

    flex-shrink: 0 !important;
  }

  .hero-photo {
    width: 150px;
    height: 150px;

    padding: 8px;

    background: rgba(255,255,255,.95);

    box-shadow:
        0 5px 20px rgba(120,60,80,.12);

    margin-bottom: 18px;
}

.hero-photo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}
}