/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
}

header .logo {
    height: 60px;
}

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

nav a {
    color: #2c5f2d;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.7;
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    position: relative;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #2c5f2d;
    transition: all 0.3s ease;
    position: absolute;
}

.hamburger span:nth-child(1) {
    top: 10px;
}

.hamburger span:nth-child(2) {
    top: 18px;
}

.hamburger span:nth-child(3) {
    top: 26px;
}

.hamburger.active span:nth-child(1) {
    top: 18px;
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    top: 18px;
    transform: rotate(-45deg);
}

/* Hero section */
.hero {
    position: relative;
    min-height: 85vh;
    background: url('img/BlackTuskScaled.jpg') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.hero-content {
    background: rgba(255, 255, 255, 0.85);
    padding: 3rem;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c5f2d;
    text-align: center;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #333;
}

/* Get Involved section */
.get-involved {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    padding: 4rem 2rem;
    gap: 3rem;
}

.get-involved > * {
    max-width: 500px;
}

.get-involved-content {
    flex: 1;
    min-width: 300px;
}

.get-involved h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #2c5f2d;
}

.btn-contact {
    display: inline-block;
    padding: 1rem 2rem;
    background: #2c5f2d;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-contact:hover {
    background: #1f4220;
}

.get-involved img {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* Land Acknowledgement */
.land-acknowledgement {
    background: #2c5f2d;
    color: white;
    padding: 2rem;
    text-align: center;
}

.land-acknowledgement p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Social Links */
.social-links {
    background: #1f4220;
    padding: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-links a {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: opacity 0.3s;
}

.social-links a img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.social-links a:hover {
    opacity: 0.8;
}

/* Page content (for non-hero pages) */
.page-content {
    padding-top: 100px;
    min-height: calc(100vh - 400px);
}

.content-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.content-section h1 {
    font-size: 2.5rem;
    color: #2c5f2d;
    margin-bottom: 2rem;
}

.section-block {
    margin-bottom: 3rem;
}

.section-block h2 {
    font-size: 1.8rem;
    color: #2c5f2d;
    margin-bottom: 1rem;
}

.section-block p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Board Members Grid */
.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.board-member {
    text-align: center;
}

.board-member-photo {
    width: 150px;
    height: 150px;
    background: #e0e0e0;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 0.9rem;
}

.board-member h3 {
    font-size: 1rem;
    color: #2c5f2d;
    margin-bottom: 0.5rem;
}

.board-member-name {
    color: #666;
    font-style: italic;
}

/* Projects List (Trail Maintenance) */
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.project-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.project-image {
    width: 300px;
    height: 200px;
    background: #e0e0e0;
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.project-details h3 {
    color: #2c5f2d;
    margin-bottom: 0.5rem;
}

/* Advocacy Projects */
.advocacy-projects {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.advocacy-item {
    border-left: 4px solid #2c5f2d;
    padding-left: 1.5rem;
}

.advocacy-item h3 {
    color: #2c5f2d;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.advocacy-description p {
    color: #666;
    font-style: italic;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    header {
        padding: 1rem 1.5rem;
    }

    header .logo {
        height: 50px;
    }

    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 82px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        visibility: hidden;
    }

    nav.active {
        transform: translateY(0);
        visibility: visible;
    }

    nav a {
        padding: 1rem 2rem;
        width: 100%;
        font-size: 1rem;
        border-bottom: 1px solid #e0e0e0;
    }

    nav a:last-child {
        border-bottom: none;
    }

    .hero-content {
        padding: 2rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .get-involved {
        flex-direction: column;
        padding: 3rem 1.5rem;
    }

    .get-involved img {
        order: 2;
    }

    .social-links {
        gap: 1rem;
    }

    .content-section {
        padding: 2rem 1.5rem;
    }

    .content-section h1 {
        font-size: 2rem;
    }

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

    .project-item {
        flex-direction: column;
    }

    .project-image {
        width: 100%;
    }
}
