/* --- ABOUT PAGE STYLES --- */

/* --- 1. Mission Section --- */
#about-mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
    rgba(0,0,0,0.0) 0%,
    rgba(0,0,0,0.8) 80%
    );
    z-index: 1;
}
.mission-content {
    position: relative;
    z-index: 2;
}

#about-mission {
    background-color: #0a0a0a;
    padding: 8rem 5%;
    text-align: center;
    border-bottom: 1px solid #222;

    position: relative; /* For the overlay */
    background-image: url('../../assets/images/about-bg.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden; /* Ensures no bleed-over */

}

#about-mission h1 {
    margin-top: 5rem;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

#about-mission h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.4;
    color: #f0f0f0;
    max-width: 1000px;
    margin: 0 auto;
}

/* --- 2. About Bio Section --- */
#about-bio {
    background-color: #000;
    padding: 6rem 5%;
    border-bottom: 1px solid #222;
}

.bio-content {
    max-width: 80ch; /* Limits width for readability */
    margin: 0 auto;
    color: #c0c0c0;
}

.bio-content h3 {
    font-size: 2.5rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 2rem;
}

.bio-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* --- 3. Leadership Section --- */
#about-leadership {
    background-color: #000;
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

#about-leadership h2 {
    font-size: 3rem;
    color: #fff;
    text-align: center;
    margin-bottom: 1rem;
}

.leadership-leadin {
    font-size: 1.25rem;
    color: #aaa;
    line-height: 1.7;
    text-align: center;
    max-width: 70ch;
    margin: 0 auto 4rem auto;
}

.leadership-gallery {
    display: grid;
    /* 4 columns on desktop */
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.leader-card {
    display: block;
    text-decoration: none;
    background-color: #0a0a0a;
    border: 1px solid #222;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.leader-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-color: #444;
}

.leader-image {
    height: 300px; /* Adjust as needed */
    width: 100%;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
    border-bottom: 1px solid #222;
}

/* TODO: Add headshot images */
#leader-img-1 { background-image: url('./images/leader-jane.jpg'); }
#leader-img-2 { background-image: url('./images/leader-john.jpg'); }
#leader-img-3 { background-image: url('./images/leader-alex.jpg'); }
#leader-img-4 { background-image: url('./images/leader-sam.jpg'); }


.leader-info {
    padding: 1.5rem;
}

.leader-info h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
    margin: 0 0 0.25rem 0;
}

.leader-info p {
    font-size: 1rem;
    color: #aaa;
    margin: 0;
}

/* --- 4. Responsive --- */

@media (max-width: 1024px) {
    /* 3 columns on tablet */
    .leadership-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    #about-mission {
        padding: 6rem 5%;
    }
    #about-mission h2 {
        font-size: 2rem;
    }

    #about-bio {
        padding: 4rem 5%;
    }
    #about-bio h3 {
        font-size: 2rem;
    }
    .bio-content p {
        font-size: 1.1rem;
    }

    #about-leadership {
        padding: 4rem 5%;
    }
    #about-leadership h2 {
        font-size: 2.5rem;
    }
    .leadership-leadin {
        font-size: 1.1rem;
    }

    /* 2 columns on small tablet */
    .leadership-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    /* 1 column on mobile */
    .leadership-gallery {
        grid-template-columns: 1fr;
    }

    .leader-image {
        height: 350px;
    }
}