﻿/* =========================================================
   luxury-search.css
   ULTRA PREMIUM REAL ESTATE UI
========================================================= */

:root {
    --gold: #C89B3C;
    --gold-light: #E7C469;
    --dark: #111111;
    --dark-2: #1B1B1B;
    --dark-3: #242424;
    --white: #ffffff;
    --bg: #F7F7F7;
    --glass: rgba(255,255,255,0.14);
    --glass-border: rgba(255,255,255,0.22);
    --shadow: 0 20px 60px rgba(0,0,0,.08);
    --shadow-hover: 0 35px 90px rgba(0,0,0,.16);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 18px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg);
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
}

/* =========================================================
   HERO SECTION
========================================================= */

.hero-luxury {
    position: relative;
    min-height: 100vh;
    padding: 120px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient( rgba(0,0,0,.55), rgba(0,0,0,.72) ), url('/Content/images/luxury-realestate.jpg');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(200,155,60,.18), transparent 30%);
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: linear-gradient( rgba(255,255,255,.02) 1px, transparent 1px), linear-gradient( 90deg, rgba(255,255,255,.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content-luxury {
    position: relative;
    z-index: 3;
    max-width: 1100px;
    margin: auto;
    text-align: center;
    animation: fadeHero 1.2s ease;
}

@keyframes fadeHero {

    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    padding: 12px 26px;
    border-radius: 100px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    backdrop-filter: blur(12px);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.hero-content-luxury h1 {
    font-size: 82px;
    font-family: 'Urbanist', sans-serif;
    font-weight: 900;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-content-luxury p {
    color: rgba(255,255,255,.78);
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 60px;
}

/* =========================================================
   SEARCH BOX
========================================================= */

.hero-search-glass {
    width: 100%;
    padding: 24px;
    border-radius: 36px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.15);
    backdrop-filter: blur(24px);
    box-shadow: 0 25px 70px rgba(0,0,0,.25);
}

.search-grid-luxury {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 220px;
    gap: 18px;
}

.search-field-lux {
    height: 72px;
    border-radius: 22px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    padding: 0 24px;
    transition: .4s ease;
}

    .search-field-lux:hover {
        background: rgba(255,255,255,.15);
        transform: translateY(-2px);
    }

    .search-field-lux i {
        color: var(--gold-light);
        font-size: 18px;
        margin-right: 16px;
    }

    .search-field-lux input,
    .search-field-lux select {
        width: 100%;
        border: none;
        background: transparent;
        outline: none;
        color: #fff;
        font-size: 16px;
        font-weight: 500;
    }

        .search-field-lux input::placeholder {
            color: rgba(255,255,255,.68);
        }

        .search-field-lux select option {
            color: #111;
        }

.btn-search-ultra {
    border: none;
    border-radius: 24px;
    background: linear-gradient( 135deg, var(--gold), var(--gold-light));
    color: #111;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: .4s ease;
    box-shadow: 0 12px 30px rgba(200,155,60,.35);
}

    .btn-search-ultra:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 20px 50px rgba(200,155,60,.45);
    }

/* =========================================================
   MAIN WRAPPER
========================================================= */

.lux-main-wrapper {
    position: relative;
    padding: 50px 0 50px;
}

.lux-grid-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 40px;
}

/* =========================================================
   TOP BAR
========================================================= */

.lux-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

    .lux-topbar h2 {
        font-size: 38px;
        font-family: 'Urbanist', sans-serif;
        font-weight: 800;
        color: var(--dark);
        margin-bottom: 8px;
    }

    .lux-topbar p {
        color: #666;
        font-size: 15px;
    }

.lux-sort-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
}

    .lux-sort-wrap i {
        color: var(--gold);
    }

    .lux-sort-wrap select {
        border: none;
        outline: none;
        background: transparent;
        font-weight: 600;
    }





/* =========================================================
   luxury-filter.css
========================================================= */

.lux-sidebar-glass {
    position: sticky;
    top: 120px;
    padding: 30px;
    border-radius: 34px;
    background: rgb(250 235 215);
    border: 1px solid rgba(255,255,255,.6);
    backdrop-filter: blur(22px);
    box-shadow: var(--shadow);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 34px;
}

    .sidebar-header h3 {
        font-size: 24px;
        font-weight: 800;
    }

    .sidebar-header button {
        border: none;
        background: none;
        color: var(--gold);
        font-weight: 700;
    }

.filter-block {
    margin-bottom: 36px;
}

.filter-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.budget-slider-wrap input {
    width: 100%;
    accent-color: var(--gold);
}

.budget-chip-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

    .budget-chip-wrap span {
        padding: 12px 14px;
        border-radius: 100px;
        background: #fff;
        border: 1px solid #eee;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: .35s ease;
    }

        .budget-chip-wrap span:hover {
            background: var(--gold);
            color: #fff;
        }

.lux-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.lux-chip {
    position: relative;
    padding: 11px 11px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #eee;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .35s ease;
}

    .lux-chip:hover {
        background: var(--gold);
        color: #fff;
        transform: translateY(-3px);
    }

    .lux-chip input {
        display: none;
    }

.lux-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

    .lux-pill-grid span {
        padding: 10px 14px;
        border-radius: 100px;
        background: #fff;
        border: 1px solid #eee;
        cursor: pointer;
        font-weight: 700;
        transition: .35s ease;
        font-size:14px;
    }

        .lux-pill-grid span.active,
        .lux-pill-grid span:hover {
            background: linear-gradient( 135deg, var(--gold), var(--gold-light));
            color: #111;
        }




/* =========================================================
   luxury-project-card.css
========================================================= */

.project-grid-ultra {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 34px;
}

.ultra-project-card {
    background: #fff;
    border-radius: 34px;
    overflow: hidden;
    transition: .45s ease;
    position: relative;
    box-shadow: 0 12px 35px rgba(0,0,0,.06);
}

    .ultra-project-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 40px 100px rgba(0,0,0,.16);
    }

.ultra-card-image {
    position: relative;
   /* height: 238px;*/
    overflow: hidden;
}

    .ultra-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: 1.2s ease;
    }

.ultra-project-card:hover img {
    transform: scale(1.08);
}

.image-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(0,0,0,.72), rgba(0,0,0,.05));
}

.top-floating-tags {
    position: absolute;
    top: 22px;
    left: 22px;
    display: flex;
    gap: 10px;
    z-index: 2;
}

    .top-floating-tags span {
        padding: 10px 14px;
        border-radius: 100px;
        font-size: 12px;
        font-weight: 700;
        color: #fff;
        backdrop-filter: blur(10px);
    }

.featured-tag {
    background: rgba(200,155,60,.92);
}

.verified-tag {
    background: rgba(0,0,0,.48);
}

.rera-tag {
    background: rgba(255,255,255,.18);
}

.card-icons-floating {
    position: absolute;
    top: 22px;
    right: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 3;
}

    .card-icons-floating button {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        border: none;
        background: rgba(255,255,255,.18);
        color: #fff;
        backdrop-filter: blur(12px);
        cursor: pointer;
        transition: .35s ease;
    }

        .card-icons-floating button:hover {
            transform: scale(1.12);
            background: var(--gold);
        }

.image-bottom-content {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2;
}

.project-price {
    color: #fff;
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 8px;
}

.project-location {
    color: rgba(255,255,255,.85);
    font-size: 15px;
}

/* BODY */

.ultra-card-body {
    padding: 30px;
}

    .ultra-card-body h3 {
        font-size: 28px;
        font-weight: 800;
        margin-bottom: 10px;
    }

.builder-row {
    color: #777;
    font-size: 15px;
    margin-bottom: 24px;
}

.ultra-meta-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 14px;
    margin-bottom: 28px;
}

.meta-box {
    padding: 18px;
    border-radius: 18px;
    background: #fafafa;
    border: 1px solid #f0f0f0;
}

    .meta-box small {
        display: block;
        color: #888;
        margin-bottom: 8px;
    }

    .meta-box strong {
        font-size: 15px;
    }

.luxury-amenities {
    display: flex;
    gap: 14px;
    margin-bottom: 26px;
}

    .luxury-amenities span {
        width: 52px;
        height: 52px;
        border-radius: 16px;
        background: #fafafa;
        border: 1px solid #eee;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: .35s ease;
    }

        .luxury-amenities span:hover {
            background: var(--gold);
            color: #fff;
            transform: translateY(-4px);
        }

.nearby-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

    .nearby-grid div {
        padding: 10px 16px;
        border-radius: 100px;
        background: #fafafa;
        font-size: 13px;
        font-weight: 600;
    }

.card-footer-lux {
    display: flex;
    gap: 16px;
}

.btn-outline-gold {
    flex: 1;
    height: 49px;
    border-radius: 18px;
    border: 2px solid var(--gold);
    background: transparent;
    color: var(--gold);
    font-weight: 700;
    cursor: pointer;
    transition: .35s ease;
}

    .btn-outline-gold:hover {
        background: var(--gold);
        color: #fff;
    }

.btn-gold-filled {
    flex: 1;
    height: 49px;
    border-radius: 18px;
    border: none;
    background: linear-gradient( 135deg, var(--gold), var(--gold-light));
    color: #111;
    font-weight: 800;
    cursor: pointer;
    transition: .4s ease;
    box-shadow: 0 14px 28px rgba(200,155,60,.28);
}

    .btn-gold-filled:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 45px rgba(200,155,60,.38);
    }

/* =========================================================
   luxury-responsive.css
========================================================= */

@media(max-width:1400px) {

    .project-grid-ultra {
        grid-template-columns: repeat(3,1fr);
    }
}

@media(max-width:1200px) {

    .hero-content-luxury h1 {
        font-size: 64px;
    }

    .search-grid-luxury {
        grid-template-columns: 1fr 1fr;
    }

    .lux-grid-layout {
        grid-template-columns: 1fr;
    }

    .lux-sidebar-glass {
        position: relative;
        top: 0;
    }
}

@media(max-width:992px) {

    .hero-content-luxury h1 {
        font-size: 52px;
    }

    .lux-topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
}

@media(max-width:768px) {

    .hero-luxury {
        min-height: auto;
        padding: 100px 0;
    }

    .hero-content-luxury h1 {
        font-size: 42px;
    }

    .hero-content-luxury p {
        font-size: 16px;
    }

    .search-grid-luxury {
        grid-template-columns: 1fr;
    }

    .project-grid-ultra {
        grid-template-columns: 1fr;
    }

    .ultra-meta-grid {
        grid-template-columns: 1fr;
    }

    .card-footer-lux {
        flex-direction: column;
    }

    .mobile-filter-bar {
        display: flex;
    }
    .lux-topbar h2 {
        font-size: 30px !important;
        font-family: 'Urbanist', sans-serif;
        font-weight: 800;
        color: var(--dark);
        margin-bottom: 8px;
    }
    .lux-sort-wrap {
        width: 100%;
        max-width: 100%;
    }
    .project-title {
        font-size: 17px !important;
    }
    .project-rating {
        display: none !important;
    }
    .lux-sidebar-glass {
        position: sticky;
        top: 120px;
        padding: 10px !important;
        border-radius: 34px;
        background: rgb(250 235 215);
        border: 1px solid rgba(255, 255, 255, .6);
        backdrop-filter: blur(22px);
        box-shadow: var(--shadow);
    }
}


@media(max-width:576px) {

    .hero-content-luxury h1 {
        font-size: 34px;
    }

    .hero-search-glass {
        padding: 18px;
    }

    .search-field-lux {
        height: 64px;
        padding: 0 18px;
    }

    .ultra-card-body {
        padding: 22px;
    }

        .ultra-card-body h3 {
            font-size: 22px;
        }
}



/* =========================================================
   EXTRA EFFECTS CSS
========================================================= */

.show-reveal {
    animation: revealCard .8s ease forwards;
}

@keyframes revealCard {

    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ripple {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    transform: scale(0);
    animation: rippleEffect .7s linear;
}

@keyframes rippleEffect {

    to {
        transform: scale(25);
        opacity: 0;
    }
}

.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.skeleton-card {
    height: 520px;
    border-radius: 32px;
    background: linear-gradient( 90deg, #eee 25%, #f6f6f6 37%, #eee 63% );
    background-size: 400% 100%;
    animation: skeleton 1.4s ease infinite;
}

@keyframes skeleton {

    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

/* MOBILE FILTER */

.mobile-filter-bar {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    display: none;
    gap: 16px;
}

    .mobile-filter-bar button {
        flex: 1;
        height: 62px;
        border-radius: 20px;
        border: none;
        background: linear-gradient( 135deg, var(--gold), var(--gold-light));
        font-weight: 800;
        color: #111;
        box-shadow: 0 15px 40px rgba(0,0,0,.18);
    }







/*
    ---new form apartment---*/
/* ================================
   POPUP
================================ */

.projectPopupOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.75);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(8px);
}

.projectPopupBox {
    width: 100%;
    max-width: 950px;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    animation: popupShow .35s ease;
    position: relative;
}

@keyframes popupShow {

    from {
        transform: translateY(40px) scale(.9);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.popupHeader {
    padding: 28px;
    background: linear-gradient(135deg,#111,#222);
    color: #fff;
}

    .popupHeader h2 {
        font-size: 32px;
        margin-bottom: 8px;
        color: #fff;
        font-weight: 800;
    }

.popupApartmentGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 20px;
    padding: 25px;
    max-height: 70vh;
    overflow-y: auto;
}

.apartmentCardPopup {
    background: #fff;
    border-radius: 22px;
    padding: 22px;
    border: 1px solid #eee;
    transition: .3s;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

    .apartmentCardPopup:hover {
        transform: translateY(-6px);
    }

    .apartmentCardPopup h3 {
        font-size: 24px;
        margin-bottom: 15px;
    }

.popupMeta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

    .popupMeta span:first-child {
        color: #777;
    }

.popupPrice {
    font-size: 26px;
    font-weight: 700;
    color: #c59d5f;
    margin-top: 20px;
}

.popupCloseBtn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: #fff;
    cursor: pointer;
    font-size: 18px;
}

.projectCardTrigger {
    cursor: pointer;
}











.ultra-project-card {
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(255,255,255,.65);
    backdrop-filter: blur(24px);
    border-radius: 28px;
    overflow: hidden;
    transition: all .45s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,.08);
}

    .ultra-project-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 30px 70px rgba(0,0,0,.16);
    }

/*.ultra-card-image {
    height: 240px;
}*/

.ultra-card-body {
    padding: 22px;
}

.project-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.3;
}

.project-subtitle {
    font-size: 13px;
    color: #8b8b8b;
}

.project-top-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.project-rating {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(200,155,60,.12);
    color: #C89B3C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.project-price-strip {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 14px 18px;
    border-radius: 18px;
    background: linear-gradient( 135deg, rgba(200,155,60,.08), rgba(255,255,255,.9) );
}

    .project-price-strip span {
        display: block;
        font-size: 12px;
        color: #777;
        margin-bottom: 6px;
    }

    .project-price-strip strong {
        font-size: 22px;
        font-weight: 800;
    }




.projectPopupBox {
    background: rgba(20,20,20,.88);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255,255,255,.08);
    max-width: 1200px;
    border-radius: 34px;
    overflow: hidden;
    width: 100%;
    display: block;
    margin: auto;
}

.popupApartmentGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 22px;
    padding: 30px;
    max-height: 75vh;
    overflow-y: auto;
}

.lux-apartment-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
    padding: 24px;
    transition: .4s ease;
}

    .lux-apartment-card:hover {
        transform: translateY(-6px);
        border-color: rgba(200,155,60,.4);
    }

.lux-apartment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.lux-bhk-badge {
    background: linear-gradient(135deg,#C89B3C,#E7C469);
    color: #111;
    padding: 10px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 800;
}

.lux-price {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}

.lux-apartment-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 16px;
}

.lux-popup-meta {
    padding: 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.04);
}

    .lux-popup-meta span {
        display: block;
        color: rgba(255,255,255,.55);
        font-size: 12px;
        margin-bottom: 6px;
    }

    .lux-popup-meta strong {
        color: #fff;
        font-size: 15px;
    }






.selected-chip {
    background: linear-gradient(135deg,#C89B3C,#E7C469) !important;
    color: #111 !important;
    border-color: transparent !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(200,155,60,.25);
}

.selected-budget {
    background: linear-gradient(135deg,#C89B3C,#E7C469) !important;
    color: #111 !important;
    border-color: transparent !important;
    box-shadow: 0 10px 25px rgba(200,155,60,.25);
}

.bhk-filter.active {
    background: linear-gradient(135deg,#C89B3C,#E7C469);
    color: #111;
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(200,155,60,.25);
}