/* ============================================================
   ÜÇÜNCÜ BİNYIL — Paylaşılan Bileşenler (site.css üstüne katman)
   Tasarım token'ları ve tüm sayfalarda kullanılan ortak parçalar.
   ============================================================ */
:root {
    --primary: #F27A1B;
    --primary-hover: #e06a0d;
    --primary-soft: #FBE9D6;
    --ink: #333333;
    --ink-soft: #666666;
    --muted: #999999;
    --line: #e8e8e8;
    --line-strong: #e0e0e0;
    --bg: #f5f5f5;
    --surface: #ffffff;
    --success: #00b894;
    --danger: #e74c3c;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 4px rgba(0,0,0,.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,.08);
    --shadow-lg: 0 8px 28px rgba(0,0,0,.12);
}

/* ---------- Butonlar ---------- */
.btn-solid,
.btn-outline,
.btn-ghost,
.btn-danger-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 22px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all .2s ease;
    white-space: nowrap;
    line-height: 1;
}
.btn-solid { background: var(--primary); color: #fff; }
.btn-solid:hover { background: var(--primary-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(242,122,27,.3); }
.btn-outline { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-soft); color: var(--primary-hover); }
.btn-ghost { background: var(--primary-soft); color: var(--primary-hover); }
.btn-ghost:hover { background: #f6dcc2; }
.btn-danger-solid { background: var(--danger); color: #fff; }
.btn-danger-solid:hover { background: #d33c2c; color: #fff; }
.btn-block { width: 100%; }
.btn-lg { height: 52px; font-size: 16px; padding: 0 28px; }
.btn-sm { height: 36px; font-size: 13px; padding: 0 14px; }
.btn-solid:disabled, .btn-outline:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Sayfa kabuğu ---------- */
.page-shell { padding: 24px 0 48px; }
.page-heading { font-size: 24px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.page-sub { font-size: 14px; color: var(--ink-soft); margin-bottom: 20px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); padding: 14px 0; }
.breadcrumb-nav a { color: var(--ink-soft); }
.breadcrumb-nav a:hover { color: var(--primary); }
.breadcrumb-nav .sep { color: #ccc; }
.breadcrumb-nav .current { color: var(--ink); font-weight: 600; }

/* ---------- Kart yüzeyi ---------- */
.surface-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.surface-pad { padding: 20px; }

/* ---------- Formlar (paylaşılan) ---------- */
.field { margin-bottom: 16px; }
.field > label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field-input,
.field textarea,
.field select {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    padding: 10px 14px;
    font-size: 14px;
    font-family: inherit;
    color: var(--ink);
    background: #fff;
    outline: none;
    transition: all .2s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field-input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(242,122,27,.12); }
.field .text-danger,
.field-error { display: block; color: var(--danger); font-size: 12px; margin-top: 5px; }

/* ---------- Boş durum ---------- */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state svg { width: 72px; height: 72px; color: #d8d8d8; margin: 0 auto 16px; }
.empty-state h3 { font-size: 18px; color: var(--ink); margin-bottom: 6px; }
.empty-state p { font-size: 14px; color: var(--muted); margin-bottom: 20px; }

/* ---------- Rozetler ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.chip-success { background: #e6f7f2; color: #007a5e; }
.chip-warning { background: #fff4e5; color: #b56a00; }
.chip-info { background: #e9f3fb; color: #1c6ea4; }
.chip-danger { background: #fdecea; color: #b02a1c; }

/* ---------- Hata sayfası ---------- */
.error-page { text-align: center; padding: 70px 20px 90px; }
.error-code { font-size: 88px; font-weight: 800; color: var(--primary); line-height: 1; letter-spacing: -2px; }
.error-title { font-size: 24px; font-weight: 700; color: var(--ink); margin: 12px 0 8px; }
.error-message { font-size: 15px; color: var(--ink-soft); max-width: 460px; margin: 0 auto 24px; }
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.error-request-id { margin-top: 24px; font-size: 12px; color: var(--muted); }

/* ---------- Sonuç mesajı (toast/alert) ---------- */
.result-message { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--radius); font-size: 14px; margin: 16px 0; }
.result-success { background: #e6f7f2; color: #007a5e; border: 1px solid #b8e6d8; }
.result-danger { background: #fdecea; color: #b02a1c; border: 1px solid #f5c6c0; }

/* ---------- Navbar ekleri ---------- */
.logo-text { font-size: 26px; font-weight: 800; color: var(--primary); letter-spacing: -1px; }
.search-bar { gap: 0; }
.search-submit {
    height: 34px; padding: 0 18px; margin-left: 8px;
    background: var(--primary); color: #fff; border: none; border-radius: 6px;
    font-size: 13px; font-weight: 600; font-family: inherit; cursor: pointer; transition: background .2s ease;
    flex-shrink: 0;
}
.search-submit:hover { background: var(--primary-hover); }

/* ---------- Hero görseli (emoji yerine) ---------- */
.slide-visual { display: flex; align-items: center; justify-content: center; width: 220px; height: 200px; }
.slide-visual svg { width: 168px; height: 168px; filter: drop-shadow(0 8px 24px rgba(0,0,0,.15)); opacity: .95; }

/* ---------- Kategori kısayolu gradientleri ---------- */
.quick-link-icon svg { width: 30px; height: 30px; }
.grad-0 { background: linear-gradient(135deg, #FFB347, #F27A1B); }
.grad-1 { background: linear-gradient(135deg, #74b9ff, #0984e3); }
.grad-2 { background: linear-gradient(135deg, #fd79a8, #e84393); }
.grad-3 { background: linear-gradient(135deg, #55efc4, #00b894); }
.grad-4 { background: linear-gradient(135deg, #ffeaa7, #fdcb6e); }
.grad-5 { background: linear-gradient(135deg, #a29bfe, #6c5ce7); }
.grad-6 { background: linear-gradient(135deg, #fab1a0, #e17055); }
.grad-7 { background: linear-gradient(135deg, #81ecec, #00cec9); }

/* ---------- Güven şeridi ---------- */
.trust-strip { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; margin-top: 10px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item svg { width: 34px; height: 34px; color: var(--primary); flex-shrink: 0; }
.trust-item strong { display: block; font-size: 14px; color: var(--ink); }
.trust-item span { font-size: 12px; color: var(--muted); }

/* ---------- Liste başlığı ---------- */
.list-head { margin-bottom: 18px; }
.list-count { font-size: 14px; font-weight: 400; color: var(--muted); }

/* ---------- Değerlendirmeler ---------- */
.reviews-list { display: flex; flex-direction: column; }
.review-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.review-item:last-child { border-bottom: none; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.review-body { flex: 1; }
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.review-user { font-size: 13px; font-weight: 600; color: var(--ink); }
.review-date { font-size: 12px; color: var(--muted); }
.review-text { font-size: 14px; color: #444; line-height: 1.6; }

@media (max-width: 768px) {
    .page-heading { font-size: 20px; }
    .search-submit { display: none; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .logo-text { font-size: 22px; }
}
