/* Color Palette */
:root {
    --bg-color: #fffbfa;      /* Very soft warm white/cream */
    --primary: #f8c8dc;       /* Soft pink */
    --secondary: #e6e6fa;     /* Lavender */
    --accent: #ffb7b2;        /* Soft peach/coral */
    --text-main: #5c4033;     /* Warm dark brown */
    --text-light: #8b6b61;
    --white: #ffffff;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, var(--bg-color) 0%, #fff0f5 100%);
    color: var(--text-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
}

/* Typography elements */
h1, h2, .caption {
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
}

h1 {
    font-size: 4rem;
    color: #e887a4; /* Deeper pink for contrast */
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.05);
}

h2 {
    font-size: 3rem;
    color: #db7093;
    text-align: center;
    margin-bottom: 2rem;
}

p {
    line-height: 1.8;
    font-size: 1.2rem;
}

/* Sections */
section {
    min-height: 100vh;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* Hero Section */
#hero {
    text-align: center;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.scroll-indicator {
    margin-top: 3rem;
    font-size: 2rem;
    color: var(--accent);
    animation: bounce 2s infinite;
}

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

/* Gallery Section */
.gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    max-width: 1000px;
}

.polaroid {
    background: var(--white);
    padding: 15px 15px 50px 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-radius: 4px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    width: 280px;
    position: relative;
    cursor: pointer;
}

.polaroid img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 2px;
}

.polaroid .caption {
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 1.8rem;
    color: var(--text-light);
}

.polaroid:hover {
    transform: scale(1.05) rotate(0deg) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    z-index: 20;
}

.tilt-left { transform: rotate(-3deg); }
.tilt-right { transform: rotate(4deg); }
.tilt-more { transform: rotate(-5deg); }

/* Message Section */
.message-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(248, 200, 220, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    max-width: 700px;
    text-align: center;
}

.message-card p {
    font-size: 1.3rem;
    color: var(--text-main);
}

/* Reasons Section */
.reasons-list {
    list-style: none;
    max-width: 500px;
    width: 100%;
}

.reasons-list li {
    background: var(--white);
    margin-bottom: 1rem;
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateX(-20px);
    opacity: 0;
    transition: all 0.6s ease;
}

.reasons-list li span {
    font-size: 1.5rem;
}

.reasons-list.visible li {
    transform: translateX(0);
    opacity: 1;
}

.reasons-list.visible li:nth-child(1) { transition-delay: 0.1s; }
.reasons-list.visible li:nth-child(2) { transition-delay: 0.2s; }
.reasons-list.visible li:nth-child(3) { transition-delay: 0.3s; }
.reasons-list.visible li:nth-child(4) { transition-delay: 0.4s; }
.reasons-list.visible li:nth-child(5) { transition-delay: 0.5s; }

.reasons-list li:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(248, 200, 220, 0.4);
}

/* Final Section */
#final {
    text-align: center;
    background: linear-gradient(to top, var(--primary) 0%, transparent 100%);
}

.final-message h2 {
    font-size: 3.5rem;
    color: var(--white);
    text-shadow: 1px 1px 10px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.heart-animation {
    font-size: 5rem;
    animation: heartbeat 1.5s infinite;
    display: inline-block;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.3); }
    30% { transform: scale(1); }
    45% { transform: scale(1.3); }
    60% { transform: scale(1); }
}

/* Fade In Animations on Scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

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

/* Particles / Background Effects */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(255, 183, 178, 0.6);
    border-radius: 50%;
    animation: float-up infinite linear;
}

.particle.heart {
    background: none !important;
}

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

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }
    .subtitle { font-size: 1.2rem; }
    .gallery-container { flex-direction: column; align-items: center; }
    .polaroid { width: 90%; max-width: 320px; }
    .message-card { padding: 2rem; margin: 0 1rem; }
    .final-message h2 { font-size: 2.5rem; padding: 0 1rem; }
}
