
/* PROJECTS PAGE DESIGN */

.projects-hero {
    min-height: 490px;
    display: flex;
    align-items: center;
    color: white;
    background:
        linear-gradient(90deg, rgba(40,28,22,.85), rgba(40,28,22,.15)),
        url('../assets/images/project-one.jpg') center/cover;
}

.projects-hero h1 {
    color: white;
    font-size: clamp(45px, 7vw, 76px);
    margin-bottom: 20px;
}

.projects-hero p {
    max-width: 560px;
}

.portfolio-heading {
    margin-bottom: 60px;
}

.project-feature {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 55px;
    align-items: center;
    margin-bottom: 100px;
}

.project-feature.reverse {
    grid-template-columns: 1fr 1.4fr;
}

.project-feature.reverse .project-image {
    order: 2;
}

.project-image {
    height: 470px;
}

.project-info {
    padding: 15px;
}

.project-info h2 {
    font-size: clamp(32px, 4vw, 45px);
    margin: 15px 0 20px;
}

.project-info p {
    margin-bottom: 28px;
    font-size: 15px;
}

.portfolio-cta {
    text-align: center;
    padding: 95px 20px;
    background: var(--brown);
    color: white;
}

.portfolio-cta h2 {
    color: white;
    font-size: clamp(35px, 5vw, 52px);
    margin: 15px 0 28px;
}

@media (max-width: 800px) {
    .project-feature,
    .project-feature.reverse {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 65px;
    }

    .project-feature.reverse .project-image {
        order: 0;
    }

    .project-image {
        height: 320px;
    }

    .project-info {
        padding: 0;
    }
}
