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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #FAF8F5; /* Light beige default background */
}

html {
    scroll-behavior: smooth;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3 {
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    color: #3B2F2F; /* Dark brown for headings */
    margin-bottom: 2.5rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #3B2F2F;
}

p {
    margin-bottom: 1rem;
    color: #555;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* 2. Button Styles */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-light {
    background-color: #fff;
    color: #333;
    border-color: #fff;
}

.btn-light:hover {
    background-color: transparent;
    color: #fff;
}

.btn-light-outline {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-light-outline:hover {
    background-color: #fff;
    color: #3B2F2F;
}

.btn-dark {
    background-color: #3B2F2F;
    color: #fff;
    border-color: #3B2F2F;
}

.btn-dark:hover {
    background-color: #fff;
    color: #3B2F2F;
    border-color: #3B2F2F;
}

/* 3. Header */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 10;
}

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

.site-header .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* This adds a nice space between the image and text */
    
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

.site-header .logo img {
    height: 40px; /* You can adjust this size */
}

/* 4. Hero Section */
.hero {
    position: relative;
    height: 70vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: left;
    padding: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Update this path to match your project structure.
      Using a placeholder gradient as a fallback.
    */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero-image.jpg');
    background-color: #5a4a42; /* Fallback color */
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-content {
    max-width: 550px;
    margin-left: 0;
}

/* NEW: Ensure the container fills the width of the hero section */
.hero .container {
    width: 100%;
}

.hero h1 {
    font-size: 3.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #eee;
}

/* 5. In Action Section */
.in-action {
    text-align: center;
    background-color: #733e27; /* Dark brown background */
    color: #fff;
    padding: 4rem 0;
}

.in-action h2 {
    color: #fff;
}

.in-action p {
    color: #ddd;
}

.action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.action-card img {
    width: 100%;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1rem;
}

/* 6. Get Involved Section */
.get-involved {
    padding: 4rem 0;
    background-color: #FAF8F5; /* Beige */
}

.get-involved h2 {
    color: #3B2F2F;
}

.involvement-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    text-align: center;
}

.involvement-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    flex-basis: 450px;
    
    /* This new code centers everything vertically */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* This new rule sizes your icons */
.involvement-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.involvement-card h3 {
    margin-bottom: 0.5rem;
}

.involvement-card p {
    color: #3B2F2F;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* 7. About Us Section */
.about-us {
    background-color: #fff;
    padding-top: 2rem;
    padding-bottom: 4rem;
    padding-left: 0; 
    padding-right: 0;
}

.about-us h3 {
    color: #3B2F2F;
}

.about-us p {
    color: #3B2F2F;
}

.about-hero-image-container {
    width: 100%;
    overflow: hidden;
    margin-bottom: 2rem;
}

.about-hero-image-container img {
    width: 100%;
    display: block;
    height: auto;
    object-fit: cover;
}

.about-container {
    display: block;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/*
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}
*/

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

.about-text-column h3 {
    margin-bottom: 0.5rem;
}

/* 8. Footer */
footer.site-footer {
    background-color: #1a1a1a; /* Dark footer background */
    color: #ccc;
    padding: 4rem 0 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-contact {
    padding: 0 2rem 2rem 4rem;
}

.footer-contact h3 {
    color: #fff;
    font-size: 1.8rem;
}

.footer-contact p {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.social-icons a {
    color: #fff;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #aaa;
}

.footer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 9. Responsive Media Queries */

/* Smaller desktops / large tablets */
@media (max-width: 992px) {
    h1, .hero h1 {
        font-size: 2.8rem;
    }
    .about-container {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    
    /*
    .about-image {
        max-height: 400px;
        overflow: hidden;
    }
    */
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    .footer-image {
        max-height: 400px;
        overflow: hidden;
    }
    .footer-contact {
        padding: 0 2rem 2rem 2rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    h1, .hero h1 {
        font-size: 2.2rem;
    }
    .hero-content {
        margin-left: 0;
        max-width: 100%;
        text-align: center;
    }
    .action-grid {
        grid-template-columns: 1fr;
    }
    .involvement-grid {
        grid-template-columns: 1fr;
    }
    .about-content {
        grid-template-columns: 1fr;
    }
}

/* Mobile phones */
@media (max-width: 576px) {
    .hero {
        height: 80vh;
    }
    h2 {
        font-size: 2rem;
    }
}
