@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Oswald:wght@200..700&family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sacramento&family=Satisfy&family=Ubuntu&family=Zain:wght@200;300;400;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@200..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sacramento&family=Ubuntu&family=Zain:wght@200;300;400;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@200..700&family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sacramento&family=Satisfy&family=Ubuntu&family=Zain:wght@200;300;400;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Oswald:wght@200..700&family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sacramento&family=Satisfy&family=Tangerine:wght@400;700&family=Ubuntu&family=Zain:wght@200;300;400;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Lora:ital,wght@0,400..700;1,400..700&family=Oswald:wght@200..700&family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sacramento&family=Satisfy&family=Tangerine:wght@400;700&family=Ubuntu&family=Zain:wght@200;300;400;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Dancing+Script:wght@400..700&family=Great+Vibes&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Moulpali&family=Noto+Sans+JP:wght@100..900&family=Noto+Sans+Javanese:wght@400..700&family=Oswald:wght@200..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.tangerine-bold {
    font-family: "Tangerine", cursive;
    font-weight: 700;
    font-style: normal;
    font-size: 40px;
}

.lora-reguler {
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

.dancing-script-reguler {
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-weight: 700 !important;
    font-style: normal;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: "Lora", serif;
    font-size: 14px;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}


body>.main-content {
    flex: 1 0 auto;
}

.main-content {
    position: relative;
}

.col-xl-4,
.col-md-4,
.col-sm-12 {
    position: relative;
    height: 100vh;
    overflow: hidden;
}



.tab-pane {
    min-height: 100vh;
    box-sizing: border-box;
    position: relative;
    overflow-x: hidden;
}

.container-front,
.container-opening,
.container-bride,
.container-ceremony,
.container-location,
.container-rsvp,
.container-story,
.container-gallery,
.container-gift,
.container-end {
    height: calc(100dvh - 80px);
    /* tinggi penuh dikurangi footer */
    overflow-y: auto;
    /* konten scroll kalau lebih panjang */
    box-sizing: border-box;
    padding: 16px;
    /* atau disesuaikan */
}




/* .great-vibes-regular {
    font-family: "Great Vibes", cursive;
    font-weight: 600;
    font-style: normal;
    font-size: 24px;
} */

.oswald-font {
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.sacramento-regular {
    font-family: "Sacramento", cursive;
    font-weight: 500;
    font-size: 34px;
    font-style: normal;
}


.playfair-font {
    font-family: "Playfair", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

.container-cover {
    height: 100vh;
    background: url('../img/NORMABANGUN_25-07-22_00008.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 0 0 5rem 0;
    flex-direction: column;
}


.container-cover .title {
    margin-top: 0;
}

.corner-img.cover-corner {
    width: 25% !important;
}

.cover-title {
    text-align: center;
    margin-top: 2rem !important;
    z-index: 10;
}

.cover-title .title {
    font-size: 13px !important;
}

.guest-box p {
    font-size: 0.85rem;
    color: #3a3a3a;
}

.guest-box h3 {
    margin-top: 0.5rem;
    font-size: 1.1rem;
    color: #0b409c;
    font-weight: bolder;
}

.guest-box label {
    color: #0b409c;

}

.open-button-cover {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: #3b5998;
    /* sesuaikan warna tombol */
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.open-button-cover:hover {
    background-color: #2d4373;
    /* warna hover */
}

.cover-guest {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    /* memberi jarak antar elemen */
    padding: 0 1rem;
}

.guest-box {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(40px);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    width: 80%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.butterfly-container {
    position: absolute;
    top: 20%;
    /* Posisi awal vertikal */
    left: -150px;
    /* Mulai dari luar layar kiri */
    animation: flyAcross 12s linear infinite;
    /* Animasi gerakan melintasi layar */
    z-index: 10;
    /* Pastikan kupu-kupu di atas elemen lain */
}

/* Wrapper untuk kupu-kupu agar bisa diatur posisi dan rotasinya */
.butterfly-wrapper {
    position: relative;
    width: 120px;
    /* Lebar total kupu-kupu */
    height: 100px;
    /* Tinggi total kupu-kupu */
    /* Animasi bobbing atau tilting ringan untuk seluruh kupu-kupu */
    animation: subtleBob 0.6s ease-in-out infinite alternate;
    /* Penting: transform-style: preserve-3d; tidak lagi diperlukan jika tidak ada rotasi 3D pada elemen anak */
}

/* Gaya untuk gambar kupu-kupu */
.butterfly-wrapper img.butterfly {
    width: 100%;
    /* Gambar mengisi lebar wrapper */
    height: 100%;
    /* Gambar mengisi tinggi wrapper */
    object-fit: contain;
    /* Pastikan gambar terlihat penuh */
    transform-origin: center;
    /* Titik putar di tengah gambar */
    animation: flap 0.6s ease-in-out infinite alternate;
    /* Animasi kepakan sayap */
    display: block;
    /* Menghilangkan spasi ekstra di bawah gambar */
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
    /* Bayangan pada gambar */
}

/* Gerakan kupu-kupu zigzag ke kanan */
@keyframes flyAcross {
    0% {
        transform: translate(0, 0);
    }

    20% {
        transform: translate(200px, -60px);
    }

    40% {
        transform: translate(400px, 40px);
    }

    60% {
        transform: translate(600px, -50px);
    }

    80% {
        transform: translate(800px, 30px);
    }

    100% {
        transform: translate(100vw, -20px);
        /* Bergerak hingga keluar layar kanan */
    }
}

/* Animasi bobbing/tilting ringan untuk seluruh kupu-kupu */
@keyframes subtleBob {
    0% {
        transform: translateY(0px) rotateZ(0deg);
    }

    50% {
        transform: translateY(-5px) rotateZ(2deg);
        /* Sedikit naik dan miring */
    }

    100% {
        transform: translateY(0px) rotateZ(0deg);
    }
}

/* Animasi kepakan sayap untuk gambar kupu-kupu tunggal */
@keyframes flap {

    0%,
    100% {
        transform: rotateX(0deg) translateY(0px) scaleY(1);
        /* Sayap datar, posisi normal, skala normal */
        filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
    }

    50% {
        transform: rotateX(-45deg) translateY(-10px) scaleY(0.9);
        /* Sayap naik lebih jauh, terangkat, dan sedikit 'terkompres' secara vertikal */
        filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.5));
        /* Bayangan lebih gelap dan lebih besar */
    }
}

/* Efek bayangan di bawah kupu-kupu (terpisah dari gambar) */
.butterfly-container::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    bottom: -20px;
    /* Posisi bayangan di bawah kupu-kupu */
    left: 50%;
    transform: translateX(-50%);
    filter: blur(5px);
    animation: shadowPulse 0.6s ease-in-out infinite alternate;
}

@keyframes shadowPulse {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.1;
    }

    50% {
        transform: translateX(-50%) scale(1.1);
        opacity: 0.2;
    }
}

.container-front {
    width: 100%;
    /* height: 100vh; */
    position: relative;
    overflow: hidden;
    text-align: center;
    background: url('../img/bg-front.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.container-front .header {
    width: 100%;
    height: 50%;
    background: url(../img/blue-sky.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    z-index: -10;
}

.top-decoration img {
    width: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -100;
}


.birds .bird {
    position: absolute;
    width: 30px;
}

.bird1 {
    top: 80px;
    left: 40px;
}

.bird2 {
    top: 60px;
    right: 40px;
}

.bird3 {
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
}

.title {
    color: #365e91;
    margin-top: 100px;
    font-size: 14px;
    margin-bottom: 0;
}

.names {
    font-size: 3.5rem !important;
    font-weight: 800;
    color: #1e3f70;
    margin: 20px;
}

.guest {
    transform: translateY(50%);
}

.guest-box {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    padding: 1rem;
    border-radius: 10px;
    max-width: 300px;
    margin: 20px auto 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.guest-box p {
    font-size: 0.85rem;
    color: #3a3a3a;
}

.guest-box h3 {
    margin-top: 0.5rem;
    font-size: 1rem !important;
    color: #0b409c;
}

.open-button {
    display: inline-block;
    background: #4F77AA;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 10px;
}

.bottom-decoration img {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

section.main-banner {
    margin-top: 0px;
}

.main-banner {
    padding-top: 100px;
    background: url(../img/prewedding.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    height: 100vh;
}

.front-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 60vh;
}

.container-front-title,
.container-guest-name {
    text-align: center;
    color: #fff;
    z-index: 10;
    position: relative;
}

.container-front-title span {
    font-weight: 500;
}

.container-front-title h4.playfair-font {
    font-size: 30px;
    font-weight: 600;
}

.container-guest-name {
    display: flex;
    flex-direction: column;
}

.container-guest-name h6 {
    line-height: 50px;
}

.container-front-title h4 {
    margin-top: 1rem;
}

.bg-gradient-fade-small {
    background: rgba(0, 0, 0, 0.4);
    /* background: linear-gradient(to bottom, rgba(240, 240, 240, 0) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.5) 75%, rgb(0, 0, 0, 0.7) 100%); */
}

.card-overlay {
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    position: absolute;
    z-index: 1;
}

.container-opening {
    margin: 0 auto;
    position: relative;
    background: url(../img/bg-akad.jpeg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.flower {
    position: absolute;
    bottom: 0;
    width: 100px;
    opacity: 0;
    transform: scale(0.5);
    animation: growIn 2s ease-out forwards;
}

.flower-left {
    left: 0;
    animation-delay: 0.5s;
}

.flower-right {
    right: 0;
    animation-delay: 1s;
}

@keyframes growIn {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(20px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}


.header img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
    transform: scaleY(-1);
}

.photo-frame {
    width: 150px;
    height: 200px;
    margin: 0 auto 20px;
    border: 3px solid #4F77AA;
    border-radius: 150px 150px 0 0;
    /* setengah lingkaran atas */
    overflow: hidden;
    position: relative;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


.couple-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 120px 120px 0 0;
}


.quote {
    font-size: 12px;
    color: #2f5392;
    padding: 20px 40px;
    line-height: 1.8;
    text-align: center;
    z-index: 10;
}

.container-opening .footer img {
    margin-top: 3rem;
    width: 100%;
}

.container-bride {
    margin: 0 auto;
    position: relative;
    background: url(../img/bg-akad.jpeg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.container-bride .header {
    width: 100%;
}

.container-bride .header img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
    transform: scaleY(-1);
}

.bride-section,
.groom-section {
    display: flex;
    align-items: center;
    max-width: 600px;
    gap: 30px;
    margin: 20px;
    z-index: 10;
}

.label-vertical {
    font-weight: 800 !important;
    color: #2f5392;
    letter-spacing: 2px;
    font-size: 18px;
    margin-bottom: 0.75rem;
}

.bride-content,
.bride-info {
    display: flex;
    flex-direction: column;
    align-items: end;
    text-align: end;
}

.groom-content,
.groom-info {
    display: flex;
    flex-direction: column;
    align-items: start;
    text-align: start;
}

.bride-photo,
.groom-photo {
    width: 100px;
    height: 140px;
    border-radius: 100px 100px 0 0;
    overflow: hidden;
    background-color: #ddd;
    margin-bottom: 10px;
    box-shadow:
        0 2.8px 2.2px rgba(0, 0, 0, 0.034),
        0 6.7px 5.3px rgba(0, 0, 0, 0.048),
        0 12.5px 10px rgba(0, 0, 0, 0.06),
        0 22.3px 17.9px rgba(0, 0, 0, 0.072),
        0 41.8px 33.4px rgba(0, 0, 0, 0.086),
        0 100px 80px rgba(0, 0, 0, 0.12);
    border: 3px solid #4F77AA;

}

.bride-photo img,
.groom-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.bride-info h3,
.groom-info h3 {
    color: #2f5392;
    font-size: 16px;
    margin-bottom: 8px;
}

.bride-info p,
.groom-info p {
    font-size: 13px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 10px;
}

.instagram-btn {
    display: inline-block;
    background-color: #2f5392;
    color: #fff;
    padding: 6px 12px;
    font-size: 8px;
    text-decoration: none;
    border-radius: 6px;
}

.instagram-btn i {
    margin-right: 5px;
}

.container-groom {
    min-height: 100vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.container-groom .header img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
    transform: scaleY(-1);
    transform: rotate(180deg);

}

.label-vertical-groom {
    writing-mode: vertical-rl;
    font-weight: bold;
    color: #2f5392;
    letter-spacing: 2px;
    font-size: 24px;
}

.groom-content {
    display: flex;
    flex-direction: column;
    align-items: start;
    text-align: start;
}


/* .container-bride .container-bride-title {
    display: flex;
    justify-content: center;
    flex-direction: column;
    color: #fff;
}

.container-bride .container-bride-title h5:nth-child(2) {
    font-size: 24px;
    margin-bottom: 2rem;
}

.container-bride .container-bride-main {
    margin-top: 1rem;
    width: 100%;
    color: #fff;
}

.container-bride-main .row .bride-content {
    margin-top: 2rem;
}

.container-bride .container-bride-main .bride-wraper,
.container-bride .container-bride-main .groom-wraper {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 1.5rem;
    height: 420px;
}

.container-bride .container-bride-main .bride-wraper .bride-img img,
.container-bride .container-bride-main .groom-wraper .groom-img img {
    border-radius: 10rem;
    height: 150px;
    width: 120px;
    margin-bottom: 1rem;
}

.container-bride .container-bride-main .groom-name,
.container-bride .container-bride-main .bride-name {
    display: flex;
    flex-direction: column;
    text-align: center;
    line-height: 25px;
}

.container-bride .container-bride-main .groom-name a,
.container-bride .container-bride-main .bride-name a {
    margin-top: 0.75rem;
}

.container-bride .container-bride-main .groom-name a i,
.container-bride .container-bride-main .bride-name a i {
    margin-top: 1rem;
    color: #fff;
    font-size: 18px;
} */



.container-ceremony {
    position: relative;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.corner-img {
    position: absolute;
    width: 80px !important;
    height: auto;
    opacity: 0;
    pointer-events: none;
    z-index: 3;
}


/* Posisi sudut */
.top-left {
    top: 0;
    left: 0;
}

.top-right {
    top: 0;
    right: 0;
}

.bottom-left {
    bottom: 0;
    left: 0;
    width: 180px;
    height: auto;
}

.bottom-right {
    bottom: 0;
    right: 0;
    animation-delay: 0.7s;
    width: 170px;
    height: auto;
}




.event-box,
.container-location-content,
.container-rsvp-content,
.container-end-content {
    background: url('../img/bg-akad.jpeg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    border-radius: 200px 200px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 1rem;
}

.event-title {
    margin-bottom: 20px;
    font-weight: bold;
}

.event-title.akad {
    color: #2f5392;
}

.event-title.resepsi {
    color: #2f5392;
}

.date-box {
    margin-bottom: 5px;
}

.day,
.month {
    font-size: 14px;
    display: block;
    margin: 4px 0;
}

.date {
    font-size: 32px;
    font-weight: bold;
    line-height: 1.2;
    display: inline-block;
}

.date hr {
    border: none;
    border-top: 1px solid #000;
    margin: 4px 0;
    width: 60px;
}

.time {
    margin: 10px 0;
}

.place {
    font-size: 16px;
    font-weight: bold;
    margin: 2rem 0 0.5rem 0;
}

.address {
    font-size: 13px;
    line-height: 25px;
    z-index: 1000;
}

.container-akad {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.container-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    /* background: url('../img/bg.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; */
}

.container-countdown h2,
.container-countdown #countdown {
    display: flex;
    justify-content: center;
    text-align: center;
}

#countdown {
    font-weight: bold;
    color: #333;
}

.count {
    color: #fff;
    padding: 12px;
    margin: 10px;
    border-radius: 10px;
    background: #4F77AA;
    width: 70px;
    display: flex;
    flex-direction: column;
}

.count .name {
    font-size: 14px;
}

.days {
    color: #fff;
}

.hours {
    color: #fff;
}

.minutes {
    color: #fff;
}

.seconds {
    color: #fff;
}

.gm-style .place-card .address {
    display: none !important;
}

.container-location {
    position: relative;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.map-title {
    font-size: 24px;
    color: #2f5392;
    font-weight: bold;
    margin-bottom: 20px;
}

.map-frame {
    border: 4px solid #2f5392;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    height: 200px;
    width: 260px;

}

.map-info {
    z-index: 10;
}

.map-info h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.map-info p {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.btn-maps-link {
    margin-top: 20px;
    background-color: #2f5392;
    color: white;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
}

.map-button i {
    margin-right: 8px;
}

/* .container-location h2 {
    margin-bottom: 3rem;
}

.container-location .button {
    margin-top: 1rem;
}

.container-location .maps {
    display: flex;
    justify-content: center;
} */

.container-story {
    margin: 0 auto;
    position: relative;
    background: url(../img/bg-akad.jpeg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.container-story-content {
    text-align: center;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(30px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    padding: 1rem;
    border-radius: 1rem;
    z-index: 10;
}

.container-story-content label {
    color: #2f5392;
}

.container-story h2 {
    font-size: 24px;
    color: #2f5392;
    font-weight: bold;
    margin-bottom: 20px;
}

.container-gallery {
    margin: 0;
    padding: 1.5rem;
    position: relative;
    background: url(../img/bg-akad.jpeg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}



/* .container-gallery {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    padding-bottom: 80px;
    background: url(../img/bg-akad.jpeg) no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
} */

.gallery-title {
    font-family: 'Dancing Script', cursive;
    font-size: 2em;
    color: #2a2a2a;
    margin-bottom: 10px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 kolom */
    grid-template-rows: repeat(2, 1fr);
    /* 2 baris */
    gap: 10px;
    width: 100%;
    max-width: 900px;
}

.img-box {
    background-color: #ccc;
    overflow: hidden;
    aspect-ratio: 1/2;
    /* agar kotak */
    border-radius: 8px;
    height: 150px;
    width: 100%;
    z-index: 100;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.img-box img:hover {
    transform: scale(1.05);
}

.nav-arrow {
    position: absolute;
    top: 50%;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    user-select: none;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    transform: translateY(-50%);
}

.nav-arrow.left {
    left: 20px;
}

.nav-arrow.right {
    right: 20px;
}


@media (max-width: 576px) {
    .img-box {
        height: 180px;
    }

    .nav-arrow {
        font-size: 1rem;
        color: white;
        cursor: pointer;
        padding: 5px;
        z-index: 1001;
        user-select: none;
        background: rgba(0, 0, 0, 0.3);
        border-radius: 5px;
        transform: translateY(-50%);
    }

    .corner-img {
        width: 95px !important;
    }
}

@media (min-height: 726px) and (max-height: 876px) {
    .corner-img {
        width: 95px !important;
    }

    .event-title,
    .map-title,
    .container-story h2 {
        font-size: 34px;
    }
}

@media (max-height: 914px) {

    .photo-frame {
        width: 230px;
        height: 300px;
        margin: 0 auto 20px;
        border: 3px solid #4F77AA;
        border-radius: 150px 150px 0 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .quote {
        font-size: 16px;
    }

    .corner-img {
        width: 120px !important;
    }

    .bride-photo,
    .groom-photo {
        width: 120px;
        height: 160px;
        border-radius: 100px 100px 0 0;
    }

    .label-vertical {
        font-size: 28px;
    }

    .bride-info h3,
    .groom-info h3 {
        font-size: 18px;
    }

    .instagram-btn {
        padding: 8px 14px;
        font-size: 10px;
        border-radius: 8px;
    }

    .instagram-btn i {
        margin-right: 8px;
    }

    .event-title,
    .map-title,
    .container-story h2 {
        font-size: 34px;
    }

    .container-story {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    .container-story h2 {
        margin-bottom: 3rem;
    }

    .container-story-content label {
        font-size: 18px !important;
        color: #2f5392;
        font-weight: bolder;
    }

    .container-story-content p {
        font-size: 12px !important;
        line-height: 24px;
    }

    .container-gift-content .event-title,
    .container-gift-content p {
        margin-bottom: 2rem;
    }

    .container-gift-content p,
    .container-end p,
    .container-end span {
        font-size: 16px !important;
    }

    .container-end h4 {
        font-size: 28px !important;
        font-weight: bolder;
        margin-top: 1rem;
    }

    .music small {
        font-size: 14px;
    }

    .cover-title {
        margin-top: 5rem;
    }

    .cover-title p {
        font-size: 18px !important;
        margin-bottom: 0.5rem;
    }

    .names {
        font-size: 3.5rem;
    }

    .guest-box p {
        font-size: 1rem !important;
    }

    .guest-box h3 {
        font-size: 1.3rem;
    }

    .cover-guest {
        margin-bottom: 4rem;
    }

    .address {
        z-index: 10000 !important;
    }
}



/* Modal styling */
.modal.modal-gallery {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.75);
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow: auto;
}

.modal-content.modal-content-gallery {
    max-width: 50vh;
    max-height: 70vh;
    border-radius: 10px;
    object-fit: cover;
    display: block;
    margin: auto;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
}

.close.close-gallery {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 32px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    z-index: 1100;
}




.container-gift {
    margin: 0 auto;
    position: relative;
    background: url(../img/bg-akad.jpeg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.container-gift-content h2 {
    color: #2f5392;
    margin-bottom: 1rem;
}

.btn-cash,
.btn-gift {
    background-color: #2c5d9d;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    margin: 10px;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #244d85;
    color: #fff;
}

.card.card-cash {
    margin: 20px auto;
    padding: 20px;
    background: url('../img/card-cash.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: auto;
    position: relative;
    text-align: left;
    z-index: 10;
}

.bank-logo {
    float: right;
    height: 25px;

}

.chip {
    height: 25px;
    margin-bottom: 15px;
}

.account {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 5px;
}

.name {
    font-size: 16px;
}

.copy-btn {
    background-color: #2c5d9d;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 6px 10px;
    font-size: 10px;
    cursor: pointer;
}

.kado {
    font-weight: bold;
    font-size: 18px;
    margin-top: 30px;
    z-index: 10;
}

.alamat {
    margin-top: 10px;
    color: #333;
    z-index: 10;
}

.container-rsvp {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
}

.reservation-section {
    text-align: center;
    padding: 40px 20px;
    font-family: 'Poppins', sans-serif;
}

.section-title {
    font-size: 24px;
    color: #2b4c7e;
    font-weight: 700;
    margin-bottom: 30px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.time-box {
    background-color: #2b4c7e;
    color: white;
    border-radius: 8px;
    width: 55px;
    padding: 10px 4px;
    display: flex;
    flex-direction: column;
}

.time-number {
    font-size: 19px;
    font-weight: bold;
}

.time-label {
    font-size: 10px;
    margin-top: 4px;
}

.calendar-button {
    margin: 20px 0;
}

.calendar-button a {
    text-decoration: none;
}

.btn-outline {
    border: 2px solid #2b4c7e;
    background-color: white;
    color: #2b4c7e;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 12px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-outline i {
    margin-right: 6px;
}

.btn-outline:hover {
    background-color: #2b4c7e;
    color: white;
}

.rsvp-text {
    font-size: 14px;
    color: #333;
    margin: 20px 0;
}

.btn-filled {
    background-color: white;
    color: #2b4c7e;
    border: 2px solid #2b4c7e;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-filled:hover {
    background-color: #2b4c7e;
    color: white;
}


.container-end {
    margin: 0 auto;
    position: relative;
    background: url(../img/bg-akad.jpeg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-end .text-center {
    padding: 1rem;
}

.container-end .text-center p {
    margin-bottom: 2rem;
}

.container-end .text-center h5 {
    margin-top: 0.5rem;
}


/* .container-end-content {
    display: flex;
    justify-content: start;
    align-items: center;
    margin-top: 80px;
    padding: 4rem 1rem 1rem 1rem;

} */

.music {
    margin-top: 6rem;
}

.music-btn {
    position: absolute;
    height: 40px;
    width: 40px;
    bottom: 100px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 100%;
    padding: 12px;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    color: #4f77aa;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.music-btn:hover {
    background-color: #f0f0f0;
}


.footer-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* height: 80px; */
    background-color: #4F77AA;
    z-index: 9999;
    display: flex;
    overflow-x: auto;
    padding: 6px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
}



/* Set agar hanya 5 tab yang cukup di layar penuh */
.footer-nav .nav-link {
    flex: 0 0 20%;
    /* 100% / 5 = 20% per item */
    text-align: center;
    color: #fff;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    scroll-snap-align: start;
    border: none;
    background: none;
}

.footer-nav .nav-link.active {
    color: #4f77aa;
    font-weight: bold;
    border-radius: 5px;
}

.footer-nav .nav-link i {
    font-size: 18px;
    margin-bottom: 8px;
}

/* Optional: sembunyikan scrollbar */
.footer-nav::-webkit-scrollbar {
    display: none;
}

.footer-nav {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Responsive */
@media (max-width: 576px) {
    .time-box {
        width: 60px;
    }

    .time-number {
        font-size: 18px;
    }

    .time-label {
        font-size: 10px;
    }

    .gallery {
        grid-template-rows: repeat(3, 150px);
    }
}