﻿:root {
    /* Light theme */
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --text-primary: #333;
    --text-secondary: #555;
    --text-muted: #7f8c8d;
    --accent-color: #097d6b;
    --hero-overlay: rgba(9, 125, 107, 0.8);
    --border-color: rgba(0,0,0,0.1);
    --shadow-color: rgba(0,0,0,0.1);
}

[data-theme="dark"] {
    /* Dark theme */
    --bg-primary: #1a1d23;
    --bg-secondary: #242831;
    --text-primary: #f0f6fc;
    --text-secondary: #e2e8f0;
    --text-muted: #a0aec0;
    --accent-color: #4fd1c7;
    --hero-overlay: rgba(9, 125, 107, 0.9);
    --border-color: rgba(255,255,255,0.1);
    --shadow-color: rgba(0,0,0,0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.story-page {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.8;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: all 0.3s ease;
}

.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(9, 125, 107, 0.8), rgba(9, 125, 107, 0.9)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23097d6b" width="1200" height="800"/><circle fill="rgba(255,255,255,0.1)" cx="200" cy="200" r="150"/><circle fill="rgba(255,255,255,0.05)" cx="800" cy="400" r="200"/><circle fill="rgba(255,255,255,0.08)" cx="1000" cy="150" r="100"/></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    font-style: italic;
}

.hero-description {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.9rem;
}

.story-section {
    padding: 6rem 0;
    background: white;
}

    .story-section:nth-child(even) {
        background: #f8f9fa;
    }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.story-header {
    text-align: center;
    margin-bottom: 4rem;
}

.story-number {
    font-size: 1rem;
    color: #097d6b;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.story-title {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.story-subtitle {
    font-size: 1.3rem;
    color: #7f8c8d;
    font-style: italic;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

    .story-content.reverse {
        grid-template-columns: 1fr 1fr;
    }

.story-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}

    .story-text p {
        margin-bottom: 1.5rem;
    }

    .story-text .highlight {
        color: #097d6b;
        font-weight: bold;
    }

.story-image {
    background: #097d6b;
    height: 400px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

    .story-image::before {
        content: attr(data-icon);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 8rem;
        opacity: 0.3;
        color: white;
    }

    .story-image .image-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(transparent, rgba(0,0,0,0.7));
        color: white;
        padding: 2rem;
        text-align: center;
    }

.image-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.image-description {
    font-size: 1rem;
    opacity: 0.9;
}

.stats-section {
    background: #097d6b;
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.quote-section {
    background: #2c3e50;
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.quote-content {
    max-width: 800px;
    margin: 0 auto;
}

.quote-text {
    font-size: 2rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.quote-author {
    font-size: 1.2rem;
    opacity: 0.8;
}

.cta-section {
    background: white;
    padding: 6rem 0;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    background: #097d6b;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .cta-btn:hover {
        background: #075d54;
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

    .cta-btn.secondary {
        background: transparent;
        color: #097d6b;
        border: 2px solid #097d6b;
    }

        .cta-btn.secondary:hover {
            background: #097d6b;
            color: white;
        }

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .story-section {
        padding: 4rem 0;
    }

    .story-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

        .story-content.reverse {
            grid-template-columns: 1fr;
        }

            .story-content.reverse .story-image {
                order: -1;
            }

    .story-title {
        font-size: 2.2rem;
    }

    .story-subtitle {
        font-size: 1.1rem;
    }

    .story-text {
        font-size: 1.1rem;
    }

    .story-image {
        height: 300px;
        margin-bottom: 1rem;
    }

        .story-image::before {
            font-size: 6rem;
        }

    .image-overlay {
        padding: 1.5rem;
    }

    .image-title {
        font-size: 1.3rem;
    }

    .image-description {
        font-size: 0.9rem;
    }

    .stats-section {
        padding: 3rem 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .quote-section {
        padding: 4rem 0;
    }

    .quote-text {
        font-size: 1.5rem;
        line-height: 1.5;
    }

    .quote-author {
        font-size: 1rem;
    }

    .cta-section {
        padding: 4rem 0;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-text {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cta-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .story-title {
        font-size: 1.8rem;
    }

    .story-image {
        height: 250px;
    }

        .story-image::before {
            font-size: 4rem;
        }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-item {
        padding: 1.5rem;
    }
}

.hero-section {
    height: 100vh;
    background: linear-gradient(var(--hero-overlay), var(--hero-overlay)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23097d6b" width="1200" height="800"/><circle fill="rgba(255,255,255,0.1)" cx="200" cy="200" r="150"/><circle fill="rgba(255,255,255,0.05)" cx="800" cy="400" r="200"/><circle fill="rgba(255,255,255,0.08)" cx="1000" cy="150" r="100"/></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    font-style: italic;
}

.hero-description {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

    .hero-btn.primary {
        background: rgba(255, 255, 255, 0.9);
        color: var(--accent-color);
        border-color: white;
    }

        .hero-btn.primary:hover {
            background: white;
            color: var(--accent-color);
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        }

    .hero-btn.secondary:hover {
        background: rgba(255, 255, 255, 0.3);
        border-color: white;
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .hero-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
}
