/* ================= COURT YARD HOTEL — MODERN LUXURY ================= */

body {
    background: #f4f3ef;
    color: #111;
}

/* HERO */

.project-hero {
    min-height: 100vh;
    padding: 120px 6% 70px;
    background: #0b0b0c;
    color: white;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 42px;
    align-items: end;
}

.project-hero-image {
    height: calc(100vh - 190px);
    min-height: 560px;
    overflow: hidden;
    border-radius: 34px;
    background: #111;
}

.project-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.86) contrast(1.03);
    transition: .8s ease;
}

.project-hero-image:hover img {
    transform: scale(1.04);
}

.project-hero-content {
    padding: 34px 0 20px;
}

.back-btn{
    display:inline-flex;
    align-items:center;
    gap:14px;

    padding:14px 24px;

    margin-bottom:55px;

    border:1px solid rgba(255,255,255,.15);
    border-radius:999px;

    background:rgba(255,255,255,.04);
    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);

    color:#fff;
    text-decoration:none;

    font-size:.82rem;
    font-weight:500;
    letter-spacing:.14em;
    text-transform:uppercase;

    transition:.35s cubic-bezier(.2,.8,.2,1);
}

.back-btn span{
    font-size:1rem;
    transition:transform .35s ease;
}

.back-btn:hover{
    background:#fff;
    color:#111;

    transform:translateY(-3px);
    box-shadow:0 18px 45px rgba(255,255,255,.12);
}

.back-btn:hover span{
    transform:translateX(-5px);
}

.project-kicker {
    display: block;
    color: #00ff66;
    font-size: .75rem;
    letter-spacing: .28em;
    text-transform: uppercase;
}

.project-hero h1 {
    margin-top: 22px;
    max-width: 760px;
    font-size: clamp(3.2rem, 6.5vw, 7rem);
    line-height: .88;
    letter-spacing: -.085em;
    font-weight: 500;
}

.project-hero p {
    max-width: 560px;
    margin-top: 28px;
    color: rgba(255,255,255,.68);
    line-height: 1.85;
    font-size: 1.04rem;
}

.project-meta {
    margin-top: 48px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,.12);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.project-meta strong {
    display: block;
    font-size: clamp(1.5rem, 2.4vw, 2.4rem);
    line-height: 1;
    letter-spacing: -.055em;
    font-weight: 500;
}

.project-meta span {
    display: block;
    margin-top: 10px;
    color: rgba(255,255,255,.55);
    font-size: .9rem;
    line-height: 1.5;
}

/* INTRO */

.project-intro {
    padding: 135px 6%;
    display: grid;
    grid-template-columns: .35fr 1fr;
    gap: 80px;
    max-width: 1300px;
    margin: 0 auto;
}

.intro-label span,
.gallery-header span,
.delivery-content span,
.next-project-cta span {
    color: rgba(0,0,0,.55);
    font-size: .75rem;
    letter-spacing: .28em;
    text-transform: uppercase;
}

.intro-label span::after,
.gallery-header span::after,
.delivery-content span::after {
    content: "";
    display: block;
    width: 70px;
    height: 2px;
    margin-top: 14px;
    background: #00ff66;
}

.intro-copy h2 {
    max-width: 850px;
    font-size: clamp(2.8rem, 5.5vw, 5.8rem);
    line-height: .92;
    letter-spacing: -.08em;
    font-weight: 500;
}

.intro-copy p {
    max-width: 760px;
    margin-top: 28px;
    color: rgba(0,0,0,.62);
    font-size: 1.06rem;
    line-height: 1.9;
}

/* SCOPE STRIP */

.scope-strip {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 6% 130px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.scope-strip div {
    padding: 30px;
    min-height: 250px;
    border-radius: 30px;
    background: white;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 18px 55px rgba(0,0,0,.05);
    transition: .35s ease;
}

.scope-strip div:hover {
    transform: translateY(-7px);
    box-shadow: 0 30px 80px rgba(0,0,0,.1);
}

.scope-strip span,
.delivery-list span {
    color: #00aa44;
    font-size: .75rem;
    letter-spacing: .25em;
}

.scope-strip h3,
.delivery-list h3 {
    margin-top: 38px;
    font-size: 1.6rem;
    letter-spacing: -.045em;
    font-weight: 500;
}

.scope-strip p,
.delivery-list p {
    margin-top: 14px;
    color: rgba(0,0,0,.62);
    line-height: 1.75;
}

/* FEATURE IMAGE */

.featured-image-block {
    padding: 0 6% 135px;
}

.featured-image-block img {
    width: 100%;
    max-width: 1300px;
    height: 640px;
    margin: 0 auto;
    display: block;
    object-fit: cover;
    border-radius: 34px;
    box-shadow: 0 28px 90px rgba(0,0,0,.12);
}

/* GALLERY */

.gallery-section {
    padding: 135px 6%;
    background: #0b0b0c;
    color: white;
}

.gallery-header {
    max-width: 760px;
    margin-bottom: 70px;
}

.gallery-header span {
    color: #00ff66;
}

.gallery-header h2 {
    margin-top: 24px;
    font-size: clamp(2.8rem, 5vw, 5.3rem);
    line-height: .95;
    letter-spacing: -.08em;
    font-weight: 500;
}

/* ================= GALLERY LAYOUT ================= */

.gallery-container {
    max-width: 1300px;
    margin: 0 auto;
}

.editorial-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 52px 22px;
}

.gallery-item {
    margin: 0;
    min-width: 0;
}

.gallery-item.gallery-featured,
.gallery-item.gallery-wide {
    grid-column: 1 / -1;
}

.gallery-open {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.gallery-image-wrap {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 28px;
    background: #181818;
}

.gallery-featured .gallery-image-wrap {
    height: 650px;
}

.gallery-wide .gallery-image-wrap {
    height: 540px;
}

.gallery-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.92) contrast(1.04);
    transition:
        transform .7s cubic-bezier(.2, .8, .2, 1),
        filter .4s ease;
}

.gallery-image-wrap::after {
    content: "View Image";
    position: absolute;
    right: 20px;
    bottom: 20px;

    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;

    background: rgba(0,0,0,.58);
    color: white;

    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .13em;
    text-transform: uppercase;

    opacity: 0;
    transform: translateY(8px);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transition:
        opacity .3s ease,
        transform .3s ease;
}

.gallery-open:hover .gallery-image-wrap img {
    transform: scale(1.05);
    filter: brightness(1);
}

.gallery-open:hover .gallery-image-wrap::after {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item figcaption {
    padding-top: 18px;
}

.gallery-item figcaption h3 {
    color: white;
    font-size: 1.45rem;
    line-height: 1.1;
    letter-spacing: -.04em;
    font-weight: 500;
}

.gallery-item figcaption p {
    margin-top: 7px;
    color: rgba(255,255,255,.5);
    font-size: .74rem;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.gallery-footer {
    display: flex;
    justify-content: center;
    margin-top: 70px;
}

.view-gallery-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    padding: 14px 24px;

    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;

    background: transparent;
    color: white;

    font-family: inherit;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;
}

.view-gallery-btn:hover {
    background: white;
    color: #111;
    transform: translateY(-3px);
}

/* ================= LIGHTBOX ================= */

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 70px 90px 40px;

    background: rgba(4,4,4,.97);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .3s ease,
        visibility .3s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox-content {
    width: min(1200px, 82vw);
}

.lightbox-content > img {
    display: block;
    width: 100%;
    height: 72vh;

    object-fit: contain;
    border-radius: 16px;
}

.lightbox-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;

    padding-top: 18px;
    color: white;
}

.lightbox-meta h3 {
    font-size: 1.3rem;
    font-weight: 500;
}

.lightbox-meta p {
    margin-top: 6px;
    color: rgba(255,255,255,.5);
    font-size: .72rem;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.lightbox-meta > span {
    color: rgba(255,255,255,.5);
}

.lightbox-close,
.lightbox-nav {
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;

    background: rgba(255,255,255,.08);
    color: white;

    cursor: pointer;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 28px;

    width: 48px;
    height: 48px;

    font-size: 1.9rem;
}

.lightbox-nav {
    position: absolute;
    top: 50%;

    width: 52px;
    height: 52px;

    transform: translateY(-50%);
    font-size: 1.3rem;
}

.lightbox-prev {
    left: 26px;
}

.lightbox-next {
    right: 26px;
}

body.lightbox-open {
    overflow: hidden;
}

/* GALLERY TABLET */

@media (max-width: 900px) {
    .editorial-gallery {
        grid-template-columns: 1fr;
    }

    .gallery-item.gallery-featured,
    .gallery-item.gallery-wide {
        grid-column: auto;
    }

    .gallery-image-wrap,
    .gallery-featured .gallery-image-wrap,
    .gallery-wide .gallery-image-wrap {
        height: 420px;
    }

    .gallery-lightbox {
        padding: 70px 20px 28px;
    }

    .lightbox-content {
        width: 100%;
    }

    .lightbox-content > img {
        height: 68vh;
    }
}

/* GALLERY MOBILE */

@media (max-width: 560px) {
    .gallery-image-wrap,
    .gallery-featured .gallery-image-wrap,
    .gallery-wide .gallery-image-wrap {
        height: 310px;
        border-radius: 20px;
    }

    .gallery-image-wrap::after {
        display: none;
    }

    .view-gallery-btn {
        width: 100%;
        justify-content: center;
    }

    .lightbox-content > img {
        height: 58vh;
    }

    .lightbox-nav {
        top: auto;
        bottom: 22px;
        transform: none;
    }
}

/* DELIVERY */

.delivery-section {
    padding: 135px 6%;
    background: #f4f3ef;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px;
    max-width: 1300px;
    margin: 0 auto;
}

.delivery-content h2 {
    margin-top: 24px;
    max-width: 560px;
    font-size: clamp(2.6rem, 4.8vw, 5rem);
    line-height: .95;
    letter-spacing: -.08em;
    font-weight: 500;
}

.delivery-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.delivery-list div {
    padding: 28px;
    min-height: 230px;
    border-radius: 28px;
    background: white;
    border: 1px solid rgba(0,0,0,.06);
    transition: .35s ease;
}

.delivery-list div:hover {
    transform: translateY(-7px);
    box-shadow: 0 28px 70px rgba(0,0,0,.1);
}

/* CTA */

.next-project-cta {
    position: relative;
    min-height: 560px;
    color: white;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.next-project-cta img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.65);
}

.next-project-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.88), rgba(0,0,0,.44), rgba(0,0,0,.82));
}

.next-project-cta div {
    position: relative;
    z-index: 2;
    width: min(1100px, 88%);
    margin: 0 auto;
}

.next-project-cta span {
    color: #00ff66;
}

.next-project-cta h2 {
    max-width: 780px;
    margin-top: 22px;
    font-size: clamp(2.8rem, 5vw, 5.4rem);
    line-height: .95;
    letter-spacing: -.08em;
    font-weight: 500;
}

.next-project-cta a {
    display: inline-flex;
    margin-top: 34px;
    padding: 14px 24px;
    border-radius: 999px;
    background: white;
    color: #111;
    text-decoration: none;
    font-weight: 700;
    transition: .35s ease;
}

.next-project-cta a:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(255,255,255,.14);
}

/* RESPONSIVE */

@media (max-width: 1000px) {
    .project-hero,
    .project-intro,
    .delivery-section {
        grid-template-columns: 1fr;
    }

    .project-hero-image {
        min-height: 440px;
        height: 52vh;
    }

    .scope-strip {
        grid-template-columns: 1fr;
    }

    .delivery-list {
        grid-template-columns: 1fr;
    }

    .luxury-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 260px;
    }

    .luxury-gallery figure,
    .luxury-gallery .gallery-large,
    .luxury-gallery .gallery-wide {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .project-hero {
        grid-template-columns:1fr;
    }

     .project-hero-image{
        order:2;
    }

    .project-hero-content{
        order:1;
    }

    .project-meta {
        grid-template-columns: 1fr;
    }

    .project-intro,
    .gallery-section,
    .delivery-section {
        padding: 95px 24px;
    }

    .scope-strip {
        padding: 0 24px 95px;
    }

    .featured-image-block {
        padding: 0 24px 95px;
    }

    .featured-image-block img {
        height: 340px;
        border-radius: 24px;
    }

    .luxury-gallery {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 18px;
    }

    .luxury-gallery::-webkit-scrollbar {
        display: none;
    }

    .luxury-gallery figure,
    .luxury-gallery .gallery-large,
    .luxury-gallery .gallery-wide {
        flex: 0 0 82%;
        height: 310px;
        scroll-snap-align: start;
    }

    .next-project-cta {
        min-height: 520px;
    }

    .next-project-cta div {
        width: calc(100% - 48px);
    }
}
