:root {
    --primary-color: #1a4d2e;
    --secondary-color: #4f772d;
    --accent-color: #90a955;
    --light-bg: #f8f9fa;
    --dark-text: #2c3e50;
    --gold: #d4af37;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.2);
    --gradient-1: linear-gradient(135deg, #1a4d2e 0%, #2d5a3d 100%);
    --gradient-2: linear-gradient(135deg, #4f772d 0%, #90a955 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Serif SC', sans-serif;
    color: var(--dark-text);
    background: #ffffff;
    line-height: 1.8;
    overflow-x: hidden;
}

/* 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 var(--shadow);
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.navbar.visible {
    transform: translateY(0);
}

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

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
}

.nav-progress {
    flex: 1;
    height: 4px;
    background: rgba(26, 77, 46, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-1);
    width: 0%;
    transition: width 0.1s ease;
}

.nav-top-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-top-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: var(--gradient-1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(100px, 100px);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1.2s ease-out;
    max-width: 900px;
    padding: 0 2rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: 'Playfair Display', 'Noto Serif SC', serif;
    font-size: 5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -2px;
    line-height: 1.2;
}

.hero-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1rem;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 3px;
}

.hero-description {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-weight: 300;
}

.cta-button {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--gold) 0%, #f4d03f 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    animation: bounce 2s infinite;
    z-index: 1;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-15px);
    }

    60% {
        transform: translateY(-8px);
    }
}

.mouse {
    width: 28px;
    height: 45px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 10px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* Story Container */
.story-container {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
}

.story-intro,
.story-conclusion {
    max-width: 900px;
    margin: 0 auto;
    padding: 6rem 2rem;
    text-align: center;
}

.story-intro h2,
.story-conclusion h2 {
    font-family: 'Playfair Display', 'Noto Serif SC', serif;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.story-intro p,
.story-conclusion p {
    font-size: 1.3rem;
    color: #666;
    line-height: 2;
    margin-bottom: 2rem;
}

/* Story Content - Image Sections */
.story-content {
    max-width: 1200px;
    margin: 0 auto;
}

.story-section {
    margin-bottom: 0;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.story-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.story-image-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.story-image {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 3rem 2rem 2rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.story-section:hover .image-caption {
    transform: translateY(0);
}

.image-number {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.image-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

/* Alternating Layouts */
.story-section:nth-child(even) .story-image-wrapper {
    box-shadow: -20px 20px 60px var(--shadow-lg);
}

.story-section:nth-child(odd) .story-image-wrapper {
    box-shadow: 20px 20px 60px var(--shadow-lg);
}

/* Footer */
.footer {
    background: var(--gradient-1);
    color: white;
    padding: 4rem 2rem 2rem;
    margin-top: 6rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.footer-section p {
    opacity: 0.9;
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .story-intro h2,
    .story-conclusion h2 {
        font-size: 2rem;
    }

    .story-intro p,
    .story-conclusion p {
        font-size: 1.1rem;
    }

    .nav-logo {
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .story-section:nth-child(even) .story-image-wrapper,
    .story-section:nth-child(odd) .story-image-wrapper {
        box-shadow: 0 10px 40px var(--shadow-lg);
    }
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}