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

:root {
    --primary-color: #ff1744;
    --secondary-color: #ff4081;
    --dark-bg: #1a1a2e;
    --light-bg: #fff;
    --text-dark: #333;
    --text-light: #fff;
    --accent-gradient: linear-gradient(135deg, #ff1744 0%, #ff4081 100%);
    --soft-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.0rem;
    font-weight: bold;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Section Styles */
.section {
    min-height: 100vh;
    position: relative;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem;
}

.section-heading {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,197.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
    margin-top: 8.5vh;
}

.image-upload-container {
    margin-bottom: 2rem;
}

.upload-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.upload-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: 3rem;
    color: white;
    text-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    animation: heartbeat 2s ease-in-out infinite;
    margin: 2rem 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: white;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.arrow-down {
    width: 20px;
    height: 20px;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(-45deg);
}

/* Love Story Container */
.love-story-container {
    position: relative;
    z-index: 2;
    background: white;
    padding: 4rem 0;
}

.story-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--soft-shadow);
}

.story-date {
    text-align: center;
    margin-bottom: 3rem;
}

.date-badge {
    display: inline-block;
    background: var(--accent-gradient);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(255, 23, 68, 0.3);
}

.date-description {
    margin-top: 1rem;
    font-style: italic;
    color: #666;
    font-size: 1.1rem;
}

.story-text {
    max-width: 800px;
    margin: 0 auto;
}

.story-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
    text-align: justify;
}

.highlight-text {
    background: linear-gradient(120deg, #ffe8ee 0%, #fff0f5 100%);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    font-weight: 500;
    color: var(--text-dark);
}

.gratitude-box {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: 0 5px 20px rgba(253, 203, 110, 0.3);
}

.gratitude-box h3 {
    margin-bottom: 1rem;
    color: #2d3436;
    font-size: 1.5rem;
}

.gratitude-list {
    list-style: none;
    padding-left: 0;
}

.gratitude-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: #2d3436;
    font-size: 1.05rem;
}

.gratitude-list li::before {
    content: '❤️';
    position: absolute;
    left: 0;
}

/* Picture Gallery */
.picture-gallery {
    margin-top: 3rem;
}

.picture-gallery h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

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

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--soft-shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.gallery-upload {
    display: none;
}

.gallery-placeholder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-placeholder span {
    font-size: 3rem;
    color: white;
    margin-bottom: 0.5rem;
}

.gallery-placeholder p {
    color: white;
    font-weight: 500;
}

.gallery-placeholder:hover {
    background: linear-gradient(135deg, #fab1a0 0%, #ff7675 100%);
}

.gallery-image {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-image.show {
    display: block;
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image-container {
    position: relative;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.about-image-placeholder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: var(--transition);
}

.about-image-placeholder span {
    font-size: 4rem;
    color: white;
    margin-bottom: 1rem;
}

.about-image-placeholder p {
    color: white;
    font-weight: 500;
    text-align: center;
    padding: 0 2rem;
}

.about-image-placeholder:hover {
    background: rgba(255, 255, 255, 0.3);
}

.about-image {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image.show {
    display: block;
}

.forgiveness-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-text {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: justify;
}

.forgiveness-question {
    margin-top: 2rem;
}

.forgiveness-question h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.choice-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.yes-btn {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
}

.yes-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(17, 153, 142, 0.4);
}

.no-btn {
    background: linear-gradient(135deg, #ee0979 0%, #ff6a00 100%);
    color: white;
}

.no-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(238, 9, 121, 0.4);
}

.maybe-btn {
    background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
    color: white;
}

.maybe-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 216, 155, 0.4);
}

.response-message {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.response-message.show {
    opacity: 1;
    transform: translateY(0);
}

.response-message.success {
    background: rgba(56, 239, 125, 0.2);
    border: 2px solid rgba(56, 239, 125, 0.5);
}

.response-message.sad {
    background: rgba(238, 9, 121, 0.2);
    border: 2px solid rgba(238, 9, 121, 0.5);
}

/* Date Section */
.date-section {
    background: linear-gradient(135deg, #e29bd6 0%, #d88cd1 100%);
    color: rgb(0, 0, 0);
}

.date-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.date-image-container {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.date-image-placeholder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: var(--transition);
}

.date-image-placeholder span {
    font-size: 4rem;
    color: white;
    margin-bottom: 1rem;
}

.date-image-placeholder p {
    color: white;
    font-weight: 500;
    text-align: center;
    padding: 0 2rem;
}

.date-image-placeholder:hover {
    background: rgba(255, 255, 255, 0.3);
}

.date-image {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.date-image.show {
    display: block;
}

.date-proposal {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.date-text {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: justify;
}

.date-ideas {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.date-ideas h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.promise-list {
    list-style: none;
    padding-left: 0;
}

.promise-list li {
    padding: 0.5rem 0;
    font-size: 1.05rem;
}

.date-question {
    margin-top: 2rem;
}

.date-question h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-heart {
    margin-bottom: 1.5rem;
}

.heart {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    margin: 0 auto;
    position: relative;
    transform: rotate(-45deg);
    animation: heartbeat 1.5s ease-in-out infinite;
}

.heart::before,
.heart::after {
    content: '';
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
}

.heart::before {
    top: -25px;
    left: 0;
}

.heart::after {
    left: 25px;
    top: 0;
}

.footer-text {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.footer-date {
    color: #999;
    margin-bottom: 1rem;
}

.footer-quote {
    font-style: italic;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* Animations */
@keyframes heartbeat {
    0%, 100% {
        transform: rotate(-45deg) scale(1);
    }
    50% {
        transform: rotate(-45deg) scale(1.1);
    }
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .section-heading {
        font-size: 2rem;
    }

    .about-content,
    .date-content {
        grid-template-columns: 1fr;
    }

    .story-content {
        padding: 2rem 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .button-group {
        flex-direction: column;
    }

    .choice-btn {
        width: 100%;
    }
}
