/* =====================================================
   GAURI KRISHNA HOMES
   PROJECTS PAGE
===================================================== */

.projects-page {
    width: 100%;
    background: #f7f5ef;
    color: #10243b;
}


/* =====================================================
   COMMON WIDTH
===================================================== */

.projects-section-inner {
    width: min(100% - 64px, 1320px);
    max-width: 1320px;
    margin: 0 auto;
}


/* =====================================================
   HERO
===================================================== */

.projects-hero {
    padding: 105px 0 82px;
    text-align: center;
}

.projects-kicker {
    margin: 0 0 15px;

    font-family:
        "Inter",
        sans-serif;

    font-size: 11px;
    line-height: 1.5;
    font-weight: 600;

    letter-spacing: 0.18em;
    text-transform: uppercase;

    color: #b08b4f;
}

.projects-page h1 {
    margin: 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(48px, 5vw, 70px);
    line-height: 1.05;
    font-weight: 400;

    letter-spacing: -0.025em;

    color: #b08b4f;
}

.projects-intro {
    max-width: 650px;

    margin: 20px auto 0;

    font-family: "Inter", sans-serif;

    font-size: 15px;
    line-height: 1.8;
    font-weight: 400;

    color: #66717d;
}


/* =====================================================
   PROJECT LIST
===================================================== */

.projects-list {
    padding: 0 0 115px;
}


/* =====================================================
   PROJECT CARD
===================================================== */

.project-card {
    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(0, 0.85fr);

    min-height: 590px;

    margin-bottom: 75px;

    background: #ffffff;

    border: 1px solid rgba(176, 139, 79, 0.28);

    border-radius: 8px;

    overflow: hidden;

    box-shadow:
        0 24px 60px rgba(9, 33, 59, 0.08);
}

.project-card:last-child {
    margin-bottom: 0;
}


/* =====================================================
   REVERSE CARD
===================================================== */

.project-card-reverse {
    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(0, 1.15fr);
}

.project-card-reverse .project-card-image {
    order: 2;
}

.project-card-reverse .project-card-content {
    order: 1;
}


/* =====================================================
   IMAGE
===================================================== */

.project-card-image {
    position: relative;

    min-height: 590px;

    overflow: hidden;

    background: #0b1d33;
}

.project-card-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 700ms ease;
}

.project-card:hover .project-card-image img {
    transform: scale(1.025);
}

.project-card-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(9, 33, 59, 0.02) 40%,
            rgba(9, 33, 59, 0.55) 100%
        );
}

.project-card-label {
    position: absolute;

    left: 32px;
    bottom: 28px;

    font-family: "Inter", sans-serif;

    font-size: 10px;
    line-height: 1;

    font-weight: 600;

    letter-spacing: 0.18em;

    color: #ffffff;
}


/* =====================================================
   CONTENT
===================================================== */

.project-card-content {
    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 70px 65px;

    background: #ffffff;
}

.project-card-kicker {
    margin: 0 0 17px;

    font-family: "Inter", sans-serif;

    font-size: 10px;
    line-height: 1.5;

    font-weight: 600;

    letter-spacing: 0.17em;

    text-transform: uppercase;

    color: #b08b4f;
}

.project-card h2 {
    margin: 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(40px, 4vw, 58px);

    line-height: 1.08;

    font-weight: 400;

    letter-spacing: -0.025em;

    color: #10243b;
}

.project-card-description {
    max-width: 500px;

    margin: 27px 0 0;

    font-family: "Inter", sans-serif;

    font-size: 15px;

    line-height: 1.8;

    color: #66717d;
}


/* =====================================================
   DETAILS
===================================================== */

.project-details {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    margin-top: 40px;

    border-top: 1px solid rgba(176, 139, 79, 0.35);
    border-bottom: 1px solid rgba(176, 139, 79, 0.35);
}

.project-detail {
    min-width: 0;

    padding: 20px 15px 20px 0;
}

.project-detail + .project-detail {
    padding-left: 15px;

    border-left: 1px solid rgba(176, 139, 79, 0.25);
}

.project-detail-label {
    display: block;

    margin-bottom: 7px;

    font-family: "Inter", sans-serif;

    font-size: 9px;
    line-height: 1.4;

    font-weight: 600;

    letter-spacing: 0.14em;

    color: #b08b4f;
}

.project-detail-value {
    display: block;

    font-family: "Inter", sans-serif;

    font-size: 13px;
    line-height: 1.5;

    font-weight: 500;

    color: #10243b;
}


/* =====================================================
   BUTTON
===================================================== */

.project-card-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    align-self: flex-start;

    min-height: 46px;

    margin-top: 35px;

    padding: 0 28px;

    border: 1px solid #b08b4f;

    background: #b08b4f;

    color: #ffffff;

    font-family: "Inter", sans-serif;

    font-size: 11px;
    line-height: 1;

    font-weight: 600;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    text-decoration: none;

    transition:
        background 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.project-card-button:hover {
    background: #10243b;
    border-color: #10243b;

    color: #ffffff;

    transform: translateY(-2px);
}


/* =====================================================
   CTA
===================================================== */

.projects-cta {
    padding: 62px 0;

    background: #0b1d33;

    color: #ffffff;
}

.projects-cta-inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 50px;
}

.projects-cta-kicker {
    margin: 0 0 10px;

    font-family: "Inter", sans-serif;

    font-size: 10px;
    line-height: 1.5;

    font-weight: 600;

    letter-spacing: 0.17em;

    color: #b08b4f;
}

.projects-cta h2 {
    margin: 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 36px;
    line-height: 1.15;

    font-weight: 400;

    color: #f5f2ec;
}

.projects-cta-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 0 34px;

    border: 1px solid #b08b4f;

    color: #f5f2ec;

    font-family: "Inter", sans-serif;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 0.15em;

    text-transform: uppercase;

    text-decoration: none;

    transition:
        background 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.projects-cta-button:hover {
    background: #b08b4f;
    color: #ffffff;

    transform: translateY(-2px);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {

    .projects-section-inner {
        width: min(100% - 48px, 100%);
    }

    .project-card,
    .project-card-reverse {
        grid-template-columns: 1fr;
    }

    .project-card-reverse .project-card-image {
        order: 1;
    }

    .project-card-reverse .project-card-content {
        order: 2;
    }

    .project-card-image {
        min-height: 460px;
    }

    .project-card-content {
        padding: 55px 45px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {

    .projects-section-inner {
        width: calc(100% - 44px);
    }

    .projects-hero {
        padding: 70px 0 55px;
    }

    .projects-page h1 {
        font-size: 43px;
    }

    .projects-intro {
        font-size: 13px;
    }

    .projects-list {
        padding-bottom: 75px;
    }

    .project-card {
        margin-bottom: 48px;
    }

    .project-card-image {
        min-height: 310px;
    }

    .project-card-label {
        left: 22px;
        bottom: 20px;
    }

    .project-card-content {
        padding: 42px 28px;
    }

    .project-card h2 {
        font-size: 38px;
    }

    .project-card-description {
        margin-top: 22px;
        font-size: 13px;
    }

    .project-details {
        grid-template-columns: 1fr;

        margin-top: 30px;
    }

    .project-detail {
        padding: 16px 0;
    }

    .project-detail + .project-detail {
        padding-left: 0;

        border-left: 0;

        border-top: 1px solid rgba(176, 139, 79, 0.2);
    }

    .projects-cta {
        padding: 48px 0;
    }

    .projects-cta-inner {
        flex-direction: column;

        align-items: flex-start;

        gap: 28px;
    }

    .projects-cta h2 {
        font-size: 31px;
    }

}


/* =====================================================
   VERY SMALL MOBILE
===================================================== */

@media (max-width: 400px) {

    .projects-section-inner {
        width: calc(100% - 36px);
    }

    .project-card-content {
        padding: 38px 22px;
    }

    .project-card h2 {
        font-size: 34px;
    }

}