/* --- Definisi Animasi --- */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px) translateX(-50%);
    }

    to {
        opacity: 1;
        transform: translateY(0) translateX(-50%);
    }
}

@keyframes slideInUpAccent {
    from {
        opacity: 0;
        transform: translateY(50px) translateX(-50%);
    }

    to {
        opacity: 1;
        transform: translateY(0) translateX(-50%);
    }
}

/* Mengatur delay agar elemen muncul bergantian */


/* Variasi delay untuk elemen berurutan (stagger effect) */
.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* --- Penerapan pada Elemen --- */

/* Delay berbeda untuk setiap daun agar lebih dinamis */


/* State dasar sebelum animasi */
.animate-hidden {
    opacity: 0;
    transform: translateY(40px);
    /* Muncul dari bawah */
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    visibility: hidden;
}

/* State saat elemen masuk ke viewport */
.animate-show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* --- Animasi Pesan Penutup (Fade In saja) --- */


/* --- Animasi Thank You (Expand Letter Spacing) --- */
.thank-you-text.animate-hidden {
    opacity: 0;
    letter-spacing: 10px;
    transform: scale(1.1);
    transition: all 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.thank-you-text.animate-show {
    opacity: 1;
    letter-spacing: -2px;
    /* Kembali ke gaya rapat sesuai gambar */
    transform: scale(1);
}

/* --- Animasi Foto Closing (Zoom Out ke Frame) --- */
.closing-photo.animate-hidden {
    opacity: 0;
    transform: scale(1.05);
    transition: all 1.5s ease-out;
}

.closing-photo.animate-show {
    opacity: 1;
    transform: scale(1);
}

/* Mengaktifkan scroll halus untuk seluruh halaman */
html {
    scroll-behavior: smooth;
}

/* --- CUSTOM SCROLLBAR --- */
/* Ukuran scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

/* Bagian jalur (track) scrollbar */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Bagian batang (thumb) scrollbar */
::-webkit-scrollbar-thumb {
    background: #8da1b9;
    /* Warna biru sesuai Save The Date Anda */
    border-radius: 10px;
}

/* Batang scrollbar saat diarahkan kursor (hover) */
::-webkit-scrollbar-thumb:hover {
    background: #343638;
    /* Warna gelap sesuai tema card Anda */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    overflow-x: hidden;
    /* Mencegah scroll horizontal seluruh halaman */
    margin: 0;
    padding: 0;
    width: 100%;
}

.wrapper {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Reset & Base Font */
body,
html {

    font-family: 'Serif', 'Georgia', serif;
    color: #6d5d4b;
    background-color: #1a2a33;

}

.wrapper {
    display: flex;
    height: 100vh;
    overflow: hidden;
    /* Mencegah seluruh halaman scroll */
}

/* Class khusus untuk nama pengantin */

/* --- BAGIAN KIRI (FIXED/STATIS) --- */
/* --- BAGIAN KIRI (FIXED/STATIS) --- */
/* --- BAGIAN KIRI (FIXED/STATIS) --- */
.left-section {
    color: #1a1a1a;
    flex: 1.4;
    background: url('images.jpeg') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Mempertahankan posisi konten di bawah */
    padding: 60px;
    position: relative;
    overflow: hidden;
    border-right: 1px solid #e8e2d9;
    /* Border halus warna pasir */
}

/* Overlay Cerah Scandi */
.left-section::before {
    content: "";
    position: absolute;
    inset: 0;
    /* Gradient cerah yang lembut untuk transisi ke konten */
    background: linear-gradient(to top,
            #fcfcfc 0%,
            rgba(252, 252, 252, 0.4) 50%,
            transparent 100%);
    z-index: 1;
}

/* Aksen Cahaya Lembut (Bukan Neon) */
.left-section::after {
    content: "";
    position: absolute;
    top: -10%;
    right: -10%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, #e8e2d9 0%, transparent 70%);
    filter: blur(80px);
    opacity: 0.3;
    z-index: 1;
    animation: scandiPulse 10s ease-in-out infinite alternate;
}

@keyframes scandiPulse {
    from {
        transform: scale(1);
        opacity: 0.2;
    }

    to {
        transform: scale(1.15);
        opacity: 0.4;
    }
}

.left-content {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

/* Penyesuaian Tipografi Scandi */
.left-content h2 {
    font-weight: 800;
    letter-spacing: 6px;
    /* Sedikit lebih rapat namun tetap luas */
    font-size: 0.75rem;
    margin-bottom: 15px;
    color: #a0a0a0;
    /* Abu-abu kalem khas Scandi */
    text-transform: uppercase;
    text-shadow: none;
    /* Menghapus glow neon */
}

.left-content h1 {
    font-size: 4.5rem;
    /* Ukuran lebih proporsional */
    font-family: 'Playfair Display', serif;
    /* Font Serif yang elegan */
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.left-content h1 span {
    display: block;
    font-size: 2.2rem;
    color: #e8e2d9;
    /* Warna pasir untuk aksen nama */
    -webkit-text-stroke: 0;
    /* Menghapus outline agar lebih solid & clean */
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 300;
    margin-top: 5px;
}

/* Dekorasi Garis Scandi (Warna Pasir) */
.left-decor-line {
    width: 50px;
    height: 1px;
    /* Lebih tipis agar terlihat premium */
    background: #1a1a1a;
    margin-bottom: 25px;
    box-shadow: none;
    /* Menghapus shadow neon */
}

/* Ukuran font diperbesar agar Beau Rivage terlihat jelas */

/* --- BAGIAN Kanan (SCROLLABLE) --- */
.right-section {
    flex: 1;
    overflow-y: auto;
    background-color: #fcfcfc;
    overflow-x: hidden;
    scroll-behavior: smooth;
}


.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.0); */
}


/* Import Google Fonts */
:root {
    --bg-scandi: #fcfcfc;
    --text-primary: #1a1a1a;
    --accent-sand: #e8e2d9;
    --muted-grey: #a0a0a0;
}

.first-screen {
    position: relative;
    height: 100vh;
    width: 100%;
    background-color: var(--bg-scandi);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Efek Tekstur Kertas Halus */
.paper-texture {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url('https://www.transparenttextures.com/patterns/handmade-paper.png');
    pointer-events: none;
}

.scandi-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: scandiAppear 1.5s ease forwards;
}

.side-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 0.7rem;
    letter-spacing: 6px;
    color: var(--muted-grey);
    font-weight: 700;
}

.image-box {
    position: relative;
    width: 280px;
    height: 400px;
}

.scandi-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(20%) contrast(1.05);
    border-radius: 2px;
}

.floating-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 70px;
    height: 70px;
    background: var(--accent-sand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    border-radius: 50%;
}

.content-details {
    text-align: left;
    padding-bottom: 20px;
}

.couple-name {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    line-height: 1;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.invitation-for {
    margin-bottom: 40px;
}

.invitation-for p {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted-grey);
    margin-bottom: 5px;
}

.guest-name {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-primary);
}

.line-decor {
    display: block;
    width: 30px;
    height: 1px;
    background: var(--text-primary);
    margin-bottom: 15px;
}

.btn-minimal {
    background: var(--text-primary);
    color: white;
    border: none;
    padding: 18px 40px;
    letter-spacing: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-minimal:hover {
    background: var(--muted-grey);
    letter-spacing: 6px;
}

@keyframes scandiAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .scandi-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .side-text {
        writing-mode: horizontal-tb;
        transform: rotate(0);
        margin-bottom: 20px;
    }

    .content-details {
        text-align: center;
    }

    .couple-name {
        font-size: 2.5rem;
    }

    .line-decor {
        margin: 0 auto 15px;
    }
}

@media (max-width: 1024px) {
    .left-section {
        display: none;
        /* Sembunyikan bagian kiri */
    }

    .right-section {
        flex: 1;
        width: 100%;
    }

}

/* openin section  */
.opening-section {
    position: relative;
    padding: 60px 20px;
    background-color: #fcfcfc;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Background Accent */
.scandi-bg-accent {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 30%;
    height: 60%;
    background: #f4f1ec;
    z-index: 1;
}

.scandi-opening-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Image Styling & Masking Animation */
.scandi-img-frame {
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.scandi-main-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 4px;
}

.reveal-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fcfcfc;
    transform: scaleX(1);
    transform-origin: right;
    transition: transform 1s 0.3s cubic-bezier(0.2, 1, 0.3, 1);
}

.img-caption {
    position: absolute;
    bottom: 30px;
    left: -40px;
    font-size: 0.7rem;
    letter-spacing: 5px;
    color: #a0a0a0;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

/* Text Content Styling */
.scandi-text-block {
    text-align: left;
}

.scandi-header-line {
    width: 60px;
    height: 2px;
    background: #1a1a1a;
    margin-bottom: 30px;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: 0.8s 0.5s;
}

.opening-subtitle {
    font-size: 0.8rem;
    letter-spacing: 6px;
    color: #a0a0a0;
    margin-bottom: 20px;
    opacity: 0;
    transition: 0.8s 0.6s;
}

.couple-title-wrapper {
    margin-bottom: 50px;
}

.scandi-couple-name {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    line-height: 1;
    color: #1a1a1a;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.8s 0.7s;
}

.scandi-ampersand {
    font-size: 2.5rem;
    color: #e8e2d9;
    font-weight: 300;
    margin-left: 10px;
    opacity: 0;
    transition: 0.8s 0.8s;
}

.scandi-event-details {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.8s 0.9s;
}

.detail-label {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #1a1a1a;
    display: block;
    margin-bottom: 5px;
}

.detail-value {
    font-size: 0.95rem;
    color: #a0a0a0;
}

.scandi-quote-brief {
    font-style: italic;
    font-size: 0.9rem;
    color: #e8e2d9;
    opacity: 0;
    transition: 1s 1.1s;
}

/* REVEAL LOGIC */
.reveal.opening-section .scandi-img-frame {
    opacity: 1;
    transform: translateX(0);
}

.reveal.opening-section .reveal-mask {
    transform: scaleX(0);
}

.reveal.opening-section .scandi-header-line {
    opacity: 1;
    transform: scaleX(1);
}

.reveal.opening-section .opening-subtitle {
    opacity: 1;
}

.reveal.opening-section .scandi-couple-name {
    opacity: 1;
    transform: translateY(0);
}

.reveal.opening-section .scandi-ampersand {
    opacity: 1;
}

.reveal.opening-section .scandi-event-details {
    opacity: 1;
    transform: translateY(0);
}

.reveal.opening-section .scandi-quote-brief {
    opacity: 1;
}

/* Responsive Mobile */
@media (max-width: 900px) {
    .scandi-opening-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .scandi-main-img {
        height: 400px;
    }

    .scandi-couple-name {
        font-size: 3.5rem;
    }

    .img-caption {
        left: 10px;
        bottom: -30px;
        writing-mode: horizontal-tb;
        transform: rotate(0);
    }
}

/* couple / */
.couple-section {
    position: relative;
    padding: 30px 20px;
    background-color: #fcfcfc;
    overflow: hidden;
}

/* Dekorasi Atas */
.scandi-top-decor {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: 1s ease;
}

.reveal .scandi-top-decor {
    opacity: 1;
    transform: translateY(0);
}

.arc-line {
    width: 100px;
    height: 50px;
    border: 1px solid #e8e2d9;
    border-radius: 100px 100px 0 0;
    margin: 0 auto 15px;
}

.decor-tag {
    font-size: 0.7rem;
    letter-spacing: 5px;
    color: #a0a0a0;
    font-weight: 700;
}

/* Gallery Layout */
.couple-gallery-layout {
    display: flex;
    flex-direction: column;
    gap: 120px;
    max-width: 1000px;
    margin: 0 auto;
}

.scandi-profile {
    display: flex;
    align-items: center;
    gap: 60px;
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.groom {
    transform: translateX(-50px);
}

.bride {
    flex-direction: row-reverse;
    transform: translateX(50px);
}

.reveal .scandi-profile {
    opacity: 1;
    transform: translateX(0);
}

/* Image Frame */
.profile-image-box {
    position: relative;
    width: 350px;
    height: 480px;
    flex-shrink: 0;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
    filter: sepia(10%) contrast(1.02);
    position: relative;
    z-index: 2;
}

.img-offset-border {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 1px solid #e8e2d9;
    z-index: 1;
}

.bride .img-offset-border {
    left: -20px;
}

/* Info Styling */
.profile-info {
    max-width: 400px;
}

.profile-name {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.profile-line {
    width: 40px;
    height: 1px;
    background: #1a1a1a;
    margin-bottom: 25px;
}

.profile-desc {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: #a0a0a0;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 5px;
}

.parent-names {
    font-size: 1.1rem;
    color: #1a1a1a;
    line-height: 1.6;
    margin-bottom: 25px;
}

.scandi-social {
    text-decoration: none;
    color: #a0a0a0;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.scandi-social:hover {
    color: #1a1a1a;
    transform: translateX(5px);
}

/* Responsive Mobile */
@media (max-width: 850px) {

    .scandi-profile,
    .bride {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .profile-image-box {
        width: 280px;
        height: 380px;
    }

    .profile-line {
        margin: 0 auto 25px;
    }

    .profile-name {
        font-size: 2.2rem;
    }
}

/* save date  */
.save-the-date {
    position: relative;
    padding: 100px 20px;
    background-color: #fcfcfc;
    overflow: hidden;
}

.scandi-calendar-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

/* Dekorasi Text Background */
.calendar-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15rem;
    font-weight: 900;
    color: #f4f1ec;
    z-index: 1;
    letter-spacing: -10px;
    user-select: none;
}

.calendar-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Info Section */
.calendar-info {
    text-align: left;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.reveal #save-the-date .calendar-info {
    opacity: 1;
    transform: translateY(0);
}

.calendar-subtitle {
    font-size: 0.7rem;
    letter-spacing: 5px;
    color: #a0a0a0;
    margin-bottom: 15px;
}

.calendar-main-date {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 30px;
}

.calendar-divider {
    width: 50px;
    height: 1px;
    background: #1a1a1a;
    margin-bottom: 30px;
}

.calendar-note {
    font-size: 0.95rem;
    color: #7a7a7a;
    line-height: 1.8;
    max-width: 350px;
}

/* Calendar Visual */
.calendar-visual {
    background: #ffffff;
    /* Pastikan Putih */
    padding: 40px;
    border: 1px solid #e8e2d9;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    opacity: 0;
    /* Akan diubah oleh .reveal */
    transform: scale(0.95);
    transition: all 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal .calendar-info,
.reveal .calendar-visual {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important;
}

.calendar-month {
    text-align: center;
    font-weight: 800;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 30px;
    color: #1a1a1a !important;
}

.calendar-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #a0a0a0;
    margin-bottom: 20px;
}

.calendar-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    text-align: center;
}

.calendar-days-grid span {
    font-size: 0.85rem;
    padding: 10px 0;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Penanda Tanggal */
.marked-day {
    background: #1a1a1a;
    color: #ffffff !important;
    font-weight: 700;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.marked-day::after {
    content: "OUR DAY";
    position: absolute;
    bottom: -20px;
    white-space: nowrap;
    font-size: 0.5rem;
    letter-spacing: 1px;
    color: #1a1a1a;
    font-weight: 800;
}

/* Responsive */
@media (max-width: 850px) {
    .calendar-grid-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .calendar-info {
        text-align: center;
    }

    .calendar-divider {
        margin: 0 auto 30px;
    }

    .calendar-note {
        margin: 0 auto;
    }

    .calendar-bg-text {
        font-size: 8rem;
    }
}

/* event section  */
.event-section {
    position: relative;
    padding: 120px 20px;
    background-color: #fcfcfc;
    overflow: hidden;
}

.scandi-line-decor {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100px;
    background: #e8e2d9;
}

.scandi-event-header {
    text-align: center;
    margin-bottom: 80px;
}

.event-tag {
    font-size: 0.75rem;
    letter-spacing: 5px;
    color: #a0a0a0;
    margin-bottom: 10px;
}

.event-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #1a1a1a;
}

/* Event Grid & Card */
.scandi-event-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.scandi-event-card {
    background: #ffffff;
    border: 1px solid #e8e2d9;
    padding: 60px 40px;
    position: relative;
    border-radius: 4px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.02);
    /* State Awal Reveal */
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.event-section .scandi-event-card {
    opacity: 1;
    transform: translateY(0);
}

.reveal.event-section .scandi-event-card:nth-child(2) {
    transition-delay: 0.3s;
}

.card-edge {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 30px;
    height: 30px;
    border-top: 1px solid #1a1a1a;
    border-left: 1px solid #1a1a1a;
}

.event-icon {
    font-size: 2rem;
    color: #e8e2d9;
    margin-bottom: 25px;
}

.event-name {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.event-divider {
    width: 40px;
    height: 1px;
    background: #1a1a1a;
    margin-bottom: 35px;
}

/* Detail Info */
.detail-row {
    margin-bottom: 25px;
    text-align: left;
}

.label {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    color: #a0a0a0;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.value {
    font-size: 1rem;
    color: #1a1a1a;
    line-height: 1.6;
}

/* Button Maps Scandi */
.btn-scandi-maps {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    transition: 0.3s;
}

.btn-scandi-maps:hover {
    color: #a0a0a0;
    transform: translateX(10px);
}

/* Responsive Mobile */
@media (max-width: 850px) {
    .scandi-event-grid {
        grid-template-columns: 1fr;
    }

    .event-title {
        font-size: 2.2rem;
    }
}

/* --- Scandi Countdown Styling --- */
.scandi-countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom:30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s 0.2s ease;
}

.reveal.event-section .scandi-countdown {
    opacity: 1;
    transform: translateY(0);
}

.count-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.count-no {
    font-size: 2.5rem;
    font-weight: 300;
    color: #1a1a1a;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.count-label {
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: #a0a0a0;
    font-weight: 800;
    margin-top: 10px;
}

.count-sep {
    font-size: 1.5rem;
    color: #e8e2d9;
    font-weight: 300;
    margin-top: -20px;
}

/* Penyesuaian Responsif Mobile */
@media (max-width: 600px) {
    .scandi-countdown {
        gap: 10px;
    }

    .count-no {
        font-size: 1.8rem;
    }

    .count-sep {
        font-size: 1.2rem;
    }
}

/* story  */
.story-section {
    position: relative;
    padding: 120px 20px;
    background-color: #fcfcfc;
    /* Tone cerah Scandi */
    overflow: hidden;
}

/* Dekorasi Background Text */
.scandi-story-bg {
    position: absolute;
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
    font-size: 12rem;
    font-weight: 900;
    color: #f4f1ec;
    z-index: 1;
    letter-spacing: -5px;
    opacity: 0.8;
}

.scandi-story-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.story-tag {
    font-size: 0.7rem;
    letter-spacing: 5px;
    color: #a0a0a0;
    margin-bottom: 15px;
    font-weight: 700;
}

.story-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.header-divider {
    width: 40px;
    height: 1px;
    background: #1a1a1a;
    margin: 0 auto;
}

/* Timeline Content */
.scandi-story-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.story-box {
    display: flex;
    gap: 40px;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.story-section .story-box {
    opacity: 1;
    transform: translateY(0);
}

.reveal.story-section .story-box:nth-child(2) {
    transition-delay: 0.3s;
}

.reveal.story-section .story-box:nth-child(3) {
    transition-delay: 0.6s;
}

.story-number {
    font-size: 4rem;
    font-family: 'Playfair Display', serif;
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 1px #e8e2d9;
    /* Outline style */
    font-weight: 900;
}

.story-content {
    text-align: left;
}

.story-era {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.story-content p {
    font-size: 0.95rem;
    color: #7a7a7a;
    line-height: 1.8;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .story-box {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .story-content {
        text-align: center;
    }

    .scandi-story-bg {
        font-size: 6rem;
    }
}

/* --- Tambahan Styling Foto Cerita --- */
.story-main-visual {
    max-width: 600px;
    margin: 0 auto 80px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.story-section .story-main-visual {
    opacity: 1;
    transform: translateY(0);
}

.visual-frame {
    position: relative;
    padding: 15px;
}

.story-featured-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 2px;
    filter: sepia(10%) contrast(1.05);
    position: relative;
    z-index: 2;
}

.frame-decor-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    border-top: 2px solid #e8e2d9;
    border-left: 2px solid #e8e2d9;
    z-index: 1;
}

/* Responsif Mobile untuk Foto */
@media (max-width: 768px) {
    .story-featured-img {
        height: 250px;
    }

    .story-main-visual {
        margin-bottom: 50px;
    }
}

/* galleri  */
.gallery-section {
    position: relative;
    padding: 20px 20px;
    background-color: #fcfcfc;
    overflow: hidden;
}

.scandi-gallery-line {
    position: absolute;
    top: 0;
    left: 10%;
    width: 1px;
    height: 100%;
    background: #e8e2d9;
    opacity: 0.5;
}

.gallery-header-box {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.gallery-tag {
    font-size: 0.7rem;
    letter-spacing: 5px;
    color: #a0a0a0;
    font-weight: 700;
}

.gallery-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #1a1a1a;
    margin: 10px 0;
}

.gallery-desc {
    color: #a0a0a0;
    font-size: 0.9rem;
    font-style: italic;
}

/* Scandi Bento Grid */
.scandi-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
    gap: 15px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.gallery-card {
    position: relative;
    background: #ffffff;
    padding: 10px;
    /* Memberikan efek bingkai putih */
    border: 1px solid #e8e2d9;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.gallery-section .gallery-card {
    opacity: 1;
    transform: translateY(0);
}

/* Grid Variasi Ukuran */
.card-large {
    grid-column: span 2;
    grid-row: span 2;
}

.card-tall {
    grid-row: span 2;
}

.card-wide {
    grid-column: span 2;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(5%) contrast(1.02);
    transition: transform 1s ease;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

/* Hover Indicator */
.hover-indicator {
    position: absolute;
    inset: 10px;
    background: rgba(232, 226, 217, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s;
    z-index: 3;
}

.gallery-card:hover .hover-indicator {
    opacity: 1;
}

.hover-indicator i {
    color: #1a1a1a;
    font-size: 1.5rem;
    transform: scale(0.8);
    transition: 0.4s;
}

.gallery-card:hover .hover-indicator i {
    transform: scale(1);
}

/* Mobile Responsive */
@media (max-width: 850px) {
    .scandi-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
    }

    .card-large,
    .card-wide {
        grid-column: span 2;
    }

    .card-tall {
        grid-row: span 1;
    }

    .gallery-title {
        font-size: 2.2rem;
    }
}

/* gift  */
.gift-section {
    position: relative;
    padding: 100px 20px;
    background-color: #fcfcfc;
    overflow: hidden;
}

.scandi-gift-decor {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #f4f1ec 0%, transparent 70%);
    z-index: 1;
    opacity: 0.5;
}

.gift-header-scandi {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.gift-tag {
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: #a0a0a0;
    font-weight: 800;
}

.gift-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #1a1a1a;
    margin: 10px 0;
}

.gift-divider {
    width: 40px;
    height: 2px;
    background: #1a1a1a;
    margin: 20px auto;
}

.gift-intro {
    font-size: 0.9rem;
    color: #7a7a7a;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Card Styling */
.scandi-gift-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 2;
}

.scandi-card {
    background: #ffffff;
    border: 1px solid #e8e2d9;
    padding: 40px;
    border-radius: 4px;
    text-align: left;
    transition: 0.4s ease;
    /* State Awal Reveal */
    opacity: 0;
    transform: translateY(20px);
}

.reveal.gift-section .scandi-card {
    opacity: 1;
    transform: translateY(0);
}

.reveal.gift-section .scandi-card:nth-child(2) {
    transition-delay: 0.2s;
}

.scandi-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.02);
    border-color: #1a1a1a;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.bank-label {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #a0a0a0;
}

.acc-number {
    font-size: 1.5rem;
    color: #1a1a1a;
    letter-spacing: 2px;
    margin-bottom: 5px;
    font-weight: 500;
}

.acc-name {
    font-size: 0.9rem;
    color: #a0a0a0;
    margin-bottom: 30px;
}

.btn-copy-scandi {
    background: transparent;
    border: 1px solid #1a1a1a;
    color: #1a1a1a;
    padding: 10px 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

.btn-copy-scandi:hover {
    background: #1a1a1a;
    color: #ffffff;
}

/* Shipping Module */
.scandi-shipping-module {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: #f4f1ec;
    display: flex;
    align-items: center;
    gap: 25px;
    text-align: left;
    border-radius: 2px;
    opacity: 0;
    transition: 1s 0.4s ease;
}

.reveal.gift-section .scandi-shipping-module {
    opacity: 1;
}

.shipping-icon {
    font-size: 2rem;
    color: #1a1a1a;
}

.shipping-info h4 {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.shipping-info p {
    font-size: 0.85rem;
    color: #7a7a7a;
    margin-bottom: 10px;
}

.maps-text-link {
    font-size: 0.7rem;
    font-weight: 800;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #1a1a1a;
}

/* Responsive */
@media (max-width: 768px) {
    .scandi-gift-grid {
        grid-template-columns: 1fr;
    }

    .scandi-shipping-module {
        flex-direction: column;
        text-align: center;
    }
}

/* rsvp  */
.rsvp-section {
    position: relative;
    padding: 120px 20px;
    background-color: #fcfcfc;
    min-height: 100vh;
    overflow: hidden;
}

/* Background Decor */
.scandi-wishes-bg {
    position: absolute;
    bottom: -5%;
    left: -5%;
    font-size: 10rem;
    font-weight: 900;
    color: #f4f1ec;
    z-index: 1;
    letter-spacing: -5px;
    user-select: none;
}

.scandi-rsvp-layout {
    display: grid;
    grid-template-columns: 1.2fr;
    gap: 80px;
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
}

/* Form Styling */
.rsvp-header {
    text-align: left;
    margin-bottom: 40px;
}

.rsvp-tag {
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: #a0a0a0;
    font-weight: 800;
}

.rsvp-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #1a1a1a;
    margin: 10px 0;
}

.rsvp-subtitle {
    font-size: 0.9rem;
    color: #7a7a7a;
    line-height: 1.6;
}

.scandi-form {
    background: #ffffff;
    padding: 40px;
    border: 1px solid #e8e2d9;
    border-radius: 2px;
}

.scandi-input-group {
    margin-bottom: 25px;
}

.scandi-input-group label {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.scandi-input-group input,
.scandi-input-group select,
.scandi-input-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #f0f0f0;
    background: #fcfcfc;
    font-size: 0.9rem;
    color: #1a1a1a;
    border-radius: 0;
    transition: 0.3s;
}

.scandi-input-group input:focus,
.scandi-input-group textarea:focus {
    outline: none;
    border-color: #1a1a1a;
    background: #ffffff;
}

.btn-scandi-submit {
    width: 100%;
    padding: 15px;
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-scandi-submit:hover {
    background: #a0a0a0;
}

/* Wishes List Area */
.wishes-stream-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.wishes-header-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #1a1a1a;
}

.count-badge {
    font-size: 0.65rem;
    font-weight: 800;
    color: #a0a0a0;
    letter-spacing: 1px;
}

.wishes-scroll-area {
    height: 500px;
    overflow-y: auto;
    padding-right: 20px;
}

.wishes-scroll-area::-webkit-scrollbar {
    width: 2px;
}

.wishes-scroll-area::-webkit-scrollbar-thumb {
    background: #e8e2d9;
}

.wish-item {
    padding: 25px 0;
    border-bottom: 1px solid #f4f1ec;
    opacity: 1;
    transform: translateY(10px);
    transition: 0.6s ease;
}

.wish-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.wish-author {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1a1a1a;
}

.wish-status {
    font-size: 0.6rem;
    padding: 2px 8px;
    background: #f4f1ec;
    color: #a0a0a0;
    font-weight: 800;
    letter-spacing: 1px;
}

.wish-text {
    font-size: 0.9rem;
    color: #7a7a7a;
    line-height: 1.7;
    margin-bottom: 10px;
}

.wish-time {
    font-size: 0.7rem;
    color: #e0e0e0;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .scandi-rsvp-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .wishes-scroll-area {
        height: 400px;
    }
}

/* closing  */
.closing-section {
    position: relative;
    padding: 120px 20px;
    background-color: #fcfcfc;
    text-align: center;
    overflow: hidden;
}

/* Dekorasi Background Pasir Halus */
.scandi-closing-decor {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 300px;
    background: radial-gradient(circle, #f4f1ec 0%, transparent 70%);
    opacity: 0.4;
    z-index: 1;
}

.scandi-closing-content {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Reveal Trigger */
.reveal.closing-section .scandi-closing-content {
    opacity: 1;
    transform: translateY(0);
}

/* Visual Frame */
.closing-visual {
    position: relative;
    width: 280px;
    height: 400px;
    margin: 0 auto 60px;
}

.closing-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
    filter: sepia(10%);
    position: relative;
    z-index: 2;
}

.scandi-frame-accent {
    position: absolute;
    inset: -15px;
    border: 1px solid #e8e2d9;
    z-index: 1;
}

/* Teks Styling */
.scandi-thanks-text {
    font-size: 0.95rem;
    color: #7a7a7a;
    line-height: 2;
    margin-bottom: 50px;
    font-style: italic;
}

.footer-couple-name {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #1a1a1a;
    margin-bottom: 30px;
}

.footer-couple-name span {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 300;
    font-size: 1.5rem;
    color: #e8e2d9;
    margin: 0 10px;
}

.scandi-hashtag-box {
    margin-top: 20px;
}

.scandi-hashtag {
    font-size: 0.8rem;
    letter-spacing: 4px;
    color: #a0a0a0;
    font-weight: 800;
    text-transform: uppercase;
    border-top: 1px solid #e8e2d9;
    padding-top: 15px;
}

/* Footer Section */
.scandi-footer {
    padding: 80px 20px;
    background-color: #ffffff;
    border-top: 1px solid #f4f1ec;
    text-align: center;
}

.made-by {
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: #a0a0a0;
    margin-bottom: 10px;
    font-weight: 800;
}

.footer-brand {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: 1px;
}

.footer-copyright {
    font-size: 0.6rem;
    color: #e0e0e0;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 600px) {
    .footer-couple-name {
        font-size: 2.5rem;
    }

    .closing-visual {
        width: 220px;
        height: 320px;
    }

    .scandi-thanks-text {
        font-size: 0.85rem;
    }
}

/* Import Google Fonts (Tambahkan di bagian head HTML) */