body {
    font-family: 'Lora', serif;
    background: linear-gradient(to bottom, #ffdde1, #f7d9e2); /* Soft pink to light pink */
    color: #333;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* General Styles */
.section {
    padding: 50px;
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.section.active {
    opacity: 1;
}

h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5em;
    color: #e44d26; /* Warm Red */
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Navigation */
nav {
    background-color: rgba(255, 255, 255, 0.3);
    padding: 20px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block;
}

nav ul li {
    display: inline;
    margin: 0 20px;
}

nav a {
    text-decoration: none;
    color: #c21e56; /* Deeper Pink */
    font-weight: bold;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #e44d26; /* Warm Red */
}

/* Intro Page Styles */
#intro-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(to bottom, #ffdde1, #ee9ca7);
    font-family: 'Brush Script MT', cursive;
    font-size: 2em;
    color: #880808;
    text-align: center;
    animation: heartbeat 1.5s infinite;
    cursor: pointer;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

#intro-container.fade-out {
    opacity: 0;
}

#heart {
    font-family: 'Dancing Script', cursive; /* Elegant cursive font */
    font-size: 3em; /* Increased size for better visibility */
    color: #880808; /* Dark red */
    text-align: center;
    animation: heartbeat 1.5s infinite;
    cursor: pointer;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Home Section */
#birthday-message {
    font-size: 1.5em;
    color: #7e57c2; /* Purple Accent */
    margin-bottom: 20px;
}

#balloons-container {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}

.balloon {
    width: 70px;
    height: 90px;
    background-color: #f48fb1; /* Pink Balloon */
    border-radius: 50%;
    position: relative;
    animation: float 4s infinite alternate, sway 5s infinite alternate;
    cursor: pointer;
}

.balloon:nth-child(2) {
    background-color: #f06292; /* Darker Pink */
    animation-delay: 0.5s;
}

.balloon:nth-child(3) {
    background-color: #e91e63; /* Even Darker Pink */
    animation-delay: 1s;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-30px);
    }
}

@keyframes sway {
    0% {
        transform: rotate(-5deg);
    }
    100% {
        transform: rotate(5deg);
    }
}

.balloon::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 20px;
    background-color: #fff;
}

.two-hands {
    width: 70px;
    height: 90px;
    background-image: url('https://i.pinimg.com/originals/5d/11/c5/5d11c5584711023b9320424a120c8b28.gif'); /* Replace with the actual path to your heart image */
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    animation: float 4s infinite alternate, sway 5s infinite alternate;
    cursor: pointer;
}

/* Wishes Section */
#wishes-container {
    font-size: 1.5em;
    color: #d81b60; /* Strong Pink */
}

.wish {
    margin-bottom: 20px;
}

.wish span {
    display: none;
}

.wish.revealed span {
    display: inline;
}

.heart-icon {
    color: #e91e63; /* Darker Pink */
    margin: 0 5px;
    animation: twinkle 1s infinite;
    cursor: pointer;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.2;
    }
}

/* Memories Section */
#gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.memory {
    width: 200px;
    margin: 10px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.memory:hover {
    transform: scale(1.05);
}

.memory img, .memory video {
    width: 100%;
    height: auto;
    display: block;
}

.memory figcaption {
    padding: 10px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
}

/* Reasons Section */
#reasons-list {
    list-style: none;
    padding: 0;
}

.reason {
    background-color: rgba(255, 255, 255, 0.5);
    margin: 10px 0;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.reason:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.reason p {
    display: none;
}

.reason.expanded p {
    display: block;
}

/* Surprise Section */
#surprise-content {
    font-size: 1.2em;
    color: #c21e56; /* Deeper Pink */
}

#gift-box {
    width: 150px;
    height: 150px;
    background-color: #ffcdd2; /* Light Pink */
    border-radius: 10px;
    margin: 20px auto;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

#gift-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 50px;
    height: 100%;
    background-color: #f06292; /* Darker Pink */
    transform: translateX(-50%);
}

#confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.confetti {
    width: 10px;
    height: 10px;
    background-color: gold;
    position: absolute;
    border-radius: 50%;
    animation: confetti-fall 2s forwards, confetti-sway 1s infinite alternate;
}

.confetti:nth-child(odd) {
    background-color: #e91e63; /* Even Darker Pink */
}

@keyframes confetti-fall {
    0% {
        top: -10%;
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

@keyframes confetti-sway {
    0% {
        transform: translateX(-10px);
    }
    100% {
        transform: translateX(10px);
    }
}