/* ============================================
   YURT LİSTESİ - MODERN TASARIM
   ============================================ */

:root {
    --primary: #c31a25;
    --primary-dark: #9c1018;
    --primary-light: #fde7e8;
    --kiz: #e91e63;
    --kiz-light: #fce4ec;
    --erkek: #1976d2;
    --erkek-light: #e3f2fd;
    --karma: #7b1fa2;
    --karma-light: #f3e5f5;
    --text: #1f2937;
    --text-muted: #6b7280;
    --bg: #f9fafb;
    --card: #ffffff;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --radius-lg: 16px;
}

/* ====== HERO ====== */
.yurt-hero {
    background: linear-gradient(135deg, #c31a25 0%, #9c1018 50%, #6d0c11 100%);
    color: #fff;
    padding: 70px 20px 100px;
    position: relative;
    overflow: hidden;
}
.yurt-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,.1) 0%, transparent 40%);
    pointer-events: none;
}
.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}
.yurt-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin: 0 0 14px;
    letter-spacing: -0.5px;
}
.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 36px;
    line-height: 1.6;
}
.hero-sub strong { color: #fff; font-weight: 700; }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
    max-width: 900px;
    margin: 0 auto;
}
.hero-stat {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 18px 16px;
    text-align: center;
    transition: all .25s;
}
.hero-stat:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}
.hero-stat-num {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 6px;
}
.hero-stat-lbl {
    font-size: 0.85rem;
    opacity: 0.92;
    font-weight: 500;
}
.hero-stat-lbl i { margin-right: 4px; }
.hero-stat-k .hero-stat-num { color: #ffe0eb; }
.hero-stat-e .hero-stat-num { color: #cfe5ff; }
.hero-stat-m .hero-stat-num { color: #ecd7f4; }

/* ====== LİSTE BÖLÜMÜ ====== */
.yurt-list {
    max-width: 1200px;
    margin: -60px auto 60px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}
.yurt-list h2 { display: none; }

/* ====== ARAMA + FİLTRE KARTI ====== */
.search-filter-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 30px;
}

.search-input-wrap {
    position: relative;
    margin-bottom: 18px;
}
.search-icon {
    position: absolute;
    left: 18px;
    top: 23px;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
    z-index: 2;
}
#searchInput {
    width: 100%;
    padding: 14px 48px 14px 48px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: all .2s;
    background: #f9fafb;
    color: var(--text);
    box-sizing: border-box;
}
#searchInput:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(195, 26, 37, .1);
}
.clear-x {
    position: absolute;
    right: 12px;
    top: 23px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    z-index: 2;
}
.clear-x:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* ====== ARAMA ÖNERİ DROPDOWN ====== */
.search-suggest {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-height: 360px;
    overflow-y: auto;
    z-index: 20;
}
.search-suggest[hidden] { display: none; }
.suggest-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    text-decoration: none;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    transition: background .15s;
    cursor: pointer;
}
.suggest-item:last-child { border-bottom: none; }
.suggest-item:hover,
.suggest-item.active {
    background: var(--primary-light);
}
.suggest-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--primary);
}
.suggest-dot-k { background: var(--kiz); }
.suggest-dot-e { background: var(--erkek); }
.suggest-dot-m { background: var(--karma); }
.suggest-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 600;
}
.suggest-text mark {
    background: transparent;
    color: var(--primary);
    font-weight: 700;
    padding: 0;
}
.suggest-city {
    font-size: 0.78rem;
    color: var(--text-muted);
    flex-shrink: 0;
    margin-left: 6px;
}
.suggest-empty {
    padding: 14px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.filter-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 20px;
    align-items: end;
}
.filter-group { display: flex; flex-direction: column; gap: 8px; }
.filter-group label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.filter-group label i { color: var(--primary); margin-right: 6px; }

#cityFilter {
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: #f9fafb;
    font-size: 0.95rem;
    font-family: inherit;
    cursor: pointer;
    color: var(--text);
    transition: all .2s;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}
#cityFilter:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #fff;
}

.type-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    padding: 10px 18px;
    border: 2px solid var(--border);
    background: #f9fafb;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.chip:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(195, 26, 37, .25);
}
.chip-k.active { background: var(--kiz); border-color: var(--kiz); box-shadow: 0 4px 12px rgba(233, 30, 99, .25); }
.chip-e.active { background: var(--erkek); border-color: var(--erkek); box-shadow: 0 4px 12px rgba(25, 118, 210, .25); }
.chip-m.active { background: var(--karma); border-color: var(--karma); box-shadow: 0 4px 12px rgba(123, 31, 162, .25); }

.result-info {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ====== YURT GRID ====== */
.yurt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.yurt-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 22px 22px 20px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: all .25s cubic-bezier(.4, 0, .2, 1);
    border: 1px solid var(--border);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    animation: cardIn .35s ease-out backwards;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}
.yurt-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--primary);
    opacity: 0;
    transition: opacity .25s;
}
.yurt-card[data-gender="kız"]::before { background: var(--kiz); }
.yurt-card[data-gender="erkek"]::before { background: var(--erkek); }
.yurt-card[data-gender="karma"]::before { background: var(--karma); }
.yurt-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.yurt-card:hover::before { opacity: 1; }

@keyframes cardIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.yurt-card:nth-child(1) { animation-delay: .02s; }
.yurt-card:nth-child(2) { animation-delay: .04s; }
.yurt-card:nth-child(3) { animation-delay: .06s; }
.yurt-card:nth-child(4) { animation-delay: .08s; }
.yurt-card:nth-child(5) { animation-delay: .10s; }
.yurt-card:nth-child(6) { animation-delay: .12s; }
.yurt-card:nth-child(n+7) { animation-delay: .14s; }

.yurt-card .tip-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,.1);
}

.yurt-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.yurt-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 12px;
    padding-right: 60px;
    line-height: 1.35;
    min-height: 2.7em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.yurt-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin: 0 0 18px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.45;
}
.yurt-card p i { color: var(--primary); flex-shrink: 0; margin-top: 3px; }
.yurt-card .btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all .2s;
    border: none;
    cursor: pointer;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}
.yurt-card .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(195, 26, 37, .3);
}
.yurt-card .btn i {
    transition: transform .2s;
    color: #fff !important;
    margin: 0 !important;
}
.yurt-card:hover .btn i { transform: translateX(3px); }

/* ====== PAGINATION ====== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 30px;
}
.page-btn {
    padding: 10px 18px;
    background: var(--card);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.page-btn:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}
.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
#pageNumbers { display: inline-flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.page-number {
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    background: var(--card);
    border: 2px solid var(--border);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    transition: all .2s;
}
.page-number:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.page-number.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(195, 26, 37, .3);
}
.page-ellipsis {
    padding: 0 8px;
    color: var(--text-muted);
    align-self: center;
}

/* ====== EMPTY STATE ====== */
.empty-state {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 60px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.empty-state i {
    font-size: 4rem;
    color: var(--border);
    display: block;
    margin-bottom: 20px;
}
.empty-state h3 {
    color: var(--text);
    font-size: 1.4rem;
    margin: 0 0 10px;
}
.empty-state p {
    color: var(--text-muted);
    margin: 0 0 24px;
}
.btn-reset {
    padding: 12px 24px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-reset:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(195, 26, 37, .25);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .yurt-hero { padding: 28px 14px 70px; }
    .yurt-hero h1 { font-size: 1.5rem; margin-bottom: 8px; }
    .hero-sub { font-size: 0.88rem; margin-bottom: 18px; line-height: 1.5; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .hero-stat { padding: 10px 8px; border-radius: 10px; }
    .hero-stat-num { font-size: 1.35rem; margin-bottom: 2px; }
    .hero-stat-lbl { font-size: 0.72rem; }
    .hero-stat-lbl i { font-size: 0.72rem; }

    .yurt-list { margin-top: -50px; padding: 0 12px; }
    .search-filter-card { padding: 14px; border-radius: 14px; margin-bottom: 18px; }
    .search-input-wrap { margin-bottom: 14px; }
    #searchInput { padding: 12px 42px 12px 42px; font-size: 0.95rem; }
    .search-icon { left: 14px; top: 22px; }
    .clear-x { right: 8px; top: 22px; width: 28px; height: 28px; }
    .filter-row { grid-template-columns: 1fr; gap: 12px; }
    #cityFilter { padding: 10px 14px; font-size: 0.9rem; }
    .chip { padding: 8px 14px; font-size: 0.82rem; }
    .result-info { margin-top: 12px; padding-top: 12px; font-size: 0.82rem; }

    .yurt-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 24px; }
    .yurt-card { padding: 12px 12px 14px; border-radius: 10px; }
    .yurt-card .tip-badge {
        position: static;
        align-self: flex-start;
        font-size: 0.58rem;
        padding: 3px 7px;
        margin-bottom: 8px;
        letter-spacing: 0.3px;
        box-shadow: none;
    }
    .yurt-card h3 {
        font-size: 0.88rem;
        padding-right: 0;
        margin: 0 0 6px;
        min-height: 2.4em;
        line-height: 1.3;
    }
    .yurt-card p { font-size: 0.75rem; margin: 0 0 10px; gap: 4px; }
    .yurt-card p i { margin-top: 2px; font-size: 0.7rem; }
    .yurt-card .btn { padding: 7px 8px; font-size: 0.75rem; gap: 4px; }

    .suggest-item { padding: 10px 12px; }
    .suggest-text { font-size: 0.85rem; }
    .suggest-city { font-size: 0.72rem; }

    .page-btn { padding: 8px 14px; font-size: 0.85rem; }
    .page-btn span { display: none; }
    .page-number { min-width: 36px; height: 36px; font-size: 0.85rem; }
}
@media (max-width: 380px) {
    .yurt-grid { gap: 8px; }
    .yurt-card { padding: 10px; }
    .yurt-card h3 { font-size: 0.82rem; }
    .yurt-card p { font-size: 0.72rem; }
    .yurt-card .btn { padding: 6px; font-size: 0.72rem; }
    .hero-stat-num { font-size: 1.2rem; }
    .hero-stat-lbl { font-size: 0.68rem; }
}

/* ====== ESKİ İLLER İNDEKSİNİ GİZLE ====== */
.iller-bolumu { display: none !important; }