/* ============================================================
   SAMSUNDABUL — MODERN TEMA (v2 yeniden tasarım katmanı)
   style.css + responsive.css üzerine biner; mevcut markup'ı korur.
   Tasarım dili: temiz, güvenilir, enerjik yerel pazaryeri.
   ============================================================ */

:root {
    /* Rafine marka paleti */
    --brand:        #E11D48;   /* canlı kırmızı/rose */
    --brand-600:    #BE123C;
    --brand-700:    #9F1239;
    --brand-soft:   #FFF1F3;
    --ink:          #0B1220;   /* derin lacivert-siyah */
    --ink-700:      #1E293B;
    --ink-500:      #334155;
    --muted:        #64748B;
    --line:         #E9ECF1;
    --line-2:       #EEF1F5;
    --surface:      #FFFFFF;
    --surface-2:    #F7F8FA;
    --surface-3:    #F1F3F7;

    /* Eski değişkenleri yeni palete bağla (geçiş uyumu) */
    --kirmizi:      var(--brand);
    --kirmizi-koyu: var(--brand-700);
    --kirmizi-acik: #FB7185;
    --siyah:        var(--ink);

    --radius:    14px;
    --radius-sm: 10px;
    --radius-lg: 22px;
    --golge:        0 1px 2px rgba(16,24,40,.04), 0 2px 8px rgba(16,24,40,.05);
    --golge-hover:  0 14px 30px rgba(16,24,40,.10);
    --golge-brand:  0 6px 16px rgba(225,29,72,.20);
    --gecis: all .22s cubic-bezier(.4,0,.2,1);

    --font-baslik: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--surface-2);
    color: var(--ink-700);
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-baslik); letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.5vw, 2.1rem); font-weight: 800; }

a { color: var(--brand); }
a:hover { color: var(--brand-700); }

.container { max-width: 1240px; }

/* ===== NAVBAR — cam efekti ===== */
.navbar {
    background: rgba(255,255,255,.82);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
    box-shadow: none;
}
.navbar-inner { height: 76px; }
.navbar-logo { font-family: var(--font-baslik); font-weight: 800; letter-spacing: -.03em; }
.navbar-logo span { color: var(--brand); }
.navbar-menu a {
    color: var(--ink-500); font-weight: 600; border-radius: 10px;
}
.navbar-menu a:hover, .navbar-menu a.active {
    color: var(--brand); background: var(--brand-soft);
}

/* ===== BUTONLAR ===== */
.btn {
    border-radius: 999px;
    font-family: var(--font-baslik);
    font-weight: 700;
    letter-spacing: -.01em;
    transition: var(--gecis);
}
.btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: var(--golge-brand);
}
.btn-primary:hover {
    background: var(--brand-600);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(225,29,72,.26);
}
.btn-outline {
    border: 1.5px solid var(--line);
    color: var(--ink-700);
    background: #fff;
}
.btn-outline:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: var(--brand-soft);
    transform: translateY(-2px);
}
.btn-white { background: #fff; color: var(--ink); box-shadow: var(--golge); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--golge-hover); color: var(--brand); }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }

/* ===== HERO — editoryal, ink zemin + ince dot-grid + "55" motifi ===== */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 24px 24px,
        radial-gradient(900px 520px at 88% -20%, rgba(225,29,72,.16), transparent 62%),
        linear-gradient(180deg, #0C1424 0%, #0A111E 100%);
    padding: clamp(60px, 8vw, 104px) 0 clamp(64px, 8vw, 108px);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.hero::before, .hero::after { content: none; }
/* Samsun plaka kodu — dev, soluk yerel motif */
.hero .container { position: relative; z-index: 2; }
.hero .hero-plaka {
    position: absolute; right: -2%; top: 50%; transform: translateY(-50%);
    font-family: var(--font-baslik); font-weight: 800; font-size: 30rem; line-height: 1;
    color: rgba(255,255,255,.025); z-index: 1; pointer-events: none; user-select: none;
}
.hero-icerik { max-width: 760px; text-align: left; }

.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: #FCA5B5;
    background: rgba(225,29,72,.12); border: 1px solid rgba(225,29,72,.24);
    padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { color: #fff; line-height: 1.06; font-size: clamp(2.3rem, 4.6vw, 3.5rem); }
.hero h1 .vurgu {
    color: #fff; position: relative; white-space: nowrap;
}
.hero h1 .vurgu::after {
    content: ""; position: absolute; left: -2px; right: -2px; bottom: .04em; height: .34em;
    background: var(--brand); opacity: .9; z-index: -1; border-radius: 3px;
    transform: rotate(-1deg);
}
.hero p {
    color: #AEBACE; font-size: clamp(1.02rem, 1.4vw, 1.16rem);
    max-width: 560px; margin: 20px 0 0;
}

/* Arama — kategori seçici + giriş + buton */
.hero-arama {
    margin: 30px 0 0;
    max-width: 600px;
    background: #fff;
    padding: 6px;
    border-radius: 16px;
    box-shadow: 0 24px 60px -18px rgba(2,6,23,.55);
    display: flex; align-items: center; gap: 4px;
}
.hero-arama-kat {
    display: flex; align-items: center; gap: 6px; padding: 0 12px 0 14px;
    border-right: 1px solid var(--line); color: var(--muted); flex-shrink: 0;
}
.hero-arama-kat i { color: var(--brand); font-size: .85rem; }
.hero-arama-kat select {
    border: none; background: transparent; font-size: .92rem; color: var(--ink-700);
    font-weight: 600; outline: none; cursor: pointer; max-width: 130px; padding: 12px 0;
    font-family: inherit;
}
.hero-arama input {
    border: none; background: transparent; flex: 1;
    padding: 0 16px; font-size: 1rem; color: var(--ink); outline: none; min-width: 0;
}
.hero-arama input::placeholder { color: #9AA6B6; }
.hero-arama .btn { border-radius: 12px; padding: 13px 24px; white-space: nowrap; }

/* Popüler aramalar */
.hero-populer {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 18px;
    font-size: .9rem;
}
.hero-populer > span { color: #7E8DA3; font-weight: 600; margin-right: 2px; }
.hero-populer a {
    color: #CBD5E1; padding: 5px 13px; border-radius: 999px;
    border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04);
    font-size: .85rem; transition: var(--gecis);
}
.hero-populer a:hover { color: #fff; border-color: var(--brand); background: rgba(225,29,72,.18); }

.hero-butonlar { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* Satır-içi güven istatistikleri */
.hero-stats {
    display: flex; gap: 30px; flex-wrap: wrap; margin-top: 34px;
    padding-top: 26px; border-top: 1px solid rgba(255,255,255,.08);
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong {
    font-family: var(--font-baslik); font-size: 1.7rem; font-weight: 800; color: #fff; line-height: 1;
}
.hero-stats span { font-size: .82rem; color: #7E8DA3; margin-top: 5px; font-weight: 500; }

/* ===== BÖLÜM BAŞLIKLARI ===== */
.bolum { padding: clamp(48px, 6vw, 84px) 0; }
.bolum-gri { background: var(--surface); }
.bolum-baslik { margin-bottom: 40px; }
.bolum-baslik h2 span { color: var(--brand); -webkit-text-fill-color: var(--brand); }
.bolum-baslik p { color: var(--muted); font-size: 1.05rem; }

/* Editoryal başlık: eyebrow + başlık solda, "tümünü gör" sağda */
.bolum-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    color: var(--brand); margin-bottom: 12px;
}
.bolum-eyebrow::before {
    content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; display: inline-block;
}
.bolum-baslik--editorial {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; text-align: left;
}
.bolum-baslik--editorial p { margin-top: 8px; }
.bolum-link {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px;
    font-weight: 700; font-family: var(--font-baslik); color: var(--ink-700);
    border: 1px solid var(--line); background: #fff; padding: 10px 18px; border-radius: 999px;
    font-size: .9rem; transition: var(--gecis);
}
.bolum-link:hover { border-color: var(--brand); color: var(--brand); transform: translateX(2px); }
@media (max-width: 640px) {
    .bolum-baslik--editorial { flex-direction: column; align-items: flex-start; }
}

/* ===== KATEGORİ KUTULARI ===== */
.kategori-kutu {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 16px;
    text-align: center;
    transition: var(--gecis);
    box-shadow: var(--golge);
}
.kategori-kutu i {
    font-size: 1.7rem;
    color: var(--brand);
    background: var(--brand-soft);
    width: 60px; height: 60px; line-height: 60px;
    border-radius: 16px; display: inline-block; margin-bottom: 14px;
    transition: var(--gecis);
}
.kategori-kutu h4 { font-size: 1rem; margin-bottom: 4px; }
.kategori-kutu span { font-size: .82rem; color: var(--muted); }
.kategori-kutu:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: var(--golge-hover);
}
.kategori-kutu:hover i { background: var(--brand); color: #fff; transform: rotate(-6deg) scale(1.05); }

/* ===== KARTLAR (ilan) ===== */
.kart {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--golge);
    transition: var(--gecis);
}
.kart:hover { transform: translateY(-4px); box-shadow: var(--golge-hover); border-color: var(--line-2); }
.kart-gorsel { aspect-ratio: 4 / 3; height: auto; }
.kart-badge {
    background: rgba(11,18,32,.78);
    color: #fff; font-weight: 600; border-radius: 8px;
    padding: 5px 11px; font-size: .72rem; letter-spacing: .01em;
}
.kart-favori { border-radius: 50%; }
.kart-icerik { padding: 16px 18px 10px; }
.kart-baslik a { color: var(--ink); font-weight: 600; font-size: 1.02rem; line-height: 1.4; }
.kart-fiyat { color: var(--ink); font-weight: 800; font-family: var(--font-baslik); }
.kart-fiyat small { color: var(--muted); font-weight: 500; }
.kart-alt { padding: 12px 18px; border-top: 1px solid var(--line-2); }
.kart-puan { color: var(--ink-700); font-weight: 600; }
.kart-puan .fa-star { color: #F59E0B; }

/* ===== FREELANCER KARTLARI ===== */
.freelancer-kart {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px 20px; text-align: center; box-shadow: var(--golge); transition: var(--gecis);
}
.freelancer-kart:hover { transform: translateY(-6px); box-shadow: var(--golge-hover); }
.freelancer-kart img {
    width: 84px; height: 84px; border-radius: 50%; object-fit: cover;
    margin: 0 auto 14px; border: 3px solid var(--brand-soft);
}

/* ===== NASIL ÇALIŞIR — adımlar ===== */
.adim-kutu {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 36px 26px; text-align: center; box-shadow: var(--golge);
}
.adim-numara {
    width: 56px; height: 56px; line-height: 56px; border-radius: 50%;
    background: var(--brand); color: #fff; font-weight: 800; font-size: 1.4rem;
    font-family: var(--font-baslik); margin: 0 auto 18px; box-shadow: var(--golge-brand);
}

/* ===== İSTATİSTİK BANDI ===== */
.bolum-siyah {
    background:
        radial-gradient(700px 300px at 85% 0%, rgba(225,29,72,.30), transparent 60%),
        linear-gradient(160deg, #0B1220, #131C2E);
    border-radius: 0;
}
.bolum-siyah h2 { color: #fff !important; font-size: 2.6rem !important; }
.bolum-siyah p { color: #93A1B5; font-weight: 600; }

/* ===== SEO + SSS BÖLÜMÜ ===== */
.seo-bolum { background: var(--surface); }
.seo-icerik { max-width: 860px; margin: 0 auto 40px; }
.seo-icerik h2 { margin-bottom: 18px; }
.seo-icerik h2 span { color: var(--brand); }
.seo-icerik p { color: var(--ink-500); font-size: 1.04rem; line-height: 1.85; margin-bottom: 16px; }
.seo-icerik a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.sss-liste { max-width: 760px; margin: 0 auto; }
.sss-liste h3 { font-size: 1.5rem; text-align: center; margin-bottom: 22px; }
.sss-item {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 18px 22px; margin-bottom: 12px; box-shadow: var(--golge); transition: var(--gecis);
}
.sss-item summary {
    font-family: var(--font-baslik); font-weight: 700; font-size: 1.05rem;
    color: var(--ink); cursor: pointer; list-style: none; position: relative; padding-right: 32px;
}
.sss-item summary::-webkit-details-marker { display: none; }
.sss-item summary::after {
    content: "\f067"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    color: var(--brand); font-size: .9rem; transition: var(--gecis);
}
.sss-item[open] summary::after { content: "\f068"; }
.sss-item[open] { border-color: var(--brand); box-shadow: var(--golge-hover); }
.sss-item p { color: var(--ink-500); line-height: 1.75; margin-top: 12px; }

/* ===== CTA ===== */
.cta {
    background:
        radial-gradient(600px 280px at 80% 120%, rgba(245,158,11,.25), transparent 60%),
        linear-gradient(135deg, var(--brand-700), var(--brand) 60%, #FB7185);
    border-radius: 28px;
    margin: 0 auto clamp(48px, 6vw, 80px);
    max-width: 1180px;
    padding: clamp(40px, 6vw, 72px) 24px;
    text-align: center;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.9); max-width: 600px; margin: 14px auto 26px; }

/* ===== RESPONSIVE İNCE AYAR ===== */
@media (max-width: 640px) {
    .hero-arama { flex-direction: column; border-radius: var(--radius-lg); padding: 12px; }
    .hero-arama input { padding: 12px 16px; }
    .hero-arama .btn { width: 100%; }
    .cta { border-radius: 20px; }
    .hero-icerik::after { font-size: .78rem; line-height: 2; }
}
