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

:root {
    --primary-color: #ff6b9d;
    --secondary-color: #ffc1cc;
    --accent-color: #ffb3d9;
    --muted-green: #a8c5a0;
    --muted-green-dark: #7a9d72;
    --muted-green-light: #c4d9be;
    --text-color: #333;
    --light-bg: #fff5f8;
    --card-bg: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #ffeef5 0%, #f0f8ed 50%, #ffeef5 100%);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: visible;
}

.floating-hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: visible;
    pointer-events: none;
    z-index: 1000;
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(255, 107, 157, 0.2);
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* Floating Hearts Animation */

.heart {
    position: absolute;
    font-size: 2rem;
    opacity: 0;
    animation: float 15s infinite ease-in-out;
    /* Start all hearts at the bottom, hidden */
    transform: translateY(100vh) rotate(0deg);
    z-index: 1000;
}

.heart:nth-child(1) {
    left: 5%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.heart:nth-child(2) {
    left: 82%;
    animation-delay: 0.75s;
    animation-duration: 14s;
}

.heart:nth-child(3) {
    left: 61%;
    animation-delay: 1.5s;
    animation-duration: 13s;
}

.heart:nth-child(4) {
    left: 65%;
    animation-delay: 2.25s;
    animation-duration: 15s;
}

.heart:nth-child(5) {
    left: 26%;
    animation-delay: 3s;
    animation-duration: 11s;
}

.heart:nth-child(6) {
    left: 70%;
    animation-delay: 3.75s;
    animation-duration: 13s;
}

.heart:nth-child(7) {
    left: 47%;
    animation-delay: 4.5s;
    animation-duration: 14s;
}

.heart:nth-child(8) {
    left: 54%;
    animation-delay: 5.25s;
    animation-duration: 12s;
}

.heart:nth-child(9) {
    left: 19%;
    animation-delay: 6s;
    animation-duration: 15s;
}

.heart:nth-child(10) {
    left: 68%;
    animation-delay: 6.75s;
    animation-duration: 11s;
}

.heart:nth-child(11) {
    left: 45%;
    animation-delay: 7.5s;
    animation-duration: 13s;
}

.heart:nth-child(12) {
    left: 12%;
    animation-delay: 8.25s;
    animation-duration: 14s;
}

.heart:nth-child(13) {
    left: 8%;
    animation-delay: 9s;
    animation-duration: 12s;
}

.heart:nth-child(14) {
    left: 22%;
    animation-delay: 9.75s;
    animation-duration: 15s;
}

.heart:nth-child(15) {
    left: 33%;
    animation-delay: 10.5s;
    animation-duration: 11s;
}

.heart:nth-child(16) {
    left: 90%;
    animation-delay: 11.25s;
    animation-duration: 13s;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0;
    }
    40% {
        opacity: 0.4;
    }
    85% {
        opacity: 0;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Fade In Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

.fade-in-delay {
    animation: fadeIn 1s ease-in 0.5s both;
}

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

/* Message Section */
.message-section {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}

.message-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, #f8fdf7 100%);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.2), 0 5px 15px rgba(122, 157, 114, 0.1);
    max-width: 700px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid rgba(168, 197, 160, 0.2);
}

.message-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.3), 0 10px 25px rgba(122, 157, 114, 0.15);
}

.message-card h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.message-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* Gallery Section */
.gallery-section {
    padding: 80px 20px;
    text-align: center;
}

.gallery-section h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.photo-placeholder {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--secondary-color), var(--muted-green-light));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.2), 0 3px 10px rgba(122, 157, 114, 0.15);
    transition: transform 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
}

.photo-heart {
    position: absolute;
    top: 0px;
    right: 0px;
    font-size: 6rem;
    z-index: 10;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    animation: heartPulse 2s ease-in-out infinite;
    pointer-events: none;
}

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

.photo-placeholder:hover .photo-heart {
    animation: heartPulseHover 0.5s ease-in-out infinite;
}

@keyframes heartPulseHover {
    0%, 100% {
        transform: scale(1.15);
    }
    50% {
        transform: scale(1.35);
    }
}

.photo-placeholder:hover {
    transform: scale(1.05);
}

/* Reasons Section */
.reasons-section {
    padding: 80px 20px;
    text-align: center;
}

.reasons-section h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.reason-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, #f8fdf7 100%);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.15), 0 3px 10px rgba(122, 157, 114, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid rgba(168, 197, 160, 0.15);
}

.reason-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.25), 0 5px 15px rgba(122, 157, 114, 0.2);
    border-color: rgba(168, 197, 160, 0.3);
}

.reason-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.reason-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.reason-card p {
    color: var(--text-color);
    font-size: 1rem;
}

/* Countdown Section */
.countdown-section {
    padding: 80px 20px;
    text-align: center;
}

.countdown-section h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.countdown-item {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.15);
    min-width: 120px;
}

.countdown-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.countdown-label {
    display: block;
    font-size: 1rem;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-note {
    color: var(--text-color);
    font-size: 1.1rem;
    opacity: 0.7;
}

/* Navigation Section */
.nav-section {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.nav-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, #f8fdf7 100%);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.2), 0 5px 15px rgba(122, 157, 114, 0.1);
    max-width: 500px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid rgba(168, 197, 160, 0.2);
}

.nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.3), 0 10px 25px rgba(122, 157, 114, 0.15);
}

.nav-card h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 15px;
}

.nav-card p {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.8;
}

.nav-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--muted-green));
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.3);
}

.nav-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.4), 0 5px 15px rgba(122, 157, 114, 0.3);
}

/* Footer */
.footer {
    padding: 60px 20px;
    text-align: center;
    color: var(--text-color);
}

.footer p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.footer-heart {
    font-size: 2rem;
    animation: pulse 2s infinite;
}

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

/* Countdown Page Styles */
.top-nav {
    padding: 20px;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(168, 197, 160, 0.2);
}

.back-button {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-block;
}

.back-button:hover {
    color: var(--muted-green-dark);
}

/* Wrapper for hero and countdown sections with floating hearts */
.countdown-sections-wrapper {
    position: relative;
    width: 100%;
}

.countdown-hero {
    min-height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 40px 20px;
    z-index: 1;
}

.countdown-hero-content {
    position: relative;
    z-index: 1;
}

.countdown-hero-content h1 {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--muted-green-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(255, 107, 157, 0.2);
}

.countdown-subtitle {
    font-size: 1.5rem;
    color: var(--text-color);
    opacity: 0.8;
}

.countdown-main-section {
    padding: 50px 10px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(248, 253, 247, 0.5));
    border-radius: 30px;
    margin: 40px 20px;
    box-shadow: 0 10px 40px rgba(255, 107, 157, 0.15), 0 5px 20px rgba(122, 157, 114, 0.1);
    position: relative;
    z-index: 1;
}

.countdown-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.countdown-message {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-top: 30px;
    font-weight: 600;
}

.countdown-note-small {
    color: var(--text-color);
    font-size: 1.1rem;
    opacity: 0.7;
    margin-top: 10px;
}

.countdown-item-large {
    background: linear-gradient(135deg, var(--card-bg) 0%, #f8fdf7 100%);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.2), 0 5px 15px rgba(122, 157, 114, 0.15);
    min-width: 150px;
    border: 2px solid rgba(168, 197, 160, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.countdown-item-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.3), 0 10px 25px rgba(122, 157, 114, 0.2);
}

.countdown-number-large {
    display: block;
    font-size: 4rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color), var(--muted-green-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    line-height: 1;
}

.countdown-label-large {
    display: block;
    font-size: 1.2rem;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.countdown-separator {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: bold;
    opacity: 0.6;
}


.countdown-message-section {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}

.countdown-message-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, #f8fdf7 100%);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.2), 0 5px 15px rgba(122, 157, 114, 0.1);
    max-width: 800px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid rgba(168, 197, 160, 0.2);
}

.countdown-message-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.3), 0 10px 25px rgba(122, 157, 114, 0.15);
}

.countdown-message-card h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.countdown-message-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .message-card {
        padding: 30px 20px;
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }
    
    .countdown {
        gap: 15px;
    }
    
    .countdown-item {
        min-width: 100px;
        padding: 20px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    
    .countdown-hero {
        min-height: 30vh;
        padding: 30px 20px;
    }
    
    .countdown-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .countdown-main-section {
        padding: 40px 20px;
        margin: 20px 10px;
    }
    
    .countdown-number-large {
        font-size: 2.5rem;
    }
    
    .countdown-item-large {
        min-width: 100px;
        padding: 25px 20px;
    }
    
    .countdown-separator {
        font-size: 2rem;
    }
    
    .countdown-message-card {
        padding: 30px 20px;
    }
    
    .countdown-message-text {
        font-size: 1.1rem;
    }
}

