/* ══════════════════════════════════════════════════════════
   project.css
   ══════════════════════════════════════════════════════════ */

:root {
    --brand: #c67529;
    --brand-2: #ff8f0c;
    --brand-3: #b07219;
    --brand-grad: linear-gradient(135deg, #c67529 0%, #ff8f0c 30%, #ac5c21 50%, #b07219 70%, #e8820a 100%);
    --ink: #111;
    --muted: #222;
    --line: rgba(0, 0, 0, .08);
    --cream: #faf7f1;
}

/* NOTE: the "Project Detail" split-editorial component (.pd-*)
   that used to live here has moved to css/port.css, since
   about.html now reuses the same component for "About Baranwal
   Builders". Nothing else below changed. */


/* ══════════════════════════════════════════════════════════
   PROJECT DETAIL — split editorial (shared across pages:
   used by project.html "Project Detail" and about.html
   "About Baranwal Builders")
   ══════════════════════════════════════════════════════════ */
.pd-section {
    background: url("../image/shade_bg.svg");
    padding: 80px 0;
}
.about-project{
    padding: 80px 0;
}

.pd-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 80px;
    align-items: start;
}

.pd-aside {
    position: sticky;
    top: 120px;
}

.pd-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: 2px;
    color: #111;
    margin: 14px 0 22px;
}

.pd-title span {
    background: linear-gradient(135deg, #c67529 0%, #ff8f0c 30%, #ac5c21 50%, #b07219 70%, #e8820a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pd-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    padding: 16px 28px;
    background: linear-gradient(135deg, #c67529 0%, #ff8f0c 30%, #ac5c21 50%, #b07219 70%, #e8820a 100%);
    color: #fff !important;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform .35s ease, box-shadow .35s ease;
}

.pd-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 30px -14px rgba(198, 117, 41, .5);
}

.pd-cta-light {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .35);
}

.pd-cta-light:hover {
    background: #fff;
    color: #111 !important;
}

.pd-content {
    position: relative;
}

.pd-media {
    position: relative;
    margin-bottom: 34px;
    overflow: hidden;
}

.pd-media img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
    transition: transform 1.2s ease;
}

.pd-media:hover img {
    transform: scale(1.05);
}

.pd-media-badge {
    position: absolute;
    left: 24px;
    bottom: 24px;
    background: #fff;
    padding: 18px 22px;
    text-align: center;
    border-left: 3px solid #c67529;
}

.pd-media-badge span {
    display: block;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #666;
}

.pd-media-badge strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    font-weight: 600;
    background: linear-gradient(135deg, #c67529 0%, #ff8f0c 30%, #ac5c21 50%, #b07219 70%, #e8820a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pd-content-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 16px;
}

.pd-checklist {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}

.pd-checklist li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    font-size: 15px;
    color: #333;
}

.pd-checklist li i {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #c67529 0%, #ff8f0c 30%, #ac5c21 50%, #b07219 70%, #e8820a 100%);
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    flex-shrink: 0;
}

/* Marquee-style stat strip */
.pd-marquee {
    margin-top: 90px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: #faf7f1;
    border: 1px solid rgba(0, 0, 0, .08);
}

.pd-marquee.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.pd-stat {
    padding: 40px 20px;
    text-align: center;
    border-right: 1px solid rgba(0, 0, 0, .08);
    transition: background .3s;
}

.pd-stat:last-child {
    border-right: none;
}

.pd-stat:hover {
    background: #fff;
}

.pd-stat h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 40px;
    font-weight: 600;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #c67529 0%, #ff8f0c 30%, #ac5c21 50%, #b07219 70%, #e8820a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}

.pd-stat span {
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #222;
}

@media (max-width: 991px) {
    .pd-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .pd-section{
        overflow: hidden;
        padding: 50px 0px;
    }
    .section-pad{
        padding: 50px 0px;
    }

    .pd-aside {
        position: static;
    }
    .pd-title, .pd-content-title{
        font-size: 26px;
    }

    .pd-marquee,
    .pd-marquee.cols-4 {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 60px;
    }

    .pd-stat {
        border-bottom: 1px solid rgba(0, 0, 0, .08);
    }

    .pd-media img {
        height: 320px;
    }
}




/* ══════════════════════════════════════════════════════════
   3. SITE LAYOUT — framed image, clear on every screen
   ══════════════════════════════════════════════════════════ */
.sl-section {
    background: var(--cream);
    overflow: hidden;
}

.sl-wrap {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    align-items: stretch;
}

.sl-image {
    position: relative;
    isolation: isolate;
    min-height: 520px;
    overflow: visible;
}

/* offset architectural outline — reads like a site-plan mark */
.sl-image::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 22px;
    right: -22px;
    bottom: -22px;
    border: 1px solid var(--brand);
    z-index: -1;
    pointer-events: none;
}

.sl-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 1.2s ease;
}

.sl-image:hover img {
    transform: scale(1.06);
}

.sl-image-badge {
    position: absolute;
    right: 28px;
    bottom: 28px;
    background: #fff;
    padding: 16px 20px;
    text-align: center;
    border-left: 3px solid var(--brand);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .35);
    z-index: 2;
}

.sl-image-badge span {
    display: block;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #666;
}

.sl-image-badge strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 600;
    background: var(--brand-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sl-floating {
    background: #fff;
    padding: 60px 50px;
    box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .25);
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sl-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}

.sl-list li {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    color: #333;
}

.sl-list li span {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 600;
    background: var(--brand-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 28px;
}

@media (max-width: 991px) {
    .sl-wrap {
        grid-template-columns: 1fr;
    }

    .sl-image {
        min-height: unset;
    }

    .sl-image img {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .sl-image::before {
        top: 14px;
        left: 14px;
        right: -14px;
        bottom: -14px;
    }

    .sl-floating {
        padding: 40px 28px;
    }

    .pd-stat h3 {
        font-size: 35px;
    }

    .fs-list p {
        margin: 0;
        color: #fff !important;
    }
}

@media (max-width: 575px) {
    .sl-image-badge {
        right: 16px;
        bottom: 16px;
        padding: 12px 16px;
    }

    .sl-image-badge strong {
        font-size: 20px;
    }
}

/* ══════════════════════════════════════════════════════════
   4. AMENITIES — carousel
   ══════════════════════════════════════════════════════════ */
.am-section {
    background: #fff;
}

.am-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.am-nav {
    display: flex;
    gap: 12px;
}

.am-nav button {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(198, 117, 41, .4);
    background: #fff;
    color: var(--brand);
    transition: .35s ease;
    cursor: pointer;
}

.am-nav button:hover {
    background: var(--brand-grad);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
}

.amenity-carousel .am-card {
    background: #fff;
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform .5s ease, box-shadow .5s ease;
}

.amenity-carousel .am-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 50px -30px rgba(198, 117, 41, .35);
}

.am-card-img {
    height: 240px;
    background-size: cover;
    background-position: center;
    transition: transform 1s ease;
}

.am-card:hover .am-card-img {
    transform: scale(1.08);
}

.am-card-body {
    padding: 28px 11px 15px;
    text-align: left;
    position: relative;
    min-height: 230px;
}

.am-card-body i {
    position: absolute;
    top: -26px;
    right: 26px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--brand-grad);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 20px;
    box-shadow: 0 12px 26px -10px rgba(198, 117, 41, .55);
}
.am-card-body P{
    color: #000;
}

.am-card-body h5 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--ink);
    margin: 8px 0 10px;
}



/* ══════════════════════════════════════════════════════════
   5. INFRASTRUCTURE — image + refined ledger list
   Redesign notes: previous version was a tall bento grid
   that stacked into 6 boxes on mobile (very long page).
   This version pairs a sticky image/heading column with a
   compact ledger-style list — same brand tokens, far less
   vertical weight on small screens, and reveals in with the
   existing generic [data-stagger="true"] scroll animation.
   ══════════════════════════════════════════════════════════ */
.infra-section {
    background: var(--cream);
}

.infra-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;
    align-items: start;
}

.infra-aside {
    position: sticky;
    top: 120px;
}

.infra-aside .sub-title {
    margin-bottom: 30px;
}

.infra-media {
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .3);
}

.infra-media img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 1.2s ease;
}

.infra-media:hover img {
    transform: scale(1.06);
}

.infra-media-badge {
    position: absolute;
    left: 24px;
    bottom: 24px;
    background: #fff;
    padding: 16px 20px;
    text-align: center;
    border-left: 3px solid var(--brand);
}

.infra-media-badge span {
    display: block;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
}

.infra-media-badge strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 600;
    background: var(--brand-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.infra-list {
    display: flex;
    flex-direction: column;
}

.infra-row {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
    position: relative;
    transition: padding-left .4s ease;
}

.infra-row:first-child {
    border-top: 1px solid var(--line);
}

.infra-row:hover {
    padding-left: 14px;
}

.infra-row::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 1px;
    width: 0;
    background: var(--brand-grad);
    transition: width .5s ease;
}

.infra-row:hover::after {
    width: 100%;
}

.infra-row-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #d8c3a5;
    min-width: 24px;
    margin-top: 8px;
    flex-shrink: 0;
}

.infra-row-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid rgba(198, 117, 41, .3);
    display: grid;
    place-items: center;
    font-size: 18px;
    color: var(--brand);
    flex-shrink: 0;
    transition: .4s ease;
}

.infra-row:hover .infra-row-icon {
    background: var(--brand-grad);
    color: #fff;
    border-color: transparent;
    transform: rotate(-8deg) scale(1.06);
}

.infra-row-body h5 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 21px;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 8px;
}

.infra-row-body p {
    margin: 0;
    max-width: 480px;
}

@media (max-width: 991px) {
    .infra-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .infra-aside {
        position: static;
    }

    .infra-media img {
        height: 280px;
    }
    .am-card-body{
        min-height: auto;
    }
}

@media (max-width: 575px) {
    .infra-row {
        gap: 16px;
        padding: 20px 0;
    }

    .infra-row-num {
        display: none;
    }

    .infra-row-icon {
        width: 44px;
        height: 44px;
        font-size: 15px;
    }

    .infra-row-body h5 {
        font-size: 18px;
    }
}


/* ══════════════════════════════════════════════════════════
   6. DEVELOPMENT — horizontal steps
   ══════════════════════════════════════════════════════════ */
 .stages-section {
            background:url("../image/b-loader.webp");
            background-size: cover;
            background-attachment: fixed;
            background-repeat: no-repeat;
            padding: 80px 0;
            position: relative;
            overflow: hidden;
        }

        .stage-track {
            position: relative;
            max-width: 1080px;
            margin: 60px auto 0;
        }

        .stage-track::before {
            content: '';
            position: absolute;
            left: 50%;
            top: 6px;
            bottom: 6px;
            width: 2px;
            background: linear-gradient(180deg, transparent, #ba570f 10%, #ba570f 90%, transparent);
            transform: translateX(-50%);
        }

        .stage-item {
            position: relative;
            width: 50%;
            padding: 0 56px 74px;
            opacity: 0;
            transform: translateY(28px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .stage-item.in-view {
            opacity: 1;
            transform: translateY(0);
        }

        .stage-item:nth-child(odd) {
            left: 0;
            text-align: right;
        }

        .stage-item:nth-child(even) {
            left: 50%;
            text-align: left;
        }

        .stage-node {
            position: absolute;
            top: 4px;
            width: 15px;
            height: 15px;
            border-radius: 50%;
            background: #ba570f;
            box-shadow: 0 0 0 5px #fff, 0 0 0 6px rgba(155, 122, 69, 0.35);
        }

        .stage-item:nth-child(odd) .stage-node {
            right: -7.5px;
        }

        .stage-item:nth-child(even) .stage-node {
            left: -7.5px;
        }

        /* ── Phase card: on desktop the image no longer sits as a
           small thumbnail glued to the text — it fills the empty
           opposite half of the row (across the spine), so nothing
           is wasted. Positioned absolutely off .stage-item so it
           can extend past the item's own 50% column. ── */
        .stage-item {
            min-height: 220px;
        }

        .stage-card {
            position: relative;
        }

        .stage-media {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 320px;
            max-width: 38vw;
            height: 210px;
            overflow: hidden;
            box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .35);
            z-index: 1;
        }

        .stage-item:nth-child(odd) .stage-media {
            left: calc(100% + 100px);
        }

        .stage-item:nth-child(even) .stage-media {
            right: calc(100% + 100px);
        }

        .stage-media::after {
            content: '';
            position: absolute;
            inset: 0;
            border: 1px solid rgba(186, 87, 15, .45);
            pointer-events: none;
        }

        .stage-media img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform .9s ease;
        }

        .stage-item:hover .stage-media img {
            transform: scale(1.12);
        }

        .stage-body {
            position: relative;
            z-index: 2;
        }

        .stage-phase {
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: #ba570f;
            margin-bottom: 8px;
        }

        .stage-title {
            font-family: 'Cormorant Garamond', serif;
            font-size: 24px;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: #1a1a1a;
            margin-bottom: 10px;
        }

        

        .stage-status {
            display: inline-block;
            margin-top: 14px;
            font-size: 10px;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            padding: 6px 14px;
            border: 1px solid rgba(155, 122, 69, 0.4);
            color: #ba570f;
        }

        .stage-status.done {
            background: #ba570f;
            color: #fff;
            border-color: #ba570f;
        }

        .stage-status.progress {
            background: #c9962b;
            color: #fff;
            border-color: #c9962b;
            height: 30px;
    border-radius: 0;
        }

        .stage-status.upcoming {
            background: #6b6b6b;
            color: #fff;
            border-color: #6b6b6b;
        }

        .stage-media--clickable { cursor: pointer; }

        .stage-play-icon {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2;
        }

        .stage-play-icon i {
            width: 52px;
            height: 52px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.92);
            color: #ba570f;
            font-size: 18px;
            box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
            transition: transform .3s ease, background .3s ease;
        }

        .stage-item:hover .stage-play-icon i {
            transform: scale(1.1);
            background: #ba570f;
            color: #fff;
        }

        /* ── Journey media modal (image or video) ── */
        .stage-modal {
            position: fixed;
            inset: 0;
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: opacity .3s ease, visibility .3s ease;
        }

        .stage-modal.active { opacity: 1; visibility: visible; }

        .stage-modal-backdrop {
            position: absolute;
            inset: 0;
            background: rgba(10, 10, 10, .88);
        }

        .stage-modal-close {
            position: absolute;
            top: 22px;
            right: 26px;
            width: 42px;
            height: 42px;
            border: none;
            border-radius: 50%;
            background: rgba(255, 255, 255, .12);
            color: #fff;
            font-size: 18px;
            cursor: pointer;
            z-index: 2;
            transition: background .25s ease;
        }

        .stage-modal-close:hover { background: rgba(255, 255, 255, .25); }

        .stage-modal-stage {
            position: relative;
            width: min(90vw, 980px);
            max-height: 86vh;
            z-index: 1;
        }

        .stage-modal-stage img,
        .stage-modal-stage video {
            display: none;
            width: 100%;
            max-height: 86vh;
            object-fit: contain;
            border-radius: 4px;
        }

        .stage-modal-stage.is-video video { display: block; }
        .stage-modal-stage:not(.is-video) img { display: block; }

        @media(max-width:991px){
            .stage-track{
                margin: 0;
            }
             .stage-track::before {
                left: 18px;
            }
              .stage-item,
            .stage-item:nth-child(odd),
            .stage-item:nth-child(even) {
                width: 100%;
                left: 0;
                text-align: left;
                padding: 0 15px 54px 38px;
            }

            .stage-item:nth-child(odd) .stage-node,
            .stage-item:nth-child(even) .stage-node {
                left: 11px;
                right: auto;
            }

            .stage-item {
                min-height: 0;
            }

            .stage-card {
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                gap: 18px;
            }

            .stage-media,
            .stage-item:nth-child(odd) .stage-media,
            .stage-item:nth-child(even) .stage-media {
                position: static;
                transform: none;
                left: auto;
                right: auto;
                width: 100%;
                max-width: 100%;
                height: 190px;
                order: -1;
            }
        }

        @media(max-width:480px){
            .stage-media {
                height: 160px;
            }
        }

/* ══════════════════════════════════════════════════════════
   7. FUTURE SCOPE — parallax hero
   ══════════════════════════════════════════════════════════ */
.fs-section {
    position: relative;
    padding: 80px 0;
    color: #fff;
}

.fs-bg {
    position: absolute;
    inset: 0;
    background: url('../image/director-bg.webp') center/cover fixed no-repeat;
}

.fs-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(27, 50, 40, 0.75), rgba(27, 50, 40, 0.75));
}

.fs-section .main-title {
    color: #fff;
}

.fs-section .main-title {
    background: none;
    -webkit-text-fill-color: #fff;
}

.fs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fs-list li {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 11px 26px;
    margin-bottom: 14px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(6px);
    transition: .4s ease;
}
.fs-list p{
    color: #fff;
}

.fs-list li:hover {
    background: rgba(255, 255, 255, .12);
    transform: translateX(6px);
    border-color: rgba(232, 130, 10, .5);
}

.fs-list li span {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1;
    background: var(--brand-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 40px;
}

.fs-list li h6 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    letter-spacing: 2px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 6px;
}



@media (max-width: 767px) {
    .fs-bg {
        background-attachment: scroll;
    }
}