* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Background Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    font-size: 20px;
    opacity: 0.7;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) rotate(5deg);
    }

    50% {
        transform: translateY(-10px) rotate(-5deg);
    }

    75% {
        transform: translateY(-30px) rotate(3deg);
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 182, 193, 0.3) 0%, transparent 70%),
        radial-gradient(circle at 70% 80%, rgba(255, 192, 203, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    padding: 0 20px;
}

.typewriter {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    color: #8b3a3a;
    margin-bottom: 20px;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid #8b3a3a;
    animation: typewriter 4s steps(26) 1s forwards, blink 1s infinite;
    width: 0;
}

@keyframes typewriter {
    to {
        width: 100%;
    }
}

@keyframes blink {

    0%,
    50% {
        border-color: #8b3a3a;
    }

    51%,
    100% {
        border-color: transparent;
    }
}

.subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: #8b3a3a;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease 3s forwards;
}

.floating-hearts {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    opacity: 0;
    animation: fadeInUp 1s ease 4s forwards;
}

.heart {
    font-size: 2rem;
    animation: bounce 2s ease-in-out infinite;
}

.heart:nth-child(1) {
    animation-delay: 0s;
}

.heart:nth-child(2) {
    animation-delay: 0.2s;
}

.heart:nth-child(3) {
    animation-delay: 0.4s;
}

.heart:nth-child(4) {
    animation-delay: 0.6s;
}

.heart:nth-child(5) {
    animation-delay: 0.8s;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

.cta-button {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
    opacity: 0;
    animation: fadeInUp 1s ease 5s forwards;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
    background: linear-gradient(45deg, #ff5555, #ff7777);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeInUp 1s ease 6s forwards;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid #8b3a3a;
    border-radius: 25px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #8b3a3a;
    border-radius: 50%;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0% {
        top: 8px;
        opacity: 1;
    }

    100% {
        top: 32px;
        opacity: 0;
    }
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #fff5f5 0%, #fef7f7 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #8b3a3a;
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.section-title.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.photo-card {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.photo-card.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.photo-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 300px;
}

.photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.photo-container:hover img {
    transform: scale(1.1) rotate(2deg);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-container:hover .photo-overlay {
    opacity: 1;
}

.photo-caption {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: transform 0.3s ease 0.1s;
}

.photo-container:hover .photo-caption {
    transform: translateY(0);
}

.like-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    align-self: flex-end;
    transition: transform 0.3s ease;
}

.like-btn:hover {
    transform: scale(1.2);
}

.like-btn.liked .heart-icon {
    color: #ff6b6b;
}

/* Message Section */
.message-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.message-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 60px 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.message-title {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 40px;
    color: #fff;
}

.message-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.message-text.fade-in-animate {
    opacity: 1;
    transform: translateY(0);
}

.message-signature {
    font-family: 'Dancing Script', cursive;
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 30px;
    color: #ffeb3b;
}

.message-hearts {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.heart-animation {
    font-size: 2rem;
    animation: heartBeat 1.5s ease-in-out infinite;
}

.heart-animation:nth-child(1) {
    animation-delay: 0s;
}

.heart-animation:nth-child(2) {
    animation-delay: 0.3s;
}

.heart-animation:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes heartBeat {

    0%,
    100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Footer */
.footer {
    background: #8b3a3a;
    color: white;
    text-align: center;
    padding: 30px 0;
}

/* Fade In Animations */
.fade-in {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .typewriter {
        white-space: normal;
        border-right: none;
        animation: none;
        width: auto;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .photo-container {
        height: 250px;
    }

    .message-card {
        padding: 40px 20px;
        margin: 0 20px;
    }

    .floating-hearts {
        flex-wrap: wrap;
        gap: 10px;
    }

    .heart {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0 15px;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .section-title {
        margin-bottom: 40px;
    }
}