/* =========================================================
   kender-footer-plus.css : Alt bilgi (footer) cilası
   Mevcut CSS dosyalarına DOKUNMAZ; <link> satırı kender-ekstra.css'ten
   SONRA gelmelidir (ya da içeriği kender-ekstra.css'in sonuna eklenebilir).
   Geri almak için <link> satırını silin.
   Mevcut HTML ile de, önerilen yeni HTML ile de çalışır.
   ========================================================= */

/* ---------- Zemin: üstte ince ışık + header ile aynı renkli çizgi ---------- */
.kn-footer {
    position: relative;
    padding: 26px 20px 18px;
    background: radial-gradient(ellipse at 50% 0%, rgba(127,197,187,.12), transparent 65%), var(--kn-deeper, #0a2a34);
}

    .kn-footer::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 3px;
        pointer-events: none;
        background: linear-gradient(90deg, transparent 0%, #7fc5bb 18%, #e3a53b 50%, #7fc5bb 82%, transparent 100%);
    }

/* ---------- Ana bağlantılar: sakin, aralıklı, ince ayraçlı ---------- */
.kn-footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px 0;
    max-width: 1100px;
    margin: 0 auto;
}

.kn-body .kn-footer__nav a {
    position: relative;
    padding: 10px 18px;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .12em;
    color: #dcecea;
    text-decoration: none;
    transition: color .2s ease;
}

    /* Bağlantılar arasında ince dikey ayraç */
    .kn-body .kn-footer__nav a + a::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        width: 1px;
        height: 14px;
        margin-top: -7px;
        background: rgba(255,255,255,.18);
    }

    /* Üzerine gelince ortadan açılan çizgi */
    .kn-body .kn-footer__nav a::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 4px;
        width: 0;
        height: 2px;
        border-radius: 2px;
        background: linear-gradient(90deg, #55cdbb, #ffffff, #55cdbb);
        transform: translateX(-50%);
        transition: width .3s ease;
    }

    .kn-body .kn-footer__nav a:hover,
    .kn-body .kn-footer__nav a:focus-visible,
    .kn-body .kn-footer__nav a[aria-current="page"] {
        color: #fff;
        text-decoration: none;
    }

        .kn-body .kn-footer__nav a:hover::after,
        .kn-body .kn-footer__nav a:focus-visible::after,
        .kn-body .kn-footer__nav a[aria-current="page"]::after {
            width: calc(100% - 36px);
        }

    .kn-body .kn-footer__nav a:focus-visible {
        outline: 2px solid #75dfce;
        outline-offset: 2px;
        border-radius: 6px;
    }

/* ---------- Alt şerit: telif | politika bağlantıları | imza ---------- */
.kn-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
    max-width: 1100px;
    margin: 16px auto 0;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.12);
    font-size: .82rem;
    line-height: 1.5;
    color: #9fbfbb;
}

    .kn-footer__bottom p {
        margin: 0;
    }

.kn-footer__policy {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 18px;
}

.kn-body .kn-footer__policy a {
    color: #bcd6d2;
    text-decoration: none;
    transition: color .2s ease;
}

    .kn-body .kn-footer__policy a:hover,
    .kn-body .kn-footer__policy a:focus-visible {
        color: #fff;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

/* ---------- Telefon: bağlantılar 2 sütunlu düğmeler, alt şerit ortalı ---------- */
@media (max-width: 720px) {
    .kn-footer {
        padding: 22px 14px 16px;
    }

    .kn-footer__nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .kn-body .kn-footer__nav a {
        padding: 12px 8px;
        text-align: center;
        border: 1px solid rgba(255,255,255,.16);
        border-radius: 10px;
        background: rgba(255,255,255,.05);
    }

        .kn-body .kn-footer__nav a + a::before,
        .kn-body .kn-footer__nav a::after {
            display: none;
        }

        .kn-body .kn-footer__nav a:hover,
        .kn-body .kn-footer__nav a:focus-visible {
            background: rgba(255,255,255,.12);
        }

        /* Tek kalan son bağlantı tam genişlikte olsun */
        .kn-body .kn-footer__nav a:last-child:nth-child(odd) {
            grid-column: 1 / -1;
        }

    .kn-footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kn-body .kn-footer__nav a,
    .kn-body .kn-footer__nav a::after,
    .kn-body .kn-footer__policy a {
        transition: none;
    }
}
