/* Project detail page redesign - light visual upgrade while keeping content dynamic */
.project-detail-redesign {
    background: #ffffff;
    color: var(--yg-ink);
    overflow: hidden;
}

.pd-hero {
    min-height: 560px;
    display: flex;
    align-items: flex-end;
    position: relative;
    background-image: var(--pd-hero-image);
    background-size: cover;
    background-position: center;
    padding: 80px 0 68px;
}

.pd-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(0, 63, 36, 0.96) 0%, rgba(0, 91, 37, 0.83) 44%, rgba(7, 55, 100, 0.48) 100%),
        radial-gradient(circle at 82% 18%, rgba(255, 190, 24, 0.36), transparent 34%);
}

.pd-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.92rem;
    margin-bottom: 18px;
    opacity: 0.9;
    transition: all 0.2s ease;
}

.pd-back-link:hover {
    color: var(--yg-yellow);
    transform: translateX(-3px);
}

.pd-kicker,
.pd-section-label,
.pd-section-head span,
.pd-doc-card span,
.pd-cta-card span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--yg-green);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pd-kicker {
    color: #fff;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    margin-bottom: 16px;
}

.pd-hero h1 {
    color: #fff;
    font-size: clamp(2.7rem, 6.2vw, 5.3rem);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -0.055em;
    margin: 0 0 16px;
    max-width: 820px;
}

.pd-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--yg-yellow);
    font-weight: 850;
    margin: 0 0 15px;
    font-size: 1.08rem;
}

.pd-hero-text {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.06rem;
    line-height: 1.72;
    margin-bottom: 24px;
    max-width: 680px;
}

.pd-call-btn,
.pd-enquire-btn,
.pd-map-btn {
    border: 0;
    padding: 12px 22px;
    font-weight: 850;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
}

.pd-call-btn {
    background: #fff;
    color: var(--yg-green-dark);
}

.pd-call-btn:hover {
    background: var(--yg-yellow);
    color: var(--yg-green-deep);
}

.pd-enquire-btn {
    background: linear-gradient(135deg, var(--yg-orange), #ff920f);
    color: #fff;
}

.pd-enquire-btn:hover {
    color: #fff;
    transform: translateY(-1px);
}

.pd-map-btn {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.32);
    color: #fff;
    backdrop-filter: blur(8px);
}

.pd-map-btn:hover {
    background: #fff;
    color: var(--yg-green-dark);
}

.pd-summary-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 26px;
    padding: 26px;
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(12px);
    max-width: 470px;
    margin-left: auto;
}

.pd-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
}

.pd-status-pill.status-completed {
    background: rgba(8, 117, 47, 0.11);
    color: var(--yg-green);
}

.pd-status-pill.status-ongoing {
    background: rgba(21, 102, 182, 0.12);
    color: var(--yg-blue-soft);
}

.pd-status-pill.status-upcoming {
    background: rgba(255, 190, 24, 0.18);
    color: #9a6400;
}

.pd-summary-card h2 {
    font-size: 1.55rem;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -0.035em;
    margin-bottom: 18px;
    color: #111827;
}

.pd-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.pd-summary-item {
    background: #f8fbf6;
    border: 1px solid rgba(8, 117, 47, 0.1);
    border-radius: 18px;
    padding: 16px;
    min-height: 132px;
}

.pd-summary-item i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(8, 117, 47, 0.1);
    color: var(--yg-green);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.pd-summary-item span {
    display: block;
    color: var(--yg-muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.pd-summary-item strong {
    display: block;
    color: #111827;
    font-size: 1.05rem;
    line-height: 1.25;
    font-weight: 900;
}

.pd-section {
    padding: 72px 0;
}

.pd-overview-section {
    background:
        radial-gradient(circle at 6% 18%, rgba(255, 190, 24, 0.16), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f8fbf6 100%);
}

.pd-content-card,
.pd-doc-card,
.pd-cta-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 26px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.pd-content-card {
    padding: 34px;
}

.pd-overview-card h2,
.pd-section-head h2,
.pd-cta-card h2 {
    color: #111827;
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.045em;
    margin: 10px 0 18px;
}

.pd-description-content {
    color: #344054;
    font-size: 1.02rem;
    line-height: 1.78;
}

.pd-description-content p:last-child {
    margin-bottom: 0;
}

.pd-description-content ul,
.pd-description-content ol {
    padding-left: 1.3rem;
}

.pd-description-content img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    margin: 12px 0;
}

.pd-muted {
    color: var(--yg-muted);
    line-height: 1.7;
}

.pd-trust-card {
    position: sticky;
    top: 104px;
}

.pd-trust-card h3 {
    color: #111827;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin: 8px 0 18px;
}

.pd-trust-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.pd-trust-list li {
    display: flex;
    gap: 12px;
    color: #475467;
    line-height: 1.55;
    font-weight: 650;
}

.pd-trust-list i {
    color: var(--yg-green);
    margin-top: 3px;
    flex: 0 0 auto;
}

.pd-side-actions {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.pd-side-btn {
    background: linear-gradient(135deg, var(--yg-green), var(--yg-green-dark));
    color: #fff;
    font-weight: 850;
    padding: 12px 18px;
    border: 0;
}

.pd-side-btn:hover {
    color: #fff;
    transform: translateY(-1px);
}

.pd-side-btn.outline {
    background: rgba(8, 117, 47, 0.08);
    color: var(--yg-green-dark);
}

.pd-side-btn.outline:hover {
    background: var(--yg-yellow);
    color: var(--yg-green-deep);
}

.pd-amenities-section {
    background: #ffffff;
}

.pd-section-head {
    max-width: 720px;
    margin: 0 auto 30px;
}

.pd-section-head h2 {
    margin-top: 9px;
    margin-bottom: 12px;
}

.pd-section-head p {
    margin: 0;
    color: var(--yg-muted);
    line-height: 1.65;
}

.pd-amenity-item {
    height: 100%;
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid rgba(8, 117, 47, 0.12);
    border-radius: 18px;
    padding: 17px 18px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    transition: all 0.2s ease;
}

.pd-amenity-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.10);
}

.pd-amenity-item i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 13px;
    background: rgba(255, 190, 24, 0.2);
    color: var(--yg-green);
    font-size: 1.25rem;
    flex: 0 0 auto;
}

.pd-amenity-item span {
    color: #1f2937;
    font-weight: 800;
    line-height: 1.35;
}

.pd-gallery-section {
    background: linear-gradient(180deg, #f8fbf6 0%, #ffffff 100%);
}

.pd-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 210px;
    gap: 16px;
}

.pd-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
    background: #e5e7eb;
    text-decoration: none;
}

.pd-gallery-item.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.pd-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.pd-gallery-item:hover img {
    transform: scale(1.05);
}

.pd-gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 63, 36, 0.68));
    opacity: 0;
    transition: opacity 0.2s ease;
}

.pd-gallery-item:hover::after {
    opacity: 1;
}

.pd-gallery-item span {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff;
    color: var(--yg-green);
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.2s ease;
}

.pd-gallery-item:hover span {
    opacity: 1;
    transform: translateY(0);
}

.pd-action-section {
    background:
        radial-gradient(circle at 90% 16%, rgba(255, 190, 24, 0.2), transparent 22%),
        linear-gradient(135deg, #f8fbf6, #ffffff);
    padding-top: 42px;
}

.pd-doc-card,
.pd-cta-card {
    height: 100%;
    padding: 30px;
}

.pd-doc-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.pd-doc-icon {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: rgba(243, 107, 11, 0.12);
    color: var(--yg-orange);
    font-size: 1.75rem;
    flex: 0 0 auto;
}

.pd-doc-card h3 {
    font-weight: 900;
    letter-spacing: -0.03em;
    margin: 8px 0 10px;
    color: #111827;
}

.pd-doc-card p,
.pd-cta-card p {
    color: var(--yg-muted);
    line-height: 1.65;
    margin-bottom: 18px;
}

.pd-doc-primary,
.pd-doc-secondary,
.pd-cta-call,
.pd-cta-contact,
.pd-cta-map {
    padding: 12px 20px;
    font-weight: 850;
    border: 0;
}

.pd-doc-primary,
.pd-cta-call {
    background: linear-gradient(135deg, var(--yg-green), var(--yg-green-dark));
    color: #fff;
}

.pd-doc-primary:hover,
.pd-cta-call:hover {
    color: #fff;
    transform: translateY(-1px);
}

.pd-doc-secondary,
.pd-cta-contact,
.pd-cta-map {
    background: rgba(8, 117, 47, 0.08);
    color: var(--yg-green-dark);
}

.pd-doc-secondary:hover,
.pd-cta-contact:hover,
.pd-cta-map:hover {
    background: var(--yg-yellow);
    color: var(--yg-green-deep);
}

.pd-cta-card {
    background:
        radial-gradient(circle at 90% 5%, rgba(255, 190, 24, 0.3), transparent 35%),
        linear-gradient(135deg, var(--yg-green-deep), var(--yg-green) 58%, #0b7a42);
    color: #fff;
    border: 0;
    box-shadow: 0 24px 54px rgba(0, 91, 37, 0.23);
}

.pd-cta-card span,
.pd-cta-card h2,
.pd-cta-card p {
    color: #fff;
}

.pd-cta-card h2 {
    margin-bottom: 12px;
}

.pd-cta-card p {
    opacity: 0.86;
}

.pd-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pd-cta-call {
    background: var(--yg-yellow);
    color: var(--yg-green-deep);
}

.pd-cta-call:hover {
    background: #fff;
    color: var(--yg-green-deep);
}

.pd-cta-contact,
.pd-cta-map {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.pd-cta-contact:hover,
.pd-cta-map:hover {
    background: #fff;
    color: var(--yg-green-deep);
}

.lightboxOverlay,
.lightbox {
    z-index: 20000;
}

@media (max-width: 1199px) {
    .pd-summary-card {
        margin-left: 0;
        max-width: none;
    }

    .pd-trust-card {
        position: static;
    }

    .pd-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .pd-hero {
        min-height: auto;
        padding: 58px 0;
    }

    .pd-summary-card {
        margin-top: 12px;
    }

    .pd-section {
        padding: 56px 0;
    }

    .pd-content-card,
    .pd-doc-card,
    .pd-cta-card {
        border-radius: 22px;
        padding: 26px;
    }

    .pd-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 190px;
    }
}

@media (max-width: 767px) {
    .pd-hero h1 {
        font-size: clamp(2.35rem, 13vw, 3.2rem);
    }

    .pd-hero-text {
        font-size: 0.98rem;
    }

    .pd-summary-grid {
        grid-template-columns: 1fr;
    }

    .pd-summary-item {
        min-height: auto;
    }

    .pd-overview-card h2,
    .pd-section-head h2,
    .pd-cta-card h2 {
        font-size: 2rem;
    }

    .pd-gallery-grid {
        display: block;
    }

    .pd-gallery-item,
    .pd-gallery-item.featured {
        display: block;
        height: 240px;
        margin-bottom: 14px;
    }

    .pd-doc-card {
        flex-direction: column;
    }

    .pd-cta-actions .btn,
    .pd-hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .pd-hero {
        padding: 42px 0 46px;
    }

    .pd-content-card,
    .pd-doc-card,
    .pd-cta-card,
    .pd-summary-card {
        padding: 22px;
        border-radius: 20px;
    }

    .pd-amenity-item {
        min-height: 72px;
    }
}
