/* Shared project page styles */

.project-hero {
    position: relative;
    min-height: 78vh;
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    background: #020617;
}

.project-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(1.05) brightness(.68);
    z-index: 1;
}

.project-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.project-breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: rgba(255,255,255,.8);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.project-breadcrumb a {
    color: rgba(255,255,255,.88);
    text-decoration: none;
}

.project-breadcrumb span {
    color: rgba(255,255,255,.55);
}

.project-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.ph-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,.14);
}

.status-completed {
    background: rgba(22,163,74,.16);
    color: #a7f3d0;
}

.type-badge {
    background: rgba(255,255,255,.12);
}

.project-hero-name {
    margin: 0 0 14px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 7vw, 5.2rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.project-hero-tagline {
    margin: 0 0 22px;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: #f3f4f6;
    font-weight: 600;
}

.project-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: rgba(255,255,255,.9);
    font-size: 0.95rem;
}

.project-page {
    background: #fff;
    color: #0f172a;
    overflow-x: hidden;
}

.project-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--hero-image, #020617) center/cover no-repeat;
    z-index: -3;
    transform: scale(1.05);
    filter: saturate(1.08) contrast(1.05);
}

.project-hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(2,6,23,.92), rgba(5,46,22,.78), rgba(2,6,23,.35));
    z-index: -2;
}

.project-hero-inner {
    width: min(1180px, 92%);
    margin: auto;
    position: relative;
    z-index: 2;
}

.phm-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.08);
    padding: 12px 16px;
    border-radius: 999px;
}

.project-info-bar {
    padding: 26px 0;
    background: #f8fafc;
}

.project-info-items {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.pii-item {
    background: #fff;
    border-radius: 22px;
    padding: 18px 20px;
    box-shadow: 0 18px 40px rgba(15,23,42,.06);
}

.pii-label {
    display: block;
    color: #64748b;
    font-size: 0.85rem;
    margin-bottom: 8px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.pii-value {
    display: block;
    color: #0f172a;
    font-weight: 700;
    font-size: 1rem;
}

.project-image-card {
    min-height: 400px;
    border-radius: 24px;
    background: #e5e7eb;
    background-size: cover;
    background-position: center;
}

.overview-card {
    padding: 28px;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(15,23,42,.08);
}

.overview-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 30px;
    align-items: start;
}

.highlight-list {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #f8fafc;
    padding: 18px;
    border-radius: 20px;
}

.highlight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 1.1rem;
    margin-top: 4px;
}

.stat-card {
    display: grid;
    gap: 8px;
    padding: 26px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(15,23,42,.08);
}

.amenity-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.location-card {
    padding: 24px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(15,23,42,.08);
}

.project-heading {
    margin: 0 0 18px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    color: #0f172a;
}

.project-text {
    margin: 0;
    color: #475569;
    font-size: 1rem;
    line-height: 1.8;
}

.project-cta {
    padding: 80px 0;
}

.project-overview {
    padding: 80px 0;
}

.project-section {
    padding: 80px 0;
}

.project-section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 42px;
}

.project-kicker {
    color: #f97316;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .1em;
    display: inline-block;
    margin-bottom: 16px;
}

.project-title {
    margin: 0 0 18px;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.05;
    color: #0f172a;
}

.project-subtitle {
    margin: 0 0 24px;
    color: #475569;
    font-size: 1rem;
    line-height: 1.8;
}

.project-text {
    margin: 0;
    color: #475569;
    font-size: 1rem;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.project-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.project-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid rgba(255,255,255,.16);
}

.project-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}

.project-btn.primary {
    background: linear-gradient(135deg, #f97316, #fbbf24);
    color: #fff;
    box-shadow: 0 18px 42px rgba(249,115,22,.24);
}

.project-btn.secondary {
    border: 1px solid rgba(255,255,255,.28);
    background: rgba(255,255,255,.12);
    color: #fff;
}

.project-btn:hover {
    transform: translateY(-2px);
}

.project-section-head h2,
.project-section-head p {
    color: #0f172a;
}

.project-section-head p {
    color: #475569;
}

.project-hero .project-badge,
.project-hero-badges .project-badge {
    background: rgba(255,255,255,.12);
}

.project-hero .project-btn,
.project-actions .project-btn {
    min-width: 180px;
}

.project-hero .project-title,
.project-hero .project-subtitle,
.project-hero .project-desc {
    color: #fff;
}

.project-hero-inner {
    max-width: 760px;
}

.project-overview-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 30px;
    align-items: start;
}

.po-desc {
    margin: 24px 0 0;
    color: #475569;
    line-height: 1.9;
    font-size: 1rem;
}

.po-highlights {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.po-hl {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #0f172a;
    font-weight: 600;
}

.po-hl i {
    color: #16a34a;
}

.po-gallery {
    display: grid;
    gap: 16px;
}

.po-img {
    min-height: 220px;
    border-radius: 24px;
    background-size: cover;
    background-position: center;
}

.amenities-section {
    padding: 80px 0;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.amenity-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 28px 20px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(15,23,42,.07);
    text-align: center;
    min-height: 210px;
}

.amenity-icon {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #fef3c7;
    color: #b45309;
    font-size: 1.8rem;
}

.amenity-name {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.location-section,
.enquiry-section,
.related-section {
    padding: 80px 0;
}

.location-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 24px;
}

.location-map {
    min-height: 360px;
    border-radius: 30px;
    overflow: hidden;
    background: #000;
    position: relative;
}

.location-map-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: rgba(255,255,255,.86);
    text-align: center;
    background: linear-gradient(180deg, rgba(15,23,42,.95), rgba(15,23,42,.5));
}

.location-map-placeholder i {
    font-size: 2.8rem;
    margin-bottom: 12px;
}

.location-details {
    display: grid;
    gap: 18px;
}

.location-address,
.location-nearby {
    padding: 28px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(15,23,42,.06);
}

.location-address p,
.location-nearby p {
    margin: 0;
    color: #475569;
    line-height: 1.8;
}

.location-nearby {
    display: grid;
    gap: 12px;
}

.ln-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 18px;
    background: #f8fafc;
    color: #0f172a;
}

.ln-item i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #e2e8f0;
    color: #2563eb;
}

.enquiry-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 24px;
    align-items: stretch;
}

.enquiry-text {
    display: grid;
    gap: 18px;
}

.enquiry-text h2 {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    color: #0f172a;
}

.enquiry-text p {
    margin: 0;
    color: #475569;
    line-height: 1.9;
}

.enquiry-contacts {
    display: grid;
    gap: 12px;
}

.ec-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 16px;
    background: #fff;
    color: #0f172a;
    box-shadow: 0 18px 40px rgba(15,23,42,.06);
    text-decoration: none;
    font-weight: 700;
}

.enquiry-form {
    padding: 28px;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 20px 55px rgba(15,23,42,.08);
}

.enquiry-form h3 {
    margin-top: 0;
    font-size: 1.65rem;
}

.form-group {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.form-group label {
    color: #0f172a;
    font-weight: 700;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid #d1d5db;
    font-size: 1rem;
    color: #0f172a;
    background: #f8fafc;
    outline: none;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    width: 100%;
    border: none;
    border-radius: 999px;
    background: #1b3a7a;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(27,58,122,.24);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

@media (max-width: 1080px) {
    .project-info-items,
    .amenities-grid,
    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .project-hero {
        padding: 100px 0 60px;
    }
    .project-overview-grid,
    .location-grid,
    .enquiry-grid {
        grid-template-columns: 1fr;
    }
    .phm-item {
        width: 100%;
    }
    .project-breadcrumb {
        font-size: 0.85rem;
    }
}

@media (max-width: 640px) {
    .project-hero {
        padding: 90px 0 50px;
    }
    .project-hero-name {
        font-size: clamp(2.4rem, 10vw, 3.6rem);
    }
    .project-hero-tagline {
        font-size: 1.1rem;
    }
    .project-info-items,
    .amenities-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }
    .project-hero-meta {
        flex-direction: column;
    }
    .location-grid,
    .enquiry-grid {
        gap: 20px;
    }
    .project-breadcrumb {
        display: block;
    }
    .po-gallery {
        grid-template-columns: 1fr;
    }
    .po-img {
        min-height: 180px;
    }
}
