/* ============================================================
   project.css — Supplementary styles for project detail pages
   Loaded in addition to main.css
   ============================================================ */

/* ----------------------------------------------------------
   Project Hero — full-bleed with overlay
   ---------------------------------------------------------- */
.project-hero {
    position: relative;
    height: 85vh;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--color-charcoal);
}

.project-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.project-hero:hover .project-hero-bg {
    transform: scale(1.0);
}

.project-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(18, 18, 18, 0.92) 0%,
        rgba(18, 18, 18, 0.5) 50%,
        rgba(18, 18, 18, 0.1) 100%
    );
}

.project-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 7.5rem 2rem 3rem;
    max-width: 900px;
}

.project-hero-content .project-tag {
    display: inline-block;
    background: var(--color-gold);
    color: var(--color-charcoal);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.3rem 0.9rem;
    border-radius: 2px;
    margin-bottom: 1rem;
}

.project-hero-content h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 600;
    color: var(--color-warm-white);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.project-hero-content .hero-sub {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 2rem;
    max-width: 560px;
}

.project-hero-stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(201, 163, 82, 0.3);
}

.project-hero-stats .stat {
    text-align: left;
}

.project-hero-stats .stat-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    color: var(--color-gold);
    font-weight: 600;
    line-height: 1;
}

.project-hero-stats .stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(245, 240, 230, 0.6);
    margin-top: 0.25rem;
}

/* ----------------------------------------------------------
   RERA Strip
   ---------------------------------------------------------- */
.rera-strip {
    background: var(--color-charcoal);
    border-bottom: 1px solid rgba(201, 163, 82, 0.2);
    padding: 0.7rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.rera-strip span {
    font-size: 0.72rem;
    color: rgba(245, 240, 230, 0.55);
    letter-spacing: 0.05em;
}

.rera-strip strong {
    color: var(--color-gold);
}

/* ----------------------------------------------------------
   Section: Overview + Quick Details Sidebar
   ---------------------------------------------------------- */
.project-overview-section {
    padding: 5rem 2rem;
    background: var(--color-warm-white);
}

.overview-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 3.5rem;
    align-items: start;
}

.overview-text h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    color: var(--color-charcoal);
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.overview-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.overview-text .highlight-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.overview-text .highlight-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.92rem;
    color: #444;
}

.overview-text .highlight-list li::before {
    content: '✦';
    color: var(--color-gold);
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* Quick Details Box */
.quick-details-box {
    background: var(--color-charcoal);
    border-radius: 6px;
    padding: 2rem;
    position: sticky;
    top: 90px;
}

.quick-details-box h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: var(--color-gold);
    margin-bottom: 1.2rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(201, 163, 82, 0.3);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    gap: 1rem;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(245, 240, 230, 0.5);
    flex-shrink: 0;
}

.detail-value {
    font-size: 0.88rem;
    color: var(--color-warm-white);
    text-align: right;
    font-weight: 500;
}

.detail-value.highlight {
    color: var(--color-gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
}

.quick-details-box .cta-btn-full {
    display: block;
    width: 100%;
    margin-top: 1.5rem;
    text-align: center;
    background: var(--color-gold);
    color: var(--color-charcoal);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.9rem;
    border-radius: 3px;
    text-decoration: none;
    transition: opacity 0.2s;
    cursor: pointer;
    border: none;
}

.quick-details-box .cta-btn-full:hover {
    opacity: 0.88;
}

/* ----------------------------------------------------------
   Unit Types Table / Cards
   ---------------------------------------------------------- */
.unit-types-section {
    padding: 5rem 2rem;
    background: var(--color-charcoal);
}

.unit-types-section .section-title {
    color: var(--color-warm-white);
}

.unit-types-section .section-subtitle {
    color: rgba(245, 240, 230, 0.6);
}

.unit-table-wrap {
    max-width: 900px;
    margin: 2.5rem auto 0;
    overflow-x: auto;
    border-radius: 6px;
    border: 1px solid rgba(201, 163, 82, 0.2);
}

.unit-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.unit-table thead {
    background: rgba(201, 163, 82, 0.15);
}

.unit-table thead th {
    padding: 1rem 1.2rem;
    text-align: left;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gold);
    font-weight: 600;
}

.unit-table tbody tr {
    border-top: 1px solid rgba(255,255,255,0.06);
    transition: background 0.2s;
}

.unit-table tbody tr:hover {
    background: rgba(201, 163, 82, 0.06);
}

.unit-table tbody td {
    padding: 1rem 1.2rem;
    color: rgb(139 133 122 / 85%);
}

.unit-table tbody td:first-child {
    font-weight: 600;
    color: var(--color-warm-white);
}

.unit-table tbody td.price-cell {
    color: var(--color-gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
}

/* Unit Tabs (for Karyan Nine) */
.unit-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid rgba(201, 163, 82, 0.2);
    margin-bottom: 2rem;
    justify-content: center;
}

.unit-tab-btn {
    padding: 0.75rem 2rem;
    background: none;
    border: none;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(245, 240, 230, 0.5);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}

.unit-tab-btn.active,
.unit-tab-btn:hover {
    color: var(--color-gold);
    border-bottom-color: var(--color-gold);
}

.unit-tab-panel {
    display: none;
}

.unit-tab-panel.active {
    display: block;
}

/* ----------------------------------------------------------
   Specifications Grid
   ---------------------------------------------------------- */
.specs-section {
    padding: 5rem 2rem;
    background: #f7f4ef;
}

.specs-grid {
    max-width: 960px;
    margin: 2.5rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.spec-card {
    background: #fff;
    border-radius: 6px;
    padding: 1.75rem 1.5rem;
    border-left: 3px solid var(--color-gold);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.spec-card h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    margin-bottom: 0.75rem;
}

.spec-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-card ul li {
    font-size: 0.87rem;
    color: #555;
    padding: 0.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spec-card ul li::before {
    content: '›';
    color: var(--color-gold);
    font-weight: bold;
}

/* ----------------------------------------------------------
   Brands / Retail Grid
   ---------------------------------------------------------- */
.brands-section {
    padding: 5rem 2rem;
    background: var(--color-charcoal);
    text-align: center;
}

.brands-section .section-title { color: var(--color-warm-white); }
.brands-section .section-subtitle { color: rgba(245,240,230,0.6); }

.brands-grid {
    max-width: 900px;
    margin: 2.5rem auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.brand-pill {
    background: rgba(201, 163, 82, 0.1);
    border: 1px solid rgba(201, 163, 82, 0.25);
    color:rgb(16 15 13 / 80%);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    transition: all 0.2s;
}

.brand-pill:hover {
    background: rgba(201, 163, 82, 0.2);
    color: var(--color-gold);
}

/* ----------------------------------------------------------
   Payment Plan
   ---------------------------------------------------------- */
.payment-section {
    padding: 5rem 2rem;
    background: #f7f4ef;
}

.payment-grid {
    max-width: 800px;
    margin: 2.5rem auto 0;
    display: grid;
    gap: 0;
    border: 1px solid #e0d8c8;
    border-radius: 6px;
    overflow: hidden;
}

.payment-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid #e8e0d0;
    transition: background 0.2s;
    gap: 2rem;
}

.payment-row:last-child {
    border-bottom: none;
}

.payment-row:hover {
    background: #faf7f0;
}

.payment-row:nth-child(odd) {
    background: #fff;
}

.payment-row:nth-child(even) {
    background: #faf7f0;
}

.payment-milestone {
    font-size: 0.9rem;
    color: #444;
}

.payment-milestone strong {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #999;
    margin-bottom: 0.2rem;
}

.payment-percent {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    color: var(--color-gold);
    font-weight: 600;
    white-space: nowrap;
}

.bank-details-box {
    max-width: 800px;
    margin: 2rem auto 0;
    background: var(--color-charcoal);
    border-radius: 6px;
    padding: 1.5rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.bank-detail-item {
    text-align: center;
}

.bank-detail-item .label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(245,240,230,0.45);
    margin-bottom: 0.3rem;
}

.bank-detail-item .value {
    font-size: 0.9rem;
    color: var(--color-warm-white);
    font-weight: 500;
}

/* ----------------------------------------------------------
   Video Section
   ---------------------------------------------------------- */
.video-section {
    padding: 5rem 2rem;
    background: var(--color-charcoal);
    text-align: center;
}

.video-section .section-title { color: var(--color-warm-white); }
.video-section .section-subtitle { color: rgba(245,240,230,0.6); }

.video-wrap {
    max-width: 860px;
    margin: 2.5rem auto 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    aspect-ratio: 16/9;
    position: relative;
    background: #000;
}

.video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ----------------------------------------------------------
   Club Trinity / Feature Cards
   ---------------------------------------------------------- */
.club-trinity-section {
    padding: 5rem 2rem;
    background: #f7f4ef;
}

.trinity-cards {
    max-width: 1050px;
    margin: 2.5rem auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.trinity-card {
    background: var(--color-charcoal);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.trinity-card-img {
    height: 200px;
    background: #2a2a2a;
    overflow: hidden;
}

.trinity-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.trinity-card:hover .trinity-card-img img {
    transform: scale(1.05);
}

.trinity-card-body {
    padding: 1.5rem;
    flex: 1;
}

.trinity-card-body .icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.trinity-card-body h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.trinity-card-body p {
    font-size: 0.85rem;
    color: rgb(10 9 7 / 65%);
    line-height: 1.6;
}

/* ----------------------------------------------------------
   Project CTA Banner
   ---------------------------------------------------------- */
.project-cta-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--color-charcoal) 60%, #2a2218 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.project-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 163, 82, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.project-cta-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--color-warm-white);
    margin-bottom: 0.75rem;
}

.project-cta-section p {
    color: rgba(245,240,230,0.65);
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

.cta-button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-charcoal);
    padding: 0.9rem 2.2rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.btn-outline-light {
    background: transparent;
    color: var(--color-warm-white);
    padding: 0.9rem 2.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(245,240,230,0.35);
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-outline-light:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

/* ----------------------------------------------------------
   Location Section
   ---------------------------------------------------------- */
.location-section {
    padding: 5rem 2rem;
    background: var(--color-warm-white);
}

.location-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.location-info h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--color-charcoal);
    margin-bottom: 1rem;
}

.location-info p {
    color: #555;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.location-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.location-points li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.88rem;
    color: #444;
}

.location-points li .loc-icon {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.map-embed {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    height: 380px;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */
@media (max-width: 900px) {
    .overview-grid {
        grid-template-columns: 1fr;
    }

    .quick-details-box {
        position: static;
    }

    .trinity-cards {
        grid-template-columns: 1fr;
    }

    .location-inner {
        grid-template-columns: 1fr;
    }

    .map-embed {
        height: 280px;
    }
}

@media (max-width: 600px) {
    .project-hero {
        height: 70vh;
    }

    .project-hero-stats {
        gap: 1.5rem;
    }

    .payment-row {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }

    .payment-percent {
        font-size: 1.2rem;
    }

    .rera-strip {
        flex-direction: column;
        gap: 0.3rem;
        text-align: center;
    }

    .unit-table-wrap {
        font-size: 0.82rem;
    }
}
/* 2. Mobile: more clearance + let hero grow instead of clipping */
@media (max-width: 600px) {
    .project-hero {
        height: auto;            /* was: height: 70vh */
        min-height: 80vh;        /* new */
    }

    .project-hero-content {
        padding: 6.5rem 1.25rem 2.5rem;  /* new */
    }
}
