:root {
    --cream: #FDFBF7;
    --peach-light: #FFF5EB;
    --peach-soft: #FFD1BA;
    --peach-warm: #FFB5A7;
    --brown-text: #4A3628;
    --brown-muted: #7E6551;
    --brown-warm: #A67B5B;
    --brown-dark: #8B5E34;
    --gold-soft: #F2D388;
    --gold-deep: #D4AF37;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Quicksand', sans-serif;
    --font-hand: 'Caveat', cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body, html {
    font-family: var(--font-body);
    line-height: 1.7;
    background-color: var(--cream);
    color: var(--brown-text);
    font-size: 16px;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Background Effects */
.sun-flare {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -2;
    opacity: 0.55;
    animation: floatSun 20s infinite alternate ease-in-out;
}

.flare-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,209,186,0.6), transparent 70%);
    top: -100px; left: -100px;
}
.flare-2 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(242,211,136,0.5), transparent 70%);
    bottom: -150px; right: -150px;
    animation-duration: 25s;
    animation-direction: alternate-reverse;
}

@keyframes floatSun {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, -40px) scale(1.1); }
}

/* Hero Parallax using absolute backlayer */
.hero-parallax {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 110vh;
    background-image: url('https://images.unsplash.com/photo-1499209974431-9dddcece7f88?auto=format&fit=crop&w=1920&q=80'); /* Warm sunset blur/hands holding */
    background-size: cover;
    background-position: center;
    filter: sepia(35%) brightness(0.95);
    z-index: -3;
    animation: slowZoomOut 30s infinite alternate ease-in-out;
    will-change: transform;
}

.parallax-overlay {
    position: absolute; top:0; left:0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(253, 251, 247, 0.65), rgba(255, 245, 235, 0.95));
}

@keyframes slowZoomOut {
    0% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Typography */
h1, h2, h3 { font-family: var(--font-heading); color: var(--brown-text); font-weight: 600; }
.text-center { text-align: center; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 5%; position: relative; z-index: 5; }
.container-sm { max-width: 800px; }
.section { padding: 120px 0; }
.py-b { padding-bottom: 20px; }
.section-title { font-size: 3rem; margin-bottom: 20px; font-style: italic; letter-spacing: 1px; }
.section-desc { font-size: 1.25rem; color: var(--brown-muted); margin-bottom: 50px; max-width: 750px; margin-inline: auto; font-family: var(--font-heading); }

.warm-gold-text {
    background: linear-gradient(120deg, var(--brown-dark), var(--gold-deep), var(--brown-warm));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    text-shadow: 2px 2px 5px rgba(212, 175, 55, 0.2);
}

.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3.5rem; }
.mb-4 { margin-bottom: 2rem; }
.ml-3 { margin-left: 1rem; }
.p-4 { padding: 2.5rem; }

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex; justify-content: center; align-items: center;
    padding: 16px 35px; border-radius: 40px; border: none;
    font-size: 1.1rem; font-family: var(--font-body); font-weight: 600;
    cursor: pointer; transition: all 0.3s ease; text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brown-warm), var(--brown-dark));
    color: #fff;
    box-shadow: 0 5px 15px rgba(166, 123, 91, 0.4);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(166, 123, 91, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.5);
    color: var(--brown-dark);
    border: 1.5px solid var(--brown-warm);
}
.btn-secondary:hover {
    background: rgba(166, 123, 91, 0.15);
}

.glow-button {
    animation: peachGlow 3s infinite alternate;
}

@keyframes peachGlow {
    0% { box-shadow: 0 0 5px rgba(255, 181, 167, 0.5); }
    100% { box-shadow: 0 0 22px rgba(255, 181, 167, 0.9); }
}

/* Music Button */
.music-btn {
    position: fixed; bottom: 30px; right: 30px; width: 55px; height: 55px;
    border-radius: 50%; background: rgba(255,255,255,0.85); color: var(--brown-warm);
    border: 1px solid var(--peach-warm); backdrop-filter: blur(5px);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 100; transition: all 0.3s;
    font-size: 1.25rem;
    box-shadow: 0 5px 15px rgba(166, 123, 91, 0.2);
}
.glow-peach { animation: peachPulse 2.5s infinite; }
@keyframes peachPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 181, 167, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(255, 181, 167, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 181, 167, 0); }
}

/* Hero Section */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    padding-top: 30px;
}
.hero-title { font-size: 5.5rem; line-height: 1.1; margin-bottom: 5px;}
.hero-quote {
    font-size: 1.4rem; font-family: var(--font-heading); font-style: italic; color: var(--brown-text);
    max-width: 800px; margin: 30px auto; line-height: 1.9;
    background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px 50px; border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: 0 15px 35px rgba(166, 123, 91, 0.12);
}

/* Timeline Components */
.timeline-bg { background: linear-gradient(to bottom, transparent, var(--peach-light)); }
.timeline {
    position: relative; max-width: 900px; margin: 0 auto; padding: 40px 0;
}
.timeline::after {
    content: ''; position: absolute; width: 4px; background-color: rgba(255, 181, 167, 0.5); /* soft peach line */
    top: 0; bottom: 0; left: 50%; margin-left: -2px;
    border-radius: 10px;
}
.timeline-item {
    padding: 10px 40px; position: relative; width: 50%;
}
.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }

/* Timeline Dots revealing */
.timeline-item::after {
    content: ''; position: absolute; width: 24px; height: 24px;
    background-color: var(--white); border: 4px solid var(--brown-warm); border-radius: 50%;
    top: 35px; z-index: 1; transition: all 0.3s;
    box-shadow: 0 0 10px rgba(166, 123, 91, 0.3);
}
.timeline-item.left::after { right: -12px; }
.timeline-item.right::after { left: -12px; }
.timeline-item:hover::after { background-color: var(--peach-warm); transform: scale(1.3); }

/* Polaroid Effect */
.polaroid {
    background: #fff; padding: 15px 15px 25px 15px; border-radius: 4px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08); width: 100%; transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s;
    border: 1px solid #f2ece6; position: relative; z-index: 5;
}
.polaroid:hover {
    transform: translateY(-8px) scale(1.03) !important;
    box-shadow: 0 25px 45px rgba(166, 123, 91, 0.2);
    z-index: 10;
}
.timeline-item.left .polaroid { transform: rotate(-2deg); }
.timeline-item.right .polaroid { transform: rotate(2deg); }

.img-wrapper {
    width: 100%; height: 320px; overflow: hidden; background: #ddd; border-radius: 2px;
}
.img-wrapper img {
    width: 100%; height: 100%; object-fit: cover; filter: sepia(30%) brightness(0.95);
    transition: filter 0.6s ease, transform 0.8s ease;
}
.polaroid:hover .img-wrapper img { filter: sepia(5%) brightness(1.05); transform: scale(1.05); }
.polaroid .caption {
    font-family: var(--font-hand); font-size: 1.6rem; color: var(--brown-text); text-align: center;
    margin-top: 15px; line-height: 1.3; font-weight: 500;
}

/* Pengakuan Message Card */
.pengakuan-bg { background-color: var(--peach-light); }
.message-card {
    background: #fff; padding: 50px 70px; border-radius: 15px;
    box-shadow: 0 20px 50px rgba(166, 123, 91, 0.1); position: relative;
    max-width: 850px; margin: 0 auto; border: 1px dashed var(--peach-warm);
}
.message-card p {
    font-size: 1.25rem; line-height: 1.95; color: var(--brown-muted); margin-bottom: 1.5rem;
    font-family: var(--font-heading); font-style: italic; z-index: 2; position: relative;
}
.message-card p:last-of-type { margin-bottom: 0; }
.quote-icon {
    font-size: 4rem; color: var(--peach-warm); opacity: 0.2; position: absolute;
    top: 20px; left: 30px; z-index: 1;
}
.quote-icon.right { top: auto; bottom: 20px; right: 30px; left: auto; }

/* Reasons Grid */
.reasons-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; margin-top: -20px;
}
.reason-card {
    background: rgba(255,255,255,0.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    padding: 50px 30px; border-radius: 15px; border: 1px solid rgba(255, 209, 186, 0.5);
    text-align: center; transition: all 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}
.reason-card:hover { background: #fff; transform: translateY(-12px); box-shadow: 0 20px 40px rgba(166, 123, 91, 0.12); }
.reason-icon {
    width: 80px; height: 80px; margin: 0 auto 25px; border-radius: 50%;
    background: var(--peach-light); border: 2px dashed var(--peach-warm);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: var(--brown-warm); transition: transform 0.4s;
}
.reason-card:hover .reason-icon { transform: rotate(10deg) scale(1.1); }
.reason-card h3 { margin-bottom: 15px; font-size: 1.6rem; font-style: italic; }
.reason-card p { color: var(--brown-muted); font-size: 1.1rem; }

/* Closing Area */
.closing-bg { background: linear-gradient(to top, var(--peach-light) 0%, transparent 100%); padding-bottom: 150px; }
.closing-quote { padding: 40px 50px; font-size: 1.45rem; }

/* Footer Space */
.footer-space { height: 12vh; }

/* Modal Response */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(74, 54, 40, 0.65); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.modal-content { margin: 15vh auto; width: 90%; max-width: 480px; position: relative; animation: modalDrop 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28); }
.close-modal { position: absolute; top: -15px; right: -15px; background: var(--brown-warm); width: 40px; height: 40px; border-radius: 50%; color: #fff; line-height: 40px; text-align: center; font-size: 22px; font-weight: bold; cursor: pointer; box-shadow: 0 5px 15px rgba(0,0,0,0.3); transition: transform 0.3s; }
.close-modal:hover { transform: scale(1.1); }
#modalMessage img { width: 170px; margin-bottom: 20px; border-radius: 12px; }
#modalMessage h3 { font-family: var(--font-hand); font-size: 2.6rem; margin-bottom: 10px; color: var(--brown-text); }
#modalMessage p { font-size: 1.15rem; color: var(--brown-muted); margin-bottom: 10px; }

@keyframes modalDrop { from { transform: translateY(-70px) scale(0.9); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }

/* Media Queries Breakpoints */
@media (max-width: 768px) {
    .container { padding: 0 7%; }
    .hero-title { font-size: 3.8rem; }
    .hero-quote { font-size: 1.2rem; padding: 25px; margin: 20px auto; }
    .section { padding: 80px 0; }
    .section-title { font-size: 2.4rem; }
    .message-card { padding: 35px 25px; }

    /* Timeline Responsive Vertical Line */
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 0; }
    .timeline-item.left, .timeline-item.right { left: 0; }
    .timeline-item.left::after, .timeline-item.right::after { left: 20px; }
    .timeline-item.left .polaroid, .timeline-item.right .polaroid { transform: none; margin-bottom: 30px;}
    .img-wrapper { height: 260px; }
    
    .action-buttons { display: flex; flex-direction: column; gap: 15px; }
    .ml-3 { margin-left: 0; }
}
