/* ==============================
   PROJECTS PAGE
============================== */

.projects-section {
    min-height: calc(100vh - 70px);
    padding: 75px 5% 100px;
    box-sizing: border-box;
}

/* PAGE HEADING */

.projects-heading {
    text-align: center;
    margin-bottom: 55px;
}

.projects-title {
    margin: 0 0 12px;
    font-family: "Playfair Display", serif;
    font-size: clamp(30px, 3.5vw, 42px);
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--colour-olive);
}

.projects-heading p {
    margin: 0;
    font-size: 13px;
    letter-spacing: 0.08em;
    color: var(--colour-olive);
}

/* PROJECT GRID */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 35px;
    row-gap: 55px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* PROJECT CARDS */

.project-card {
    display: block;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

.project-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e8e3dc;
}

.project-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.04);
}

/* PROJECT INFORMATION */

.project-info {
    padding-top: 16px;
}

.project-info h3 {
    margin: 0 0 8px;
    font-family: "Playfair Display", serif;
    font-size: clamp(17px, 1.5vw, 21px);
    font-weight: 500;
    line-height: 1.3;
    color: var(--colour-olive);
}

.project-info p {
    margin: 0;
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: 1.2px;
    color: var(--colour-olive);
}

/* TABLET */

@media (max-width: 900px) {
    .projects-section {
        padding-top: 60px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 24px;
        row-gap: 40px;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .projects-section {
        padding: 45px 6% 70px;
    }

    .projects-heading {
        margin-bottom: 35px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .project-info h3 {
        font-size: 20px;
    }

    .project-info p {
        font-size: 9px;
    }
}