:root {
    --primary: #FFD700; /* Golden Yellow */
    --secondary: #FDB813; /* Sun Yellow */
    --bg: #FDFBF0; /* Creamy White */
    --text: #4A4A4A; /* Dark Grey */
    --accent: #556B2F; /* Olive Green for stems/leaves */
    --white: #FFFFFF;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Lato', sans-serif;
    --transition: all 0.6s ease-out;
}

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

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

h1, h2, h3, .subtitle, .footer-name {
    font-family: var(--font-heading);
    color: var(--text);
}

.section-padding {
    padding: 4rem 1.5rem;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at center, #fff 0%, var(--bg) 70%);
    overflow: hidden; /* Ensure flowers don't cause scroll */
}

.hero-flower {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.6;
    z-index: 0;
    animation: floatAround 6s ease-in-out infinite;
}

.f1 { top: 15%; left: 10%; animation-delay: 0s; font-size: 2rem; }
.f2 { top: 20%; right: 15%; animation-delay: 1s; font-size: 1.2rem; }
.f3 { bottom: 25%; left: 20%; animation-delay: 2s; font-size: 1.8rem; }
.f4 { bottom: 30%; right: 10%; animation-delay: 3s; font-size: 1.4rem; }
.f5 { top: 50%; left: 5%; animation-delay: 1.5s; font-size: 1rem; }

@keyframes floatAround {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -15px) rotate(5deg); }
    50% { transform: translate(-5px, 10px) rotate(-5deg); }
    75% { transform: translate(-10px, -5px) rotate(2deg); }
}

.subtitle {
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.title {
    font-size: 4rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.05);
}

.age {
    font-size: 3rem;
    color: var(--secondary);
    font-weight: 700;
    margin: 1rem 0;
    position: relative;
    display: inline-block;
}

.age::before, .age::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background-color: var(--secondary);
}

.age::before { right: 100%; margin-right: 15px; }
.age::after { left: 100%; margin-left: 15px; }

.hero-text {
    font-size: 1.1rem;
    max-width: 300px;
    margin: 0 auto 3rem;
    color: #666;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.6;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 1.5rem;
    color: var(--secondary);
}

.scroll-indicator p {
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* --- Intro Section --- */
.flower-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.highlight-text {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--secondary);
    margin-top: 2rem;
    display: block;
}

/* --- Timeline Section --- */
.timeline-wrapper {
    margin-top: 3rem;
    position: relative;
    padding: 1rem 0;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: rgba(253, 184, 19, 0.3);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.timeline-content {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    max-width: 300px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.photo-placeholder {
    width: 100%;
    height: 200px;
    background-color: #f0f0f0;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #aaa;
    border: 2px dashed #ddd;
}

.photo-placeholder i {
    font-size: 2rem;
    margin-top: 0.5rem;
}


.month {
    color: var(--secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.timeline-photo {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.timeline-photo:hover {
    transform: scale(1.02);
}


/* --- Message Section --- */
.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.signature {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-top: 2rem;
    color: var(--secondary);
}

/* --- Footer --- */
footer {
    padding: 4rem 1rem;
    text-align: center;
    background-color: #fff;
}

.hearts {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-name {
    font-size: 2rem;
    color: var(--secondary);
}

.small {
    font-size: 0.9rem;
    color: #888;
}
.tiny {
    font-size: 0.7rem;
    color: #ccc;
}

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

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Scroll Reveal Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.5s forwards;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Particles */
.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: var(--secondary);
    border-radius: 50%;
    opacity: 0.3;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.5; }
    90% { opacity: 0.5; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

/* --- Media Queries --- */
@media (max-width: 480px) {
    .title { font-size: 3rem; }
    .age { font-size: 2.5rem; }
    .hero-text { font-size: 1rem; }
    .card { padding: 1.5rem; }
}
