/* ============================================
   FINDING HOME - PROJECTS PAGE STYLES
   Projects Grid, Filters, Page Header
   ============================================ */

/* ========== PAGE HEADER ========== */
.page-header {
    background: linear-gradient(135deg, var(--black) 0%, var(--grey-dark) 100%);
    color: var(--white);
    padding: var(--space-16) 0 var(--space-12);
    text-align: center;
    margin-top: 70px;
    /* Account for fixed header */
}

.page-title {
    font-size: var(--text-6xl);
    color: var(--gold);
    margin-bottom: var(--space-4);
}

.page-subtitle {
    font-size: var(--text-xl);
    color: var(--grey-light);
    font-weight: 300;
}

/* ========== FILTERS SECTION ========== */
.filters-section {
    background-color: var(--white);
    padding: var(--space-8) 0;
    border-bottom: 2px solid var(--gold-light);
    position: sticky;
    top: 70px;
    z-index: 50;
    box-shadow: var(--shadow-md);
}

.filters-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.filter-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-select {
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    color: var(--grey-dark);
    background-color: var(--ivory);
    border: 2px solid var(--grey-light);
    border-radius: var(--radius-sm);
    transition: all var(--duration-fast) var(--ease-standard);
    cursor: pointer;
}

.filter-select:hover {
    border-color: var(--gold);
}

.filter-select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-light);
}

/* ========== PROJECTS GRID SECTION ========== */
.projects-grid-section {
    padding: var(--space-12) 0;
    background-color: var(--ivory);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-8);
}

.project-location {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--grey-medium);
    margin-bottom: var(--space-3);
}

.project-location i {
    color: var(--gold);
}

.no-results {
    text-align: center;
    padding: var(--space-16);
    display: none;
}

.no-results h3 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
    color: var(--grey-dark);
}

.no-results p {
    font-size: var(--text-lg);
    color: var(--grey-medium);
    margin-bottom: var(--space-6);
}

/* Hide filtered out projects */
.project-card.hidden {
    display: none;
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: var(--space-12) 0;
    text-align: center;
}

.cta-content h2 {
    font-size: var(--text-5xl);
    color: var(--gold);
    margin-bottom: var(--space-4);
}

.cta-content p {
    font-size: var(--text-xl);
    color: var(--white);
    margin-bottom: var(--space-8);
}

.cta-actions {
    display: flex;
    gap: var(--space-5);
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== PROJECT DETAIL PAGE ========== */
.project-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    margin-top: 70px;
}

.project-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
}

.project-hero-content {
    position: relative;
    z-index: 10;
    color: var(--white);
    padding: var(--space-8);
    width: 100%;
}

.project-hero-title {
    font-size: var(--text-6xl);
    color: var(--gold);
    margin-bottom: var(--space-4);
}

.project-hero-tagline {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-6);
}

.project-key-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
}

.key-fact-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.key-fact-label {
    font-size: var(--text-sm);
    color: var(--grey-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.key-fact-value {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--white);
}

/* ========== AMENITIES GRID ========== */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-fast) var(--ease-standard);
}

.amenity-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.amenity-icon {
    font-size: var(--text-3xl);
    color: var(--gold);
    width: 50px;
    text-align: center;
}

.amenity-name {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--grey-dark);
}

/* ========== FLOOR PLANS ========== */
.floor-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.floor-plan-item {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--duration-medium) var(--ease-standard);
    cursor: pointer;
}

.floor-plan-item:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.floor-plan-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.floor-plan-info {
    padding: var(--space-5);
}

.floor-plan-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--black);
    margin-bottom: var(--space-2);
}

.floor-plan-details {
    font-size: var(--text-base);
    color: var(--grey-medium);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: var(--space-10) 0 var(--space-8);
    }

    .page-title {
        font-size: var(--text-4xl);
    }

    .filters-container {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
    }

    .project-hero {
        height: 50vh;
        min-height: 400px;
    }

    .project-hero-title {
        font-size: var(--text-4xl);
    }

    .amenities-grid,
    .floor-plans-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .project-key-facts {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CATEGORY PAGE STYLES
   Residential, Commercial, Yamuna Expressway
   ============================================ */

/* ========== SECTION HEADER ========== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-10);
}

.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: var(--space-3);
    position: relative;
    padding: var(--space-2) var(--space-5);
    border: 1px solid var(--gold-light);
    border-radius: var(--radius-full);
}

.section-title {
    font-size: var(--text-5xl);
    color: var(--black);
    margin-bottom: var(--space-4);
}

/* ========== CATEGORY INTRO ========== */
.category-intro {
    padding: var(--space-12) 0;
    background-color: var(--white);
}

.category-intro-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-10);
    align-items: center;
}

.category-intro-content h2 {
    font-size: var(--text-5xl);
    margin-bottom: var(--space-5);
}

.category-intro-content p {
    font-size: var(--text-lg);
    line-height: 1.8;
    color: var(--grey-medium);
}

/* ========== CATEGORY STATS ========== */
.category-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-5);
}

.category-stat {
    background: linear-gradient(135deg, var(--black) 0%, var(--grey-dark) 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all var(--duration-medium) var(--ease-standard);
}

.category-stat:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
    transform: translateY(-4px);
}

.category-stat-number {
    font-family: var(--font-serif);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--gold);
    margin-bottom: var(--space-2);
}

.category-stat-label {
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--grey-light);
}

/* ========== WHY CATEGORY SECTION ========== */
.why-category-section {
    padding: var(--space-12) 0;
}

.why-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.why-category-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-8) var(--space-6);
    text-align: center;
    transition: all var(--duration-medium) var(--ease-standard);
}

.why-category-card:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.why-category-icon {
    font-size: var(--text-4xl);
    color: var(--gold);
    margin-bottom: var(--space-5);
}

.why-category-card h3 {
    font-size: var(--text-xl);
    color: var(--white);
    margin-bottom: var(--space-3);
}

.why-category-card p {
    font-size: var(--text-base);
    color: var(--grey-light);
    line-height: 1.7;
}

/* ========== DEVELOPMENTS SECTION (Yamuna Expressway) ========== */
.developments-section {
    padding: var(--space-12) 0;
}

.developments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.development-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-8) var(--space-6);
    text-align: center;
    transition: all var(--duration-medium) var(--ease-standard);
}

.development-card:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
    transform: translateY(-6px);
}

.development-icon {
    font-size: var(--text-5xl);
    color: var(--gold);
    margin-bottom: var(--space-5);
}

.development-card h3 {
    font-size: var(--text-xl);
    color: var(--white);
    margin-bottom: var(--space-3);
}

.development-card p {
    font-size: var(--text-base);
    color: var(--grey-light);
    line-height: 1.7;
}

/* ========== YAMUNA HEADER SPECIAL ========== */
.yamuna-header {
    background: linear-gradient(135deg, #0a1628 0%, var(--grey-dark) 50%, #1a0f00 100%);
}

/* ========== RESPONSIVE CATEGORY PAGES ========== */
@media (max-width: 1024px) {
    .category-intro-grid {
        grid-template-columns: 1fr;
    }

    .why-category-grid,
    .developments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .category-intro-grid {
        gap: var(--space-6);
    }

    .category-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-category-grid,
    .developments-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: var(--text-3xl);
    }

    .category-intro-content h2 {
        font-size: var(--text-3xl);
    }
}

@media (max-width: 480px) {
    .category-stats {
        grid-template-columns: 1fr;
    }
}

/* ========== FILTER UTILITY ========== */
/* .hidden is toggled by filters.js to show/hide project cards */
.project-card.hidden {
    display: none !important;
}



/* HERO BANNER FIX */

.prelaunch-hero{
position:relative;
width:100%;
height:85vh;
display:flex;
align-items:center;
justify-content:center;
overflow:hidden;
}

.prelaunch-hero-bg{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
object-fit:cover;
z-index:1;
}

.prelaunch-hero-overlay{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.45);
z-index:2;
}

.prelaunch-hero-container{
position:relative;
z-index:3;
max-width:1100px;
text-align:center;
padding:20px;
color:#fff;
}

.prelaunch-hero-container h1{
font-size:46px;
margin-bottom:20px;
font-family:'Playfair Display',serif;
}

.prelaunch-hero-container p{
font-size:18px;
max-width:750px;
margin:auto;
line-height:1.7;
}

/* Mobile */

@media(max-width:768px){

.prelaunch-hero{
height:70vh;
}

.prelaunch-hero-container h1{
font-size:32px;
}

.prelaunch-hero-container p{
font-size:16px;
}

}


/* HERO TEXT VISIBILITY FIX */

.prelaunch-hero-container h1{
color:#ffffff;
font-weight:700;
text-shadow:0 4px 12px rgba(0,0,0,0.7);
}

.prelaunch-hero-container{
text-align:center;
color:#fff;
}


/* HERO BUTTON ALIGNMENT */

.prelaunch-hero-actions{
display:flex;
justify-content:center;
align-items:center;
gap:20px;
margin-top:25px;
flex-wrap:wrap;
}

@media (max-width:768px){

.prelaunch-hero-actions{
flex-direction:column;
gap:12px;
}

}

/* RERA NUMBER STYLE */

.project-rera{
font-size:13px;
color:#d4af37;
margin-top:3px;
font-weight:500;
display:flex;
align-items:center;
gap:6px;
}

.project-rera i{
color:#d4af37;
}


/* FAQ SECTION */

.faq-item{
border-bottom:1px solid #ddd;
margin-bottom:10px;
}

.faq-question{
width:100%;
text-align:left;
background:none;
border:none;
font-size:18px;
font-weight:600;
padding:18px 0;
cursor:pointer;
position:relative;
}

.faq-answer{
max-height:0;
overflow:hidden;
transition:max-height 0.35s ease;
font-size:15px;
line-height:1.7;
color:#555;
}

.faq-item.active .faq-question{
color:#c9a646;
}


.project-overview{
padding:80px 0;
background:#fff;
}

.overview-content{
max-width:1000px;
margin:auto;
font-size:17px;
line-height:1.8;
color:#444;
}

.overview-content p{
margin-bottom:20px;
}


