
/* =========================================================
   AZ DEVELOPER
   PROJECT DETAILS PAGE
   ========================================================= */


/* =========================================================
   PROJECT HERO
   ========================================================= */

.project-detail-hero {
    position: relative;

    min-height: 680px;

    display: flex;
    align-items: flex-end;

    padding: 150px 0 90px;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(5, 11, 8, .94),
            rgba(5, 11, 8, .62),
            rgba(5, 11, 8, .25)
        ),
        url("https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=2200&q=90")
        center / cover no-repeat;

    color: #fff;
}


.project-detail-hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(4, 9, 6, .70),
            transparent 55%
        );
}


.project-detail-hero .container {
    position: relative;

    z-index: 2;
}


.project-detail-hero-content {
    max-width: 850px;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.project-breadcrumb {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 9px;

    margin-bottom: 28px;

    color: rgba(255, 255, 255, .55);

    font-size: 10px;
}


.project-breadcrumb a {
    color: rgba(255, 255, 255, .65);

    transition: var(--transition);
}


.project-breadcrumb a:hover {
    color: var(--primary-light);
}


.project-breadcrumb i {
    color: rgba(255, 255, 255, .35);

    font-size: 8px;
}


.project-breadcrumb span {
    color: rgba(255, 255, 255, .9);
}


/* =========================================================
   HERO STATUS
   ========================================================= */

.project-hero-status {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 18px;

    padding: 8px 12px;

    background: rgba(8, 16, 11, .75);

    border: 1px solid rgba(255, 255, 255, .12);

    color: #fff;

    font-size: 9px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;
}


.status-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #72c98a;

    box-shadow:
        0 0 0 4px rgba(114, 201, 138, .12);
}


/* =========================================================
   HERO TITLE
   ========================================================= */

.project-detail-hero h1 {
    margin: 0;

    color: #fff;

    font-size: clamp(4rem, 7vw, 7rem);

    line-height: .9;

    letter-spacing: -4px;
}


.project-detail-hero h1 span {
    color: var(--primary-light);
}


.project-hero-location {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 27px;

    color: rgba(255, 255, 255, .9);

    font-size: 12px;

    font-weight: 600;
}


.project-hero-location i {
    color: var(--primary-light);
}


.project-detail-hero-content > p {
    max-width: 650px;

    margin-top: 18px;

    color: rgba(255, 255, 255, .67);

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   QUICK INFO
   ========================================================= */

.project-quick-info {
    position: relative;

    z-index: 5;

    background: var(--dark);

    color: #fff;
}


.quick-info-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr) 1.35fr;

    align-items: stretch;
}


.quick-info-item {
    min-height: 125px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 20px 25px;

    border-right: 1px solid rgba(255, 255, 255, .10);
}


.quick-info-item span {
    margin-bottom: 7px;

    color: rgba(255, 255, 255, .45);

    font-size: 8px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;
}


.quick-info-item strong {
    color: #fff;

    font-family: var(--font-heading);

    font-size: 20px;

    font-weight: 600;
}


.quick-info-item .available-text {
    color: #72c98a;
}


.quick-info-action {
    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px 30px;
}


/* =========================================================
   PROJECT OVERVIEW
   ========================================================= */

.project-overview {
    background: #fff;
}


.project-overview-text {
    max-width: 590px;

    margin-top: 20px;

    color: var(--text-secondary);

    font-size: 13px;

    line-height: 1.9;
}


.overview-highlights {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;

    max-width: 600px;

    margin-top: 30px;
}


.overview-highlights > div {
    display: flex;

    align-items: center;

    gap: 9px;

    color: var(--text);

    font-size: 11px;

    font-weight: 600;
}


.overview-highlights i {
    color: var(--primary);

    font-size: 16px;
}


/* =========================================================
   OVERVIEW IMAGE
   ========================================================= */

.project-overview-image {
    position: relative;

    min-height: 570px;

    overflow: hidden;
}


.project-overview-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(5, 12, 8, .65),
            transparent 45%
        );
}


.project-overview-image img {
    width: 100%;
    height: 570px;

    object-fit: cover;

    transition: transform .8s ease;
}


.project-overview-image:hover img {
    transform: scale(1.04);
}


.overview-image-caption {
    position: absolute;

    z-index: 2;

    left: 30px;
    bottom: 28px;

    display: flex;

    flex-direction: column;

    gap: 5px;
}


.overview-image-caption span {
    color: var(--primary-light);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.5px;
}


.overview-image-caption strong {
    color: #fff;

    font-family: var(--font-heading);

    font-size: 24px;

    font-weight: 500;
}


/* =========================================================
   PLOT OPTIONS
   ========================================================= */

.plot-options-section {
    background: var(--light);
}


.section-heading-row {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 50px;

    margin-bottom: 45px;
}


.section-heading-row > p {
    max-width: 470px;

    margin: 0;

    color: var(--text-secondary);

    font-size: 13px;

    line-height: 1.8;
}


/* =========================================================
   PLOT SIZE CARD
   ========================================================= */

.plot-size-card {
    position: relative;

    height: 100%;

    display: flex;

    flex-direction: column;

    padding: 32px 27px;

    background: #fff;

    border: 1px solid var(--border);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}


.plot-size-card:hover {
    transform: translateY(-6px);

    border-color: rgba(184, 138, 68, .45);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, .08);
}


.plot-size-card.featured {
    border-color: var(--primary);

    box-shadow:
        0 15px 45px rgba(184, 138, 68, .10);
}


.plot-size-popular {
    position: absolute;

    top: 0;
    right: 0;

    padding: 8px 12px;

    background: var(--primary);

    color: #fff;

    font-size: 8px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .8px;
}


.plot-size-icon {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    background: var(--light);

    color: var(--primary);

    font-size: 19px;
}


.plot-size-card > span:not(.plot-size-popular) {
    color: var(--text-muted);

    font-size: 8px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;
}


.plot-size-card h3 {
    margin: 8px 0 12px;

    color: var(--dark);

    font-size: 26px;

    line-height: 1.1;
}


.plot-size-card p {
    min-height: 45px;

    margin: 0;

    color: var(--text-secondary);

    font-size: 11px;

    line-height: 1.6;
}


.plot-size-card strong {
    margin-top: 22px;

    color: var(--dark);

    font-family: var(--font-heading);

    font-size: 19px;

    font-weight: 600;
}


.plot-size-card > a {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-top: 22px;

    color: var(--primary);

    font-size: 9px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .7px;
}


.plot-size-card > a i {
    transition: transform .3s ease;
}


.plot-size-card > a:hover i {
    transform: translateX(4px);
}


/* =========================================================
   AMENITIES
   ========================================================= */

.project-amenities {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            110deg,
            rgba(7, 14, 10, .98),
            rgba(7, 14, 10, .92)
        ),
        url("https://images.unsplash.com/photo-1500534623283-312aade485b7?auto=format&fit=crop&w=2000&q=85")
        center / cover no-repeat;

    color: #fff;
}


.light-title {
    color: #fff !important;
}


.amenities-intro {
    max-width: 420px;

    margin: 20px 0 30px;

    color: rgba(255, 255, 255, .60);

    font-size: 13px;

    line-height: 1.8;
}


.amenities-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    border-top: 1px solid rgba(255, 255, 255, .12);

    border-left: 1px solid rgba(255, 255, 255, .12);
}


.amenity-item {
    padding: 30px;

    border-right: 1px solid rgba(255, 255, 255, .12);

    border-bottom: 1px solid rgba(255, 255, 255, .12);

    transition: background .3s ease;
}


.amenity-item:hover {
    background: rgba(255, 255, 255, .04);
}


.amenity-icon {
    width: 44px;
    height: 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border: 1px solid rgba(255, 255, 255, .15);

    color: var(--primary-light);

    font-size: 17px;
}


.amenity-item h4 {
    margin-bottom: 9px;

    color: #fff;

    font-size: 15px;

    font-weight: 600;
}


.amenity-item p {
    margin: 0;

    color: rgba(255, 255, 255, .48);

    font-size: 10px;

    line-height: 1.7;
}


/* =========================================================
   MASTER PLAN
   ========================================================= */

.master-plan-section {
    background: #fff;
}


.section-heading-centered {
    max-width: 750px;

    margin: 0 auto 45px;

    text-align: center;
}


.section-heading-centered .section-title {
    margin-top: 8px;
}


.section-heading-centered > p {
    max-width: 550px;

    margin: 15px auto 0;

    color: var(--text-secondary);

    font-size: 13px;

    line-height: 1.7;
}


.master-plan-wrapper {
    position: relative;

    max-width: 1250px;

    margin: 0 auto;

    padding: 12px;

    background: var(--light);

    border: 1px solid var(--border);
}


.master-plan-image {
    position: relative;

    overflow: hidden;

    background: #e8e8e8;
}


.master-plan-image img {
    width: 100%;

    min-height: 500px;

    display: block;

    object-fit: cover;
}


.master-plan-zoom {
    position: absolute;

    right: 20px;
    bottom: 20px;

    min-height: 44px;

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 0 16px;

    border: 0;

    background: rgba(8, 14, 10, .90);

    color: #fff;

    font-size: 9px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .7px;

    cursor: pointer;

    transition: var(--transition);
}


.master-plan-zoom:hover {
    background: var(--primary);
}


/* =========================================================
   GALLERY
   ========================================================= */

.project-gallery {
    background: var(--light);
}


.project-gallery-grid {
    display: grid;

    grid-template-columns:
        1.5fr 1fr;

    grid-template-rows:
        260px 260px;

    gap: 15px;
}


.gallery-item {
    position: relative;

    overflow: hidden;

    background: var(--dark);
}


.gallery-large {
    grid-row: span 2;
}


.gallery-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .7s ease;
}


.gallery-item:hover img {
    transform: scale(1.06);
}


.gallery-item::after {
    content: "";

    position: absolute;

    inset: 0;

    background: rgba(4, 9, 6, .15);

    pointer-events: none;

    transition: background .3s ease;
}


.gallery-item:hover::after {
    background: rgba(4, 9, 6, .35);
}


.gallery-view {
    position: absolute;

    z-index: 3;

    right: 18px;
    bottom: 18px;

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 0;

    background: rgba(255, 255, 255, .94);

    color: var(--dark);

    font-size: 18px;

    cursor: pointer;

    opacity: 0;

    transform: translateY(8px);

    transition:
        opacity .3s ease,
        transform .3s ease;
}


.gallery-item:hover .gallery-view {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   LOCATION
   ========================================================= */

.project-location-section {
    background: #fff;
}


.project-location-section .section-title {
    margin-bottom: 20px;
}


.project-location-section > .container p {
    max-width: 550px;

    color: var(--text-secondary);

    font-size: 13px;

    line-height: 1.8;
}


.location-points {
    display: flex;

    flex-direction: column;

    gap: 18px;

    margin-top: 30px;
}


.location-points > div {
    display: flex;

    align-items: center;

    gap: 13px;
}


.location-points > div > i {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: var(--light);

    color: var(--primary);

    font-size: 16px;
}


.location-points span {
    display: flex;

    flex-direction: column;

    gap: 3px;
}


.location-points strong {
    color: var(--dark);

    font-size: 11px;

    font-weight: 700;
}


.location-points small {
    color: var(--text-muted);

    font-size: 9px;
}


.map-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 30px;

    color: var(--primary);

    font-size: 10px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .8px;
}


.map-link i {
    transition: transform .3s ease;
}


.map-link:hover i {
    transform: translate(3px, -3px);
}


/* =========================================================
   MAP
   ========================================================= */

.project-map {
    position: relative;

    height: 500px;

    overflow: hidden;

    border: 1px solid var(--border);

    background: #e9e9e9;
}


.project-map iframe {
    width: 100%;
    height: 100%;

    display: block;

    border: 0;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.project-final-cta {
    position: relative;

    padding: 100px 0;

    overflow: hidden;

    background:
        linear-gradient(
            100deg,
            rgba(5, 12, 8, .97),
            rgba(5, 12, 8, .88)
        ),
        url("https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=2000&q=85")
        center / cover no-repeat;

    color: #fff;
}


.project-final-cta h2 {
    margin-top: 10px;

    color: #fff;

    font-size: clamp(3rem, 5vw, 5rem);

    line-height: .98;

    letter-spacing: -2px;
}


.project-final-cta h2 span {
    color: var(--primary-light);
}


.project-final-cta p {
    max-width: 650px;

    margin-top: 20px;

    color: rgba(255, 255, 255, .62);

    font-size: 13px;

    line-height: 1.8;
}


.final-cta-actions {
    display: flex;

    align-items: flex-start;

    flex-direction: column;

    gap: 20px;

    padding-left: 30px;
}


.cta-call {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: rgba(255, 255, 255, .8);

    font-size: 10px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .8px;

    transition: var(--transition);
}


.cta-call:hover {
    color: var(--primary-light);
}


.cta-call i {
    font-size: 15px;
}


/* =========================================================
   GALLERY MODAL
   ========================================================= */

.gallery-modal,
.master-plan-modal {
    position: fixed;

    z-index: 9999;

    inset: 0;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 40px;

    background: rgba(2, 6, 4, .94);
}


.gallery-modal.show,
.master-plan-modal.show {
    display: flex;
}


.gallery-modal img {
    max-width: 92vw;
    max-height: 88vh;

    object-fit: contain;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, .45);
}


.master-plan-modal img {
    max-width: 94vw;
    max-height: 92vh;

    object-fit: contain;
}


.gallery-modal-close,
.master-plan-modal-close {
    position: absolute;

    top: 25px;
    right: 25px;

    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, .20);

    background: rgba(255, 255, 255, .08);

    color: #fff;

    font-size: 16px;

    cursor: pointer;

    transition: var(--transition);
}


.gallery-modal-close:hover,
.master-plan-modal-close:hover {
    background: var(--primary);

    border-color: var(--primary);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1199px) {

    .quick-info-grid {
        grid-template-columns:
            repeat(4, 1fr);
    }


    .quick-info-action {
        grid-column: 1 / -1;

        padding: 20px;

        border-top: 1px solid rgba(255, 255, 255, .10);
    }


    .project-overview-image,
    .project-overview-image img {
        min-height: 500px;

        height: 500px;
    }

}


@media (max-width: 991px) {

    .project-detail-hero {
        min-height: 620px;

        padding-bottom: 70px;
    }


    .project-detail-hero h1 {
        font-size: 5rem;
    }


    .quick-info-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .quick-info-item:nth-child(2) {
        border-right: 0;
    }


    .quick-info-item:nth-child(3),
    .quick-info-item:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, .10);
    }


    .quick-info-action {
        grid-column: 1 / -1;
    }


    .project-overview-image {
        margin-top: 20px;
    }


    .section-heading-row {
        align-items: flex-start;

        flex-direction: column;

        gap: 20px;
    }


    .amenities-grid {
        margin-top: 50px;
    }


    .final-cta-actions {
        padding-left: 0;

        margin-top: 35px;
    }

}


@media (max-width: 767px) {

    .project-detail-hero {
        min-height: 570px;

        padding-top: 130px;
    }


    .project-detail-hero h1 {
        font-size: 3.7rem;

        letter-spacing: -2px;
    }


    .project-breadcrumb {
        margin-bottom: 20px;

        font-size: 9px;
    }


    .project-hero-location {
        margin-top: 20px;
    }


    .quick-info-grid {
        grid-template-columns: 1fr 1fr;
    }


    .quick-info-item {
        min-height: 105px;

        padding: 18px;
    }


    .quick-info-item strong {
        font-size: 17px;
    }


    .quick-info-action {
        padding: 18px;
    }


    .quick-info-action .btn-custom {
        width: 100%;
    }


    .overview-highlights {
        grid-template-columns: 1fr;
    }


    .project-overview-image,
    .project-overview-image img {
        min-height: 400px;

        height: 400px;
    }


    .plot-size-card {
        padding: 28px 24px;
    }


    .amenities-grid {
        grid-template-columns: 1fr;
    }


    .amenity-item {
        padding: 25px;
    }


    .master-plan-image img {
        min-height: 350px;
    }


    .master-plan-zoom {
        right: 12px;
        bottom: 12px;
    }


    .project-gallery-grid {
        grid-template-columns: 1fr;

        grid-template-rows:
            300px 220px 220px;
    }


    .gallery-large {
        grid-row: auto;
    }


    .gallery-view {
        opacity: 1;

        transform: none;
    }


    .project-map {
        height: 380px;
    }


    .project-final-cta {
        padding: 75px 0;
    }


    .project-final-cta h2 {
        font-size: 3.2rem;
    }


    .gallery-modal,
    .master-plan-modal {
        padding: 20px;
    }

}


@media (max-width: 480px) {

    .project-detail-hero h1 {
        font-size: 3.1rem;
    }


    .project-hero-status {
        font-size: 8px;
    }


    .quick-info-grid {
        grid-template-columns: 1fr;
    }


    .quick-info-item {
        min-height: 90px;

        border-right: 0 !important;

        border-bottom: 1px solid rgba(255, 255, 255, .10);
    }


    .quick-info-action {
        grid-column: auto;
    }


    .project-overview-image,
    .project-overview-image img {
        min-height: 330px;

        height: 330px;
    }


    .plot-size-card h3 {
        font-size: 24px;
    }


    .master-plan-wrapper {
        padding: 6px;
    }


    .master-plan-image img {
        min-height: 280px;
    }


    .project-map {
        height: 320px;
    }


    .project-final-cta h2 {
        font-size: 2.8rem;
    }

}