/* emlak.php — Primeviare portföy vitrin */
body.xy-site--emlak {
    background: #f4f6fa;
}

/* Hero */
.ev-hero {
    background: linear-gradient(160deg, #0c1222 0%, #151d33 55%, #1e3a5f 100%);
    color: #fff;
    padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2.5rem, 6vw, 4rem);
    position: relative;
    overflow: hidden;
}

.ev-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 90% 10%, rgba(255,255,255,.08), transparent 60%),
        radial-gradient(ellipse 50% 40% at 0% 100%, rgba(0,0,0,.12), transparent 55%);
    pointer-events: none;
}

.ev-hero .container { position: relative; z-index: 1; }

.ev-breadcrumb {
    font-size: 0.8125rem;
    margin-bottom: 1.25rem;
    color: rgba(255,255,255,.55);
}

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

.ev-breadcrumb a:hover { color: #fff; }

.ev-breadcrumb span { margin: 0 0.4rem; opacity: 0.5; }

.ev-hero__eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,.6);
    margin-bottom: 0.65rem;
}

.ev-hero__title {
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 0.75rem;
}

.ev-hero__desc {
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255,255,255,.72);
    max-width: 34rem;
    margin: 0;
}

.ev-stats {
    display: flex;
    gap: 1.25rem;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    backdrop-filter: blur(8px);
}

.ev-stat strong {
    display: block;
    font-family: "Outfit", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.ev-stat span {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,.5);
}

/* Toolbar — hızlı sekmeler + filtre */
.ev-toolbar-wrap {
    position: relative;
    z-index: 5;
    margin-top: -1.75rem;
    padding-bottom: 1.5rem;
}

.ev-quick-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.ev-quick-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--xy-brand);
    background: #fff;
    border: 1px solid var(--xy-border);
    box-shadow: 0 4px 16px rgba(86,89,65,.06);
    transition: all .15s;
}

.ev-quick-tab span {
    font-size: 0.7rem;
    font-weight: 700;
    background: var(--xy-brand-muted);
    color: var(--xy-brand);
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
}

.ev-quick-tab:hover {
    color: var(--xy-brand-dark);
    border-color: rgba(86,89,65,.3);
    transform: translateY(-1px);
}

.ev-quick-tab.is-active {
    background: var(--xy-brand);
    color: #fff;
    border-color: var(--xy-brand);
    box-shadow: 0 8px 24px rgba(86,89,65,.2);
}

.ev-quick-tab.is-active span {
    background: rgba(255,255,255,.2);
    color: #fff;
}

/* Filtre paneli */
.ev-filter {
    background: #fff;
    border: 1px solid var(--xy-border);
    border-radius: 18px;
    padding: 1.25rem 1.5rem 1.5rem;
    box-shadow: 0 16px 48px rgba(86,89,65,.08);
}

.ev-filter__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(86,89,65,.08);
}

.ev-filter__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--xy-brand);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ev-filter__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 0.4rem;
    border-radius: 999px;
    background: var(--xy-brand);
    color: #fff;
    font-size: 0.68rem;
}

.ev-filter__reset {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--xy-slate);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.ev-filter__reset:hover { color: var(--xy-brand); }

.ev-filter__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) repeat(3, minmax(90px, 1fr)) auto;
    gap: 0.85rem;
    align-items: end;
}

.ev-filter__field label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--xy-slate);
    margin-bottom: 0.3rem;
}

.ev-filter__field .form-select,
.ev-filter__field .form-control {
    border-radius: 10px;
    border-color: var(--xy-border);
    font-size: 0.875rem;
}

.ev-filter__action .btn {
    border-radius: 10px;
    padding: 0.55rem 1.25rem;
    min-height: 38px;
    white-space: nowrap;
}

/* Sonuç bar */
.ev-main { padding-top: 0.5rem; }

.ev-results-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--xy-border);
}

.ev-results-bar__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--xy-brand);
    margin: 0;
}

.ev-results-bar__sub {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--xy-slate);
    margin-left: 0.35rem;
}

.ev-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.5rem;
}

.ev-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: var(--xy-brand-muted);
    color: var(--xy-brand-dark);
    border: 1px solid rgba(86,89,65,.12);
}

/* İlan kartları */
.ev-card {
    border-radius: 18px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}

.ev-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 48px rgba(86,89,65,.12);
}

.ev-card .ilan-vitrin-card__media {
    aspect-ratio: 4/3;
}

.ev-badge {
    background: var(--xy-brand) !important;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 0.4em 0.65em;
}

.ev-badge--featured {
    background: #f0ead6 !important;
    color: #5c4a1a !important;
}

.ev-card__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
    min-height: 2.7em;
}

.ev-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.78rem;
    color: var(--xy-slate);
    margin-bottom: 0.85rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(86,89,65,.08);
}

.ev-card__price {
    font-family: "Outfit", sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--xy-brand);
    letter-spacing: -0.02em;
}

.ev-card__price-note {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--xy-slate);
}

/* Boş durum */
.ev-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: 18px;
    border: 1px dashed var(--xy-border);
}

.ev-empty__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: var(--xy-brand-muted);
    color: var(--xy-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.ev-empty p {
    color: var(--xy-slate);
    font-size: 0.9rem;
    max-width: 26rem;
    margin: 0 auto 1.5rem;
    line-height: 1.65;
}

/* CTA */
.ev-cta {
    margin-top: 3.5rem;
    background: linear-gradient(135deg, #059669, #047857);
    border-radius: 20px;
    padding: clamp(2rem, 5vw, 2.75rem);
    color: #fff;
}

.ev-cta__kicker {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.65);
    margin-bottom: 0.5rem;
}

.ev-cta .btn-light {
    border-radius: 12px;
    color: var(--xy-brand);
}

/* Responsive */
@media (max-width: 1199.98px) {
    .ev-filter__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .ev-filter__action {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .ev-stats {
        margin-top: 0.5rem;
    }
    .ev-filter__grid {
        grid-template-columns: 1fr 1fr;
    }
    .ev-filter__field--sm {
        grid-column: span 1;
    }
    .ev-toolbar-wrap {
        margin-top: -1rem;
    }
}

@media (max-width: 575.98px) {
    .ev-filter__grid {
        grid-template-columns: 1fr;
    }
    .ev-quick-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }
    .ev-quick-tab {
        justify-content: center;
        padding: 0.5rem 0.65rem;
        font-size: 0.75rem;
    }
    .ev-quick-tab i { display: none; }
}
