/* ============================================================
   ILANLAR.CSS — Elite Emlak
   Arama Sonuçları Sayfasına özel stiller
   Page Banner · Results Header · Filters · Sidebar eklentileri
   ============================================================ */

/* ── PAGE BANNER (mini hero) ── */
.page-banner {
    height: 360px;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding-bottom: 56px;
}

.page-banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 40%;
    transform: scale(1.04);
    transition: transform 6s ease;
}

.page-banner-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(13,13,13,0.80) 0%,
        rgba(13,13,13,0.45) 55%,
        rgba(13,13,13,0.65) 100%
    );
}

.page-banner-content {
    position: relative;
    z-index: 10;
    animation: fadeUp 0.9s ease both;
}

@keyframes fadeUp {
    from { opacity:0; transform:translateY(30px); }
    to   { opacity:1; transform:translateY(0); }
}

.page-banner-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 300;
    color: #fff;
    line-height: 1.1;
    margin: 10px 0 16px;
}

.page-banner-title em { font-style: italic; color: var(--gold-light); }

/* Breadcrumb */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.5);
}

.breadcrumb-nav a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-nav a:hover { color: var(--gold); }
.breadcrumb-nav i { font-size: 9px; }
.breadcrumb-nav span { color: var(--gold); }

/* ── SEARCH SECTION — banner altında sıfır boşluk ── */
.search-section { margin-bottom: 0; }

/* ── LISTINGS SECTION ── */
.listings-section {
    padding: 70px 0 100px;
}

/* ── RESULTS HEADER ── */
.results-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.results-count {
    font-size: 12px;
    letter-spacing: 0.5px;
    color: var(--warm-gray);
    margin-top: -6px;
}

/* ── SORT ── */
.sort-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    padding-top: 4px;
}

.sort-label {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--warm-gray);
    white-space: nowrap;
}

/* Light versiyonu (açık zemin üstünde kullanılıyor) */
.light-trigger {
    color: var(--charcoal) !important;
    font-size: 12px !important;
    border: 1px solid #e0ddd8;
    padding: 10px 14px;
    min-width: 220px;
}

.light-trigger i { color: var(--charcoal) !important; }

.light-options {
    background: #fff !important;
    border: 1px solid #e0ddd8 !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08) !important;
}

.light-options .custom-select-option {
    color: var(--charcoal) !important;
    border-bottom: 1px solid #f0ede8 !important;
}

.light-options .custom-select-option:hover {
    background: var(--cream) !important;
    color: var(--charcoal) !important;
    padding-left: 26px !important;
}

.light-options .custom-select-option.selected { color: var(--gold) !important; }

/* ── ACTIVE FILTERS ── */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    min-height: 32px;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: var(--cream);
    border: 1px solid #e0ddd8;
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--charcoal);
    cursor: default;
}

.filter-tag i {
    font-size: 11px;
    cursor: pointer;
    color: var(--warm-gray);
    transition: color 0.2s;
}

.filter-tag i:hover { color: var(--charcoal); }

.clear-all-btn {
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--warm-gray);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    transition: color 0.3s;
    padding-bottom: 1px;
}

.clear-all-btn:hover { color: var(--charcoal); }

/* ── İSLEM BADGE (Satılık / Kiralık) ── */
.islem-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 5;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 12px;
}

.islem-satilik {
    background: rgba(13,13,13,0.75);
    color: var(--gold);
    border: 1px solid rgba(200,169,110,0.4);
    backdrop-filter: blur(6px);
}

.islem-kiralik {
    background: rgba(30,60,40,0.75);
    color: #90d4a0;
    border: 1px solid rgba(144,212,160,0.4);
    backdrop-filter: blur(6px);
}

/* ── SIDEBAR EKLENTİLERİ ── */

/* Kategori listesi */
.cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cat-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
    font-size: 12px;
    letter-spacing: 0.5px;
    color: var(--charcoal);
    text-decoration: none;
    border-bottom: 1px solid #f5f2ee;
    transition: all 0.3s;
}

.cat-list li a:hover,
.cat-list li.active a {
    color: var(--gold);
    padding-left: 6px;
}

.cat-list li a i {
    font-size: 13px;
    color: var(--gold);
    flex-shrink: 0;
}

.cat-list li a span {
    margin-left: auto;
    font-size: 10px;
    font-weight: 600;
    color: var(--warm-gray);
    background: #f0ede8;
    padding: 2px 8px;
    letter-spacing: 0.5px;
}

.cat-list li.active a span { background: var(--charcoal); color: var(--gold); }
.cat-list li:last-child a { border-bottom: none; }

/* Fiyat filtresi */
.price-filter-form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.price-filter-input {
    flex: 1;
    min-width: 80px;
    border: 1px solid #e0ddd8;
    background: transparent;
    padding: 9px 12px;
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
    color: var(--charcoal);
    outline: none;
    transition: border-color 0.3s;
}

.price-filter-input:focus { border-color: var(--gold); }
.price-filter-input::placeholder { color: var(--warm-gray); }

/* Hızlı fiyat aralıkları */
.quick-prices {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 16px;
    border-top: 1px solid #f0ede8;
    padding-top: 14px;
}

.quick-prices a {
    display: block;
    font-size: 11px;
    letter-spacing: 0.5px;
    color: var(--warm-gray);
    text-decoration: none;
    padding: 7px 0;
    border-bottom: 1px solid #f5f2ee;
    transition: all 0.3s;
}

.quick-prices a:last-child { border-bottom: none; }
.quick-prices a:hover { color: var(--gold); padding-left: 6px; }
.quick-prices a::before { content: '—  '; color: var(--gold); font-size: 10px; }

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
    .page-banner { height: 300px; padding-bottom: 40px; }
    .page-banner-title { font-size: 36px; }
    .results-header { flex-direction: column; gap: 16px; }
    .sort-wrapper { width: 100%; }
    .light-trigger { min-width: 100%; }
}

@media (max-width: 768px) {
    .page-banner { height: 260px; padding-bottom: 30px; }
    .listings-section { padding: 40px 0 70px; }
    .active-filters { gap: 6px; }
    .filter-tag { font-size: 9px; }
}