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

body {
    font-family: 'Segoe UI', sans-serif;
    background: #fff7fa;
    color: #704458;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 8%;
    background: #fff;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: #e78aaf;
}

.navbar a {
    text-decoration: none;
    color: #80566a;
    margin-left: 25px;
}

    .navbar a:hover {
        color: #e78aaf;
    }

.hero {
    min-height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
    background: linear-gradient( 135deg, #ffe4ef, #fff1f6, #fce5fa );
}

.small-title {
    letter-spacing: 3px;
    font-size: 12px;
    color: #d77da3;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.2;
    margin-bottom: 20px;
}

    .hero h1 span {
        color: #e78aaf;
    }

.description {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.love-button {
    display: inline-block;
    background: #e78aaf;
    color: white;
    padding: 15px 28px;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s;
}

    .love-button:hover {
        background: #d66d98;
        transform: translateY(-4px);
    }

.heart-decoration {
    position: absolute;
    right: 12%;
    top: 15%;
    font-size: 100px;
    color: #f3b1cb;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.letter, .memories {
    text-align: center;
    padding: 100px 20px;
}

    .letter h2, .memories h2 {
        font-size: 35px;
        margin-bottom: 20px;
    }

    .letter p:last-child, .memories p:last-child {
        line-height: 1.8;
    }

footer {
    text-align: center;
    padding: 30px;
    background: #ffe4ef;
    color: #a45f7d;
}

@media (max-width: 600px) {
    .navbar {
        flex-wrap: wrap;
        gap: 15px;
    }

        .navbar a {
            margin-left: 0;
            font-size: 13px;
        }

    .heart-decoration {
        right: 5%;
        font-size: 55px;
    }
}

/* Floating Hearts */

.floating-heart {
    position: fixed;
    bottom: -30px;
    color: #ed91b5;
    pointer-events: none;
    z-index: 1000;
    animation: heartFloat linear forwards;
    opacity: 0.7;
}

@keyframes heartFloat {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    15% {
        opacity: 0.8;
    }

    85% {
        opacity: 0.7;
    }

    100% {
        transform: translateY(-110vh) rotate(360deg);
        opacity: 0;
    }
}

/* Smooth page appearance */

.hero-content {
    animation: appear 1.2s ease;
}

@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================
   ROMANTIC LETTER SECTION
===================================== */

.letter-section {
    padding: 100px 20px;
    background: linear-gradient( 135deg, #fff5f8, #ffe8f0, #fff7fa );
    display: flex;
    justify-content: center;
    align-items: center;
}

.letter-container {
    width: 100%;
    max-width: 850px;
    padding: 55px 65px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 25px;
    box-shadow: 0 15px 45px rgba(190, 105, 140, 0.12);
    text-align: center;
    border: 1px solid #f8dce7;
}

.section-subtitle {
    color: #c77b9d;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.letter-container h2 {
    color: #8d4567;
    font-size: 32px;
    margin-bottom: 30px;
}

.letter-content {
    max-width: 650px;
    margin: auto;
    padding: 30px;
    background: #fff9fb;
    border-radius: 15px;
    border-left: 4px solid #e9a8c2;
    text-align: left;
    color: #745568;
    line-height: 1.9;
    font-size: 16px;
}

    .letter-content p {
        margin-bottom: 18px;
    }

.letter-ending {
    color: #a65379;
    font-weight: 600;
    text-align: right;
    margin-top: 30px;
}

/* =====================================
   MEMORIES SECTION
===================================== */

.memories-section {
    padding: 90px 20px;
    text-align: center;
    background: #fff;
}

.memories-content h2 {
    color: #8d4567;
    font-size: 32px;
    margin-bottom: 15px;
}

.memories-content p {
    color: #886b7c;
    margin-bottom: 20px;
}

/* =====================================
   FOOTER
===================================== */

.footer {
    padding: 25px 15px;
    text-align: center;
    background: #fce5ee;
    color: #95627b;
    font-size: 14px;
}

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

@media (max-width: 600px) {
    .letter-section {
        padding: 55px 15px;
    }

    .letter-container {
        padding: 30px 18px;
    }

        .letter-container h2 {
            font-size: 25px;
        }

    .letter-content {
        padding: 22px;
        font-size: 15px;
    }
}
