/* 
   SYSTEM DESIGN: UNDANGAN DIGITAL BUGIS PREMIUM (HASMAWATI & JABAL ARAFA)
   Colors: Deep Crimson, Emerald Green, Royal Gold, Champagne, Warm Cream
   Fonts: Cinzel (headings), Great Vibes (calligraphy), Montserrat (body)
*/

:root {
    --primary: #7A1D20;        /* Deep Crimson */
    --primary-light: #9B2D31;  /* Lighter Crimson */
    --primary-dark: #4D0E10;   /* Dark Crimson/Burgundy */
    --secondary: #0F4C3A;      /* Emerald Green */
    --secondary-light: #1A634E;/* Lighter Emerald */
    --accent: #C5A059;         /* Royal Gold */
    --accent-light: #EAD8B1;   /* Champagne Gold */
    --accent-dark: #9E7D3B;    /* Dark Gold */
    --bg-cream: #FDFBF7;       /* Warm Sand/Cream */
    --bg-white: #FFFFFF;
    --text-dark: #2A2421;      /* Charcoal/Espresso */
    --text-muted: #6B5E59;     /* Medium Brown/Slate */
    --shadow-soft: 0 15px 35px rgba(77, 14, 16, 0.04);
    --shadow-gold: 0 15px 40px rgba(197, 160, 89, 0.18);
    --shadow-dark: 0 25px 50px rgba(0, 0, 0, 0.18);
    --border-gold: 1px solid rgba(197, 160, 89, 0.35);
    --border-gold-light: 1px solid rgba(234, 216, 177, 0.45);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --transition-smooth: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-medium: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.3s ease;
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-cream);
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* CANVAS GOLD PARTICLES */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2;
    pointer-events: none;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--primary-dark);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.text-center {
    text-align: center;
}

/* LAYAR SAMPUL (WELCOME SCREEN) */
.welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0b0713; /* Fallback warna gelap */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: transform 1.5s cubic-bezier(0.85, 0, 0.15, 1), opacity 1.5s ease;
}

.welcome-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/welcome-bg.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(4px) brightness(0.48); /* Kurangi blur agar wajah lebih kelihatan, dan tingkatkan kecerahan sedikit */
    transform: scale(1.1); /* Skala 1.1x untuk menyembunyikan distorsi blur di ujung bingkai layar */
    z-index: -1;
}

/* Framer motion page transition style */
.welcome-overlay.opened {
    transform: translateY(-100vh) scale(0.93);
    opacity: 0;
    pointer-events: none;
}

/* Ornamen Sampul */
.bg-ornament {
    position: absolute;
    width: 320px;
    height: 320px;
    opacity: 0.18;
    background-image: radial-gradient(var(--accent) 1px, transparent 0);
    background-size: 24px 24px;
    pointer-events: none;
}

.bg-ornament.top-left {
    top: -60px;
    left: -60px;
    border-radius: 50%;
    border: 3px double var(--accent);
}

.bg-ornament.bottom-right {
    bottom: -60px;
    right: -60px;
    border-radius: 50%;
    border: 3px double var(--accent);
}

/* Sulapa Appa Frame (Rhombus with 4 dots representing Bugis philosophy) */
.sulapa-appa-frame {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 35px auto;
    border: 2px solid var(--accent);
    transform: rotate(45deg);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-gold);
    animation: pulse-frame 4s infinite ease-in-out;
}

.sulapa-appa-frame::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px dashed var(--accent);
}

.initials-badge {
    transform: rotate(-45deg);
    font-family: 'Cinzel', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--accent-light);
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(197, 160, 89, 0.4);
}

/* Sulapa Appa Dots */
.sulapa-appa-frame .dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--accent);
    border: 2px solid var(--accent-light);
    border-radius: 50%;
}
.sulapa-appa-frame .dot.top { top: -6px; left: calc(50% - 6px); }
.sulapa-appa-frame .dot.right { right: -6px; top: calc(50% - 6px); }
.sulapa-appa-frame .dot.bottom { bottom: -6px; left: calc(50% - 6px); }
.sulapa-appa-frame .dot.left { left: -6px; top: calc(50% - 6px); }

.welcome-content {
    text-align: center;
    max-width: 500px;
    padding: 25px;
    z-index: 10;
    animation: scale-up-welcome 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.welcome-subtitle {
    font-size: 0.95rem;
    letter-spacing: 5px;
    color: var(--accent-light);
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.welcome-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 35px;
    background: linear-gradient(135deg, #FFEFA6, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.guest-box {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: var(--radius-md);
    padding: 28px 22px;
    margin-bottom: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    position: relative;
    overflow: hidden;
}

.guest-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent);
}

.guest-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.guest-name {
    font-size: 1.7rem;
    color: var(--accent-light);
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.guest-note {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

/* BUTTONS WITH RIPPLE/FLOAT EFFECTS */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--bg-cream);
    border: none;
    border-radius: 30px;
    padding: 15px 38px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(122, 29, 32, 0.25);
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    transition: transform 0.6s ease;
}

.btn-primary:active::before {
    transform: translate(-50%, -50%) scale(1);
    transition: transform 0s;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(122, 29, 32, 0.35);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--primary-dark));
    color: var(--bg-cream);
    border: none;
    border-radius: 30px;
    padding: 13px 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(15, 76, 58, 0.18);
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 22px rgba(15, 76, 58, 0.28);
}

.btn-outline-gold {
    background: transparent;
    color: var(--accent-dark);
    border: 2px solid var(--accent);
    border-radius: 30px;
    padding: 11px 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-gold:hover {
    background: var(--accent);
    color: var(--bg-cream);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
}

.btn-block {
    display: flex;
    width: 100%;
    justify-content: center;
}

/* MAIN CONTENT */
.main-content {
    opacity: 0;
    transition: opacity 1.8s ease;
    position: relative;
    z-index: 3;
}

.main-content.visible {
    opacity: 1;
}

.hidden-scroll {
    overflow: hidden;
    height: 100vh;
}

/* FLOATING DOCK (iOS style navbar) */
.floating-dock {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%) translateY(150px);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: var(--border-gold-light);
    padding: 10px 22px;
    border-radius: 40px;
    display: flex;
    gap: 16px;
    z-index: 999;
    box-shadow: var(--shadow-dark);
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-dock.show {
    transform: translateX(-50%) translateY(0);
}

.dock-item {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    font-size: 1.15rem;
    transition: var(--transition-fast);
    position: relative;
}

.dock-item:hover {
    color: var(--primary);
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.95);
}

.dock-item.active {
    color: var(--bg-cream);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 5px 12px rgba(122, 29, 32, 0.35);
}

/* MUSIC BUTTON */
.music-btn {
    position: fixed;
    top: 25px;
    right: 25px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: var(--border-gold);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.music-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

.music-disk {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--bg-cream);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.95rem;
    animation: spin 4s linear infinite;
    animation-play-state: paused;
}

.music-btn.playing .music-disk {
    animation-play-state: running;
}

/* HERO SECTION */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background: linear-gradient(rgba(15, 76, 58, 0.95), rgba(77, 14, 16, 0.95)), url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--bg-cream);
    overflow: hidden;
}

/* Lipa' Sabbe Pattern Overlay */
.pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-color: var(--accent);
    background-image: 
        linear-gradient(45deg, var(--bg-cream) 25%, transparent 25%), 
        linear-gradient(-45deg, var(--bg-cream) 25%, transparent 25%), 
        linear-gradient(45deg, transparent 75%, var(--bg-cream) 75%), 
        linear-gradient(-45deg, transparent 75%, var(--bg-cream) 75%);
    background-size: 40px 40px;
    background-position: 0 0, 0 20px, 20px -20px, -20px 0;
    pointer-events: none;
}

.hero-section .section-content {
    max-width: 800px;
    z-index: 10;
}

.hero-quote {
    font-size: 1.05rem;
    font-style: italic;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 15px auto;
    letter-spacing: 0.5px;
    line-height: 1.8;
}

.hero-quote-ref {
    font-size: 0.85rem;
    color: var(--accent-light);
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.gold-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.gold-separator::before,
.gold-separator::after {
    content: '';
    width: 90px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
}

.diamond-shape {
    width: 10px;
    height: 10px;
    background-color: var(--accent);
    transform: rotate(45deg);
    margin: 0 15px;
}

.hero-title {
    font-size: 1.5rem;
    color: var(--accent-light);
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hero-couple-names {
    font-family: 'Great Vibes', cursive;
    font-size: 4.8rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to bottom, #FFEFA6, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.hero-date {
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--bg-cream);
    margin-bottom: 40px;
}

/* COUNTDOWN TIMER */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-md);
    width: 90px;
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    transition: var(--transition-medium);
}

.countdown-item:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: var(--shadow-gold);
}

.time-num {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-light);
}

.time-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.7);
    margin-top: 5px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.7);
    z-index: 10;
}

/* SECTIONS COMMONS */
section {
    padding: 100px 20px;
    position: relative;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 70px auto;
}

.decor-sub {
    font-family: 'Great Vibes', cursive;
    font-size: 2.4rem;
    color: var(--accent-dark);
    display: block;
    margin-bottom: 5px;
}

.section-title {
    font-size: 2.3rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 2px;
    background-color: var(--accent);
    margin: 18px auto 0 auto;
}

.section-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* COUPLE SECTION */
.couple-section {
    background-color: var(--bg-cream);
}

.couple-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.couple-card {
    background: var(--bg-white);
    border: var(--border-gold-light);
    border-radius: var(--radius-lg);
    padding: 55px 35px 45px 35px;
    flex: 1;
    max-width: 400px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.couple-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: var(--shadow-gold);
    border-color: var(--accent);
}

.avatar-wrapper {
    position: relative;
    width: 190px;
    height: 190px;
    margin: 0 auto 35px auto;
}

.avatar-ring {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 202px;
    height: 202px;
    border-radius: 50%;
    border: 2px solid var(--accent-light);
    transition: var(--transition-smooth);
}

.couple-card:hover .avatar-ring {
    border-color: var(--primary);
    transform: scale(1.06) rotate(180deg); /* Beautiful rotate transition */
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--bg-white);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.couple-name {
    font-size: 1.45rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.couple-parent {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.8;
}

.couple-parent strong {
    color: var(--text-dark);
}

.couple-card .social-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
    border: 1px solid rgba(0,0,0,0.08);
    padding: 8px 18px;
    border-radius: 20px;
}

.couple-card .social-links a:hover {
    color: var(--primary);
    border-color: var(--primary);
    background-color: rgba(122, 29, 32, 0.04);
}

.couple-ampersand {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
}

.ampersand {
    font-family: 'Great Vibes', cursive;
    font-size: 5.5rem;
    color: var(--accent);
}

/* STORY SECTION */
.story-section {
    background-color: var(--bg-white);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--accent-light);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 20px 35px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    width: 46px;
    height: 46px;
    right: -23px;
    top: 30px;
    background-color: var(--bg-cream);
    border: 2px solid var(--accent);
    border-radius: 50%;
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-fast);
}

.timeline-item:hover .timeline-dot {
    background-color: var(--primary);
    color: var(--bg-cream);
    transform: scale(1.15) rotate(360deg);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -23px;
}

.timeline-content {
    padding: 30px;
    background-color: var(--bg-cream);
    border: var(--border-gold-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-content {
    box-shadow: var(--shadow-gold);
    border-color: var(--accent);
    transform: scale(1.02);
}

.timeline-date {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-dark);
    display: block;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.timeline-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* EVENTS SECTION */
.events-section {
    background-color: var(--bg-cream);
    position: relative;
}

.events-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.event-card {
    background-color: var(--bg-white);
    border: var(--border-gold-light);
    border-radius: var(--radius-lg);
    padding: 45px 32px;
    width: calc(33.333% - 20px);
    min-width: 300px;
    max-width: 350px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-gold);
    border-color: var(--accent);
}

.highlight-card {
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-gold);
}

.highlight-card::before {
    content: 'UTAMA';
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--accent);
    color: var(--bg-cream);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 30px;
    transform: rotate(45deg);
    letter-spacing: 1px;
}

.event-icon-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(122, 29, 32, 0.05);
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.45rem;
    margin: 0 auto 25px auto;
    border: 1px dashed var(--primary);
    transition: var(--transition-fast);
}

.event-card:hover .event-icon-badge {
    transform: scale(1.1);
    background-color: rgba(122, 29, 32, 0.1);
}

.event-icon-badge.gold {
    background-color: rgba(197, 160, 89, 0.1);
    color: var(--accent-dark);
    border-color: var(--accent);
}

.event-title {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.event-traditional-note {
    font-size: 0.8rem;
    font-style: italic;
    color: var(--secondary);
    margin-bottom: 20px;
}

.card-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent-light), transparent);
    margin-bottom: 20px;
}

.event-info {
    text-align: left;
    margin-bottom: 25px;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.info-row i {
    color: var(--accent);
    margin-top: 4px;
    width: 16px;
    text-align: center;
}

.info-row.mb-grow {
    margin-bottom: 20px;
}

.event-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* MAP CONTAINER */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: var(--border-gold);
    box-shadow: var(--shadow-soft);
    margin-top: 30px;
}

/* GALLERY SECTION */
.gallery-section {
    background-color: var(--bg-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: var(--border-gold-light);
    aspect-ratio: 4/5;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: var(--shadow-gold);
    border-color: var(--accent);
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(77, 14, 16, 0.45);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--bg-cream);
    font-size: 1.8rem;
    transform: scale(0.7);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1.1);
}

/* LIGHTBOX MODAL */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: var(--radius-sm);
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-dark);
    animation: zoom-lightbox 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover {
    color: var(--accent);
}

/* RSVP & WISHES SECTION */
.wishes-section {
    background-color: var(--bg-cream);
}

.wishes-layout {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    align-items: flex-start;
}

.rsvp-card,
.wishes-card {
    background-color: var(--bg-white);
    border: var(--border-gold-light);
    border-radius: var(--radius-lg);
    padding: 45px 35px;
    flex: 1;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.rsvp-card:hover,
.wishes-card:hover {
    box-shadow: var(--shadow-gold);
}

.card-subtitle {
    font-size: 1.25rem;
    margin-bottom: 25px;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-subtitle i {
    color: var(--accent);
}

/* FORM STYLING */
.rsvp-form .form-group {
    margin-bottom: 20px;
}

.rsvp-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
    width: 100%;
    padding: 13px 18px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-md);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    background-color: var(--bg-cream);
    transition: var(--transition-fast);
}

.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.18);
}

/* WISHES WALL */
.wishes-container {
    max-height: 480px;
    overflow-y: auto;
    padding-right: 10px;
}

.wishes-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.wishes-empty-state i {
    font-size: 2.8rem;
    color: var(--accent-light);
    margin-bottom: 15px;
}

.wishes-empty-state p {
    font-size: 0.9rem;
}

.wishes-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wish-item {
    background-color: var(--bg-cream);
    border: var(--border-gold-light);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    animation: fade-in-wish 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.wish-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.wish-name {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.wish-status {
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.wish-status.hadir {
    background-color: rgba(15, 76, 58, 0.1);
    color: var(--secondary);
}

.wish-status.tidak-hadir {
    background-color: rgba(122, 29, 32, 0.1);
    color: var(--primary);
}

.wish-status.tentatif {
    background-color: rgba(197, 160, 89, 0.15);
    color: var(--accent-dark);
}

.wish-content {
    font-size: 0.88rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    word-break: break-word;
}

.wish-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: right;
    display: block;
}

/* GIFT SECTION (AMPLOP DIGITAL) */
.gift-section {
    background-color: var(--bg-white);
}

.gift-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.gift-card {
    background-color: var(--bg-cream);
    border: var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    width: calc(50% - 15px);
    max-width: 380px;
    min-width: 280px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.gift-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-gold);
}

.bank-logo {
    margin-bottom: 15px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bank-name {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 2px;
    color: var(--primary-dark);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 5px;
}

.account-holder {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.account-number-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: var(--bg-white);
    border: var(--border-gold-light);
    border-radius: var(--radius-md);
    padding: 10px 18px;
}

.account-number {
    font-family: monospace;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.btn-copy {
    background-color: rgba(197, 160, 89, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent-dark);
    padding: 5px 14px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.8rem;
    font-family: inherit;
    font-weight: 500;
    transition: var(--transition-fast);
}

.btn-copy:hover {
    background-color: var(--accent);
    color: var(--bg-cream);
}

.gift-shipping {
    background-color: var(--bg-cream);
    border: var(--border-gold-light);
    border-radius: var(--radius-lg);
    padding: 45px;
    max-width: 600px;
    margin: 40px auto 0 auto;
    box-shadow: var(--shadow-soft);
}

.shipping-icon {
    font-size: 2.4rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.gift-shipping h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.shipping-address {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* FOOTER SECTION */
.footer-section {
    background: linear-gradient(rgba(15, 76, 58, 0.97), rgba(77, 14, 16, 0.97)), url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--bg-cream);
    padding: 90px 20px 70px 20px;
    position: relative;
    border-top: 4px solid var(--accent);
}

.footer-badge {
    width: 60px;
    height: 60px;
    border: 2px solid var(--accent);
    transform: rotate(45deg);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 30px auto;
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-light);
}

.footer-title {
    font-family: 'Great Vibes', cursive;
    font-size: 3.2rem;
    font-weight: 400;
    color: var(--accent-light);
    margin-bottom: 25px;
}

.footer-thanks {
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto 35px auto;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.traditional-motto {
    margin-bottom: 45px;
}

.motto-bugis {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    color: var(--accent-light);
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-weight: 600;
}

.motto-meaning {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    font-style: italic;
}

.footer-line {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(197, 160, 89, 0.3), transparent);
    margin-bottom: 30px;
}

.footer-copyright {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.5px;
}

/* TOAST NOTIFICATION */
.toast {
    position: fixed;
    bottom: 95px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    background-color: var(--secondary);
    color: var(--bg-cream);
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-dark);
    opacity: 0;
    pointer-events: none;
    z-index: 10001;
    transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
}

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

/* --- ANIMASI TRANSISI FRAMER MOTION LOOK-ALIKE --- */
/* Keadaan Reveal Awal */
.reveal {
    opacity: 0;
    transform: translateY(60px) scale(0.97);
    transition: var(--transition-smooth);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Slide Arah Tertentu */
.reveal-left {
    transform: translateX(-80px) translateY(0);
}
.reveal-right {
    transform: translateX(80px) translateY(0);
}

.reveal-left.revealed,
.reveal-right.revealed {
    transform: translateX(0) translateY(0);
}

/* Animasi Kustom Keyframes */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse-frame {
    0%, 100% { transform: rotate(45deg) scale(1); border-color: var(--accent); }
    50% { transform: rotate(45deg) scale(1.04); border-color: var(--primary); }
}

@keyframes scale-up-welcome {
    0% { opacity: 0; transform: scale(0.88); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes zoom-lightbox {
    0% { transform: scale(0.75); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes fade-in-wish {
    0% { opacity: 0; transform: translateY(25px); }
    100% { opacity: 1; transform: translateY(0); }
}

.text-bounce {
    animation: text-float 4s ease-in-out infinite alternate;
}

@keyframes text-float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

.bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* TEXT SPLIT SLIDE UP ANIMATION (PREMIUM) */
.text-split-in span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: slide-up-char 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    color: #FFEFA6 !important; /* Gold terang solid agar terbaca jelas */
    -webkit-text-fill-color: #FFEFA6 !important; /* Override pewarnaan transparent */
    text-shadow: 0 2px 12px rgba(197, 160, 89, 0.8); /* Glow gold yang mewah */
}

@keyframes slide-up-char {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE DESIGN (MEDIA QUERIES) */
@media screen and (max-width: 900px) {
    .timeline::after {
        left: 31px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
    }
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
    }
    .timeline-dot {
        left: 8px !important;
        right: auto !important;
    }
    .couple-grid {
        flex-direction: column;
        gap: 20px;
    }
    .couple-ampersand {
        transform: rotate(90deg);
        margin: -10px 0;
    }
    .wishes-layout {
        flex-direction: column;
    }
    .rsvp-card, .wishes-card {
        width: 100%;
    }
    .event-card {
        width: 100%;
        max-width: 450px;
    }
}

@media screen and (max-width: 600px) {
    .welcome-title {
        font-size: 2.4rem;
    }
    .hero-couple-names {
        font-size: 3.4rem;
    }
    .countdown-container {
        gap: 8px;
    }
    .countdown-item {
        width: 72px;
        padding: 12px 0;
    }
    .time-num {
        font-size: 1.5rem;
    }
    .floating-dock {
        width: 92%;
        padding: 8px 14px;
        gap: 10px;
        bottom: 15px;
        justify-content: space-around;
    }
    .dock-item {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}
