/* 
    CSS for about.html 
*/

.hero {
    position: relative;
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 120px;
    margin-top: -80px;
    min-height: 30vh;
    max-height: 45vh;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: url('../assets/about-hero.jpg') no-repeat center center/cover;

    /*filter: var(--hero-filter);*/
    transition: filter 0.4s ease;
}

/* Darken the image */
.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-text h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text);
    letter-spacing: -1px;
    font-weight: 700;
}

.hero-text p {
    color: var(--text-muted);

    margin-bottom: 30px;
    max-width: 600px;

    font-size: 1rem;
}

.about {
    padding: 80px 0;
}

.about-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--primary);
    margin-bottom: 15px;
}

.about-content ul {
    list-style: none;
    margin-top: 20px;
}

.about-content a {
    color: var(--text-muted);
}

.about-content li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 60px;
    margin: 60px 0;
}

.about-text {
    flex: 1.2;
}

.about-graphic {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-graphic img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px var(--primary));
}

@media (max-width: 900px) {
    .about-flex {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .about-graphic {
        order: -1;
    }
}
