/* ===== VARIABLES Y RESET ===== */
:root {
    --pink-soft: #FFB6C1;
    --pink-light: #FFC0CB;
    --pink-pale: #FFD1DC;
    --lavender: #E6E6FA;
    --lilac: #DDA0DD;
    --peach: #FFDAB9;
    --mint: #B2DFDB;
    --sky-blue: #B0E0E6;
    --cream: #FFF8E7;
    --white: #FFFFFF;
    --text-dark: #5D4E60;
    --text-light: #8B7D8B;
    --gradient-romantic: linear-gradient(135deg, #FFB6C1 0%, #DDA0DD 50%, #E6E6FA 100%);
    --gradient-sunset: linear-gradient(135deg, #FFB6C1 0%, #FFDAB9 50%, #E6E6FA 100%);
    --shadow-soft: 0 10px 40px rgba(255, 182, 193, 0.3);
    --shadow-card: 0 8px 32px rgba(221, 160, 221, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(180deg, var(--cream) 0%, #FFF0F5 50%, var(--lavender) 100%);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== CORAZONES FLOTANTES ===== */
.floating-hearts {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.heart {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.4;
    animation: floatHeart 15s infinite ease-in-out;
}

.heart-1 { left: 5%; animation-delay: 0s; animation-duration: 12s; }
.heart-2 { left: 15%; animation-delay: 2s; animation-duration: 14s; }
.heart-3 { left: 25%; animation-delay: 4s; animation-duration: 16s; }
.heart-4 { left: 75%; animation-delay: 1s; animation-duration: 13s; }
.heart-5 { left: 85%; animation-delay: 3s; animation-duration: 15s; }
.heart-6 { left: 45%; animation-delay: 5s; animation-duration: 11s; }
.heart-7 { left: 55%; animation-delay: 6s; animation-duration: 14s; }
.heart-8 { left: 35%; animation-delay: 2.5s; animation-duration: 17s; }

@keyframes floatHeart {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--gradient-romantic);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 40px;
}

.animated-heart {
    font-size: 4rem;
    animation: pulse 1.5s ease-in-out infinite;
    display: inline-block;
}

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

.title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 600;
    color: var(--white);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    animation: fadeInDown 1s ease-out;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.8rem;
    color: var(--white);
    font-weight: 300;
    margin: 20px 0;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.heart-divider {
    margin: 30px 0;
    animation: fadeIn 1s ease-out 0.2s both;
}

.heart-divider span {
    font-size: 2rem;
    animation: spinHeart 4s ease-in-out infinite;
}

@keyframes spinHeart {
    0%, 100% { transform: rotate(-10deg) scale(1); }
    50% { transform: rotate(10deg) scale(1.1); }
}

.date {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 20px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.scroll-indicator {
    margin-top: 60px;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 2rem;
    color: var(--white);
    opacity: 0.8;
}

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

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* ===== SECTION TITLES ===== */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
    position: relative;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: var(--gradient-romantic);
    margin: 15px auto;
    border-radius: 2px;
}

/* ===== TIMELINE ===== */
.story-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--gradient-romantic);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-sunset);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-soft);
    z-index: 1;
    animation: pulseIcon 2s ease-in-out infinite;
}

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

.timeline-content {
    background: var(--cream);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    max-width: 300px;
    margin: 0 30px;
}

.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--pink-soft);
    margin-bottom: 10px;
}

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

/* ===== COUNTER SECTION ===== */
.counter-section {
    padding: 100px 0;
    background: var(--gradient-sunset);
    text-align: center;
}

.counter-section .section-title {
    color: var(--white);
}

.counter-section .section-title::after {
    background: var(--white);
}

.counter-box {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px 0;
}

.counter-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    min-width: 120px;
    transition: transform 0.3s ease;
}

.counter-item:hover {
    transform: translateY(-10px);
}

.counter-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--pink-soft);
    font-weight: 600;
}

.counter-label {
    font-size: 1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.love-message {
    font-size: 1.3rem;
    color: var(--white);
    font-style: italic;
    margin-top: 30px;
}

/* ===== QUOTES SECTION ===== */
.quotes-section {
    padding: 100px 0;
    background: var(--cream);
}

.quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.quote-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.quote-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.quote-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-soft);
}

.quote-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.quote-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-style: italic;
    line-height: 1.8;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    padding: 100px 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.gallery-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.placeholder-image {
    background: var(--gradient-romantic);
    height: 250px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.4s ease;
    cursor: pointer;
}

.placeholder-image:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-soft);
}

.placeholder-image span {
    font-size: 3rem;
    margin-bottom: 10px;
}

.placeholder-image p {
    font-size: 1rem;
    font-weight: 500;
}

/* ===== REASONS SECTION ===== */
.reasons-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--pink-pale) 0%, var(--lavender) 100%);
}

.reasons-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.reason-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateX(-30px);
}

.reason-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.reason-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-soft);
}

.reason-number {
    background: var(--gradient-romantic);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.reason-card p {
    color: var(--text-dark);
    font-size: 1rem;
    padding-top: 10px;
}

.reason-card.more {
    background: var(--gradient-sunset);
    color: var(--white);
}

.reason-card.more p {
    color: var(--white);
}

/* ===== LETTER SECTION ===== */
.letter-section {
    padding: 100px 0;
    background: var(--cream);
}

.love-letter {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.letter-header {
    background: var(--gradient-romantic);
    padding: 30px;
    text-align: center;
}

.letter-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.letter-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--white);
}

.letter-content {
    padding: 40px;
}

.letter-greeting {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--pink-soft);
    margin-bottom: 20px;
}

.letter-content p {
    margin-bottom: 20px;
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.9;
}

.letter-closing {
    font-style: italic;
    color: var(--text-light);
    margin-top: 30px;
}

/* ===== PROMISES SECTION ===== */
.promises-section {
    padding: 100px 0;
    background: var(--white);
}

.promises-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.promise-card {
    background: var(--gradient-sunset);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    color: var(--white);
    transition: all 0.4s ease;
}

.promise-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-soft);
}

.promise-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 20px;
}

.promise-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.promise-card p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gradient-romantic);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.footer-hearts {
    margin-bottom: 20px;
}

.footer-hearts span {
    font-size: 1.5rem;
    margin: 0 10px;
    animation: pulse 1.5s ease-in-out infinite;
}

.footer-hearts span:nth-child(2) { animation-delay: 0.2s; }
.footer-hearts span:nth-child(3) { animation-delay: 0.4s; }
.footer-hearts span:nth-child(4) { animation-delay: 0.6s; }
.footer-hearts span:nth-child(5) { animation-delay: 0.8s; }

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.footer-subtitle {
    font-size: 1.3rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-date {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 30px;
}

.footer-message {
    font-style: italic;
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .title {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .timeline::before {
        left: 40px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 80px;
    }

    .timeline-icon {
        position: absolute;
        left: 10px;
    }

    .timeline-content {
        max-width: 100%;
        margin: 15px 0;
    }

    .counter-item {
        padding: 20px 30px;
        min-width: 100px;
    }

    .counter-number {
        font-size: 2.5rem;
    }

    .love-letter {
        margin: 0 15px;
    }

    .letter-content {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2.5rem;
    }

    .hero-content {
        padding: 20px;
    }

    .counter-box {
        gap: 15px;
    }

    .counter-item {
        padding: 15px 20px;
        min-width: 80px;
    }

    .counter-number {
        font-size: 2rem;
    }

    .counter-label {
        font-size: 0.8rem;
    }
}

/* ===== ANIMACIONES ADICIONALES ===== */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.quote-card:nth-child(2n) {
    transition-delay: 0.1s;
}

.quote-card:nth-child(3n) {
    transition-delay: 0.2s;
}

.quote-card:nth-child(4n) {
    transition-delay: 0.3s;
}

/* Efecto de brillo en el título */
.title {
    background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0.8), var(--white));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}