/* Color Palette from Logo */
:root {
    --cream: #E8DCC4;
    --forest-green: #2D4A2B;
    --dark-green: #1A2E1A;
    --light-green: #4A6B48;
    --tan: #C9B896;
    --white: #FFFFFF;
}

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

body {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.6;
    color: var(--dark-green);
    background-color: var(--cream);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo img {
    height: 80px;
    width: auto;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--forest-green);
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--light-green);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--light-green) 100%);
    color: var(--cream);
    text-align: center;
    padding: 6rem 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .tagline {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.hero .location {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Sections */
section {
    padding: 4rem 20px;
}

section h2 {
    font-size: 2.5rem;
    color: var(--forest-green);
    margin-bottom: 2rem;
    text-align: center;
}

/* About Section */
.about {
    background-color: var(--white);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.8;
}

/* Mushrooms Section */
.mushrooms {
    background-color: var(--cream);
}

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

.mushroom-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(45, 74, 43, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mushroom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(45, 74, 43, 0.25);
}

.mushroom-card h3 {
    font-size: 1.8rem;
    color: var(--forest-green);
    margin-bottom: 1rem;
}

.mushroom-card p {
    font-size: 1.1rem;
    color: var(--dark-green);
    line-height: 1.6;
}

.availability-note {
    text-align: center;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--forest-green);
    margin-top: 1rem;
}

/* Gallery Section */
.gallery {
    background-color: var(--white);
}

.gallery-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--dark-green);
    margin-bottom: 3rem;
    font-style: italic;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(45, 74, 43, 0.15);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4/3;
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(45, 74, 43, 0.25);
}

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

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

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    animation: zoom 0.3s;
}

@keyframes zoom {
    from {transform: scale(0.8)}
    to {transform: scale(1)}
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: var(--cream);
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--white);
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: var(--cream);
    padding: 10px 0;
    height: 50px;
    font-size: 1.1rem;
}

/* Contact Section */
.contact {
    background-color: var(--forest-green);
    color: var(--cream);
}

.contact h2 {
    color: var(--cream);
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.contact-info {
    font-size: 1.1rem;
    line-height: 2;
    margin: 2rem 0;
}

.contact a {
    color: var(--tan);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact a:hover {
    color: var(--white);
}

/* Footer */
footer {
    background-color: var(--dark-green);
    color: var(--cream);
    text-align: center;
    padding: 2rem 20px;
}

footer p {
    font-size: 0.9rem;
}

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

    .hero .tagline {
        font-size: 1.2rem;
    }

    nav .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    section h2 {
        font-size: 2rem;
    }

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

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

    .lightbox-content {
        max-width: 95%;
    }

    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 35px;
    }
}

/* Recipe Page Styles */
.recipes-intro {
    background-color: var(--cream);
    padding: 3rem 20px;
}

.recipe-intro-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--dark-green);
}

.recipe-section {
    padding: 4rem 20px;
    background-color: var(--white);
}

.recipe-section.alt {
    background-color: var(--cream);
}

.recipe-card {
    background-color: var(--white);
    border: 2px solid var(--tan);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 12px rgba(45, 74, 43, 0.1);
}

.recipe-section.alt .recipe-card {
    background-color: var(--cream);
    border-color: var(--forest-green);
}

.recipe-card h3 {
    font-size: 2rem;
    color: var(--forest-green);
    margin-bottom: 1rem;
}

.recipe-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: var(--dark-green);
    flex-wrap: wrap;
}

.recipe-meta span {
    display: inline-flex;
    align-items: center;
}

.recipe-description {
    font-size: 1.15rem;
    color: var(--dark-green);
    margin-bottom: 2rem;
    font-style: italic;
    line-height: 1.6;
}

.recipe-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.ingredients h4,
.instructions h4 {
    font-size: 1.4rem;
    color: var(--forest-green);
    margin-bottom: 1rem;
}

.ingredients ul {
    list-style: none;
    padding: 0;
}

.ingredients li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.ingredients li:before {
    content: "🍄";
    position: absolute;
    left: 0;
}

.instructions ol {
    padding-left: 1.5rem;
}

.instructions li {
    padding: 0.5rem 0;
    line-height: 1.7;
}

/* Recipe Tips Section */
.recipe-tips {
    background-color: var(--forest-green);
    color: var(--cream);
    padding: 4rem 20px;
}

.recipe-tips h2 {
    color: var(--cream);
}

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

.tip-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.tip-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--cream);
}

.tip-card p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--forest-green) 100%);
    color: var(--cream);
    text-align: center;
    padding: 4rem 20px;
}

.cta-section h2 {
    color: var(--cream);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--cream);
    color: var(--forest-green);
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Responsive Recipe Styles */
@media (max-width: 768px) {
    .recipe-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .recipe-meta {
        gap: 1rem;
        font-size: 0.95rem;
    }

    .recipe-card {
        padding: 1.5rem;
    }

    .recipe-card h3 {
        font-size: 1.6rem;
    }

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

    .cta-section h2 {
        font-size: 2rem;
    }
}

/* Learn Page Styles */
.intro-section {
    background-color: var(--cream);
    padding: 3rem 20px;
}

.intro-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--dark-green);
}

.disclaimer-note {
    max-width: 900px;
    margin: 1.5rem auto 0;
    text-align: center;
    font-size: 0.9rem;
    font-style: italic;
    color: #666;
}

.mushroom-detail {
    padding: 4rem 20px;
    background-color: var(--white);
}

.mushroom-detail.alt {
    background-color: var(--cream);
}

.mushroom-detail h2 {
    font-size: 2.5rem;
    color: var(--forest-green);
    margin-bottom: 3rem;
    text-align: center;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.detail-card {
    background-color: rgba(255, 255, 255, 0.6);
    border: 2px solid var(--tan);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(45, 74, 43, 0.1);
}

.mushroom-detail.alt .detail-card {
    background-color: rgba(255, 255, 255, 0.8);
    border-color: var(--forest-green);
}

.detail-card h3 {
    font-size: 1.6rem;
    color: var(--forest-green);
    margin-bottom: 1.5rem;
}

.detail-card ul {
    list-style: none;
    padding: 0;
}

.detail-card li {
    padding: 0.5rem 0;
    line-height: 1.7;
    color: var(--dark-green);
}

.detail-card strong {
    color: var(--forest-green);
}

/* Terminology Section */
.terminology-section {
    background-color: var(--white);
    padding: 4rem 20px;
}

.terminology-section h2 {
    font-size: 2.5rem;
    color: var(--forest-green);
    margin-bottom: 3rem;
    text-align: center;
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.term-card {
    background-color: var(--cream);
    border-left: 4px solid var(--forest-green);
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.term-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(45, 74, 43, 0.15);
}

.term-card h4 {
    font-size: 1.3rem;
    color: var(--forest-green);
    margin-bottom: 0.75rem;
}

.term-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-green);
}

/* General Info Section */
.general-info {
    background-color: var(--cream);
    padding: 4rem 20px;
}

.general-info h2 {
    font-size: 2.5rem;
    color: var(--forest-green);
    margin-bottom: 3rem;
    text-align: center;
}

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

.info-col h3 {
    font-size: 1.8rem;
    color: var(--forest-green);
    margin-bottom: 1rem;
}

.info-col p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.info-col ul {
    list-style: none;
    padding: 0;
}

.info-col li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.info-col li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--forest-green);
    font-weight: bold;
}

/* Responsive Learn Page */
@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }

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

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

    .mushroom-detail h2 {
        font-size: 2rem;
    }

    .detail-card {
        padding: 1.5rem;
    }
}
