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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

header {
    background: #2C2C2C;
    color: white;
    padding: 1rem 0;
    position: relative;
    z-index: 100;
}

header h1 {
    text-align: center;
    margin-bottom: 1rem;
    display: none;
}

nav {
    text-align: center;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 2rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.3s;
    font-size: 1.1rem;
}

nav a:hover, nav a.active {
    background: #1A1A1A;
}

.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background-image: url('images/aerialview.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    z-index: 1;
}



.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.hero-overlay h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
}

.hero-overlay p {
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.upcoming-events {
    background-image: url('images/aboriginal.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
}

.upcoming-events::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.upcoming-events > * {
    position: relative;
    z-index: 2;
}

.upcoming-events h2 {
    font-size: 2.5rem;
    color: #2c5530;
    margin-bottom: 3rem;
}

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

.event {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.event:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(76, 175, 80, 0.2);
    border-color: #4CAF50;
}

.event img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event h3 {
    color: #2c5530;
    padding: 1rem;
    margin-bottom: 0.5rem;
}

.event p {
    padding: 0 1rem 1.5rem;
    color: #666;
}

.community-activities {
    background-image: url('images/aboriginal.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
}

.community-activities::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.community-activities > * {
    position: relative;
    z-index: 2;
}

.community-activities h2 {
    font-size: 2.5rem;
    color: #8B4513;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.8);
}

.community-activities .event {
    background: rgba(255, 255, 255, 0.95);
}

.about-us {
    background: white;
    padding: 4rem 2rem;
    text-align: center;
}

.about-us h2 {
    font-size: 2.5rem;
    color: #2c5530;
    margin-bottom: 3rem;
}

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

.gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.gallery img:hover {
    transform: scale(1.08);
    border-color: #4CAF50;
    box-shadow: 0 8px 16px rgba(76, 175, 80, 0.3);
}

.about-us p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

footer {
    background: #2C2C2C;
    color: white;
    text-align: center;
    padding: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-links a {
    color: white;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #4CAF50;
}

/* Page-specific styles for Community Group and Garden pages */
.page-hero {
    position: relative;
    height: 50vh;
    overflow: hidden;
}

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

.page-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 3rem 2rem 2rem;
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.page-hero-overlay {
    z-index: 2;
}

.page-hero-overlay h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.page-hero-overlay p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.intro-section {
    padding: 4rem 0;
    background: white;
}

.partnership-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f9f5f0 0%, #fff8f0 100%);
    text-align: center;
}

.partnership-section h2 {
    font-size: 2.5rem;
    color: #2c5530;
    margin-bottom: 1.5rem;
}

.partnership-intro {
    max-width: 800px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
}

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

.partnership-item {
    background: white;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #4CAF50;
}

.partnership-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.15);
}

.partnership-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.partnership-item p {
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.getting-started {
    padding: 4rem 0;
    background-image: url('images/Green square growers-1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
}

.getting-started::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1;
}

.getting-started > * {
    position: relative;
    z-index: 2;
}

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

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.text-content h2 {
    color: #8B4513;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.text-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 1rem;
}

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

.text-content li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
}

.text-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.image-content img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.activities-showcase {
    padding: 4rem 0;
    background-image: url('images/pemwuluy-park-1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: 2rem 0;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
}

.activities-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1;
}

.activities-showcase > * {
    position: relative;
    z-index: 2;
}

.benefits-showcase {
    padding: 4rem 0;
    background-image: url('images/Green square growers-1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: 2rem 0;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
}

.benefits-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1;
}

.benefits-showcase > * {
    position: relative;
    z-index: 2;
}

.activities-showcase h2, .benefits-showcase h2 {
    text-align: center;
    color: #8B4513;
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

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

.showcase-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.showcase-item:hover {
    transform: translateY(-8px);
}

.showcase-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.showcase-item h3 {
    color: #8B4513;
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.3rem;
}

.showcase-item p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    line-height: 1.6;
}

.garden-features {
    padding: 4rem 0;
}

.garden-features h2 {
    text-align: center;
    color: #8B4513;
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.feature-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.feature-content {
    padding: 1.5rem;
}

.feature-content h3 {
    color: #8B4513;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-content p {
    color: #666;
    line-height: 1.5;
}

.join-section {
    padding: 4rem 2rem;
    background-image: url('images/aboriginal.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    position: relative;
}

.join-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.join-section > * {
    position: relative;
    z-index: 2;
}

.join-content h2 {
    text-align: center;
    color: #8B4513;
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

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

.join-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.join-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.join-item h3 {
    color: #8B4513;
    padding: 1rem 1rem 0.5rem;
    font-size: 1.2rem;
}

.join-item p {
    padding: 0 1rem 1.5rem;
    color: #666;
}

.cta-text {
    text-align: center;
    font-size: 1.2rem;
    color: #8B4513;
    font-weight: bold;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.garden-gallery {
    padding: 4rem 0;
    background: white;
}

.garden-gallery h2 {
    text-align: center;
    color: #8B4513;
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

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

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(139, 69, 19, 0.3);
}

@media (max-width: 768px) {
    nav a {
        display: block;
        margin: 0.25rem 0;
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    
    .hero-overlay h2 {
        font-size: 2rem;
    }
    
    .hero-overlay p {
        font-size: 1.2rem;
    }
    
    .hero-section {
        height: 70vh;
        background-attachment: scroll;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .upcoming-events, .community-activities, .about-us {
        padding: 2rem 1rem;
    }
    
    .upcoming-events h2, .community-activities h2, .about-us h2 {
        font-size: 2rem;
    }
    
    .event h3 {
        font-size: 1.2rem;
    }
    
    .event p {
        font-size: 0.9rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .page-hero {
        height: 40vh;
    }
    
    .page-hero-overlay h1 {
        font-size: 1.8rem;
    }
    
    .page-hero-overlay p {
        font-size: 1rem;
    }
    
    .showcase-grid, .features-grid {
        grid-template-columns: 1fr;
    }
    
    .activities-showcase, .benefits-showcase, .join-section {
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
        background-attachment: scroll;
    }
    
    .getting-started {
        background-attachment: scroll;
    }
    
    .text-content h2 {
        font-size: 1.5rem;
    }
    
    .join-grid {
        grid-template-columns: 1fr;
    }
}