/* ===== VARIABLES ===== */
:root {
    /* Soft Color Palette */
    --bg-primary: #FFFCF8;
    --bg-secondary: #F8F4EF;
    --bg-light: #FFFFFF;
    
    /* Text Colors */
    --text-dark: #3D3B37;
    --text-medium: #6B675F;
    --text-light: #9C988F;
    
    /* Accent Colors - Soft Romantic */
    --accent-primary: #E8B4B8; /* Soft Pink */
    --accent-secondary: #A8B8A8; /* Sage Green */
    --accent-soft: #D4B8A8; /* Beige Pink */
    --accent-floral: #C9A8B8; /* Lavender Pink */
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-subheading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    
    /* Effects */
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --border-radius-sm: 6px;
}

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

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

body {
    font-family: var(--font-body);
    color: var(--text-medium);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

section {
    padding: var(--space-xl) 0;
    position: relative;
}

/* ===== FLORAL BACKGROUND ELEMENTS ===== */
.floral-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(232, 180, 184, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(168, 184, 168, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(212, 184, 168, 0.02) 0%, transparent 30%);
    pointer-events: none;
    z-index: -1;
}

.floral-element {
    position: fixed;
    color: rgba(232, 180, 184, 0.15);
    font-size: 2rem;
    z-index: -1;
    pointer-events: none;
    animation: float 20s infinite linear;
}

.floral-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floral-2 {
    top: 20%;
    right: 10%;
    animation-delay: -5s;
}

.floral-3 {
    bottom: 30%;
    left: 15%;
    animation-delay: -10s;
}

.floral-4 {
    bottom: 20%;
    right: 5%;
    animation-delay: -15s;
}

.floral-5 {
    top: 60%;
    left: 90%;
    animation-delay: -7s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(20px) rotate(240deg);
    }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

p {
    margin-bottom: var(--space-sm);
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (min-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    p { font-size: 1rem; }
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

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

.logo-loader {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.logo-j {
    color: var(--accent-primary);
    font-weight: 700;
}

.logo-s {
    color: var(--accent-secondary);
    font-weight: 700;
}

.loader-text {
    color: var(--text-light);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-j {
    color: var(--accent-primary);
}

.logo-s {
    color: var(--accent-secondary);
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
}

.nav-link {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-primary);
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 22px;
    position: relative;
}

.menu-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.menu-line:nth-child(1) { top: 0; }
.menu-line:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-line:nth-child(3) { bottom: 0; }

.menu-toggle.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23e8b4b8' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.6;
    z-index: 1;
}

.floral-hero {
    position: absolute;
    color: rgba(232, 180, 184, 0.2);
    font-size: 3rem;
    z-index: 2;
    pointer-events: none;
    animation: float-hero 15s infinite ease-in-out;
}

.floral-hero-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floral-hero-2 {
    top: 60%;
    right: 15%;
    animation-delay: -3s;
}

.floral-hero-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: -6s;
}

@keyframes float-hero {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    50% {
        transform: translateY(-30px) rotate(180deg) scale(1.1);
    }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.hero-logo {
    font-family: var(--font-heading);
    font-size: 4rem;
    margin-bottom: var(--space-sm);
    letter-spacing: 2px;
}

.hero-title {
    font-family: var(--font-subheading);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
    line-height: 1.4;
    letter-spacing: 1px;
}

.name-jul {
    color: var(--accent-primary);
    font-weight: 600;
}

.name-amp {
    color: var(--text-medium);
    margin: 0 0.5rem;
}

.name-safira {
    color: var(--accent-secondary);
    font-weight: 600;
}

.hero-quote {
    font-size: 1.1rem;
    color: var(--text-medium);
    font-style: italic;
    margin-bottom: var(--space-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    padding: 0 var(--space-md);
}

.days-counter {
    margin-bottom: var(--space-md);
}

.counter-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
    margin-bottom: var(--space-xs);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.counter-label {
    font-size: 0.8rem;
    color: var(--text-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
}

.hero-date {
    color: var(--accent-secondary);
    font-size: 0.95rem;
    margin-bottom: var(--space-lg);
    font-weight: 400;
}

.btn-explore {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.875rem 2rem;
    border: 1px solid var(--accent-primary);
    border-radius: 50px;
    transition: var(--transition);
    background: transparent;
    font-size: 0.9rem;
}

.btn-explore:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--text-light);
    border-radius: 12px;
    position: relative;
    margin: 0 auto;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
    position: relative;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--accent-primary);
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-medium);
    max-width: 500px;
    margin: 0 auto;
    font-weight: 400;
}

/* ===== SECTION FLORAL ELEMENTS ===== */
.floral-story,
.floral-moments,
.floral-gallery,
.floral-timeline,
.floral-footer {
    position: absolute;
    color: rgba(232, 180, 184, 0.15);
    font-size: 2rem;
    z-index: 1;
    pointer-events: none;
    animation: float-section 20s infinite linear;
}

.floral-story-1 { top: 10%; left: 5%; }
.floral-story-2 { bottom: 10%; right: 5%; }
.floral-moments-1 { top: 20%; right: 10%; }
.floral-moments-2 { bottom: 20%; left: 10%; }
.floral-gallery-1 { top: 15%; left: 10%; }
.floral-gallery-2 { bottom: 15%; right: 10%; }
.floral-timeline-1 { top: 10%; right: 5%; }
.floral-timeline-2 { bottom: 10%; left: 5%; }
.floral-footer-1 { top: 20%; left: 10%; }
.floral-footer-2 { bottom: 20%; right: 10%; }

@keyframes float-section {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-15px) rotate(120deg);
    }
    66% {
        transform: translateY(15px) rotate(240deg);
    }
}

/* ===== STORY SECTION ===== */
.story {
    background: var(--bg-light);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.story-text {
    order: 2;
}

.story-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
}

.story-text p {
    margin-bottom: var(--space-md);
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.7;
}

.story-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
    text-align: center;
}

.stat-item {
    padding: var(--space-md);
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid rgba(232, 180, 184, 0.1);
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(232, 180, 184, 0.3);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.story-image {
    order: 1;
}

.image-frame {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 8px solid white;
    position: relative;
}

.image-frame:before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(232, 180, 184, 0.2);
    border-radius: var(--border-radius);
    z-index: -1;
}

.story-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
    display: block;
}

.story-image:hover img {
    transform: scale(1.03);
}

/* ===== MOMENTS SECTION ===== */
.moments {
    background: var(--bg-primary);
}

.moments-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.moment-card {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(232, 180, 184, 0.1);
    position: relative;
}

.moment-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(232, 180, 184, 0.3);
}

.moment-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.moment-floral {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    background: rgba(232, 180, 184, 0.8);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    z-index: 2;
}

.moment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.moment-card:hover .moment-image img {
    transform: scale(1.05);
}

.moment-content {
    padding: var(--space-md);
}

.moment-date {
    font-size: 0.8rem;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.moment-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: var(--space-xs);
}

.moment-desc {
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== GALLERY SECTION ===== */
.gallery {
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.gallery-item {
    height: 250px;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(232, 180, 184, 0.1);
}

.gallery-floral {
    position: absolute;
    top: 15px;
    left: 15px;
    color: white;
    background: rgba(168, 184, 168, 0.8);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    z-index: 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: var(--space-md);
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-caption {
    color: white;
    font-family: var(--font-heading);
    font-size: 1rem;
    transform: translateY(10px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* ===== TIMELINE SECTION - DIPERBAIKI ===== */
.timeline-section {
    background: var(--bg-primary);
    padding: var(--space-lg) 0;
}

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

/* Garis timeline di tengah (desktop) */
.timeline-container:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-primary);
    opacity: 0.3;
    transform: translateX(-50%);
}

/* Wrapper untuk konten timeline */
.timeline-content-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.timeline-item:last-child .timeline-content-wrapper {
    margin-bottom: 0;
}

/* Dot timeline */
.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--bg-light);
    border: 4px solid var(--accent-primary);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(232, 180, 184, 0.1);
}

/* Tanggal untuk desktop */
.timeline-date-desktop {
    position: absolute;
    top: 0;
    width: 45%;
    font-size: 0.9rem;
    color: var(--accent-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: right;
    padding-right: 30px;
    display: none;
}

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

.timeline-item:nth-child(odd) .timeline-date-desktop {
    right: 0;
    text-align: left;
    padding-right: 0;
    padding-left: 30px;
}

/* Tanggal untuk mobile */
.timeline-date-mobile {
    display: block;
    font-size: 0.85rem;
    color: var(--accent-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-align: center;
}

/* Konten timeline */
.timeline-content {
    background: var(--bg-light);
    padding: var(--space-md);
    border-radius: var(--border-radius);
    border: 1px solid rgba(232, 180, 184, 0.1);
    box-shadow: var(--shadow-sm);
    position: relative;
    width: 90%;
    margin: 0 auto;
    max-width: 400px;
}

.timeline-floral {
    position: absolute;
    top: -12px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
    color: white;
    background: var(--accent-primary);
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: var(--space-xs);
    font-weight: 600;
}

.timeline-desc {
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-secondary);
    padding: var(--space-xl) 0 var(--space-lg);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.footer-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.footer-quote {
    font-family: var(--font-subheading);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-medium);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
    padding: 0 var(--space-md);
}

.footer-date {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.footer-date span {
    color: var(--accent-primary);
    font-weight: 600;
}

.footer-copyright {
    color: var(--text-light);
    font-size: 0.85rem;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-copyright p {
    margin-bottom: var(--space-xs);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: var(--space-md);
    right: var(--space-md);
    width: 44px;
    height: 44px;
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Small Mobile (max 359px) */
@media (max-width: 359px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    .hero-logo {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 1.1rem;
    }
    
    .counter-number {
        font-size: 2.5rem;
    }
    
    section {
        padding: var(--space-lg) 0;
    }
    
    .story-stats {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
}

/* Mobile (360px - 479px) */
@media (min-width: 360px) and (max-width: 479px) {
    .hero-logo {
        font-size: 3rem;
    }
    
    .hero-title {
        font-size: 1.2rem;
    }
    
    .counter-number {
        font-size: 3rem;
    }
}

/* Mobile (480px - 639px) */
@media (min-width: 480px) and (max-width: 639px) {
    .moments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .story-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet (640px - 767px) */
@media (min-width: 640px) and (max-width: 767px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .counter-number {
        font-size: 4rem;
    }
    
    .moments-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .story-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .story-text {
        order: 1;
    }
    
    .story-image {
        order: 2;
    }
}

/* ===== MOBILE TIMELINE (767px kebawah) ===== */
@media (max-width: 767px) {
    .timeline-container:before {
        left: 25px;
        transform: none;
    }
    
    .timeline-content-wrapper {
        padding-left: 50px;
        margin-bottom: 30px;
        display: block;
    }
    
    .timeline-dot {
        left: 25px;
        transform: translateX(-50%);
        width: 14px;
        height: 14px;
        border-width: 3px;
    }
    
    .timeline-date-desktop {
        display: none;
    }
    
    .timeline-date-mobile {
        text-align: left;
        margin-bottom: 10px;
        font-size: 0.8rem;
    }
    
    .timeline-content {
        width: 100%;
        margin: 0;
        padding: var(--space-sm);
    }
    
    .timeline-content:before {
        content: '';
        position: absolute;
        left: -10px;
        top: 15px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 8px 10px 8px 0;
        border-color: transparent var(--bg-light) transparent transparent;
    }
    
    .timeline-floral {
        display: none;
    }
    
    .timeline-title {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    
    .timeline-desc {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    /* Mobile Menu Styles */
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 1000;
        padding: var(--space-xl) 0;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }
    
    .container {
        padding: 0 var(--space-sm);
    }
    
    section {
        padding: var(--space-lg) 0;
    }
    
    .hero {
        padding: var(--space-lg) 0;
    }
    
    .hero-content {
        padding: 0 var(--space-sm);
    }
    
    .hero-quote {
        font-size: 1rem;
        margin-bottom: var(--space-md);
        padding: 0 var(--space-sm);
    }
    
    .back-to-top {
        bottom: var(--space-sm);
        right: var(--space-sm);
        width: 40px;
        height: 40px;
    }
    
    .story-image img {
        height: 250px;
    }
    
    .moment-image {
        height: 180px;
    }
    
    /* Hide some floral elements on mobile for better performance */
    .floral-element,
    .floral-hero,
    .floral-story,
    .floral-moments,
    .floral-gallery,
    .floral-timeline,
    .floral-footer {
        display: none;
    }
}

/* ===== TABLET LANDSCAPE (768px - 1023px) ===== */
@media (min-width: 768px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-logo {
        font-size: 5rem;
    }
    
    .counter-number {
        font-size: 5rem;
    }
    
    .story-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }
    
    .story-image img {
        height: 400px;
    }
    
    .moments-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .nav-links {
        display: flex !important;
    }
    
    .menu-toggle {
        display: none;
    }
    
    /* Timeline Desktop */
    .timeline-date-mobile {
        display: none;
    }
    
    .timeline-date-desktop {
        display: block;
    }
    
    .timeline-content {
        width: 45%;
        margin: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-content {
        margin-left: auto;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        margin-right: auto;
    }
    
    .timeline-item:nth-child(odd) .timeline-floral {
        left: -15px;
        right: auto;
    }
    
    .timeline-item:nth-child(even) .timeline-floral {
        right: -15px;
        left: auto;
        background: var(--accent-secondary);
    }
    
    .timeline-content:before {
        content: '';
        position: absolute;
        top: 20px;
        width: 0;
        height: 0;
        border-style: solid;
    }
    
    .timeline-item:nth-child(odd) .timeline-content:before {
        left: -10px;
        border-width: 8px 10px 8px 0;
        border-color: transparent var(--bg-light) transparent transparent;
    }
    
    .timeline-item:nth-child(even) .timeline-content:before {
        right: -10px;
        border-width: 8px 0 8px 10px;
        border-color: transparent transparent transparent var(--bg-light);
    }
}

/* ===== TABLET TIMELINE (768px - 1023px) ===== */
@media (min-width: 768px) and (max-width: 1023px) {
    .timeline-content {
        padding: var(--space-sm);
    }
    
    .timeline-title {
        font-size: 1rem;
    }
    
    .timeline-desc {
        font-size: 0.9rem;
    }
}

/* ===== DESKTOP (1024px - 1199px) ===== */
@media (min-width: 1024px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-logo {
        font-size: 6rem;
    }
    
    .counter-number {
        font-size: 6rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .story-image img {
        height: 450px;
    }
    
    .moment-image {
        height: 220px;
    }
    
    .gallery-item {
        height: 280px;
    }
    
    .timeline-content {
        padding: var(--space-md);
    }
    
    .timeline-title {
        font-size: 1.2rem;
    }
    
    .timeline-desc {
        font-size: 1rem;
    }
}

/* ===== LARGE DESKTOP (1200px+) ===== */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Untuk layar sangat kecil (max 359px) - Timeline khusus */
@media (max-width: 359px) {
    .timeline-content-wrapper {
        padding-left: 40px;
    }
    
    .timeline-container:before {
        left: 20px;
    }
    
    .timeline-dot {
        left: 20px;
        width: 12px;
        height: 12px;
    }
    
    .timeline-content {
        padding: 12px;
    }
    
    .timeline-content:before {
        left: -8px;
        border-width: 6px 8px 6px 0;
    }
    
    .timeline-date-mobile {
        font-size: 0.75rem;
    }
    
    .timeline-title {
        font-size: 0.95rem;
    }
    
    .timeline-desc {
        font-size: 0.8rem;
    }
}

/* Animasi timeline */
@keyframes timelineFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-item {
    opacity: 0;
    animation: timelineFadeIn 0.6s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }