/* =========================================================
   PROJECT DETAIL PAGE
========================================================= */

.project-detail-hero *,
.project-overview *,
.project-highlights *,
.project-gallery *,
.related-projects * {
    box-sizing: border-box;
}


/* =========================================================
   COMMON EYEBROW
========================================================= */

.project-detail-hero__eyebrow,
.project-overview__eyebrow,
.project-highlights__eyebrow,
.project-gallery__eyebrow,
.related-projects__eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 11px;

    color: var(--naksh-orange);

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.project-detail-hero__eyebrow>span,
.project-overview__eyebrow>span,
.project-highlights__eyebrow>span,
.project-gallery__eyebrow>span,
.related-projects__eyebrow>span {
    width: 29px;
    height: 2px;

    flex: 0 0 29px;

    background: var(--naksh-orange);
}


/* =========================================================
   HERO
========================================================= */

.project-detail-hero {
    position: relative;

    padding: 82px 0;

    overflow: hidden;

    background:
        linear-gradient(135deg,
            #f8fafc 0%,
            #edf4fb 100%);
}

.project-detail-hero::before {
    content: "";

    position: absolute;

    width: 380px;
    height: 380px;

    top: -230px;
    right: -120px;

    border-radius: 50%;

    background:
        rgba(247, 147, 0, .08);
}

.project-detail-hero__grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr) minmax(320px, .85fr);

    align-items: center;

    gap: clamp(45px, 7vw, 95px);
}

.project-detail-hero__content {
    min-width: 0;
}

.project-detail-hero h1 {
    max-width: 790px;

    margin: 0;

    color: var(--naksh-navy);

    font-size:
        clamp(38px, 4.8vw, 65px);

    line-height: 1.04;

    letter-spacing: -1.8px;
}

.project-detail-hero__content>p {
    max-width: 650px;

    margin: 20px 0 0;

    color: var(--naksh-muted);

    font-size: 13px;

    line-height: 1.8;
}


/* HERO META */

.project-detail-hero__meta {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 25px;
}

.project-detail-hero__meta>div {
    min-width: 135px;

    padding: 11px 14px;

    border:
        1px solid var(--naksh-border);

    border-radius: 8px;

    background:
        rgba(255, 255, 255, .72);
}

.project-detail-hero__meta small,
.project-detail-hero__meta strong {
    display: block;
}

.project-detail-hero__meta small {
    margin-bottom: 4px;

    color: var(--naksh-muted);

    font-size: 7px;
    font-weight: 800;

    letter-spacing: .7px;
}

.project-detail-hero__meta strong {
    color: var(--naksh-navy);

    font-size: 9px;

    line-height: 1.4;
}


/* BREADCRUMB */

.project-detail-hero__breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 24px;

    font-size: 9px;
    font-weight: 700;
}

.project-detail-hero__breadcrumb a {
    color: var(--naksh-navy);

    text-decoration: none;
}

.project-detail-hero__breadcrumb span {
    color: var(--naksh-orange);
}

.project-detail-hero__breadcrumb span:last-child {
    color: var(--naksh-muted);
}


/* HERO RIGHT */

.project-detail-hero__visual {
    min-width: 0;
}

.project-detail-hero__box {
    position: relative;

    width: min(100%, 410px);
    min-height: 300px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    margin-left: auto;

    padding: 30px;

    overflow: hidden;

    border-radius: 18px;

    background:
        linear-gradient(145deg,
            var(--naksh-navy),
            var(--naksh-navy-dark));

    box-shadow:
        0 25px 55px rgba(7, 54, 109, .17);
}

.project-detail-hero__box::before {
    content: "";

    position: absolute;

    width: 190px;
    height: 190px;

    top: -70px;
    right: -70px;

    border-radius: 50%;

    background:
        rgba(247, 147, 0, .10);
}

.project-detail-hero__number {
    position: absolute;

    right: 25px;
    bottom: 20px;

    color:
        rgba(255, 255, 255, .035);

    font-size: 45px;
    font-weight: 900;

    pointer-events: none;
}

.project-detail-hero__icon {
    position: relative;
    z-index: 2;

    width: 52px;
    height: 52px;

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

    border-radius: 11px;

    background: var(--naksh-orange);

    color: #fff;

    font-size: 20px;
    font-weight: 900;
}

.project-detail-hero__box-content {
    position: relative;
    z-index: 2;
}

.project-detail-hero__box-content small,
.project-detail-hero__box-content strong,
.project-detail-hero__box-content p {
    display: block;
}

.project-detail-hero__box-content small {
    margin-bottom: 7px;

    color: var(--naksh-orange);

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 1.1px;
}

.project-detail-hero__box-content strong {
    max-width: 290px;

    color: #fff;

    font-size: 23px;

    line-height: 1.22;
}

.project-detail-hero__box-content p {
    margin: 9px 0 0;

    color:
        rgba(255, 255, 255, .62);

    font-size: 8px;

    line-height: 1.6;
}


/* =========================================================
   OVERVIEW
========================================================= */

.project-overview {
    padding: 95px 0;

    overflow: hidden;

    background: #fff;
}

.project-overview__grid {
    display: grid;

    grid-template-columns:
        minmax(350px, .9fr) minmax(0, 1.1fr);

    align-items: center;

    gap: clamp(55px, 8vw, 105px);
}

.project-overview__visual {
    position: relative;

    min-width: 0;

    padding:
        0 0 35px 28px;
}

.project-overview__image-wrap {
    height: 520px;

    overflow: hidden;

    border-radius: 16px;

    background: #edf2f7;

    box-shadow:
        0 22px 55px rgba(7, 54, 109, .12);
}

.project-overview__image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;
}

.project-overview__placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 25px;

    text-align: center;

    background:
        linear-gradient(145deg,
            var(--naksh-navy),
            var(--naksh-navy-dark));
}

.project-overview__placeholder span {
    color: var(--naksh-orange);

    font-size: 55px;
}

.project-overview__placeholder strong {
    color: #fff;

    font-size: 21px;
}

.project-overview__placeholder small {
    color:
        rgba(255, 255, 255, .6);

    font-size: 9px;
}


/* OVERVIEW BADGE */

.project-overview__badge {
    position: absolute;

    left: 0;
    bottom: 0;

    display: flex;
    align-items: center;

    gap: 10px;

    max-width: 240px;

    padding: 16px;

    border-radius: 10px;

    background: var(--naksh-navy);

    box-shadow:
        0 15px 35px rgba(7, 54, 109, .20);
}

.project-overview__badge>span {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

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

    border-radius: 50%;

    background:
        rgba(247, 147, 0, .15);

    color: var(--naksh-orange);

    font-size: 11px;
    font-weight: 900;
}

.project-overview__badge strong,
.project-overview__badge small {
    display: block;
}

.project-overview__badge strong {
    color: #fff;

    font-size: 10px;
}

.project-overview__badge small {
    margin-top: 3px;

    color:
        rgba(255, 255, 255, .62);

    font-size: 7px;
}


/* OVERVIEW CONTENT */

.project-overview__content h2 {
    max-width: 680px;

    margin: 0;

    color: var(--naksh-navy);

    font-size:
        clamp(32px, 3.6vw, 48px);

    line-height: 1.1;

    letter-spacing: -1px;
}

.project-overview__description {
    max-width: 700px;

    margin-top: 20px;

    color: var(--naksh-muted);

    font-size: 12px;

    line-height: 1.85;
}


/* PROJECT INFO */

.project-overview__info {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 11px;

    margin-top: 27px;
}

.project-info-item {
    min-width: 0;

    display: flex;
    align-items: center;

    gap: 11px;

    padding: 13px;

    border:
        1px solid var(--naksh-border);

    border-radius: 9px;

    background: #f8fafc;
}

.project-info-item--wide {
    grid-column: 1 / -1;
}

.project-info-item>span {
    width: 32px;
    height: 32px;

    flex: 0 0 32px;

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

    border-radius: 8px;

    background:
        rgba(247, 147, 0, .12);

    color: var(--naksh-orange);

    font-size: 8px;
    font-weight: 900;
}

.project-info-item small,
.project-info-item strong {
    display: block;
}

.project-info-item small {
    margin-bottom: 3px;

    color: var(--naksh-muted);

    font-size: 7px;
    font-weight: 800;
}

.project-info-item strong {
    overflow-wrap: anywhere;

    color: var(--naksh-navy);

    font-size: 9px;

    line-height: 1.4;
}


/* =========================================================
   HIGHLIGHTS
========================================================= */

.project-highlights {
    padding: 90px 0;

    background: #f6f8fb;
}

.project-highlights__heading {
    max-width: 720px;

    margin:
        0 auto 40px;

    text-align: center;
}

.project-highlights__eyebrow {
    justify-content: center;
}

.project-highlights__heading h2 {
    margin: 0;

    color: var(--naksh-navy);

    font-size:
        clamp(31px, 3.5vw, 47px);

    line-height: 1.1;
}

.project-highlights__heading p {
    max-width: 580px;

    margin: 14px auto 0;

    color: var(--naksh-muted);

    font-size: 11px;

    line-height: 1.75;
}

.project-highlights__grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 17px;
}

.project-highlight-card {
    position: relative;

    min-height: 175px;

    padding: 24px;

    overflow: hidden;

    border:
        1px solid var(--naksh-border);

    border-radius: 12px;

    background: #fff;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.project-highlight-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 16px 35px rgba(7, 54, 109, .09);
}

.project-highlight-card__number {
    position: absolute;

    top: 14px;
    right: 17px;

    color:
        rgba(7, 54, 109, .07);

    font-size: 30px;
    font-weight: 900;
}

.project-highlight-card__icon {
    width: 40px;
    height: 40px;

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

    margin-bottom: 30px;

    border-radius: 9px;

    background:
        rgba(247, 147, 0, .12);

    color: var(--naksh-orange);

    font-size: 11px;
    font-weight: 900;
}

.project-highlight-card h3 {
    margin: 0;

    color: var(--naksh-navy);

    font-size: 14px;

    line-height: 1.45;
}


/* =========================================================
   GALLERY
========================================================= */

.project-gallery {
    padding: 95px 0;

    background: #fff;
}

.project-gallery__heading {
    display: grid;

    grid-template-columns:
        minmax(0, 1.1fr) minmax(280px, .9fr);

    align-items: end;

    gap: 45px;

    margin-bottom: 35px;
}

.project-gallery__heading h2 {
    margin: 0;

    color: var(--naksh-navy);

    font-size:
        clamp(31px, 3.5vw, 47px);

    line-height: 1.1;
}

.project-gallery__heading>p {
    max-width: 450px;

    margin: 0;

    color: var(--naksh-muted);

    font-size: 11px;

    line-height: 1.75;
}

.project-gallery__grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    grid-auto-rows: 250px;

    gap: 15px;
}

.project-gallery__item {
    position: relative;

    min-width: 0;

    margin: 0;

    overflow: hidden;

    border-radius: 12px;

    background: #edf2f7;
}

.project-gallery__item--large {
    grid-row: span 2;
}

.project-gallery__item img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .45s ease;
}

.project-gallery__item:hover img {
    transform: scale(1.045);
}

.project-gallery__item::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(180deg,
            transparent 55%,
            rgba(5, 38, 80, .45));

    pointer-events: none;
}

.project-gallery__item figcaption {
    position: absolute;
    z-index: 2;

    left: 17px;
    bottom: 15px;

    display: flex;
    align-items: center;

    gap: 8px;
}

.project-gallery__item figcaption span {
    width: 30px;
    height: 30px;

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

    border-radius: 50%;

    background: var(--naksh-orange);

    color: #fff;

    font-size: 8px;
    font-weight: 900;
}

.project-gallery__item figcaption small {
    color: #fff;

    font-size: 8px;
    font-weight: 800;
}


/* =========================================================
   RELATED PROJECTS
========================================================= */

.related-projects {
    padding: 95px 0;

    background: #f6f8fb;
}

.related-projects__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 25px;

    margin-bottom: 35px;
}

.related-projects__heading h2 {
    margin: 0;

    color: var(--naksh-navy);

    font-size:
        clamp(30px, 3.3vw, 44px);

    line-height: 1.1;
}

.related-projects__all {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    color: var(--naksh-navy);

    font-size: 10px;
    font-weight: 900;

    text-decoration: none;
}

.related-projects__all span {
    color: var(--naksh-orange);
}

.related-projects__grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}

.related-project-card {
    min-width: 0;

    overflow: hidden;

    border:
        1px solid var(--naksh-border);

    border-radius: 13px;

    background: #fff;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.related-project-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 38px rgba(7, 54, 109, .09);
}

.related-project-card__visual {
    position: relative;

    height: 235px;

    display: block;

    overflow: hidden;

    background: #edf2f7;
}

.related-project-card__visual img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .4s ease;
}

.related-project-card:hover .related-project-card__visual img {
    transform: scale(1.04);
}

.related-project-card__placeholder {
    width: 100%;
    height: 100%;

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

    background: var(--naksh-navy);

    color: var(--naksh-orange);

    font-size: 40px;
}

.related-project-card__category {
    position: absolute;

    left: 14px;
    bottom: 13px;

    padding: 7px 10px;

    border-radius: 25px;

    background: var(--naksh-orange);

    color: #fff;

    font-size: 7px;
    font-weight: 900;

    text-transform: uppercase;
}

.related-project-card__body {
    padding: 21px;
}

.related-project-card__body>small {
    display: block;

    margin-bottom: 6px;

    color: var(--naksh-orange);

    font-size: 8px;
    font-weight: 800;
}

.related-project-card h3 {
    margin: 0;

    font-size: 17px;

    line-height: 1.35;
}

.related-project-card h3 a {
    color: var(--naksh-navy);

    text-decoration: none;
}

.related-project-card p {
    display: -webkit-box;

    margin: 10px 0 0;

    overflow: hidden;

    color: var(--naksh-muted);

    font-size: 9px;

    line-height: 1.7;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.related-project-card__link {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    margin-top: 16px;

    color: var(--naksh-navy);

    font-size: 9px;
    font-weight: 900;

    text-decoration: none;
}

.related-project-card__link span {
    color: var(--naksh-orange);
}


/* =========================================================
   LAPTOP
========================================================= */

@media (max-width: 1100px) {

    .project-highlights__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .project-detail-hero {
        padding: 70px 0;
    }

    .project-detail-hero__grid {
        grid-template-columns: 1fr;

        gap: 42px;
    }

    .project-detail-hero__visual {
        justify-content: flex-start;
    }

    .project-detail-hero__image-wrap {
        width: min(100%, 650px);
        height: 380px;
    }


    .project-overview {
        padding: 75px 0;
    }

    .project-overview__grid {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .project-overview__visual {
        width: min(100%, 650px);
    }


    .project-gallery__heading {
        grid-template-columns: 1fr;

        gap: 13px;
    }


    .related-projects__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .project-detail-hero {
        padding: 55px 0;
    }

    .project-detail-hero h1 {
        font-size:
            clamp(35px, 11vw, 48px);

        letter-spacing: -1px;
    }

    .project-detail-hero__content>p {
        font-size: 12px;
    }

    .project-detail-hero__meta {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .project-detail-hero__meta>div {
        min-width: 0;
    }

    .project-detail-hero__image-wrap {
        width: 100%;
        height: 280px;

        border-radius: 13px;
    }

    .project-detail-hero__image-info {
        left: 15px;
        right: 15px;
        bottom: 14px;
    }

    .project-detail-hero__image-icon {
        width: 38px;
        height: 38px;

        flex-basis: 38px;

        border-radius: 9px;
    }

    .project-detail-hero__image-info strong {
        font-size: 12px;
    }


    /* OVERVIEW */

    .project-overview {
        padding: 58px 0;
    }

    .project-overview__visual {
        padding:
            0 0 28px 17px;
    }

    .project-overview__image-wrap {
        height: 390px;

        border-radius: 12px;
    }

    .project-overview__badge {
        max-width: 215px;

        padding: 13px;
    }

    .project-overview__content h2 {
        font-size:
            clamp(29px, 9vw, 39px);
    }

    .project-overview__info {
        grid-template-columns: 1fr;
    }

    .project-info-item--wide {
        grid-column: auto;
    }


    /* HIGHLIGHTS */

    .project-highlights,
    .project-gallery,
    .related-projects {
        padding: 58px 0;
    }

    .project-highlights__heading {
        margin-bottom: 28px;
    }

    .project-highlights__heading h2,
    .project-gallery__heading h2 {
        font-size:
            clamp(29px, 9vw, 39px);
    }

    .project-highlights__grid {
        grid-template-columns: 1fr;

        gap: 13px;
    }


    /* GALLERY */

    .project-gallery__grid {
        grid-template-columns: 1fr;

        grid-auto-rows: auto;

        gap: 12px;
    }

    .project-gallery__item,
    .project-gallery__item--large {
        height: 280px;

        grid-row: auto;
    }


    /* RELATED */

    .related-projects__heading {
        align-items: flex-start;
        flex-direction: column;

        margin-bottom: 27px;
    }

    .related-projects__grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }

    .related-project-card__visual {
        height: 260px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

    .project-detail-hero__meta {
        grid-template-columns: 1fr;
    }

    .project-overview__visual {
        padding-left: 12px;
    }

    .project-overview__image-wrap {
        height: 340px;
    }

    .project-gallery__item,
    .project-gallery__item--large {
        height: 240px;
    }

    .related-project-card__visual {
        height: 235px;
    }

    .project-detail-hero__image-wrap {
        height: 240px;
    }

}

/* =========================================================
   PROJECT DETAIL HERO - RIGHT IMAGE
========================================================= */

.project-detail-hero__visual {
    min-width: 0;

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


.project-detail-hero__image-wrap {
    position: relative;

    width: min(100%, 480px);
    height: 330px;

    overflow: hidden;

    border-radius: 18px;

    background: #e8eef5;

    box-shadow:
        0 25px 55px rgba(7, 54, 109, 0.17);
}


/* IMAGE */

.project-detail-hero__image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.5s ease;
}


.project-detail-hero__image-wrap:hover .project-detail-hero__image {
    transform: scale(1.035);
}


/* IMAGE OVERLAY */

.project-detail-hero__image-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(180deg,
            rgba(5, 38, 80, 0) 45%,
            rgba(5, 38, 80, 0.65) 100%);

    pointer-events: none;
}


/* BOTTOM INFORMATION */

.project-detail-hero__image-info {
    position: absolute;

    z-index: 3;

    left: 20px;
    right: 20px;
    bottom: 18px;

    display: flex;
    align-items: center;

    gap: 11px;
}


.project-detail-hero__image-icon {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

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

    border-radius: 10px;

    background: var(--naksh-orange);

    color: #fff;

    font-size: 15px;
    font-weight: 900;
}


.project-detail-hero__image-info small,
.project-detail-hero__image-info strong {
    display: block;
}


.project-detail-hero__image-info small {
    margin-bottom: 3px;

    color: var(--naksh-orange);

    font-size: 7px;
    font-weight: 900;

    letter-spacing: 1px;
}


.project-detail-hero__image-info strong {
    color: #fff;

    font-size: 15px;
    font-weight: 800;

    line-height: 1.3;
}


/* =========================================================
   NO IMAGE PLACEHOLDER
========================================================= */

.project-detail-hero__image-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 30px;

    text-align: center;

    background:
        linear-gradient(145deg,
            var(--naksh-navy),
            var(--naksh-navy-dark));
}


.project-detail-hero__image-placeholder span {
    color: var(--naksh-orange);

    font-size: 38px;
}


.project-detail-hero__image-placeholder strong {
    max-width: 300px;

    color: #fff;

    font-size: 20px;

    line-height: 1.35;
}