/*
Theme Name:   GeneratePress Child
Template:     generatepress
Version:      1.0.0
*/

/* ===========================
   PROFİL GRID (İlçe Arşivi)
   =========================== */

.profil-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    padding: 24px 0;
}

.profil-kart {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
}

.profil-kart:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

.profil-kart a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.profil-kart__foto {
    position: relative;
    aspect-ratio: 9/16;
    overflow: hidden;
}

.profil-kart__foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profil-kart:hover .profil-kart__foto img {
    transform: scale(1.05);
}

.vip-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #f5a623, #f0661d);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vip-badge--buyuk {
    position: static;
    display: inline-block;
    font-size: 14px;
    padding: 5px 14px;
    margin-bottom: 12px;
}

.profil-kart__bilgi {
    padding: 12px;
}

.profil-kart__isim {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #1a1a2e;
}

.profil-kart__meta {
    font-size: 13px;
    color: #666;
    display: flex;
    gap: 8px;
    margin-bottom: 6px;
}

.profil-kart__fiyat {
    font-size: 14px;
    font-weight: 600;
    color: #c0392b;
}

.profil-kart__btn {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    background: #c0392b;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
}

.profil-kart--vip {
    border: 2px solid #f5a623;
}

/* ===========================
   İLÇE SAYFA BAŞLIĞI
   =========================== */

.ilce-hero {
    margin-bottom: 24px;
}

.ilce-banner img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 16px;
}

.ilce-baslik {
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: #1a1a2e;
    margin-bottom: 12px;
}

.ilce-giris-metni {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 16px;
}

.ilce-alt-metni {
    margin-top: 40px;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

.ilce-semtler {
    margin-top: 24px;
    padding: 16px;
    background: #fff3e0;
    border-left: 4px solid #f5a623;
    border-radius: 4px;
}

.ilce-semtler h3 {
    font-size: 15px;
    margin-bottom: 6px;
    color: #333;
}

.profil-bulunamadi {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #888;
}

/* ===========================
   TEKİL PROFİL SAYFASI
   =========================== */

.profil-detay__icerik {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .profil-detay__icerik {
        grid-template-columns: 1fr;
    }
    .profil-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.profil-foto-ana img {
    width: 100%;
    border-radius: 10px;
    aspect-ratio: 9/16;
    object-fit: cover;
}

.profil-foto-thumb {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.profil-foto-thumb img {
    width: 70px;
    height: 100px; /* 9:16'ya orantılı tırnak resmi */
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.profil-foto-thumb img:hover {
    opacity: 1;
}

.profil-detay__isim {
    font-size: 1.8rem;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.profil-ozellikler {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.profil-ozellikler th,
.profil-ozellikler td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.profil-ozellikler th {
    background: #f5f5f5;
    font-weight: 600;
    color: #333;
    width: 35%;
}

.profil-iletisim {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.btn-ara,
.btn-wp {
    display: block;
    padding: 14px;
    text-align: center;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s;
}

.btn-ara:hover,
.btn-wp:hover {
    opacity: 0.9;
}

.btn-ara {
    background: #c0392b;
    color: #fff !important;
}

.btn-wp {
    background: #25d366;
    color: #fff !important;
}

.profil-breadcrumb {
    font-size: 13px;
    color: #888;
    margin-bottom: 20px;
}

.profil-breadcrumb a {
    color: #c0392b;
    text-decoration: none;
}

.profil-aciklama {
    margin-top: 32px;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 8px;
    line-height: 1.8;
}

.profil-aciklama h2 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #1a1a2e;
}

.ilgili-profiller {
    margin-top: 40px;
}

.ilgili-profiller h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: #1a1a2e;
}

.profil-grid--kucuk {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

/* Sayfalama */
.ilce-pagination {
    margin: 24px 0;
    text-align: center;
}

.ilce-pagination .nav-links a,
.ilce-pagination .nav-links span {
    display: inline-block;
    padding: 8px 14px;
    margin: 2px;
    border-radius: 4px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.ilce-pagination .nav-links .current {
    background: #c0392b;
    color: #fff;
}

/* ===========================
   FİLTRE PANELİ — BUTON TABANLI
   =========================== */

.filtre-panel {
    background: #16162a;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 20px;
    border: 1px solid #2a2a45;
}

.filtre-panel__ust {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.filtre-panel__baslik {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.filtre-temizle {
    color: #f5a623;
    font-size: 12px;
    text-decoration: none;
    background: rgba(245,166,35,0.12);
    padding: 4px 10px;
    border-radius: 20px;
    transition: background 0.2s;
}

.filtre-temizle:hover {
    background: rgba(245,166,35,0.25);
}

.filtre-grup {
    margin-bottom: 14px;
}

.filtre-grup:last-child {
    margin-bottom: 0;
}

.filtre-grup__label {
    color: #888;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.filtre-butonlar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.filtre-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 13px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #ccc;
    background: #252540;
    border: 1px solid #3a3a5c;
    text-decoration: none;
    transition: all 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
}

.filtre-btn:hover {
    background: #2e2e52;
    border-color: #5a5a8a;
    color: #fff;
}

.filtre-btn--aktif {
    background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
    border-color: #e74c3c !important;
    color: #fff !important;
    box-shadow: 0 0 0 2px rgba(231,76,60,0.4), 0 3px 10px rgba(192,57,43,0.45);
    font-weight: 700;
    transform: translateY(-1px);
}

.filtre-btn--aktif::before {
    content: '✓ ';
    font-size: 12px;
}

.filtre-btn__sayi {
    font-size: 11px;
    opacity: 0.7;
}

.filtre-btn--aktif .filtre-btn__sayi {
    opacity: 0.85;
}

.filtre-sonuc-bilgi {
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
    padding-left: 2px;
}

.filtre-temizle-link {
    display: inline-block;
    margin-top: 10px;
    color: #c0392b;
    text-decoration: none;
    font-size: 14px;
}

@media (max-width: 600px) {
    .filtre-btn {
        font-size: 12px;
        padding: 5px 10px;
    }
    .filtre-panel {
        padding: 14px;
    }
}





/* ===========================
   AMP-UYUMLU CSS GALERI (Radio Hack)
   =========================== */
.galeri-radio { display: none; }
.galeri-buyuk-alan .galeri-buyuk-label { display: none !important; }
.galeri-radio:nth-of-type(1):checked ~ .galeri-buyuk-alan .galeri-buyuk-label:nth-child(1) { display: block !important; }
.galeri-radio:nth-of-type(2):checked ~ .galeri-buyuk-alan .galeri-buyuk-label:nth-child(2) { display: block !important; }
.galeri-radio:nth-of-type(3):checked ~ .galeri-buyuk-alan .galeri-buyuk-label:nth-child(3) { display: block !important; }
.galeri-radio:nth-of-type(4):checked ~ .galeri-buyuk-alan .galeri-buyuk-label:nth-child(4) { display: block !important; }
.galeri-radio:nth-of-type(5):checked ~ .galeri-buyuk-alan .galeri-buyuk-label:nth-child(5) { display: block !important; }
.galeri-radio:nth-of-type(6):checked ~ .galeri-buyuk-alan .galeri-buyuk-label:nth-child(6) { display: block !important; }
.galeri-radio:nth-of-type(7):checked ~ .galeri-buyuk-alan .galeri-buyuk-label:nth-child(7) { display: block !important; }
.galeri-radio:nth-of-type(8):checked ~ .galeri-buyuk-alan .galeri-buyuk-label:nth-child(8) { display: block !important; }
.profil-galeri-css { width: 100%; }
.galeri-thumb-label:hover img { opacity: 1; box-shadow: 0 0 0 2px #c0392b; }

/* ===========================
   ANASAYFA (Front Page)
   =========================== */
.anasayfa-hero {
    background: linear-gradient(135deg, #16162a, #20203a);
    padding: 80px 20px;
    text-align: center;
    color: #fff;
    border-bottom: 3px solid #f5a623;
}
.hero-baslik {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: #fff;
}
.hero-alt-baslik {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 800px;
    margin: 0 auto 40px;
    color: #aeb1d1;
    line-height: 1.6;
}
.hero-butonlar {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-hero {
    display: inline-block;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-hero--birincil {
    background: #c0392b;
    color: #fff;
    box-shadow: 0 4px 15px rgba(192,57,43,0.3);
}
.btn-hero--birincil:hover {
    background: #e74c3c;
    transform: translateY(-2px);
    color: #fff;
}
.btn-hero--ikincil {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}
.btn-hero--ikincil:hover {
    background: #f5a623;
    border-color: #f5a623;
    color: #111;
}
.bolum-baslik {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1a1a2e;
    text-align: center;
}
.bolum-baslik--acik {
    color: #fff;
}
.ikinci-bolum, .ucuncu-bolum, .son-eklenenler-bolumu {
    padding: 60px 0;
}
.ilce-kutu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.ilce-nokta {
    background: #20203a;
    border: 1px solid #2d2d44;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
}
.ilce-nokta:hover {
    transform: translateY(-5px);
    background: #2a2a4b;
    border-color: #f5a623;
}
.ilce-nokta h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    color: #fff;
}
.ilce-nokta span {
    font-size: 13px;
    color: #f5a623;
    font-weight: 600;
}
.tam-liste {
    list-style: none;
    padding: 0;
}
.tam-liste li {
    margin-bottom: 8px;
    font-size: 15px;
}
.tam-liste li a {
    color: #ccc;
    text-decoration: none;
}
.tam-liste li a:hover {
    color: #f5a623;
}
.seo-icerik-bolumu p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}
.seo-icerik-bolumu h2, .seo-icerik-bolumu h3 {
    color: #1a1a2e;
    margin-bottom: 16px;
}
.sss-akordeon details {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 12px;
    padding: 14px 18px;
    cursor: pointer;
}
.sss-akordeon summary {
    font-weight: 600;
    font-size: 16px;
    color: #c0392b;
    outline: none;
}
.sss-akordeon p {
    margin-top: 12px;
    margin-bottom: 0;
    font-size: 15px;
}
