/* ══════════════════════════════════════════════════════════════════
   HUKUKİ METİN SAYFALARI  —  /kvkk · /gizlilik-politikasi · /kullanim-sartlari
   Üç sayfa da bu dosyayı kullanır (görünüm tek elden).
   Renkler temanın kendi değişkenlerinden okunur → açık/koyu temada uyumlu.
   ══════════════════════════════════════════════════════════════════ */

.hukuki {
    --hk-kenar: rgba(128, 138, 160, .22);
    --hk-yuzey: rgba(128, 138, 160, .06);
}

/* ── HERO ───────────────────────────────────────────────────────── */
.hukuki-hero {
    padding: 150px 0 50px;
    position: relative;
    overflow: hidden;
}

.hukuki-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(13, 110, 253, .16), transparent 70%);
    pointer-events: none;
}

.hukuki-hero .container {
    position: relative;
    z-index: 1;
}

.hukuki-rozet {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem 1.1rem;
    border: 1px solid var(--hk-kenar);
    border-radius: 999px;
    background: var(--hk-yuzey);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hukuki-baslik {
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    font-weight: 800;
    margin: 1.1rem 0 .9rem;
    line-height: 1.15;
}

.hukuki-ozet {
    max-width: 720px;
    font-size: 1.03rem;
    line-height: 1.75;
    opacity: .85;
}

.hukuki-guncelleme {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: 1.2rem;
    font-size: .85rem;
    opacity: .7;
}

/* ── GÖVDE ──────────────────────────────────────────────────────── */
.hukuki-govde {
    padding: 20px 0 90px;
}

/* İçindekiler — geniş ekranda sayfayla birlikte kayar */
.hukuki-indeks {
    position: sticky;
    top: 100px;
    padding: 1.25rem;
    border: 1px solid var(--hk-kenar);
    border-radius: 18px;
    background: var(--hk-yuzey);
}

.hukuki-indeks h2 {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    opacity: .6;
    margin-bottom: .9rem;
}

/* NOT: Sayaç (counter) KULLANILMAZ — bölüm başlıkları zaten "1. …" biçiminde numaralıdır
   (numara panelden düzenlenen metnin parçasıdır ve metin içinde bölüme atıf yapılır).
   CSS ayrıca numara basarsa "1  1. Veri Sorumlusu" gibi çift numara görünür. */
.hukuki-indeks ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hukuki-indeks li {
    margin-bottom: .15rem;
}

.hukuki-indeks a {
    display: block;
    padding: .45rem .55rem;
    border-radius: 10px;
    font-size: .88rem;
    line-height: 1.4;
    text-decoration: none;
    color: inherit;
    opacity: .8;
    transition: background .18s, opacity .18s;
}

.hukuki-indeks a:hover {
    background: rgba(13, 110, 253, .1);
    opacity: 1;
}

/* Metin kabı */
.hukuki-kart {
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid var(--hk-kenar);
    border-radius: 22px;
    background: var(--hk-yuzey);
}

.hukuki-bolum {
    scroll-margin-top: 110px;   /* sabit navbar başlığı kesmesin */
}

.hukuki-bolum + .hukuki-bolum {
    margin-top: 2.4rem;
    padding-top: 2.4rem;
    border-top: 1px solid var(--hk-kenar);
}

.hukuki-bolum h2 {
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.hukuki-bolum p {
    line-height: 1.85;
    opacity: .88;
    margin-bottom: .9rem;
}

.hukuki-bolum p:last-child {
    margin-bottom: 0;
}

.hukuki-liste {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.hukuki-liste li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: .55rem;
    line-height: 1.75;
    opacity: .88;
}

.hukuki-liste li::before {
    content: "";
    position: absolute;
    left: .35rem;
    top: .72em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--bs-primary, #0d6efd);
}

/* Sayfa sonu iletişim kutusu */
.hukuki-iletisim {
    margin-top: 2.4rem;
    padding: 1.5rem;
    border: 1px solid var(--hk-kenar);
    border-radius: 18px;
    background: rgba(13, 110, 253, .07);
}

.hukuki-iletisim h2 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hukuki-iletisim ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hukuki-iletisim li {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    margin-bottom: .6rem;
    font-size: .93rem;
    line-height: 1.6;
}

.hukuki-iletisim li:last-child {
    margin-bottom: 0;
}

.hukuki-iletisim i {
    color: var(--bs-primary, #0d6efd);
    margin-top: .2rem;
}

.hukuki-iletisim a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(128, 138, 160, .4);
}

.hukuki-iletisim a:hover {
    border-bottom-color: currentColor;
}

/* Diğer hukuki sayfalara geçiş */
.hukuki-diger {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 2rem;
}

.hukuki-diger a {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem 1.1rem;
    border: 1px solid var(--hk-kenar);
    border-radius: 999px;
    font-size: .88rem;
    text-decoration: none;
    color: inherit;
    opacity: .85;
    transition: background .18s, opacity .18s;
}

.hukuki-diger a:hover {
    background: rgba(13, 110, 253, .1);
    opacity: 1;
}

/* Yasal uyarı şeridi */
.hukuki-not {
    margin-top: 1.5rem;
    padding: .9rem 1.1rem;
    border-left: 3px solid rgba(245, 158, 11, .7);
    border-radius: 0 12px 12px 0;
    background: rgba(245, 158, 11, .09);
    font-size: .85rem;
    line-height: 1.65;
    opacity: .85;
}

@media (max-width: 991.98px) {
    .hukuki-hero {
        padding-top: 120px;
    }

    .hukuki-indeks {
        position: static;
        margin-bottom: 1.5rem;
    }
}
