/**
 * ============================================================
 * BUNGA ADAT ART 01 (TERRACOTTA RUSTIC) - MASTER STYLESHEET
 * Author: Studio1
 * Version: 1.0.0
 * ============================================================
 */

:root {
    --primary: #661d07;        /* Terracotta Rust */
    --primary-light: #4d0c1c;  /* Tombol Ngarepan AKtif */
    --primary-dark: #652009;   /* Deep Burnt Orange / Umber */
    --secondary: #aa791a;      /* Warm Gold / Ochre */
    --accent: #5c4534;         /* Earth Brown */
    --text-dark: #25201f;      /* Dark Charcoal Earth */
    --text-muted: #575760;     /* Muted Grey Brown */
    --bg-cream: #faf7f2;       /* Warm Cream */
    --bg-card: rgba(255, 255, 255, 0.92);
    --border-color: #9b6e59;   /* Terracotta Border */
    --border-soft: rgba(148, 52, 20, 0.25);
    --shadow-soft: 0 6px 20px rgba(100, 40, 20, 0.12);
    --shadow-hover: 0 12px 28px rgba(100, 40, 20, 0.22);
}

/* --- Base & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body, 'Roboto', sans-serif);
    color: var(--text-dark);
    background-color: #f7f3ee;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

body.locked {
    overflow: hidden !important;
    height: 100vh !important;
    height: 100dvh !important;
    position: fixed;
    width: 100%;
}

body.locked .terracotta-navbar,
body.locked .side-controls {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

/* --- Toast Notification --- */
.toast {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%) translateY(-120px);
    background: #652009;
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 500;
    z-index: 9999999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    border: 1.5px solid #cd8282;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
    max-width: 90vw;
    text-align: center;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* --- Layout Wrappers --- */
.theme-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    min-height: 100vh;
    background-color: #ffffff;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow-x: hidden;
}

@media (min-width: 768px) {
    body {
        background: #2b2523 url('../images/BG.jpg') center/cover fixed;
    }
}

.section-terracotta {
    position: relative;
    padding: 45px 20px 45px;
    text-align: center;
    background-color: #ffffff;
    background-image: url('../images/BG.jpg');
    background-position: top center;
    background-repeat: repeat-y;
    background-size: 100% auto;
    overflow: hidden;
}

/* --- 1. COVER SECTION (EXACTLY MATCHING IMAGE 1) --- */
.cover-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 99999;
    background: #1e1e1e url('../images/bgcover03.02.jpg') center center / cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.8s ease;
}

.cover-section.opened {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.cover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(128, 50, 82, 0.7); /* tutup ngarepan */
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
    z-index: 1;
}

.cover-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 440px;
    padding: 30px 24px;
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Brush Circular Frame (Used on Cover & Sections) */
.brush-photo-frame {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto 16px;
}

.brush-photo-frame .photo-brush-masked {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-mask-image: url('../images/brush-terracota-030820232243.png');
    mask-image: url('../images/brush-terracota-030820232243.png');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    display: block;
}

.brush-photo-frame .flower-accent {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 175px;
    height: 175px;
    object-fit: contain;
    pointer-events: none;
    z-index: 3;
    animation: gentleSway 4s ease-in-out infinite alternate;
}

@keyframes gentleSway {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(3deg) scale(1.02); }
}

.cover-the-wedding {
    font-family: var(--font-title, 'Aladin', serif);
    font-size: 1.5rem;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.cover-couple-name {
    font-family: var(--font-script, 'Great Vibes', cursive);
    font-size: 3.4rem;
    line-height: 1.2;
    color: #ffffff;
    font-weight: 400;
    margin-bottom: 8px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.45);
}

.cover-wedding-date,
.wedding-date {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 4px 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(250, 247, 242, 0.90) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(170, 121, 26, 0.75);
    border-radius: 50px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    font-family: 'Playfair Display', 'Cinzel', 'Montserrat', serif;
    font-size: clamp(14px, 3.8vw, 18px);
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #661d07;
    margin: 2px auto 10px auto;
    transition: all 0.3s ease;
    user-select: none;
}

.cover-wedding-date i,
.wedding-date i {
    color: #aa791a;
    font-size: clamp(14px, 3.5vw, 17px);
}

.cover-wedding-date:hover,
.wedding-date:hover {
    transform: translateY(-2px);
    border-color: rgba(170, 121, 26, 0.95);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
}

.cover-guest-wrap {
    margin: 8px 0 16px;
}

.cover-guest-label {
    font-size: 1rem;
    color: #f0eae4;
    font-weight: 400;
    margin-bottom: 6px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.cover-guest-name {
    font-size: 1.55rem;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-body, 'Roboto', sans-serif);
    margin-bottom: 6px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    word-break: break-word;
}

.cover-apology {
    font-size: 0.8rem;
    font-style: italic;
    color: #e5ded7;
    margin-bottom: 22px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.btn-open-undangan {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--primary-light, #787ed6);
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 500;
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    letter-spacing: 0.3px;
}

.btn-open-undangan:hover,
.btn-open-undangan:active {
    background-color: var(--primary, #692008); /* tombol ngarepan hover */
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 24px rgba(40, 44, 41, 0.45); 
}

/* --- 2. FLOATING CONTROLS & BOTTOM NAV --- */
.side-controls {
    position: fixed;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

@media (min-width: 501px) {
    .side-controls {
        right: calc(50% - 240px);
    }
}

.side-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary, #692008);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.side-btn:hover,
.side-btn:active {
    background-color: var(--primary-dark, #652009);
    transform: scale(1.1);
}

/* ============================================================
   BOTTOM NAV DOCK (TERRACOTTA RUSTIC)
   ============================================================ */
.terracotta-navbar {
    position: fixed;
    bottom: 18px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%);
    z-index: 9998;
    width: calc(100% - 28px);
    max-width: 440px;
    pointer-events: auto;
    animation: navDockSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes navDockSlideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.nav-dock-pill {
    background: linear-gradient(135deg, rgba(82, 28, 14, 0.92) 0%, rgba(45, 15, 8, 0.94) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(205, 152, 60, 0.45);
    border-radius: 40px;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 4px;
    box-shadow: 
        0 14px 35px rgba(35, 10, 4, 0.45),
        0 2px 8px rgba(0, 0, 0, 0.22),
        inset 0 1px 1px rgba(255, 235, 200, 0.3);
}

.terracotta-navbar .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 6px 4px;
    border-radius: 20px;
    color: rgba(245, 230, 220, 0.78);
    text-decoration: none;
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.terracotta-navbar .nav-icon-wrap,
.terracotta-navbar .nav-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 20px;
    font-size: 15px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    color: inherit;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.terracotta-navbar .nav-label {
    font-size: 10px;
    font-family: var(--font-body, 'Roboto', sans-serif);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 0.3px;
    color: inherit;
    transition: color 0.3s ease, font-weight 0.3s ease;
}

/* Hover State */
.terracotta-navbar .nav-item:hover {
    color: #ffffff;
}

.terracotta-navbar .nav-item:hover .nav-icon-wrap,
.terracotta-navbar .nav-item:hover .nav-icon-circle {
    transform: translateY(-2px);
    color: #ffd875;
}

/* Active State */
.terracotta-navbar .nav-item.active {
    color: #ffffff;
    background: linear-gradient(135deg, #a33816 0%, #68200a 100%);
    border: 1px solid rgba(255, 215, 140, 0.55);
    box-shadow: 
        0 4px 14px rgba(163, 56, 22, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.terracotta-navbar .nav-item.active .nav-icon-wrap,
.terracotta-navbar .nav-item.active .nav-icon-circle {
    color: #fff9e6;
    transform: scale(1.1);
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.45));
}

.terracotta-navbar .nav-item.active .nav-label {
    font-weight: 600;
    color: #ffffff;
}

@media (max-width: 360px) {
    .terracotta-navbar {
        width: calc(100% - 16px);
        bottom: 12px;
    }
    
    .nav-dock-pill {
        padding: 5px 4px;
        gap: 2px;
    }
    
    .terracotta-navbar .nav-item {
        padding: 5px 2px;
    }
    
    .terracotta-navbar .nav-label {
        font-size: 9px;
    }
    
    .terracotta-navbar .nav-icon-wrap,
    .terracotta-navbar .nav-icon-circle {
        font-size: 13.5px;
    }
}

/* --- 3. HOME / COUNTDOWN SECTION (EXACTLY MATCHING IMAGE 2) --- */
.home-section {
    padding-top: 20px;
    padding-bottom: 0;
    position: relative;
    background-color: #ffffff;
    background-image: url('../images/BG.jpg');
    background-position: top center;
    background-size: cover;
}

.top-garland-ornament {
    width: 100%;
    max-width: 440px;
    margin: 0 auto 12px;
}

.home-the-wedding {
    font-family: var(--font-title, 'Aladin', serif);
    font-size: 1.75rem;
    color: var(--primary, #943414);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.home-couple-name {
    font-family: var(--font-script, 'Great Vibes', cursive);
    font-size: 3.6rem;
    color: var(--primary, #943414);
    font-weight: 500;
    line-height: 1.2;
    margin-top: 10px;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(148, 52, 20, 0.18);
}

.home-wedding-date {
    font-family: var(--font-title, 'Aladin', serif);
    font-size: 1.35rem;
    color: var(--accent, #0c702a);
    font-weight: 500;
    margin-bottom: 22px;
}

/* Countdown 4-box layout */
.countdown-grid {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 24px;
    max-width: 380px;
}

.countdown-card {
    flex: 1;
    min-width: 70px;
    background-color: rgba(255, 214, 214, 0.25);
    border: 2px solid var(--primary, #943414);
    border-radius: 12px;
    padding: 8px 4px 7px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(148, 52, 20, 0.08);
}

.countdown-digits {
    display: block;
    font-family: var(--font-title, 'Aladin', serif);
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--primary, #943414);
    line-height: 1.1;
}

.countdown-label {
    display: block;
    font-family: var(--font-title, 'Aladin', serif);
    font-size: 0.82rem;
    color: var(--text-dark, #25201f);
    letter-spacing: 1px;
    margin-top: 3px;
}

.btn-save-calendar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--primary, #943414);
    color: #ffffff;
    font-family: var(--font-btn, 'Acme', sans-serif);
    font-size: 1rem;
    font-weight: 500;
    padding: 10px 28px 9px;
    border-radius: 45px;
    border: 1.5px solid #ffffff;
    box-shadow: 0 4px 14px rgba(148, 52, 20, 0.35);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.btn-save-calendar:hover,
.btn-save-calendar:active {
    background-color: var(--primary-dark, #652009);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(101, 32, 9, 0.45);
}

.mountain-illustration-wrap {
    width: 100%;
    margin-top: 10px;
    position: relative;
    line-height: 0;
}

.mountain-illustration {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    object-position: bottom;
}

/* --- 4. COUPLE / MEMPELAI SECTION (EXACTLY MATCHING IMAGE 3) --- */
.couple-section {
    padding-top: 30px;
    background-color: #ffffff;
    background-image: url('../images/BG-1.jpg');
    background-position: top center;
    background-size: cover;
}

.salam-script {
    font-family: var(--font-script, 'Great Vibes', cursive);
    font-size: 2.2rem;
    color: var(--primary-dark, #652009);
    margin-bottom: 12px;
}

.intro-invitation {
    font-family: var(--font-title, 'Aladin', serif);
    font-size: 1.12rem;
    color: #4a4b4d;
    line-height: 1.6;
    max-width: 420px;
    margin: 0 auto 35px;
    padding: 0 10px;
}

.person-card {
    margin-bottom: 25px;
}

.person-name {
    font-family: var(--font-script, 'Great Vibes', cursive);
    font-size: 2.8rem;
    color: var(--primary, #943414);
    font-weight: 500;
    line-height: 1.2;
    margin-top: 12px;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(148, 52, 20, 0.15);
}

.person-parents {
    font-family: var(--font-title, 'Aladin', serif);
    font-size: 1.2rem;
    color: #4a4b4d;
    line-height: 1.45;
    margin-bottom: 16px;
    padding: 0 15px;
}

.person-address {
    font-family: var(--font-body, 'Roboto', sans-serif);
    font-size: 0.88rem;
    color: #666666;
    line-height: 1.45;
    margin: -8px auto 14px;
    padding: 6px 14px;
    background: rgba(251, 238, 233, 0.6);
    border: 1px dashed var(--border-soft, rgba(148, 52, 20, 0.3));
    border-radius: 12px;
    max-width: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.person-address i {
    color: var(--primary, #943414);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.social-round-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.social-circle-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--primary, #943414);
    color: #ffffff;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(148, 52, 20, 0.25);
}

.social-circle-btn:hover {
    background-color: var(--primary-dark, #652009);
    transform: scale(1.12);
}

.couple-ampersand-divider {
    font-family: var(--font-script, 'Great Vibes', cursive);
    font-size: 3.5rem;
    color: #6f2f00;
    margin: 15px 0 25px;
    text-shadow: 0 2px 4px rgba(111, 47, 0, 0.2);
}

/* --- 5. EVENT / ACARA SECTION --- */
.event-section {
    background-image: url('../images/BG.jpg');
    background-size: cover;
}

.section-badge-title {
    font-family: var(--font-title, 'Aladin', serif);
    font-size: 1.35rem;
    color: var(--secondary, #aa791a);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.section-main-heading {
    font-family: var(--font-script, 'Great Vibes', cursive);
    font-size: 3.2rem;
    color: var(--primary, #943414);
    line-height: 1.2;
    margin-bottom: 25px;
}

.event-box-card {
    background-color: rgba(255, 255, 255, 0.88);
    background-image: url('../images/bg-std-tema02-151020221616.jpg');
    background-position: bottom center;
    background-size: cover;
    border: 2px solid var(--border-color, #9b6e59);
    border-radius: 20px;
    padding: 35px 20px 30px;
    margin: 0 auto 28px;
    max-width: 440px;
    box-shadow: 0 6px 20px rgba(155, 110, 89, 0.15);
    position: relative;
}

.event-title-script {
    font-family: var(--font-script, 'Great Vibes', cursive);
    font-size: 2.8rem;
    color: var(--primary, #943414);
    line-height: 1.2;
    margin-bottom: 6px;
}

.event-label-top {
    font-family: var(--font-title, 'Aladin', serif);
    font-size: 1.15rem;
    color: #d64c21;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}

.event-date-text {
    font-family: var(--font-title, 'Aladin', serif);
    font-size: 1.25rem;
    color: var(--accent, #138650);
    font-weight: 500;
    margin-bottom: 6px;
}

.event-time-text {
    font-family: var(--font-title, 'Aladin', serif);
    font-size: 1.45rem;
    color: var(--accent, #614934);
    font-weight: 600;
    margin-bottom: 12px;
}

.event-place-name {
    font-family: var(--font-title, 'Aladin', serif);
    font-size: 1.5rem;
    color: var(--accent, #614934);
    font-weight: 600;
    margin-bottom: 4px;
}

.event-place-address {
    font-family: var(--font-body, 'Roboto', sans-serif);
    font-size: 0.92rem;
    color: #555555;
    line-height: 1.5;
    margin-bottom: 18px;
}

.event-map-container {
    width: 100%;
    height: 190px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1.5px solid var(--border-soft, rgba(148, 52, 20, 0.25));
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.event-map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.btn-terracotta-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--primary, #943414);
    color: #ffffff;
    font-family: var(--font-body, 'Roboto', sans-serif);
    font-size: 0.92rem;
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(148, 52, 20, 0.3);
    transition: all 0.3s ease;
}

.btn-terracotta-action:hover {
    background-color: var(--primary-dark, #652009);
    transform: translateY(-2px);
}

/* --- 6. LOVE STORY / TIMELINE SECTION --- */
.story-section {
    background-image: url('../images/BG-1.jpg');
    background-size: cover;
}

.timeline-wrap {
    position: relative;
    max-width: 440px;
    margin: 20px auto 0;
    padding: 10px 0;
}

.timeline-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 2px;
    background: var(--border-color, #9b6e59);
}

.timeline-item {
    position: relative;
    padding-left: 55px;
    margin-bottom: 28px;
    text-align: left;
}

.timeline-bullet {
    position: absolute;
    left: 13px;
    top: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--primary, #943414);
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(148, 52, 20, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.65rem;
}

.timeline-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1.5px solid var(--border-soft, rgba(148, 52, 20, 0.25));
    border-radius: 16px;
    padding: 18px 16px;
    box-shadow: var(--shadow-soft, 0 4px 15px rgba(0,0,0,0.06));
    transition: transform 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-3px);
}

.timeline-year {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-title, 'Aladin', serif);
    background: var(--primary, #943414);
    color: #ffffff;
    font-size: 0.85rem;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.timeline-title {
    font-family: var(--font-title, 'Aladin', serif);
    font-size: 1.3rem;
    color: var(--primary-dark, #652009);
    margin-bottom: 6px;
}

.timeline-text {
    font-family: var(--font-body, 'Roboto', sans-serif);
    font-size: 0.9rem;
    color: #555555;
    line-height: 1.55;
}

.timeline-img-wrap {
    margin-top: 12px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-soft, rgba(148, 52, 20, 0.2));
}

.timeline-img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    display: block;
}

/* --- 7. GALLERY SECTION --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    aspect-ratio: 1 / 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 25px;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
}

/* Video Wrapper */
.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 25px;
    box-shadow: var(--shadow-soft);
    border: 2px solid var(--border-soft);
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- 8. WEDDING GIFT SECTION --- */
.gift-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1.5px solid var(--border-color, #9b6e59);
    border-radius: 18px;
    padding: 22px 20px;
    margin: 0 auto 22px;
    max-width: 440px;
    box-shadow: 0 8px 24px rgba(148, 52, 20, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gift-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(148, 52, 20, 0.14);
}

.gift-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px dashed rgba(155, 110, 89, 0.25);
}

.bank-logo-img {
    max-height: 38px;
    max-width: 120px;
    object-fit: contain;
}

.bank-name-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--primary, #943414), var(--primary-dark, #652009));
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.card-chip-img {
    max-height: 28px;
    opacity: 0.9;
}

.account-number-box {
    background: #fbf6f3;
    border: 1px dashed var(--primary, #943414);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 14px;
    text-align: center;
}

.account-num-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8a7369;
    margin-bottom: 4px;
    font-weight: 600;
}

.account-num {
    font-family: var(--font-body, monospace);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-dark, #652009);
    letter-spacing: 1.5px;
    display: block;
    word-break: break-all;
}

.account-holder {
    font-size: 0.95rem;
    color: #4a4b4d;
    margin-bottom: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.account-holder strong {
    color: var(--primary, #943414);
    font-weight: 700;
}

.gift-qr-container {
    margin: 12px auto 16px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid var(--border-soft, #e6ded9);
    border-radius: 12px;
    display: inline-block;
    max-width: 170px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.gift-qr-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.gift-card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}

.btn-gift-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 18px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    line-height: 1.3;
    -webkit-tap-highlight-color: transparent;
}

.btn-copy-gift {
    background: linear-gradient(135deg, var(--primary, #943414) 0%, var(--primary-dark, #652009) 100%);
    color: #ffffff !important;
    border: none;
    outline: none;
    box-shadow: 0 3px 10px rgba(148, 52, 20, 0.25);
}

.btn-copy-gift:hover {
    background: linear-gradient(135deg, #a83d19 0%, #7d290d 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(148, 52, 20, 0.35);
}

.btn-copy-gift:active {
    transform: translateY(1px);
    box-shadow: 0 2px 6px rgba(148, 52, 20, 0.2);
}

.btn-copy-gift.copied {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 12px rgba(46, 204, 113, 0.35) !important;
    transform: scale(1.02);
}

.btn-gift-wa {
    background: linear-gradient(135deg, #25d366 0%, #1eb857 100%);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.25);
}

.btn-gift-wa:hover {
    background: linear-gradient(135deg, #2de671 0%, #1ca34d 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(37, 211, 102, 0.35);
}

.btn-gift-wa:active {
    transform: translateY(1px);
    box-shadow: 0 2px 6px rgba(37, 211, 102, 0.2);
}

/* Physical Gift Address Box */
.gift-address-box {
    background: #fdfaf7;
    border: 1.5px solid var(--border-soft, #e6ded9);
    border-radius: 18px;
    padding: 24px 20px;
    margin: 25px auto 10px;
    max-width: 440px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(148, 52, 20, 0.06);
    position: relative;
    overflow: hidden;
}

.gift-address-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.gift-address-icon {
    font-size: 1.5rem;
    color: var(--primary, #943414);
}

.gift-address-title {
    font-family: var(--font-title, 'Aladin', serif);
    font-size: 1.35rem;
    color: var(--primary, #943414);
    margin: 0;
}

.gift-address-details {
    background: #ffffff;
    border: 1px dashed rgba(155, 110, 89, 0.3);
    border-radius: 12px;
    padding: 14px;
    margin: 14px 0;
    text-align: left;
}

.gift-detail-row {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #4a4b4d;
    line-height: 1.5;
}

.gift-detail-row:last-child {
    margin-bottom: 0;
}

.gift-detail-label {
    font-weight: 600;
    color: var(--primary-dark, #652009);
    display: inline-block;
    min-width: 80px;
}

.gift-address-text {
    font-size: 0.9rem;
    color: #555555;
    line-height: 1.55;
    word-break: break-word;
}

.gift-address-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}

/* --- 9. CLOSING / PENUTUP SECTION --- */
.closing-section {
    padding-bottom: 95px;
    background-image: url('../images/BG.jpg');
    background-size: cover;
}

.closing-text {
    font-family: var(--font-title, 'Aladin', serif);
    font-size: 1.15rem;
    color: #4a4b4d;
    line-height: 1.6;
    max-width: 420px;
    margin: 0 auto 20px;
}

.closing-signoff {
    font-family: var(--font-script, 'Great Vibes', cursive);
    font-size: 3.2rem;
    color: var(--primary, #943414);
    margin-top: 10px;
}

.footer-credit {
    margin-top: 35px;
    font-size: 0.8rem;
    color: #888888;
}

.footer-credit a {
    color: var(--primary, #943414);
    font-weight: 600;
}

/* --- 10. VENDOR / PARTNER SECTION --- */
.vendor-section {
    background-image: url('../images/BG.jpg');
    background-size: cover;
    padding-top: 30px;
    padding-bottom: 25px;
}

.vendors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 25px;
}

@media (max-width: 420px) {
    .vendors-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.vendor-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1.5px solid var(--border-soft, rgba(148, 52, 20, 0.25));
    border-radius: 18px;
    padding: 22px 14px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-soft, 0 6px 20px rgba(100, 40, 20, 0.1));
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.vendor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #943414, #cd8282, #943414);
}

.vendor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover, 0 12px 28px rgba(100, 40, 20, 0.2));
    border-color: var(--primary, #943414);
}

.vendor-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-body, 'Roboto', sans-serif);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--primary, #943414);
    background: var(--rsvp-primary-light, #fbeee9);
    border: 1px solid rgba(148, 52, 20, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.vendor-logo-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #fdf7f4;
    border: 2px solid var(--border-soft, rgba(148, 52, 20, 0.25));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(148, 52, 20, 0.12);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.vendor-card:hover .vendor-logo-wrapper {
    transform: scale(1.06);
    border-color: var(--primary, #943414);
}

.vendor-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.vendor-icon-fallback {
    font-size: 1.8rem;
    color: var(--primary, #943414);
}

.vendor-name {
    font-family: var(--font-title, 'Aladin', serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-dark, #652009);
    margin-bottom: 6px;
    line-height: 1.25;
}

.vendor-desc {
    font-family: var(--font-body, 'Roboto', sans-serif);
    font-size: 0.82rem;
    color: var(--text-muted, #575760);
    line-height: 1.45;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vendor-info-list {
    width: 100%;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: #666666;
    text-align: center;
}

.vendor-info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 3px;
    font-size: 0.78rem;
}

.vendor-info-item i {
    color: var(--primary, #943414);
    font-size: 0.82rem;
}

.vendor-actions {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin-top: auto;
}

.btn-vendor-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.btn-vendor-wa {
    background-color: #25d366;
    color: #ffffff;
}

.btn-vendor-wa:hover {
    background-color: #1eb857;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.35);
}

.btn-vendor-ig {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
}

.btn-vendor-ig:hover {
    opacity: 0.92;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(220, 39, 67, 0.35);
}

.btn-vendor-web {
    background-color: var(--primary, #943414);
    color: #ffffff;
}

.btn-vendor-web:hover {
    background-color: var(--primary-dark, #652009);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(148, 52, 20, 0.35);
}

/* ================= 10. SECTION TURUT MENGUNDANG (SESUAI ADAT JAWA) ================= */
.turut-mengundang-section {
    position: relative;
    background-image: url('../images/BG-1.jpg');
    background-size: cover;
    background-position: center;
    padding: 30px 15px;
}

.turut-box-container {
    background: rgba(255, 255, 255, 0.92);
    border: 1.5px solid var(--border-soft, rgba(148, 52, 20, 0.25));
    border-radius: 22px;
    box-shadow: 0 8px 25px rgba(101, 32, 9, 0.08);
    padding: 26px 18px;
    max-width: 440px;
    margin: 0 auto;
    text-align: center;
}

.turut-header {
    margin-bottom: 20px;
}

.turut-label {
    display: inline-block;
    font-family: var(--font-body, sans-serif);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary, #943414);
    margin-bottom: 4px;
}

.turut-header h2 {
    font-family: var(--font-title, 'Aladin', serif);
    font-size: 24px;
    color: var(--primary-dark, #652009);
    margin: 0;
    font-weight: 600;
}

.turut-divider {
    width: 60px;
    height: 2px;
    margin: 10px auto 0;
    background: linear-gradient(90deg, transparent, var(--primary, #943414), transparent);
    border-radius: 2px;
}

.mengundang-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.keluarga-item {
    padding: 16px 14px;
    background: #ffffff;
    border: 1px solid rgba(148, 52, 20, 0.18);
    border-radius: 16px;
    box-shadow: 0 3px 10px rgba(101, 32, 9, 0.04);
}

.keluarga-role {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 14px;
    background: rgba(148, 52, 20, 0.1);
    border: 1px solid rgba(148, 52, 20, 0.2);
    border-radius: 20px;
    font-family: var(--font-body, sans-serif);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--primary, #943414);
}

.keluarga-names-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: var(--font-body, 'Roboto', sans-serif);
    font-size: 15px;
    line-height: 1.5;
}

.keluarga-names-wrap .parent-name {
    font-weight: 600;
    color: #2b1810;
    letter-spacing: 0.2px;
}

.keluarga-names-wrap .parent-separator {
    color: var(--primary, #943414);
    font-weight: 700;
    font-size: 14px;
    margin: 0 2px;
}

.turut-ringkas-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.turut-ringkas-list li {
    font-family: var(--font-body, 'Roboto', sans-serif);
    font-size: 13.5px;
    font-weight: 500;
    color: #4a3e38;
}

/* ================= 11. FOOTER (PUSPA ASRI ART 01 / MASJID ART 01 STYLE) ================= */
.section-footer {
    padding: 40px 20px 90px;
    background: transparent;
    position: relative;
    z-index: 2;
}

.footer {
    padding: 0;
    text-align: center;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    max-width: 600px;
    margin: 0 auto;
}

.footer-content .footer-date {
    font-family: var(--font-title, 'Aladin', serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary, #943414);
    letter-spacing: 1px;
    margin-bottom: 0;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 4px 0;
}

.footer-social a,
.social-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(148, 52, 20, 0.1);
    border: 1px solid rgba(148, 52, 20, 0.25);
    color: var(--primary, #943414) !important;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(148, 52, 20, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social a i,
.social-circle i {
    color: var(--primary, #943414);
    transition: color 0.3s ease;
}

.footer-social a:hover,
.social-circle:hover {
    background: linear-gradient(135deg, var(--primary, #943414) 0%, var(--primary-dark, #652009) 100%);
    border-color: var(--primary-dark, #652009);
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 6px 16px rgba(101, 32, 9, 0.25);
}

.footer-social a:hover i,
.social-circle:hover i {
    color: #ffffff;
}

.footer-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 260px;
    margin: 6px auto;
}

.footer-divider span {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148, 52, 20, 0.35), transparent);
}

.footer-divider i {
    color: var(--primary, #943414) !important;
    font-size: 14px;
    animation: heartBeat 1.5s ease-in-out infinite;
}

.footer-thanks {
    font-family: var(--font-body, 'Roboto', sans-serif);
    font-size: 0.88rem;
    font-style: italic;
    color: var(--text-color, #4a4b4d);
    max-width: 440px;
    line-height: 1.6;
    margin: 0;
}

.footer-copy {
    font-family: var(--font-body, 'Roboto', sans-serif);
    font-size: 0.82rem;
    color: #777777;
    margin-top: 4px;
    line-height: 1.6;
}

.footer-copy p {
    margin-bottom: 4px;
}

.footer-link {
    font-weight: 600;
    color: var(--primary, #943414);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--primary-dark, #652009);
    text-decoration: underline;
}

.footer-brand {
    font-weight: 600;
    color: var(--primary, #943414);
    margin-bottom: 2px;
}

.footer-service {
    font-size: 0.78rem;
    color: #888888;
    margin-bottom: 0;
}

/* ================= RESPONSIVE ADJUSTMENTS ================= */
@media (max-width: 480px) {
    .nav-dock-pill {
        gap: 4px;
        padding: 6px 8px;
        max-width: 96vw;
    }

    .nav-icon-circle {
        width: 32px;
        height: 32px;
        font-size: 0.82rem;
    }

    .turut-box-container {
        padding: 20px 14px;
        border-radius: 18px;
    }

    .turut-header h2 {
        font-size: 21px;
    }

    .keluarga-names-wrap {
        font-size: 14px;
    }
}