/*
Theme Name: BlueMedya Theme
Theme URI: https://adanagaleri.com
Author: BlueMedya
Author URI: https://adanagaleri.com
Description: No-cache tum sayfa v3.0.8
Version: 3.0.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bluemedya
Tags: escort, listing, seo, rankmath, responsive, categories, minimal, fast, optimized, mobile, perfect
*/

/* ===== GENEL AYARLAR ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== HEADER ===== */
.site-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 25px 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #e91e63;
}

.site-title {
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 8px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.site-contact {
    color: #fff;
    font-size: 14px;
    margin: 0;
    font-weight: 500;
}

.site-contact a {
    color: #e91e63;
    font-weight: 700;
    text-decoration: none;
    padding: 4px 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.site-contact a:hover {
    background: #e91e63;
    color: #fff;
    transform: scale(1.05);
}

/* ===== ANA SAYFA - KARTLAR ===== */
.ilanlar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 30px 0;
}

.ilan-card {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 3px solid #000;
}

.ilan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* ⭐ GOLD - Standart İlan (Sarı/Altın) - Varsayılan */
.ilan-card.gold {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
}

/* 💎 DIAMOND - VIP İlan (Mavi/Mor) */
.ilan-card.diamond,
.ilan-card.blue-variant {
    background: linear-gradient(135deg, #5e35b1 0%, #7e57c2 100%);
}

/* 🏆 PLATINUM - Premium İlan (Pembe) */
.ilan-card.platinum,
.ilan-card.pink-variant {
    background: linear-gradient(135deg, #c2185b 0%, #e91e63 100%);
}

/* Kart linki */
.ilan-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.ilan-card-content {
    display: flex;
    flex-direction: row;
    height: 260px;
}

/* Sol Taraf - Bilgiler */
.ilan-info {
    width: 200px;
    min-width: 200px;
    flex-shrink: 0;
    padding: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
    position: relative;
    box-sizing: border-box;
}

.ilan-name {
    background: #000;
    color: #fff;
    padding: 8px 14px;
    font-size: 26px;
    font-weight: 900;
    text-transform: uppercase;
    border-radius: 8px;
    display: inline-block;
    width: fit-content;
    margin-bottom: 8px;
}

.ilan-location {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
    line-height: 1.3;
}

.ilan-description {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    line-height: 1.5;
    margin-top: 2px;
    padding: 4px 0;
    border-top: 1px solid rgba(255,255,255,0.2);
    word-break: break-word;
    hyphens: auto;
}

.ilan-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-top: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.ilan-phone::before { content: "📱"; font-size: 20px; }

/* Sağ Taraf - Resim Galerisi */
.ilan-gallery {
    flex: 1;
    height: 100%;     /* parent = 260px sabit, bu da 260px */
    position: relative;
    overflow: hidden;
}

/* Gallery slider: galeriyi tam kaplar, z-index:1 */
.gallery-slider {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

/* Resimler: üst üste yığılır */
.gallery-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    /* Alt metin yükleme sırasında görünmesin */
    font-size: 0;
    color: transparent;
    text-indent: -9999px;
}

.gallery-img.active { opacity: 1; }

/* Ödeme: gallery-slider KARDEŞİ, z-index:100 — slider'ın (z-index:1) kesinlikle üstünde */
.ilan-odeme {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 100;
    display: block;
    padding: 6px 8px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    pointer-events: none;
}

/* Gerçek Resim Rozeti */
.badge-verified {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #2196F3;
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.badge-verified::before {
    content: "✓";
    font-size: 14px;
}

/* ===== VİTRİN (DETAY) SAYFASI ===== */
.vitrin-page {
    background: #fff;
    min-height: 100vh;
    padding-bottom: 30px;
}

.back-button {
    display: block;
    width: 100%;
    max-width: 700px;
    margin: 0 auto 20px;
    padding: 15px 30px;
    background: #2196F3;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.back-button:hover {
    background: #1976D2;
}

.back-button::before {
    content: "◀ ";
    margin-right: 5px;
}

.vitrin-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 15px;
}

.vitrin-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.btn-call {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #000;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border: 2px solid #000;
    transition: transform 0.2s;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border: 2px solid #128C7E;
    transition: transform 0.2s;
}

.btn-call:hover,
.btn-whatsapp:hover {
    transform: scale(1.05);
}

.btn-call::before {
    content: "📞 ";
}

.btn-whatsapp::before {
    content: "💬 ";
}

/* ===== İLETİŞİM BUTONLARI ===== */
.vitrin-actions-main {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0;
    padding: 18px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e2e2e2 100%);
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
}

/* Tüm butonlar aynı temel stil */
.btn-call-main,
.btn-whatsapp-main,
.btn-telegram-main {
    flex: 1 1 200px;       /* min 200px, büyüyebilir */
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 20px;
    border-radius: 14px;
    text-align: center;
    text-decoration: none !important;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.25s ease;
    cursor: pointer;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}

/* Arama butonu — sarı */
.btn-call-main {
    background: linear-gradient(135deg, #FFD600 0%, #FF8F00 100%) !important;
    color: #1a1a1a !important;
    border: 2.5px solid #b8640a;
    box-shadow: 0 4px 16px rgba(255,143,0,0.35);
}
.btn-call-main:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(255,143,0,0.5); }
.btn-call-main::before { content: "📞"; font-size: 20px; }

/* WhatsApp butonu — yeşil */
.btn-whatsapp-main {
    background: linear-gradient(135deg, #25D366 0%, #075E54 100%) !important;
    color: #fff !important;
    border: 2.5px solid #054d45;
    box-shadow: 0 4px 16px rgba(37,211,102,0.35);
}
.btn-whatsapp-main:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(37,211,102,0.5); }
.btn-whatsapp-main::before { content: "💬"; font-size: 20px; }

/* Telegram butonu — mavi, AynI büyüklükte */
.btn-telegram-main {
    background: linear-gradient(135deg, #29B6F6 0%, #0277BD 100%) !important;
    color: #fff !important;
    border: 2.5px solid #01579b;
    box-shadow: 0 4px 16px rgba(41,182,246,0.35);
}
.btn-telegram-main:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(41,182,246,0.5); }
.btn-telegram-main::before { content: "✈️"; font-size: 20px; }

/* Disabled */
.btn-disabled {
    background: #ccc !important;
    color: #888 !important;
    border: 2px solid #aaa !important;
    box-shadow: none !important;
    cursor: default;
    opacity: 0.7;
}

/* Küçük Navigasyon Butonları (Görüntülenme sayısı altında) */
.vitrin-navigation-bottom {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin: 20px 0;
    padding: 15px 0;
    border-top: 2px solid #e0e0e0;
    border-bottom: 2px solid #e0e0e0;
}

.nav-button-small {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
    flex: 1;
    text-align: center;
}

.nav-button-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.5);
}

.nav-button-small.disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
    opacity: 0.5;
    box-shadow: none;
}

.nav-button-small.disabled:hover {
    transform: none;
}

.vitrin-title {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.vitrin-title a {
    color: #2196F3;
    text-decoration: none;
}

/* Vitrin Galeri */
.vitrin-gallery {
    position: relative;
    background: #f5f5f5;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid #000;
    margin-bottom: 20px;
}

.vitrin-main-image {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
    background: #000; /* Siyah arka plan - boşlukları gizler */
    border-radius: 10px;
}

.vitrin-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; object-position: top center;
    object-position: center; /* Ortala */
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s;
}

.vitrin-main-image img.active {
    opacity: 1;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    padding: 15px 10px;
    cursor: pointer;
    font-size: 24px;
    transition: background 0.3s;
    z-index: 10;
    border-radius: 5px;
}

.gallery-nav:hover {
    background: rgba(0,0,0,0.8);
}

.gallery-nav.prev {
    left: 10px;
}

.gallery-nav.next {
    right: 10px;
}

.vitrin-thumbnails {
    display: flex;
    gap: 10px;
    padding: 15px;
    background: #f5f5f5;
    overflow-x: auto;
    border-radius: 10px;
    margin-top: 15px;
}

.vitrin-thumbnails img {
    width: 100px;
    height: 100px;
    min-width: 100px; /* Sabit genişlik */
    object-fit: cover; /* Kare içinde kırp */
    object-position: center;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
    flex-shrink: 0; /* Küçülmesin */
}

.vitrin-thumbnails img.active {
    border-color: #2196F3;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.4);
}

.vitrin-thumbnails img:hover {
    border-color: #2196F3;
    transform: scale(1.05);
}

/* Navigasyon Butonları */
.vitrin-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.nav-button {
    padding: 15px;
    background: #2196F3;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    transition: background 0.3s;
}

.nav-button:hover {
    background: #1976D2;
}

.nav-button.prev::before {
    content: "◀ ";
}

.nav-button.next::after {
    content: " ▶";
}

/* Açıklama Kutusu */
.vitrin-description {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    border: 3px solid #000;
    margin-bottom: 20px;
    line-height: 1.8;
}

.vitrin-description p {
    margin-bottom: 15px;
}

.vitrin-description .warning {
    color: #d32f2f;
    font-weight: 700;
    margin-top: 20px;
}

/* Görüntülenme */
.view-count {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.view-count::before {
    content: "🔥";
    font-size: 20px;
}

/* ===== BLOG ===== */
.blog-section {
    background: #fff;
    padding: 40px 0;
}

.see-more {
    display: block;
    width: fit-content;
    margin: 0 auto 30px;
    padding: 12px 30px;
    background: #9E9E9E;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background 0.3s;
}

.see-more:hover {
    background: #757575;
}

.blog-posts {
    max-width: 900px;
    margin: 0 auto;
}

.blog-post {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e0e0e0;
}

.blog-post:last-child {
    border-bottom: none;
}

.blog-post h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.blog-post h2 a {
    color: #333;
    text-decoration: none;
}

.blog-post h2 a:hover {
    color: #2196F3;
}

.blog-meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 15px;
}

.blog-excerpt {
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    color: #2196F3;
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    text-decoration: underline;
}

.related-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.related-post {
    text-align: center;
}

.related-post img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.related-post h3 {
    font-size: 16px;
}

.related-post h3 a {
    color: #333;
    text-decoration: none;
}

.related-post h3 a:hover {
    color: #2196F3;
}

/* ===== MOBİL UYUMLULUK ===== */
@media (max-width: 768px) {
    .site-header { padding: 15px 0; }
    .site-title { font-size: 18px; margin: 0 0 6px 0; }
    .site-contact { font-size: 12px; }
    .site-contact a { padding: 3px 10px; font-size: 12px; }

    /* MOBİLDE İLANLAR ALT ALTA */
    .ilanlar-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 10px 0;
    }

    /* =============================================
       MOBİL KART: Her telefona otomatik uyum (vw birimi)
       ============================================= */
    .ilan-card-content {
        display: flex !important;
        flex-direction: row !important;
        height: 58vw !important;
        min-height: 120px !important;
        max-height: 220px !important;
    }

    /* Sol: isim + açıklama + ödeme — çok dar */
    .ilan-info {
        width: 28% !important;
        min-width: 28% !important;
        max-width: 28% !important;
        flex: none !important;
        height: 100% !important;
        padding: 2.5vw 2vw !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        gap: 1.2vw !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .ilan-name {
        font-size: 3.8vw !important;
        padding: 1.2vw 2.2vw !important;
        margin-bottom: 1vw !important;
        border-radius: 1.5vw !important;
    }

    /* Mobilde açıklama göster */
    .ilan-description {
        display: block !important;
        font-size: 2.6vw !important;
        color: rgba(255,255,255,0.92) !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        line-height: 1.4 !important;
        border-top: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Mobil ödeme bilgisi (sol panelde, JS ile eklenir) */
    .mob-odeme-info {
        display: block;
        margin-top: auto !important;
        padding: 1vw 2vw !important;
        background: rgba(0,0,0,0.35) !important;
        border-radius: 1.2vw !important;
        color: #fff !important;
        font-size: 2.4vw !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        text-align: center !important;
    }

    .ilan-location { font-size: 2.6vw !important; }

    /* Sağ: %72 galeri — çok geniş 2 resim */
    .ilan-gallery {
        flex: 1 !important;
        width: 72% !important;
        height: 100% !important;
        min-height: 100% !important;
        position: relative !important;
        overflow: hidden !important;
        border-radius: 0 3vw 3vw !important;
    }

    /* gallery-slider: JS tarafından mob-slide'lara dönüştürülür */
    .gallery-slider {
        position: absolute !important;
        top: 0 !important; left: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }

    /* MOBİL 2'Lİ RESİM SLIDE */
    .mob-slide {
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2px;
        opacity: 0;
        transition: opacity 0.8s ease-in-out;
    }
    .mob-slide.active { opacity: 1; }
    .mob-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top center;
        display: block;
    }

    /* Mobilde ödeme overlay'i gizle (sol panele taşındı) */
    .ilan-gallery [style*="z-index:9999"] {
        display: none !important;
    }

    /* Kategori başlıkları mobilde */
    .kategori-header { margin: 25px 0 15px 0; }
    .kategori-header::before, .kategori-header::after { height: 1px; margin: 0 10px; }
    .kategori-title { font-size: 14px; padding: 6px 15px; letter-spacing: 0.5px; }

    /* Vitrin sayfası mobil */
    .vitrin-main-image { height: 300px; }
    .vitrin-main-image img { object-fit: cover; object-position: top center; }
    .vitrin-thumbnails { padding: 10px; gap: 8px; }
    .vitrin-thumbnails img { width: 80px; height: 80px; min-width: 80px; }
    .gallery-nav { padding: 8px 6px; font-size: 16px; }

    .vitrin-actions-main { flex-direction: column; gap: 10px; padding: 14px; }
    .btn-call-main, .btn-whatsapp-main, .btn-telegram-main {
        flex: 1 1 100%; min-width: 0; font-size: 15px; padding: 15px;
    }

    .vitrin-navigation-bottom { flex-direction: column; gap: 10px; }
    .nav-button-small { font-size: 13px; padding: 8px 15px; }
}

@media (max-width: 480px) {
    .vitrin-main-image { height: 260px; }
    .ilan-name { font-size: 3.8vw !important; }
}

/* ===== FOOTER ===== */
.site-footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

.site-footer p {
    margin: 5px 0;
    font-size: 14px;
}

/* ===== KATEGORİ BAŞLIKLARI - MİNİMAL TASARIM ===== */
.kategori-header {
    text-align: center;
    margin: 40px 0 25px 0;
    padding: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kategori-header::before,
.kategori-header::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, transparent, currentColor, transparent);
    opacity: 0.3;
}

.kategori-header::before {
    margin-right: 20px;
}

.kategori-header::after {
    margin-left: 20px;
}

.kategori-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    padding: 8px 20px;
    border-radius: 25px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.kategori-subtitle {
    display: none; /* Alt başlık gizli - minimal görünüm */
}

/* Diamond Kategori (Mavi/Mor) */
.kategori-header.diamond {
    color: #667eea;
}

.kategori-header.diamond .kategori-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.2);
}

/* Platinum Kategori (Pembe) */
.kategori-header.platinum {
    color: #f093fb;
}

.kategori-header.platinum .kategori-title {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
    box-shadow: 0 3px 10px rgba(240, 147, 251, 0.2);
}

/* Gold Kategori (Sarı/Altın) */
.kategori-header.gold {
    color: #ffd700;
}

.kategori-header.gold .kategori-title {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.2);
}

/* İlk kategori üstte biraz daha az boşluk */
.kategori-header:first-of-type {
    margin-top: 20px;
}

/* Mobil için */
@media (max-width: 768px) {
    .kategori-header {
        margin: 30px 0 20px 0;
    }
    
    .kategori-header::before,
    .kategori-header::after {
        height: 1px;
        margin: 0 10px;
    }
    
    .kategori-title {
        font-size: 14px;
        padding: 6px 15px;
        letter-spacing: 0.5px;
    }
}

/* Çok küçük ekranlar */
@media (max-width: 480px) {
    .kategori-header::before,
    .kategori-header::after {
        flex: 0.5;
        margin: 0 8px;
    }
    
    .kategori-title {
        font-size: 13px;
        padding: 5px 12px;
    }
}

/* Vitrin detay sayfası resimleri */
.vitrin-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    position: absolute;
    top: 0; left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: opacity;
}
.vitrin-main-image img.active { opacity: 1; }

.vitrin-thumbnails img {
    width: 100px;
    height: 100px;
    min-width: 100px;
    object-fit: cover;
    object-position: top center;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .vitrin-main-image { height: 260px; }
}

/* ===== PERFORMANS OPTİMİZASYONU ===== */

/* GPU katmanına al — animasyonlar daha akıcı */
.gallery-img,
.mob-slide,
.vitrin-main-image img {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: opacity;
}

/* Mobil: ekran dışı kartları ertele (büyük performans kazanımı) */
@media (max-width: 768px) {
    .ilan-card {
        content-visibility: auto;
        contain-intrinsic-size: 0 58vw;
    }

    /* Mobil geçiş süresini kısalt */
    .mob-slide {
        transition: opacity 0.4s ease-in-out !important;
    }

    /* Resim render optimizasyonu */
    .mob-slide img {
        will-change: auto;
        transform: none;
    }
}
