/* ==========================================================================
   SQUAREA Mumbai – Project Profile Stylesheet (Light/Dark Luxury Overhaul)
   ========================================================================== */

/* Theme Variables (Mapped directly to Design System tokens) */
:root {
    --project-accent: var(--accent, #C2A468);
    --project-bg: #FAF9F6;
    --project-panel-bg: var(--white, #FFFFFF);
    --project-panel-border: var(--border-color, rgba(194, 164, 104, 0.18));
    --project-text-muted: var(--text-secondary, #2D3748);
    --project-transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --deep-black: #FAF9F6;
}

/* Page Background Setup */
body.project-page-theme {
    background-color: var(--project-bg) !important;
}

/* 1. Immersive Full-Background Hero Styling */
.project-hero {
    position: relative;
    height: 65vh;
    min-height: 520px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--project-panel-border);
}

.project-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.project-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.project-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(10, 13, 20, 0.7) 0%, rgba(10, 13, 20, 0.25) 45%, rgba(10, 13, 20, 0.5) 100%);
    z-index: 2;
}

.project-hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
    margin-top: 50px;
}

.project-hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--project-accent) !important;
    margin-bottom: 15px;
    display: inline-block;
}

.project-hero-title {
    font-family: var(--font-heading) !important;
    font-size: 4.2rem;
    font-weight: 300 !important;
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--white) !important;
    margin: 0 0 20px 0;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.project-hero-tagline {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85) !important;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* 2. Specifications Bar Grid */
.project-specs-section {
    position: relative;
    z-index: 5;
    background: var(--project-panel-bg) !important;
    border-top: 1px solid var(--project-panel-border) !important;
    border-bottom: 1px solid var(--project-panel-border) !important;
    padding: 25px 0;
}

.project-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-right: 1px solid rgba(194, 164, 104, 0.15) !important;
    padding-right: 20px;
    text-align: center;
}

.spec-item:last-child {
    border-right: none !important;
    padding-right: 0;
}

.spec-label {
    font-family: var(--font-body);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--project-text-muted) !important;
    font-weight: 600;
}

.spec-value {
    font-family: var(--font-heading) !important;
    font-size: 1.3rem;
    font-weight: 300 !important;
    color: var(--text-primary) !important;
}

/* 3. Core Layout Structure (Single Column Stacked) */
.project-single-column {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.project-description-block {
    margin-bottom: 20px;
}

.section-badge {
    color: var(--project-accent) !important;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-family: var(--font-heading) !important;
    font-size: 2.4rem;
    font-weight: 350 !important;
    color: var(--text-primary) !important;
    margin: 0 0 30px 0;
    letter-spacing: -0.5px;
}

.section-title span {
    color: var(--project-accent) !important;
    font-style: italic;
}

.premium-description {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--project-text-muted) !important;
    font-weight: 300;
}

.premium-description p {
    margin-bottom: 20px;
}

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

/* Gated Inquiry / Consult Form Box */
.consult-form-box {
    background: #ffffff !important;
    border: 1px solid var(--project-panel-border) !important;
    border-radius: 16px !important;
    padding: 45px !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(194, 164, 104, 0.06) !important;
    width: 100%;
    margin-top: 50px;
    transition: var(--project-transition);
}

.consult-form-box:hover {
    border-color: var(--project-accent) !important;
    box-shadow: 0 20px 50px rgba(194, 164, 104, 0.12) !important;
}

.consult-box-title {
    font-family: var(--font-heading) !important;
    font-size: 1.8rem;
    font-weight: 350 !important;
    color: var(--text-primary) !important;
    margin: 0 0 10px 0;
    text-align: center;
}

.consult-box-desc {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--project-text-muted) !important;
    line-height: 1.5;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 300;
}

.consult-field-group {
    margin-bottom: 20px;
    position: relative;
}

.consult-input {
    width: 100%;
    background: rgba(194, 164, 104, 0.03) !important;
    border: 1px solid rgba(194, 164, 104, 0.2) !important;
    border-radius: 8px;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-primary) !important;
    transition: var(--project-transition);
}

.consult-input::placeholder {
    color: #8c8c8c !important;
}

.consult-input:focus {
    outline: none;
    border-color: var(--project-accent) !important;
    background: #ffffff !important;
    box-shadow: 0 0 15px rgba(194, 164, 104, 0.1);
}

@media (min-width: 768px) {
    .consult-form-box form {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        align-items: center;
    }
    
    .consult-form-box form .consult-field-group {
        margin-bottom: 0;
    }
    
    .consult-form-box form button[type="submit"] {
        grid-column: span 3;
        margin-top: 10px !important;
    }
}

/* 4. Amenities Grid Section */
.amenities-section {
    margin: 50px 0 10px 0;
}

.amenities-title {
    font-family: var(--font-heading) !important;
    font-size: 2.2rem;
    font-weight: 350 !important;
    margin-bottom: 35px;
    color: var(--text-primary) !important;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.project-details-split-theme .amenities-grid .amenity-card {
    background: #FFFFFF !important;
    border: 1px solid var(--project-panel-border) !important;
    border-radius: 16px !important;
    padding: 22px 26px !important;
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    transition: var(--project-transition) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(194, 164, 104, 0.06) !important;
}
 
.project-details-split-theme .amenities-grid .amenity-card:hover {
    border-color: var(--project-accent) !important;
    background: #FFFFFF !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(194, 164, 104, 0.15) !important;
}

.project-details-split-theme .amenities-grid .amenity-icon-box {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: rgba(194, 164, 104, 0.1) !important;
    color: var(--project-accent) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.15rem !important;
    flex-shrink: 0 !important;
    transition: var(--project-transition) !important;
}

.project-details-split-theme .amenities-grid .amenity-card:hover .amenity-icon-box {
    background: var(--project-accent) !important;
    color: #FFFFFF !important;
}

.project-details-split-theme .amenities-grid .amenity-text {
    font-family: var(--font-body) !important;
    font-size: 0.92rem !important;
    font-weight: 500 !important;
    color: #1A1A1A !important;
    line-height: 1.4 !important;
}

/* 5. Gallery Slider Section */
.project-gallery-section {
    margin: 50px 0 10px 0;
}

.gallery-section-title {
    font-family: var(--font-heading) !important;
    font-size: 2.2rem;
    font-weight: 350 !important;
    margin-bottom: 35px;
    color: var(--text-primary) !important;
}

.project-gallery-slider-wrapper {
    position: relative;
    width: 100%;
}

.project-gallery-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.gallery-slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    width: 100%;
}

/* 5. Cinematic Gallery Showcase Section */
.project-gallery-section {
    margin: 50px 0 10px 0;
}

.gallery-section-title {
    font-family: var(--font-heading) !important;
    font-size: 2.2rem;
    font-weight: 350 !important;
    margin-bottom: 35px;
    color: var(--text-primary) !important;
}

.project-gallery-showcase-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Active Main Stage Showcase Card */
.gallery-main-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--project-panel-border);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(194, 164, 104, 0.06);
    background: #000;
}

.main-stage-image-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.main-stage-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.gallery-main-stage:hover .main-stage-image-container img {
    transform: scale(1.04);
}

/* Caption Overlay inside main stage */
.gallery-main-stage .gallery-caption-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45%;
    background: linear-gradient(to top, rgba(10, 13, 20, 0.85) 0%, rgba(10, 13, 20, 0) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 35px 45px;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
    pointer-events: none;
}

.gallery-main-stage .gallery-caption-overlay.active {
    opacity: 1;
    transform: translateY(0);
}

.caption-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.caption-number {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--project-accent);
    text-transform: uppercase;
}

.caption-text {
    font-family: var(--font-heading) !important;
    font-size: 1.45rem;
    font-weight: 300 !important;
    color: #ffffff !important;
    margin: 0;
}

/* Expand Icon Badge */
.gallery-zoom-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 15;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(10, 13, 20, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: var(--project-transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.gallery-main-stage:hover .gallery-zoom-badge {
    background: var(--project-accent);
    border-color: var(--project-accent);
    color: #ffffff;
    transform: scale(1.1);
}

/* Stage Navigation Buttons */
.gallery-stage-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--project-transition);
    z-index: 10;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.gallery-stage-nav:hover {
    background: var(--project-accent);
    border-color: var(--project-accent);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(194, 164, 104, 0.4);
    transform: translateY(-50%) scale(1.05);
}

.gallery-stage-prev {
    left: 24px;
}

.gallery-stage-next {
    right: 24px;
}

/* Clickable Preview Thumbnails Track */
.gallery-thumbnails-wrapper {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
}

.gallery-thumbnails-wrapper::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.gallery-thumbnails-track {
    display: flex;
    gap: 16px;
    padding: 6px 0;
    justify-content: center;
}

.gallery-thumb-item {
    position: relative;
    width: 130px;
    aspect-ratio: 16/10;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    opacity: 0.55;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid transparent;
}

.gallery-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumb-item:hover {
    opacity: 0.85;
}

.gallery-thumb-item.active {
    opacity: 1;
    border-color: var(--project-accent);
    box-shadow: 0 8px 20px rgba(194, 164, 104, 0.18);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .gallery-main-stage .gallery-caption-overlay {
        padding: 20px 25px;
    }
    
    .caption-text {
        font-size: 1.15rem;
    }
    
    .gallery-stage-nav {
        width: 42px;
        height: 42px;
        font-size: 1.4rem;
    }
    
    .gallery-stage-prev {
        left: 15px;
    }
    
    .gallery-stage-next {
        right: 15px;
    }

    .gallery-thumb-item {
        width: 95px;
    }
}


/* 6. Proximity & Connectivity Section */
.proximity-section {
    margin: 50px 0 10px 0;
}

.proximity-title {
    font-family: var(--font-heading) !important;
    font-size: 2.2rem;
    font-weight: 350 !important;
    margin-bottom: 35px;
    color: var(--text-primary) !important;
}

.key-highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: 100%;
}

.highlight-card {
    background: #ffffff !important;
    border: 1px solid var(--project-panel-border) !important;
    border-radius: 16px !important;
    padding: 24px 30px !important;
    display: flex !important;
    gap: 20px !important;
    align-items: center !important;
    transition: var(--project-transition) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(194, 164, 104, 0.06) !important;
}
 
.highlight-card:hover {
    transform: translateY(-5px) !important;
    border-color: var(--project-accent) !important;
    box-shadow: 0 15px 35px rgba(194, 164, 104, 0.15) !important;
    background: #ffffff !important;
}

.highlight-card-icon {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: rgba(194, 164, 104, 0.1) !important;
    color: var(--project-accent) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.1rem !important;
    flex-shrink: 0 !important;
    transition: var(--project-transition) !important;
}

.highlight-card:hover .highlight-card-icon {
    background: var(--project-accent) !important;
    color: #ffffff !important;
}

.highlight-card-text {
    font-family: var(--font-body) !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: var(--text-primary) !important;
    line-height: 1.5 !important;
}

.proximity-detail-category-box {
    margin-top: 40px;
    border-top: 1px solid var(--project-panel-border);
    padding-top: 40px;
}

.proximity-category-title {
    font-family: var(--font-heading) !important;
    font-size: 1.6rem;
    font-weight: 350;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.proximity-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.proximity-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.proximity-bullet {
    color: var(--project-accent);
    font-size: 0.95rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.proximity-text {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--project-text-muted) !important;
    font-weight: 400;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .key-highlights-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* 7. Key Project Facts Dashboard Grid styling */
.project-facts-section {
    margin-top: 50px;
    border-top: 1px solid var(--project-panel-border);
    padding-top: 40px;
}

.facts-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
}

.fact-dashboard-card {
    background: #ffffff !important;
    border: 1px solid var(--project-panel-border) !important;
    border-radius: 16px !important;
    padding: 26px 30px !important;
    display: flex !important;
    align-items: center !important;
    gap: 22px !important;
    transition: var(--project-transition) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(194, 164, 104, 0.06) !important;
}

.fact-dashboard-card:hover {
    transform: translateY(-5px) !important;
    border-color: var(--project-accent) !important;
    box-shadow: 0 15px 40px rgba(194, 164, 104, 0.15) !important;
}

.fact-card-icon-box {
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    background: rgba(194, 164, 104, 0.08) !important;
    color: var(--project-accent) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.3rem !important;
    flex-shrink: 0 !important;
    transition: var(--project-transition) !important;
}

.fact-dashboard-card:hover .fact-card-icon-box {
    background: var(--project-accent) !important;
    color: #ffffff !important;
    transform: rotate(360deg);
}

.fact-card-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fact-card-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary) !important;
    font-weight: 600;
}

.fact-card-value {
    font-family: var(--font-heading) !important;
    font-size: 1.15rem;
    font-weight: 350 !important;
    color: var(--text-primary) !important;
    line-height: 1.3;
}

@media (max-width: 991px) {
    .facts-dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .facts-dashboard-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .facts-table td.fact-label-td {
        width: 45%;
    }
}

/* 8. Responsive Video Player Section */
.project-video-section {
    margin: 50px 0 10px 0;
}

.project-video-title {
    font-family: var(--font-heading) !important;
    font-size: 2.2rem;
    font-weight: 350 !important;
    margin-bottom: 35px;
    color: var(--text-primary) !important;
    text-align: center;
}

.project-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #000;
    border: 1px solid rgba(194, 164, 104, 0.2);
    box-shadow: var(--shadow-lg);
}

.project-video-wrapper iframe,
.project-video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 4;
}

/* Scroll-friendly cover poster overlay */
.video-cover-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
}

.video-cover-poster::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 13, 20, 0.5);
    transition: background 0.3s ease;
}

.video-cover-poster:hover::after {
    background: rgba(10, 13, 20, 0.35);
}

/* Pulsing premium play button */
.video-play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--project-accent);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 6;
    box-shadow: 0 0 0 0 rgba(194, 164, 104, 0.5), 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, color 0.3s ease;
    padding-left: 6px;
    animation: playPulse 2s infinite;
}

@keyframes playPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(194, 164, 104, 0.6), 0 10px 25px rgba(0, 0, 0, 0.3);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(194, 164, 104, 0), 0 10px 25px rgba(0, 0, 0, 0.3);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(194, 164, 104, 0), 0 10px 25px rgba(0, 0, 0, 0.3);
    }
}

.video-cover-poster:hover .video-play-button {
    transform: scale(1.08);
    background-color: #ffffff;
    color: var(--project-accent);
}

/* 9. Bottom Aligned Related Projects Grid */
.related-projects-section {
    width: 100%;
}

.related-projects-title {
    font-family: var(--font-heading) !important;
    font-size: 2.2rem;
    font-weight: 350 !important;
    color: var(--text-primary) !important;
    text-align: center;
    margin-bottom: 45px;
}

.related-projects-title span {
    color: var(--project-accent);
    font-style: italic;
}

.related-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.related-project-card {
    background: #ffffff !important;
    border: 1px solid var(--project-panel-border) !important;
    border-radius: 16px !important;
    padding: 18px !important;
    display: flex !important;
    flex-direction: column !important;
    text-decoration: none !important;
    transition: var(--project-transition) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(194, 164, 104, 0.06) !important;
}
 
.related-project-card:hover {
    transform: translateY(-6px) !important;
    border-color: var(--project-accent) !important;
    box-shadow: 0 18px 40px rgba(194, 164, 104, 0.16) !important;
}

.related-project-thumb {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 18px;
}

.related-project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.related-project-card:hover .related-project-thumb img {
    transform: scale(1.06);
}

.related-project-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.related-project-type {
    font-family: var(--font-body);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--project-accent);
    font-weight: 600;
    margin-bottom: 6px;
}

.related-project-name {
    font-family: var(--font-heading) !important;
    font-size: 1.35rem;
    font-weight: 350 !important;
    color: var(--text-primary) !important;
    margin: 0 0 8px 0;
    line-height: 1.25;
}

.related-project-name span {
    color: var(--project-accent);
}

.related-project-meta {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--project-text-muted);
    margin-top: auto;
}

/* 10. Premium Lightbox Modal Styling */
.project-lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 13, 20, 0.96);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(0px); 
    -webkit-backdrop-filter: blur(0px);
}

.project-lightbox-modal.active {
    pointer-events: auto;
}

.lightbox-content {
    max-width: 85%;
    max-height: 80%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content img {
    max-width: 80%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid rgba(194, 164, 104, 0.3) !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85);
    background: #000;
}

.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 2px;
    z-index: 100020;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
    z-index: 100010;
}

.lightbox-close:hover {
    opacity: 1;
    color: var(--project-accent);
    transform: scale(1.1) rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 100010;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox-nav:hover {
    background: var(--project-accent);
    border-color: var(--project-accent);
    color: #ffffff;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 0 20px rgba(194, 164, 104, 0.6);
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

/* 11. Responsive Adaptations */
@media (max-width: 991px) {
    .project-hero {
        padding-top: 160px;
        padding-bottom: 80px;
    }

    .project-hero-title {
        font-size: 3.5rem;
    }

    .project-specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .spec-item {
        border-right: none !important;
        padding-right: 0;
    }

    .related-projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .related-projects-title {
        font-size: 1.8rem;
        margin-bottom: 35px;
    }
}

@media (max-width: 767px) {
    .project-specs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .spec-item {
        text-align: center;
        border-bottom: 1px solid rgba(194, 164, 104, 0.15) !important;
        padding-bottom: 15px;
    }

    .spec-item:last-child {
        border-bottom: none !important;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .proximity-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }
    
    .lightbox-prev {
        left: 20px;
    }
    
    .lightbox-next {
        right: 20px;
    }
    
    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 2rem;
    }
    
    .consult-form-box {
        padding: 30px 20px;
    }
    
    .consult-form-box form {
        display: block;
    }
    
    .consult-form-box form .consult-field-group {
        margin-bottom: 20px;
    }
    
    .consult-form-box form button[type="submit"] {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .project-hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .project-hero-title {
        font-size: 2.4rem;
    }

    .project-hero-tagline {
        font-size: 1.05rem;
    }

    .related-projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}