/*
Theme Name: Themesel
Theme URI: https://themesel.com
Author: Themesel
Author URI: https://themesel.com
Description: Kapsamli firma rehberi temasi. Ucretli/ucretsiz paketler, firma ekleme, sikayet sistemi, yonetim paneli, gomulu reklamlar ve slayt alani.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: themesel
Tags: one-column, two-columns, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================
   CSS DEGISKENLERI
   ============================================ */
:root {
    --bg: #FAF8F5;
    --fg: #111827;
    --muted: #6B7280;
    --accent: #D97706;
    --primary: #065F46;
    --primary-light: #059669;
    --primary-dark: #064E3B;
    --card: #ffffff;
    --border: #E5E1DB;
    --danger: #DC2626;
    --success: #059669;
    --warm-100: #F0ECE4;
    --warm-200: #E5E1DB;
    --warm-300: #D4CFC7;
}

/* ============================================
   TEMEL STILLER
   ============================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    background: var(--bg);
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--fg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.font-display { font-family: 'Playfair Display', Georgia, serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
input, select, textarea, button { font-family: inherit; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--border); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 4px; }

/* ============================================
   LAYOUT YARDIMCILARI
   ============================================ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.header-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 1rem;
    height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.site-logo { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }
.site-logo-icon {
    width: 36px; height: 36px; border-radius: 8px;
    background: linear-gradient(135deg, #065F46, #047857, #059669);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 14px;
}
.site-logo-text { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 1.25rem; color: var(--primary-dark); }
.header-nav { display: flex; align-items: center; gap: 1.5rem; font-size: 0.875rem; font-weight: 500; color: #6B7280; }
.header-nav a:hover { color: var(--primary-dark); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.5rem 1rem; border-radius: 0.5rem; font-size: 0.875rem; font-weight: 600; border: none; cursor: pointer; transition: all 0.2s; }
.btn-ghost { color: var(--primary-dark); background: transparent; }
.btn-ghost:hover { background: rgba(6,95,70,0.06); }
.btn-primary { color: #fff; background: var(--primary-dark); }
.btn-primary:hover { background: #047857; }
.btn-accent { color: #fff; background: var(--accent); }
.btn-accent:hover { background: #b45309; }
.btn-outline { color: var(--primary-dark); background: transparent; border: 1px solid var(--border); }
.btn-outline:hover { background: var(--warm-100); }
.btn-danger { color: #fff; background: var(--danger); }
.btn-danger:hover { background: #b91c1c; }
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.75rem; }
.btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* Mobile menu toggle */
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.25rem; color: var(--fg); cursor: pointer; padding: 0.5rem; }
@media (max-width: 768px) {
    .header-nav { display: none; }
    .mobile-menu-btn { display: block; }
    .header-actions .btn-ghost { display: none; }
}
.mobile-nav {
    display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(12px);
    z-index: 49; padding: 1.5rem;
}
.mobile-nav.active { display: block; }
.mobile-nav a { display: block; padding: 0.875rem 0; font-size: 1rem; font-weight: 500; color: var(--fg); border-bottom: 1px solid var(--border); }

/* ============================================
   SLIDER
   ============================================ */
.hero-slider { position: relative; height: 480px; overflow: hidden; }
@media (min-width: 768px) { .hero-slider { height: 520px; } }
.slider-track { display: flex; height: 100%; transition: transform 0.6s cubic-bezier(0.4,0,0.2,1); }
.slide { min-width: 100%; height: 100%; display: flex; align-items: center; }
.slide-grad-1 { background: linear-gradient(135deg, #065F46 0%, #047857 50%, #059669 100%); }
.slide-grad-2 { background: linear-gradient(135deg, #78350f 0%, #92400e 50%, #b45309 100%); }
.slide-grad-3 { background: linear-gradient(135deg, #064E3B 0%, #065F46 50%, #047857 100%); }
.slide-grad-4 { background: linear-gradient(135deg, #92400e 0%, #D97706 50%, #f59e0b 100%); }
.slide-content { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; width: 100%; display: flex; align-items: center; justify-content: space-between; color: #fff; }
.slide-text { max-width: 560px; }
.slide-badge { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.7); }
.slide-badge-icon { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; }
.slide-title { font-family: 'Playfair Display', serif; font-weight: 900; font-size: 2.25rem; line-height: 1.15; margin-bottom: 1rem; }
@media (min-width: 768px) { .slide-title { font-size: 3rem; } }
.slide-desc { font-size: 1.125rem; color: rgba(255,255,255,0.8); margin-bottom: 2rem; line-height: 1.6; }
.slide-cta { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.875rem 1.75rem; background: #fff; color: var(--primary-dark); font-weight: 600; border-radius: 12px; border: none; cursor: pointer; font-size: 0.9375rem; box-shadow: 0 4px 15px rgba(0,0,0,0.1); transition: background 0.2s; }
.slide-cta:hover { background: rgba(255,255,255,0.92); }
.slide-art { display: none; width: 288px; height: 288px; border-radius: 24px; background: rgba(255,255,255,0.08); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.15); align-items: center; justify-content: center; }
.slide-art i { font-size: 5rem; color: rgba(255,255,255,0.2); }
@media (min-width: 1024px) { .slide-art { display: flex; } }
.slider-dots { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.5rem; }
.slider-dot { width: 12px; height: 12px; border-radius: 9999px; background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: all 0.3s; }
.slider-dot.active { background: #fff; width: 32px; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,0.2); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; z-index: 2; }
.slider-arrow:hover { background: rgba(0,0,0,0.4); }
.slider-arrow-prev { left: 1rem; }
.slider-arrow-next { right: 1rem; }

/* ============================================
   ARAMA CUBUGU
   ============================================ */
.search-bar-wrapper { position: relative; z-index: 10; max-width: 1024px; margin: -2rem auto 0; padding: 0 1rem; }
.search-bar {
    background: #fff; border-radius: 16px; box-shadow: 0 10px 40px rgba(6,95,70,0.08);
    border: 1px solid var(--border); padding: 1.25rem;
    display: flex; flex-wrap: wrap; gap: 0.75rem;
}
.search-input-wrap { flex: 1; min-width: 200px; position: relative; }
.search-input-wrap i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #9CA3AF; }
.search-input-wrap input { width: 100%; padding: 0.75rem 1rem 0.75rem 2.75rem; border: 1px solid var(--border); border-radius: 12px; font-size: 0.875rem; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.search-input-wrap input:focus { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(5,150,105,0.1); }
.search-select { padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: 12px; font-size: 0.875rem; outline: none; background: #fff; min-width: 150px; transition: border-color 0.2s; }
.search-select:focus { border-color: var(--primary-light); }

/* ============================================
   KATEGORI GRID
   ============================================ */
.section { padding: 4rem 0; }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-title { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 1.875rem; color: var(--primary-dark); margin-bottom: 0.5rem; }
.section-desc { color: var(--muted); font-size: 0.9375rem; }
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(6, 1fr); } }
.cat-card {
    background: #fff; border-radius: 12px; padding: 1.25rem; border: 1px solid var(--border);
    text-align: center; cursor: pointer; transition: transform 0.3s, box-shadow 0.3s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(6,95,70,0.1); }
.cat-icon { width: 48px; height: 48px; margin: 0 auto 0.75rem; border-radius: 12px; background: rgba(6,95,70,0.06); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.125rem; transition: background 0.2s; }
.cat-card:hover .cat-icon { background: rgba(6,95,70,0.12); }
.cat-name { font-size: 0.875rem; font-weight: 600; color: var(--fg); margin-bottom: 0.25rem; }
.cat-count { font-size: 0.75rem; color: #9CA3AF; }

/* ============================================
   PAKET GRID
   ============================================ */
.pkg-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .pkg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pkg-grid { grid-template-columns: repeat(4, 1fr); } }
.pkg-card {
    background: #fff; border-radius: 16px; border: 1px solid var(--border); padding: 1.5rem;
    position: relative; transition: transform 0.3s, box-shadow 0.3s;
}
.pkg-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.06); }
.pkg-card.popular { border-color: #fbbf24; box-shadow: 0 0 0 2px rgba(251,191,36,0.2); }
.pkg-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 0.25rem 1rem; background: #f59e0b; color: #fff; font-size: 0.6875rem; font-weight: 700; border-radius: 9999px; white-space: nowrap; }
.pkg-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.pkg-name { font-weight: 700; font-size: 1.125rem; margin-bottom: 0.25rem; }
.pkg-price { display: flex; align-items: baseline; gap: 0.25rem; margin-bottom: 1.25rem; }
.pkg-price-num { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 1.875rem; color: var(--primary-dark); }
.pkg-price-period { font-size: 0.875rem; color: #9CA3AF; }
.pkg-features { margin-bottom: 1.5rem; }
.pkg-feature { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: #4B5563; margin-bottom: 0.625rem; }
.pkg-feature i { color: var(--success); margin-top: 3px; font-size: 0.6875rem; }

/* ============================================
   FIRMA KARTLARI
   ============================================ */
.listings-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .listings-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .listings-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .listings-grid { grid-template-columns: repeat(4, 1fr); } }
.company-card {
    background: #fff; border-radius: 16px; border: 1px solid var(--border);
    overflow: hidden; cursor: pointer; transition: transform 0.3s, box-shadow 0.3s;
}
.company-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(6,95,70,0.1); }
.card-thumb { position: relative; height: 176px; overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.company-card:hover .card-thumb img { transform: scale(1.05); }
.card-pkg { position: absolute; top: 0.75rem; left: 0.75rem; }
.card-rating { position: absolute; top: 0.75rem; right: 0.75rem; background: rgba(255,255,255,0.92); backdrop-filter: blur(4px); border-radius: 8px; padding: 0.25rem 0.5rem; font-size: 0.75rem; font-weight: 600; display: flex; align-items: center; gap: 0.25rem; }
.card-body { padding: 1rem; }
.card-meta { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; margin-bottom: 0.5rem; }
.card-meta-cat { color: var(--primary-light); font-weight: 500; }
.card-meta-sep { color: #d1d5db; }
.card-meta-city { color: #9CA3AF; }
.card-name { font-weight: 700; color: var(--fg); margin-bottom: 0.5rem; transition: color 0.2s; }
.company-card:hover .card-name { color: var(--primary-dark); }
.card-desc { font-size: 0.75rem; color: #6B7280; line-height: 1.5; margin-bottom: 0.75rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-footer { display: flex; align-items: center; justify-content: space-between; }
.card-phone { font-size: 0.75rem; color: #9CA3AF; }
.card-link { font-size: 0.75rem; color: var(--primary); font-weight: 600; }
.company-card:hover .card-link { text-decoration: underline; }

/* Paket badge'leri */
.badge { display: inline-block; font-size: 0.6875rem; font-weight: 600; padding: 0.2rem 0.625rem; border-radius: 9999px; }
.badge-free { background: #f3f4f6; color: #4B5563; }
.badge-basic { background: #dbeafe; color: #1d4ed8; }
.badge-premium { background: #fef3c7; color: #b45309; }
.badge-pro { background: #d1fae5; color: #047857; }

/* ============================================
   REKLAM KARTLARI (GOMULU)
   ============================================ */
.ad-card {
    background: #fff; border-radius: 16px; border: 2px dashed #fcd34d;
    overflow: hidden; position: relative; transition: transform 0.3s, box-shadow 0.3s;
}
.ad-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(217,119,6,0.08); }
.ad-sponsored {
    position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
    background: linear-gradient(135deg, #D97706, #f59e0b);
    font-size: 0.625rem; padding: 0.15rem 0.5rem; border-radius: 4px;
    color: #fff; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
}
.ad-thumb { position: relative; height: 176px; overflow: hidden; }
.ad-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.ad-thumb-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(120,53,15,0.6), transparent); }
.ad-body { padding: 1rem; }
.ad-title { font-weight: 700; color: var(--fg); font-size: 0.875rem; margin-bottom: 0.5rem; }
.ad-desc { font-size: 0.75rem; color: #6B7280; margin-bottom: 0.75rem; }
.ad-cta { width: 100%; padding: 0.625rem; background: #fffbeb; color: #b45309; font-weight: 600; font-size: 0.75rem; border-radius: 8px; border: none; cursor: pointer; transition: background 0.2s; }
.ad-cta:hover { background: #fef3c7; }
.ad-label { font-size: 0.625rem; color: #d1d5db; text-align: center; margin-top: 0.5rem; }

/* ============================================
   FIRMA DETAY SAYFASI
   ============================================ */
.detail-back { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: #6B7280; margin-bottom: 1rem; cursor: pointer; transition: color 0.2s; }
.detail-back:hover { color: var(--primary-dark); }
.detail-hero { position: relative; height: 320px; border-radius: 16px; overflow: hidden; margin-bottom: 2rem; }
@media (min-width: 768px) { .detail-hero { height: 380px; } }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.15), transparent); }
.detail-hero-content { position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem; color: #fff; }
.detail-stars { display: flex; gap: 2px; font-size: 0.875rem; }
.detail-stars .fa-star { color: #fbbf24; }
.detail-stars .fa-star-half-stroke { color: #fbbf24; }
.detail-stars .fa-star-regular { color: #d1d5db; }

.detail-layout { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 4rem; }
@media (min-width: 1024px) { .detail-layout { grid-template-columns: 2fr 1fr; } }
.detail-card { background: #fff; border-radius: 16px; border: 1px solid var(--border); padding: 1.5rem; }
.detail-card-title { font-weight: 700; font-size: 1.125rem; color: var(--fg); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.detail-card-title i { color: var(--primary-light); }

/* Calisma saatleri */
.hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 0.75rem; }
.hours-box { background: #f9fafb; border-radius: 12px; padding: 1rem; }
.hours-label { font-size: 0.75rem; color: #9CA3AF; margin-bottom: 0.25rem; }
.hours-value { font-size: 1.25rem; font-weight: 700; color: var(--fg); }
.status-badge { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; font-weight: 700; padding: 0.375rem 0.75rem; border-radius: 9999px; }
.status-open { color: var(--success); background: #ecfdf5; border: 1px solid #a7f3d0; }
.status-closed { color: var(--danger); background: #fef2f2; border: 1px solid #fecaca; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.pulse-dot.active { background: var(--success); animation: pulseDot 2s ease-in-out infinite; }
.pulse-dot.inactive { background: var(--danger); }
@keyframes pulseDot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.5); } }

/* Abonelik sure gosterimi */
.sub-progress { width: 100%; background: #f3f4f6; border-radius: 9999px; height: 10px; overflow: hidden; }
.sub-progress-bar { height: 100%; border-radius: 9999px; transition: width 0.5s; }
.info-row { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid #f3f4f6; }
.info-row:last-child { border-bottom: none; }
.info-label { font-size: 0.875rem; color: #6B7280; }
.info-value { font-size: 0.875rem; font-weight: 500; }

/* Iletisim butonlari */
.contact-btn { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem; border-radius: 12px; transition: background 0.2s; cursor: pointer; border: none; width: 100%; text-align: left; }
.contact-btn:hover { filter: brightness(0.97); }
.contact-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-label { font-size: 0.75rem; color: #9CA3AF; }
.contact-value { font-size: 0.875rem; font-weight: 600; }

/* ============================================
   YONETIM PANELI
   ============================================ */
.admin-wrap { display: flex; min-height: calc(100vh - 64px); }
.admin-sidebar {
    width: 256px; flex-shrink: 0; background: var(--primary-dark); color: rgba(255,255,255,0.7);
    display: flex; flex-direction: column; position: sticky; top: 64px; height: calc(100vh - 64px);
    overflow-y: auto;
}
@media (max-width: 1023px) { .admin-sidebar { display: none; } }
.admin-sidebar-header { padding: 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.admin-sidebar-label { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-top: 0.25rem; }
.admin-nav { flex: 1; padding: 1rem 0; }
.admin-nav-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1.25rem; font-size: 0.875rem; color: rgba(255,255,255,0.6); border: none; background: none; width: 100%; text-align: left; cursor: pointer; transition: all 0.2s; border-right: 2px solid transparent; }
.admin-nav-item:hover { background: rgba(255,255,255,0.06); color: #fff; }
.admin-nav-item.active { background: rgba(255,255,255,0.1); color: #fff; border-right-color: #fbbf24; }
.admin-nav-item i { width: 20px; text-align: center; }
.admin-sidebar-footer { padding: 1rem; border-top: 1px solid rgba(255,255,255,0.1); }
.admin-content { flex: 1; background: #f9fafb; overflow: auto; padding: 1.5rem; }
@media (min-width: 1024px) { .admin-content { padding: 2rem; } }
.admin-page-title { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 1.5rem; color: var(--fg); margin-bottom: 0.25rem; }
.admin-page-desc { font-size: 0.875rem; color: var(--muted); margin-bottom: 1.5rem; }

/* Stat kartlari */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card { background: #fff; border-radius: 12px; border: 1px solid #f3f4f6; padding: 1.25rem; transition: box-shadow 0.2s; }
.stat-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.stat-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 0.75rem; }
.stat-value { font-size: 1.5rem; font-weight: 700; color: var(--fg); }
.stat-label { font-size: 0.875rem; color: var(--muted); margin-top: 0.25rem; }
.stat-sub { font-size: 0.75rem; margin-top: 0.25rem; }

/* Tablolar */
.admin-table-wrap { background: #fff; border-radius: 12px; border: 1px solid #f3f4f6; overflow: hidden; }
.admin-table { width: 100%; font-size: 0.875rem; border-collapse: collapse; }
.admin-table thead { background: #f9fafb; }
.admin-table th { padding: 0.75rem 1.25rem; text-align: left; font-weight: 600; color: #6B7280; }
.admin-table td { padding: 0.75rem 1.25rem; border-top: 1px solid #f3f4f6; }
.admin-table tbody tr:hover { background: #f9fafb; }
.admin-table-user { display: flex; align-items: center; gap: 0.75rem; }
.admin-table-user img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.admin-action-btn { width: 32px; height: 32px; border-radius: 8px; border: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 0.75rem; transition: background 0.2s; }

/* Admin form alanlari */
.admin-form-label { display: block; font-size: 0.875rem; font-weight: 500; color: #374151; margin-bottom: 0.375rem; }
.admin-input { width: 100%; padding: 0.625rem 1rem; border: 1px solid #e5e7eb; border-radius: 8px; font-size: 0.875rem; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.admin-input:focus { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(5,150,105,0.1); }
.admin-textarea { resize: vertical; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.7); margin-top: auto; }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 3rem 1rem; display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .footer-inner { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }
.footer-brand-desc { font-size: 0.875rem; line-height: 1.7; margin-top: 0.75rem; }
.footer-title { font-weight: 600; color: #fff; margin-bottom: 0.75rem; font-size: 0.9375rem; }
.footer-links a { display: block; font-size: 0.875rem; padding: 0.25rem 0; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-contact-item { font-size: 0.875rem; padding: 0.25rem 0; display: flex; align-items: center; gap: 0.5rem; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.footer-social a { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; transition: background 0.2s; font-size: 0.75rem; }
.footer-social a:hover { background: rgba(255,255,255,0.2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1rem; text-align: center; font-size: 0.75rem; color: rgba(255,255,255,0.35); }

/* ============================================
   MODALLAR
   ============================================ */
.modal-overlay { position: fixed; inset: 0; z-index: 60; display: none; }
.modal-overlay.active { display: flex; align-items: flex-start; justify-content: center; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(8px); }
.modal-content { position: relative; z-index: 1; background: #fff; border-radius: 16px; box-shadow: 0 25px 60px rgba(0,0,0,0.2); width: 100%; max-width: 480px; margin: 5rem 1rem; overflow: hidden; }
.modal-tabs { display: flex; border-bottom: 1px solid var(--border); }
.modal-tab { flex: 1; padding: 0.875rem; font-size: 0.875rem; font-weight: 600; border: none; background: none; cursor: pointer; transition: all 0.2s; border-bottom: 2px solid transparent; color: #9CA3AF; }
.modal-tab.active { color: var(--primary-dark); border-bottom-color: var(--primary-dark); }
.modal-body { padding: 1.5rem; }
.modal-close { position: absolute; top: 0.75rem; right: 0.75rem; width: 32px; height: 32px; border-radius: 50%; border: none; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #9CA3AF; transition: background 0.2s; z-index: 2; }
.modal-close:hover { background: #f3f4f6; }

/* ============================================
   TOAST BILDIRIMLERI
   ============================================ */
.toast-container { position: fixed; top: 80px; right: 1rem; z-index: 70; display: flex; flex-direction: column; gap: 0.5rem; }
.toast { display: flex; align-items: center; gap: 0.75rem; padding: 0.875rem 1.25rem; border-radius: 12px; color: #fff; font-size: 0.875rem; font-weight: 500; box-shadow: 0 8px 24px rgba(0,0,0,0.15); animation: toastIn 0.4s ease forwards; min-width: 280px; }
.toast-success { background: #059669; }
.toast-error { background: #DC2626; }
.toast-warning { background: #D97706; }
.toast-info { background: #2563eb; }
.toast.removing { animation: toastOut 0.3s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(100%); } }

/* ============================================
   SAYFA GECIS ANIMASYONU
   ============================================ */
.view-enter { animation: viewIn 0.4s ease forwards; }
@keyframes viewIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Empty state */
.empty-state { text-align: center; padding: 5rem 1rem; }
.empty-state i { font-size: 3rem; color: #e5e7eb; margin-bottom: 1rem; }
.empty-state p { color: #9CA3AF; font-size: 1.125rem; }

/* ============================================
   WCAG & REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
}
:focus-visible { outline: 2px solid var(--primary-light); outline-offset: 2px; border-radius: 4px; }

/* ============================================
   WORDPRESS ADMIN BAR COMPAT
   ============================================ */
body.admin-bar .site-header { top: 32px; }
body.admin-bar .admin-sidebar { top: 96px; height: calc(100vh - 96px); }
@media (max-width: 782px) {
    body.admin-bar .site-header { top: 46px; }
    body.admin-bar .admin-sidebar { top: 110px; height: calc(100vh - 110px); }
}

/* ============================================
   WORDPRESS BAZLI SINIFLAR
   ============================================ */
.sticky { }
.bypostauthor { }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.8125rem; color: var(--muted); text-align: center; padding: 0.5rem 0; }
.alignleft { float: left; margin-right: 1rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1rem; margin-bottom: 1rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; margin-bottom: 1rem; }
.gallery { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.gallery-item { flex: 0 0 auto; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }