/* =========================================
   PRAYAGRAJ PROPERTY HUB - PROJECT DETAIL
========================================= */

:root {
    --pph-navy: #102747;
    --pph-navy-dark: #0a1b32;
    --pph-gold: #b8944a;
    --pph-gold-light: #d9bc79;
    --pph-text: #5c6675;
    --pph-light: #f6f7f9;
    --pph-border: #e7eaf0;
}

/* Common */
.pph-project-hero,
.pph-project-info,
.pph-project-section,
.pph-highlights-section,
.pph-amenities-section,
.pph-location-section,
.pph-project-cta {
    font-family: inherit;
}

.pph-section-subtitle {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--pph-gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.pph-section-title {
    margin: 0 0 20px;
    color: var(--pph-navy);
    font-size: clamp(27px, 3vw, 39px);
    font-weight: 750;
    line-height: 1.3;
}

.pph-section-text {
    margin-bottom: 17px;
    color: var(--pph-text);
    font-size: 15px;
    line-height: 1.9;
}

/* Buttons */
.pph-btn {
    display: inline-flex;
    min-height: 49px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all .3s ease;
}

.pph-btn:hover {
    transform: translateY(-2px);
}

.pph-btn-gold {
    color: #fff;
    background: var(--pph-gold);
    border-color: var(--pph-gold);
}

.pph-btn-gold:hover {
    color: #fff;
    background: #9f7935;
    border-color: #9f7935;
}

.pph-btn-dark {
    color: #fff;
    background: var(--pph-navy);
    border-color: var(--pph-navy);
}

.pph-btn-dark:hover {
    color: #fff;
    background: var(--pph-gold);
    border-color: var(--pph-gold);
}

.pph-btn-outline {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, .8);
}

.pph-btn-outline:hover {
    color: var(--pph-navy);
    background: #fff;
    border-color: #fff;
}

/* Hero */
.pph-project-hero {
    overflow: hidden;
}

.pph-project-hero-image {
    position: relative;
    min-height: 510px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--pph-navy-dark);
}

.pph-project-hero-image > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.pph-project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(7, 22, 42, .94) 0%,
        rgba(7, 22, 42, .78) 45%,
        rgba(7, 22, 42, .25) 100%
    );
}

.pph-project-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    padding-bottom: 80px;
    color: #fff;
}

.pph-project-label {
    display: inline-block;
    margin-bottom: 20px;
    padding: 9px 13px;
    color: var(--pph-gold-light);
    background: rgba(255, 255, 255, .08);
    border-left: 3px solid var(--pph-gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.pph-project-hero-content h1 {
    max-width: 680px;
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(34px, 5vw, 57px);
    font-weight: 750;
    line-height: 1.17;
}

.pph-project-hero-content > p {
    max-width: 560px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, .84);
    font-size: 16px;
    line-height: 1.8;
}

.pph-project-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Information bar */
.pph-project-info {
    position: relative;
    z-index: 3;
    margin-top: -1px;
    padding: 0;
    background: #fff;
    border-bottom: 1px solid var(--pph-border);
    box-shadow: 0 8px 25px rgba(16, 39, 71, .05);
}

.pph-project-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pph-info-item {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 14px;
    padding: 27px 20px;
    border-right: 1px solid var(--pph-border);
}

.pph-info-item:first-child {
    border-left: 1px solid var(--pph-border);
}

.pph-info-icon {
    display: flex;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    color: var(--pph-gold);
    background: #f8f3e9;
    border-radius: 50%;
    font-size: 19px;
}

.pph-info-item span {
    display: block;
    margin-bottom: 6px;
    color: #7b8491;
    font-size: 11px;
    line-height: 1.4;
}

.pph-info-item h5 {
    margin: 0;
    color: var(--pph-navy);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.5;
}

/* Overview */
.pph-project-section {
    padding: 95px 0;
    background: #fff;
}

.pph-overview-image {
    position: relative;
    padding: 0 25px 25px 0;
}

.pph-overview-image::before {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 72%;
    height: 75%;
    background: #f0e7d4;
    content: "";
}

.pph-overview-image > img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 15px 35px rgba(16, 39, 71, .12);
}

.pph-image-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: calc(100% - 35px);
    padding: 17px 20px;
    color: #fff;
    background: var(--pph-navy);
    box-shadow: 0 8px 25px rgba(16, 39, 71, .18);
}

.pph-image-caption > i {
    color: var(--pph-gold-light);
    font-size: 25px;
}

.pph-image-caption strong,
.pph-image-caption span {
    display: block;
}

.pph-image-caption strong {
    margin-bottom: 4px;
    font-size: 14px;
}

.pph-image-caption span {
    color: rgba(255, 255, 255, .75);
    font-size: 11px;
}

/* Feature list */
.pph-feature-list {
    display: grid;
    gap: 14px;
    margin: 25px 0 30px;
    padding: 0;
    list-style: none;
}

.pph-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: var(--pph-navy);
    font-size: 14px;
    line-height: 1.7;
}

.pph-feature-list li i {
    margin-top: 4px;
    color: var(--pph-gold);
    font-size: 17px;
}

/* Highlights */
.pph-highlights-section {
    padding: 85px 0;
    background: var(--pph-light);
}

.pph-section-heading {
    max-width: 680px;
    margin: 0 auto 45px;
    text-align: center;
}

.pph-section-heading > p {
    margin: 0;
    color: var(--pph-text);
    font-size: 15px;
    line-height: 1.8;
}

.pph-highlight-card {
    height: 100%;
    padding: 32px 27px;
    background: #fff;
    border: 1px solid var(--pph-border);
    border-bottom: 3px solid transparent;
    transition: transform .3s ease, box-shadow .3s ease,
                border-color .3s ease;
}

.pph-highlight-card:hover {
    transform: translateY(-6px);
    border-bottom-color: var(--pph-gold);
    box-shadow: 0 15px 35px rgba(16, 39, 71, .08);
}

.pph-highlight-icon {
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    margin-bottom: 23px;
    color: var(--pph-gold);
    background: #f8f3e9;
    border-radius: 4px;
    font-size: 24px;
}

.pph-highlight-card h4 {
    margin: 0 0 13px;
    color: var(--pph-navy);
    font-size: 19px;
    font-weight: 750;
}

.pph-highlight-card p {
    margin: 0;
    color: var(--pph-text);
    font-size: 14px;
    line-height: 1.85;
}

/* Facilities and property checks */
.pph-amenities-section {
    padding: 90px 0;
    background: #fff;
}

.pph-amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.pph-amenity-item {
    display: flex;
    min-height: 82px;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--pph-border);
    transition: border-color .3s ease, background .3s ease;
}

.pph-amenity-item:hover {
    background: #fcfaf6;
    border-color: var(--pph-gold-light);
}

.pph-amenity-item i {
    display: flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    color: var(--pph-gold);
    background: #f8f3e9;
    border-radius: 50%;
    font-size: 18px;
}

.pph-amenity-item span {
    color: var(--pph-navy);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

.pph-amenities-note {
    margin: 18px 0 0;
    color: #777f8b;
    font-size: 12px;
    line-height: 1.7;
}

/* Location */
.pph-location-section {
    padding: 55px 0;
    background: var(--pph-light);
}

.pph-location-content {
    display: flex;
    align-items: center;
    gap: 25px;
}

.pph-location-icon {
    display: flex;
    width: 65px;
    height: 65px;
    flex: 0 0 65px;
    align-items: center;
    justify-content: center;
    color: var(--pph-gold);
    background: #fff;
    border: 1px solid var(--pph-border);
    border-radius: 50%;
    font-size: 25px;
}

.pph-location-text {
    flex: 1;
}

.pph-location-text .pph-section-subtitle {
    margin-bottom: 7px;
}

.pph-location-text h2 {
    margin: 0 0 9px;
    color: var(--pph-navy);
    font-size: 25px;
    font-weight: 750;
}

.pph-location-text p {
    max-width: 650px;
    margin: 0;
    color: var(--pph-text);
    font-size: 14px;
    line-height: 1.8;
}

/* Final CTA */
.pph-project-cta {
    padding: 85px 0;
    background: var(--pph-navy-dark);
}

.pph-cta-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.pph-cta-inner h2 {
    margin: 0 0 17px;
    color: #fff;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 750;
    line-height: 1.3;
}

.pph-cta-inner > p {
    max-width: 610px;
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, .76);
    font-size: 15px;
    line-height: 1.9;
}

/* Tablet */
@media (max-width: 991px) {
    .pph-project-hero-image {
        min-height: 460px;
    }

    .pph-project-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pph-info-item {
        border-bottom: 1px solid var(--pph-border);
    }

    .pph-info-item:nth-child(odd) {
        border-left: 1px solid var(--pph-border);
    }

    .pph-project-section,
    .pph-amenities-section {
        padding: 70px 0;
    }

    .pph-overview-image > img {
        height: 380px;
    }

    .pph-location-content {
        flex-wrap: wrap;
    }

    .pph-location-text {
        flex-basis: calc(100% - 90px);
    }

    .pph-location-content > .pph-btn {
        margin-left: 90px;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .pph-project-hero-image {
        min-height: 440px;
    }

    .pph-project-hero-content {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .pph-project-hero-content h1 {
        font-size: 34px;
    }

    .pph-project-hero-content > p {
        font-size: 14px;
    }

    .pph-project-hero-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .pph-project-hero-buttons .pph-btn {
        width: 100%;
    }

    .pph-project-info-grid {
        grid-template-columns: 1fr;
    }

    .pph-info-item,
    .pph-info-item:first-child,
    .pph-info-item:nth-child(odd) {
        padding: 18px 8px;
        border-right: 0;
        border-left: 0;
    }

    .pph-info-item:last-child {
        border-bottom: 0;
    }

    .pph-project-section,
    .pph-highlights-section,
    .pph-amenities-section {
        padding: 55px 0;
    }

    .pph-overview-image {
        padding-right: 15px;
        padding-bottom: 20px;
    }

    .pph-overview-image > img {
        height: 300px;
    }

    .pph-image-caption {
        max-width: calc(100% - 20px);
        padding: 13px;
    }

    .pph-image-caption strong {
        font-size: 12px;
    }

    .pph-image-caption span {
        font-size: 10px;
    }

    .pph-section-title {
        font-size: 28px;
    }

    .pph-highlight-card {
        padding: 25px 22px;
    }

    .pph-amenities-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .pph-amenity-item {
        min-height: 70px;
    }

    .pph-location-content {
        align-items: flex-start;
        gap: 15px;
    }

    .pph-location-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        font-size: 20px;
    }

    .pph-location-text {
        flex-basis: calc(100% - 63px);
    }

    .pph-location-text h2 {
        font-size: 22px;
    }

    .pph-location-content > .pph-btn {
        width: 100%;
        margin-left: 0;
    }

    .pph-project-cta {
        padding: 60px 0;
    }

    .pph-cta-inner h2 {
        font-size: 29px;
    }
}