/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: Arial, Helvetica, sans-serif;

    background: #f7f5f0;

    color: #292929;

    line-height: 1.6;
}


a {
    text-decoration: none;
    color: inherit;
}



/* =========================
   HEADER
========================= */

.site-header {

    height: 85px;

    padding: 0 6%;

    background: #ffffff;

    border-bottom: 1px solid #e7e3da;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.logo {

    font-size: 28px;

    font-weight: 600;

    color: #84b2a7;
}


.main-nav {

    display: flex;

    gap: 30px;
}


.main-nav a {

    font-size: 14px;

    color: #555;

    transition: 0.2s;
}


.main-nav a:hover,
.main-nav a.active {

    color: #84b2a7;
}


.header-button {

    padding: 11px 20px;

    background: #84b2a7;

    color: white;

    font-size: 14px;

    transition: 0.2s;
}


.header-button:hover {

    background: #719d93;
}



/* =========================
   GENERAL
========================= */

main {

    overflow: hidden;
}


.eyebrow {

    color: #84b2a7;

    font-size: 11px;

    letter-spacing: 2px;

    font-weight: 600;

    margin-bottom: 10px;
}



/* =========================
   HERO
========================= */

.hero {

    max-width: 900px;

    margin: 0 auto;

    padding: 110px 20px 100px;

    text-align: center;
}


.hero h1 {

    font-size: clamp(42px, 7vw, 72px);

    line-height: 1.1;

    font-weight: 500;

    margin-bottom: 25px;
}


.hero-text {

    max-width: 650px;

    margin: 0 auto;

    color: #666;

    font-size: 17px;

    line-height: 1.8;
}



/* =========================
   PROJECTS
========================= */

.projects {

    max-width: 1200px;

    margin: 0 auto;

    padding: 20px 20px 100px;
}


.section-heading {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    margin-bottom: 40px;
}


.section-heading h2 {

    font-size: 36px;

    font-weight: 500;
}


.section-heading > p {

    color: #777;

    font-size: 14px;
}



/* =========================
   PROJECT GRID
========================= */

.projects-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}


.project-card {

    background: #ffffff;

    border: 1px solid #e5e1d9;

    transition:
        transform 0.25s,
        box-shadow 0.25s;
}


.project-card:hover {

    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.07);
}



/* =========================
   IMAGE PLACEHOLDER
========================= */

.project-image {

    height: 300px;

    background: #dfe8e4;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #84b2a7;

    font-size: 13px;

    letter-spacing: 1px;
}



/* =========================
   PROJECT CONTENT
========================= */

.project-content {

    padding: 25px;
}


.project-category {

    color: #84b2a7;

    font-size: 11px;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    margin-bottom: 8px;
}


.project-content h3 {

    font-size: 22px;

    font-weight: 500;

    margin-bottom: 10px;
}


.project-content > p:not(.project-category) {

    color: #777;

    font-size: 14px;

    line-height: 1.7;

    margin-bottom: 20px;
}


.project-link {

    color: #84b2a7;

    font-size: 14px;

    transition: 0.2s;
}


.project-link:hover {

    color: #e3b55f;
}



/* =========================
   ALL PROJECTS
========================= */

.all-projects {

    background: #84b2a7;

    color: white;

    padding: 90px 20px;

    text-align: center;
}


.all-projects-content {

    max-width: 650px;

    margin: 0 auto;
}


.all-projects .eyebrow {

    color: #f8e0aa;
}


.all-projects h2 {

    font-size: 38px;

    font-weight: 500;

    margin-bottom: 15px;
}


.all-projects p:not(.eyebrow) {

    opacity: 0.9;

    margin-bottom: 30px;
}


.gold-button {

    display: inline-block;

    padding: 13px 24px;

    background: #e3b55f;

    color: #ffffff;

    font-size: 14px;

    transition: 0.2s;
}


.gold-button:hover {

    background: #d0a34f;
}



/* =========================
   CTA
========================= */

.cta {

    max-width: 750px;

    margin: 0 auto;

    padding: 110px 20px;

    text-align: center;
}


.cta h2 {

    font-size: 42px;

    font-weight: 500;

    margin-bottom: 15px;
}


.cta p:not(.eyebrow) {

    color: #777;

    margin-bottom: 30px;
}


.cta-button {

    display: inline-block;

    padding: 13px 25px;

    background: #84b2a7;

    color: white;

    font-size: 14px;

    transition: 0.2s;
}


.cta-button:hover {

    background: #719d93;
}



/* =========================
   FOOTER
========================= */

.site-footer {

    background: #ffffff;

    border-top: 1px solid #e5e1d9;

    padding: 40px 6%;

    display: flex;

    justify-content: space-between;

    gap: 30px;
}


.site-footer h3 {

    color: #84b2a7;

    font-size: 22px;

    margin-bottom: 5px;
}


.site-footer p {

    color: #777;

    font-size: 13px;
}


.footer-links {

    display: flex;

    gap: 25px;

    align-items: center;
}


.footer-links a {

    font-size: 13px;

    color: #666;
}


.footer-links a:hover {

    color: #84b2a7;
}



/* =========================
   MOBILE
========================= */

@media (max-width: 850px) {

    .main-nav {

        display: none;
    }


    .projects-grid {

        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 600px) {

    .site-header {

        padding: 0 5%;
    }


    .header-button {

        display: none;
    }


    .hero {

        padding: 80px 20px;
    }


    .hero h1 {

        font-size: 44px;
    }


    .section-heading {

        flex-direction: column;

        align-items: flex-start;

        gap: 10px;
    }


    .projects-grid {

        grid-template-columns: 1fr;
    }


    .project-image {

        height: 250px;
    }


    .all-projects h2 {

        font-size: 30px;
    }


    .cta h2 {

        font-size: 32px;
    }


    .site-footer {

        flex-direction: column;
    }


    .footer-links {

        flex-wrap: wrap;
    }

}

/* ========================================
   PROJECT IMAGES
======================================== */

.project-image {
    position: relative;
    overflow: hidden;

    padding: 0;
}

.project-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.04);
}