/* Global Styles */
:root {
    --primary-color: #ff6b6b;
    --secondary-color: #ffd93d;
    --accent-color: #ff8e8e;
    --text-color: #4a4a4a;
    --background-color: #fff5f5;
    --font-primary: 'Dancing Script', cursive;
    --font-secondary: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Custom Cursor */
.cursor {
    width: 56px;
    height: 56px;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    background-image: url('../assets/images/cursor/heartCursor.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.cursor.active {
    transform: translate(-50%, -50%) scale(1.2);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe3e3 100%);
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.heart-frame {
    width: 300px;
    height: 300px;
    position: relative;
    margin: 0 auto 2rem;
    background: white;
    clip-path: path("M150 53.1c-39.35-67.525-150-47.813-150 36.8 0 58.263 69.638 117.838 150 197.6 80.375-79.762 150-139.337 150-197.6 0-84.9-110.938-103.825-150-36.8z");
}

.heart-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.title {
    font-family: var(--font-primary);
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

.subtitle {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.3s;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.6s;
}

.scroll-indicator i {
    display: block;
    margin-top: 0.5rem;
    animation: bounce 2s infinite;
}

/* Timeline Section */
.timeline {
    padding: 5rem 2rem;
    background: white;
}

.timeline h2 {
    text-align: center;
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

/* Gallery Section */
.gallery {
    padding: 5rem 2rem;
    background: var(--background-color);
}

.gallery h2 {
    text-align: center;
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Love Letter Section */
.love-letter {
    padding: 5rem 2rem;
    background: white;
    position: relative;
    overflow: hidden;
}

.love-letter h2 {
    text-align: center;
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.letter-content {
    max-width: 800px;
    margin: 0 auto;
    /*font-family: var(--font-primary);*/
    font-size: 1rem;
    line-height: 1.8;
    text-align: center;
}

/* Guestbook Section */
.guestbook {
    padding: 5rem 2rem;
    background: var(--background-color);
}

.guestbook h2 {
    text-align: center;
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.guestbook-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.guestbook-form input,
.guestbook-form textarea {
    padding: 1rem;
    border: 2px solid var(--accent-color);
    border-radius: 5px;
    font-family: var(--font-secondary);
}

.guestbook-form button {
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: var(--font-secondary);
    transition: background 0.3s ease;
}

.guestbook-form button:hover {
    background: var(--accent-color);
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    background: white;
}

.music-player {
    margin-bottom: 1rem;
}

.music-player button {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.music-player button:hover {
    transform: scale(1.1);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .title {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .letter-content {
        font-size: 1rem;
        padding: 0 1rem;
    }
} 
