/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Natural and Earthy Color Palette */
    --primary-green: #2d5016;
    --secondary-green: #4a7c59;
    --accent-green: #7fb069;
    --light-green: #a7c957;
    --forest-green: #1a3409;
    
    --primary-blue: #2c5f7c;
    --secondary-blue: #4a90a4;
    --light-blue: #87ceeb;
    
    --earth-brown: #8b4513;
    --warm-brown: #a0522d;
    --light-brown: #deb887;
    
    --golden-accent: #daa520;
    --warm-gold: #ffd700;
    
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --text-gray: #6c757d;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    --border-radius: 8px;
    
    /* Shadows */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--forest-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
    background-color: var(--primary-green);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

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

.nav-logo h2 {
    color: var(--primary-green);
    font-family: var(--font-heading);
    font-size: 2rem;
    margin: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.nav-link:hover {
    color: var(--primary-green);
}

.nav-dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--background-white);
    min-width: 200px;
    box-shadow: var(--shadow-medium);
    border-radius: var(--border-radius);
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.nav-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: var(--background-light);
    color: var(--primary-green);
}

.donate-btn {
    background-color: var(--golden-accent);
    color: var(--text-light);
    padding: 8px 20px;
    border-radius: var(--border-radius);
}

.donate-btn:hover {
    background-color: var(--warm-gold);
    color: var(--text-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(45, 80, 22, 0.45), rgba(26, 52, 9, 0.55));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    z-index: 1;
}

.hero-logo {
    width: 180px;
    height: 180px;
    object-fit: contain;
    display: block;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--light-green);
    font-style: italic;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    line-height: 1.8;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Styles */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

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

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

.about-card {
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.about-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

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

.about-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 1.5rem;
}

.about-card li:before {
    content: '🌱';
    position: absolute;
    left: 0;
}

/* Programs Section */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.program-card {
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-green);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.program-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.program-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--golden-accent);
    margin-bottom: 1rem;
}

.program-description {
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.program-card ul {
    margin-bottom: 2rem;
}

.program-card li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.program-card li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

.accommodation-options {
    background-color: var(--background-light);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
}

.accommodation-options h4 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

/* Trail of Trees Section */
.trail-of-trees {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--text-light);
}

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

.trail-text h2 {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.trail-tagline {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--light-green);
}

.trail-text blockquote {
    font-size: 1.2rem;
    font-style: italic;
    padding: 1rem;
    border-left: 4px solid var(--golden-accent);
    margin: 2rem 0;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
}

.trail-features {
    margin: 2rem 0;
}

.trail-features h3 {
    color: var(--light-green);
    margin-bottom: 1rem;
}

.trail-features ul {
    list-style: none;
    padding-left: 0;
}

.trail-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.trail-features li:before {
    content: '🌳';
    position: absolute;
    left: 0;
}

.trail-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.trail-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
}

/* Community Section */
.community {
    background-color: var(--background-light);
}

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

.community-card {
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.community-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.community-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    color: var(--primary-blue);
    text-decoration: none;
    margin-right: 1rem;
    font-weight: 500;
}

.social-links a:hover {
    color: var(--secondary-blue);
    text-decoration: underline;
}

/* Donate Section */
.donate {
    background: linear-gradient(135deg, var(--golden-accent), var(--warm-gold));
    color: var(--text-dark);
}

.donate-content {
    text-align: center;
}

.donate-content h2 {
    color: var(--text-dark);
    margin-bottom: 2rem;
}

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

.donation-card {
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease;
}

.donation-card:hover {
    transform: translateY(-5px);
}

.donation-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.donation-note {
    font-style: italic;
    margin-top: 2rem;
    opacity: 0.8;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--primary-blue);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form {
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

/* Footer */
.footer {
    background-color: var(--forest-green);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--light-green);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding-left: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--background-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-medium);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-logo {
        width: 140px;
        height: 140px;
    }

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

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .trail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .programs-grid,
    .about-grid,
    .community-grid {
        grid-template-columns: 1fr;
    }

    .donation-options {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}


/* ---- Photo backgrounds, Nov 2026 (Will's round-2 edits) ----
   Green filter kept, overlay lightened so the photos read clearly.
   Each photo is used as a background exactly once. */
#save-lake-waldensia {
    background: linear-gradient(rgba(45, 80, 22, 0.55), rgba(26, 52, 9, 0.65)), url('creek-cascade.jpg') center / cover no-repeat;
}

#trail-of-trees {
    background: linear-gradient(rgba(45, 80, 22, 0.55), rgba(26, 52, 9, 0.65)), url('forest-tall-trees.jpg') center / cover no-repeat;
}

.about {
    background: linear-gradient(rgba(248, 249, 250, 0.6), rgba(248, 249, 250, 0.6)), url('meadow-goldenrod.jpg') center / cover no-repeat;
}

.programs {
    background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), url('forest-trail.jpg') center / cover no-repeat;
}

#community {
    background: linear-gradient(rgba(248, 249, 250, 0.6), rgba(248, 249, 250, 0.6)), url('lake-winter-frozen.jpg') center / cover no-repeat;
}

.donate {
    background: linear-gradient(rgba(218, 165, 32, 0.55), rgba(255, 215, 0, 0.55)), url('lake-sunset-field.jpg') center / cover no-repeat;
}

.contact {
    background: linear-gradient(rgba(248, 249, 250, 0.6), rgba(248, 249, 250, 0.6)), url('cairns-stacked.jpg') center / cover no-repeat;
}
