@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Open+Sans:wght@300;400;600&display=swap');

:root {
    --forest: #1e4d2b;
    --moss: #5a8f29;
    --leaf: #8bc34a;
    --sunlight: #fdd835;
    --bark: #3e2723;
    --cream: #fdfaf6;
    --earth: #5d4037;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--cream);
    color: var(--bark);
    line-height: 1.8;
}

.wrapper {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 28px;
}

/* Header */
.nature-header {
    background: var(--forest);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-name {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--sunlight);
    text-decoration: none;
}

.primary-nav {
    display: flex;
    gap: 32px;
}

.primary-nav a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.primary-nav a:hover {
    color: var(--sunlight);
}

.menu-trigger {
    display: none;
    cursor: pointer;
}

.menu-trigger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--sunlight);
    margin: 5px 0;
    border-radius: 2px;
}

/* Hero */
.garden-hero {
    background: linear-gradient(135deg, var(--forest) 0%, var(--moss) 100%);
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.garden-hero::before {
    content: '🍇🍊🍋🍒🍎';
    position: absolute;
    font-size: 8rem;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.15;
    letter-spacing: 20px;
}

.hero-box {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.hero-box h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-box p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 35px;
}

.nature-btn {
    display: inline-block;
    padding: 16px 45px;
    background: var(--sunlight);
    color: var(--bark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.nature-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Feature Cards */
.features {
    padding: 80px 0;
    background: #fff;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.feature-card {
    background: var(--cream);
    border-radius: 15px;
    padding: 45px 35px;
    text-align: center;
    border-left: 5px solid var(--moss);
}

.card-emoji {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.3rem;
    color: var(--forest);
    margin-bottom: 15px;
}

.feature-card p {
    color: #555;
    font-size: 0.98rem;
}

/* Game Grove */
.game-grove {
    padding: 90px 0;
    background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
}

.game-grove h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.4rem;
    color: var(--forest);
    text-align: center;
    margin-bottom: 45px;
}

.game-frame {
    max-width: 960px;
    margin: 0 auto;
    background: var(--forest);
    padding: 18px;
    border-radius: 20px;
}

.game-frame iframe {
    width: 100%;
    height: 550px;
    border: none;
    border-radius: 12px;
}

/* Story Section */
.story-area {
    padding: 90px 0;
    background: #fff;
}

.story-row {
    display: flex;
    gap: 55px;
    align-items: center;
    margin-bottom: 70px;
}

.story-row:last-child {
    margin-bottom: 0;
}

.story-row:nth-child(even) {
    flex-direction: row-reverse;
}

.story-image {
    flex: 0 0 340px;
    height: 280px;
    background: linear-gradient(135deg, var(--moss) 0%, var(--leaf) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.story-content {
    flex: 1;
}

.story-content h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2rem;
    color: var(--forest);
    margin-bottom: 20px;
}

.story-content p {
    font-size: 1.08rem;
    color: #555;
    margin-bottom: 15px;
}

/* Footer */
.nature-footer {
    background: var(--forest);
    color: #fff;
    padding: 70px 0 35px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px;
    margin-bottom: 45px;
}

.footer-section h4 {
    font-family: 'Libre Baskerville', serif;
    color: var(--sunlight);
    margin-bottom: 18px;
    font-size: 1.1rem;
}

.footer-section a {
    display: block;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--leaf);
}

.footer-section p {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
}

.footer-base {
    text-align: center;
    padding-top: 35px;
    border-top: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* Modal */
.age-modal {
    position: fixed;
    inset: 0;
    background: rgba(30, 77, 43, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-content {
    background: var(--cream);
    border-radius: 20px;
    padding: 50px 45px;
    text-align: center;
    max-width: 440px;
}

.modal-content h2 {
    font-family: 'Libre Baskerville', serif;
    color: var(--forest);
    font-size: 1.8rem;
    margin-bottom: 18px;
}

.modal-content p {
    color: var(--bark);
    margin-bottom: 30px;
    font-size: 1.02rem;
}

.modal-btns {
    display: flex;
    gap: 18px;
    justify-content: center;
}

.modal-btns button {
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: transform 0.3s;
}

.btn-yes {
    background: var(--moss);
    color: #fff;
}

.btn-no {
    background: var(--earth);
    color: #fff;
}

.modal-btns button:hover {
    transform: scale(1.05);
}

.hidden {
    display: none !important;
}

/* Page Styles */
.page-header {
    background: linear-gradient(135deg, var(--forest) 0%, var(--moss) 100%);
    padding: 140px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.8rem;
    color: #fff;
}

.page-content {
    padding: 70px 0;
    background: var(--cream);
}

.page-content h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.7rem;
    color: var(--forest);
    margin: 38px 0 16px;
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content p, .page-content ul {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 16px;
}

.page-content ul {
    padding-left: 26px;
}

.page-content li {
    margin-bottom: 9px;
}

/* Responsive */
@media (max-width: 900px) {
    .menu-trigger {
        display: block;
    }

    .primary-nav {
        position: fixed;
        top: 0;
        right: -270px;
        width: 250px;
        height: 100vh;
        background: var(--forest);
        flex-direction: column;
        padding: 90px 30px;
        transition: right 0.4s;
    }

    .primary-nav.open {
        right: 0;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

    .story-row, .story-row:nth-child(even) {
        flex-direction: column;
    }

    .story-image {
        flex: none;
        width: 100%;
        height: 220px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-box h1 {
        font-size: 2.5rem;
    }
}
