
/* =========================================================
   YKT SITE ENGINE — FRONTEND
========================================================= */

html {
    scroll-padding-top: 104px;
}

body {
    overflow-x: hidden;
}

/* Tema kaynaklı link alt çizgilerini kesin olarak kaldır. */

html body .ykt-header a,
html body .ykt-header a:any-link,
html body .ykt-footer a,
html body .ykt-footer a:any-link,
html body .ykt-page a,
html body .ykt-page a:any-link,
html body .ykt-header a *,
html body .ykt-footer a *,
html body .ykt-page a * {
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-style: solid !important;
    text-decoration-color: transparent !important;
    text-decoration-thickness: 0 !important;
    text-underline-offset: 0 !important;
    text-decoration-skip-ink: none !important;
}

/*
 * Twenty Twenty-Five'in bağlantılara uygulayabileceği
 * pseudo-element tabanlı çizgileri de kapatır.
 * YKT navigasyonunun kendi aktif göstergesi aşağıda geri açılır.
 */
html body .ykt-header a:not(.ykt-navigation a)::before,
html body .ykt-header a:not(.ykt-navigation a)::after,
html body .ykt-footer a::before,
html body .ykt-footer a::after,
html body .ykt-page a::before,
html body .ykt-page a::after {
    text-decoration: none !important;
}

/* Kart ve buton metinlerinde tarayıcı/tema çizgisi kalamaz. */
html body .ykt-directory-card,
html body .ykt-page-link,
html body .ykt-category-panel,
html body .ykt-contact-card > a,
html body .ykt-button,
html body .ykt-footer__navigation a,
html body .ykt-footer__service-link {
    text-decoration: none !important;
    text-decoration-line: none !important;
}

/* Sticky header ve kaydırma durumu. */

html body .ykt-header {
    position: sticky !important;
    top: 0;
    z-index: 3000;
    height: 84px;
    border-bottom-color: rgba(221, 229, 238, 0.72);
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    backdrop-filter: blur(18px) saturate(145%);
    box-shadow: 0 0 0 rgba(7, 20, 38, 0);
    transition:
        height 220ms ease,
        background-color 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

html body .ykt-header::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background:
        linear-gradient(
            90deg,
            var(--ykt-blue-700),
            var(--ykt-blue-500)
        );
    content: "";
    opacity: 0.82;
    transform: scaleX(var(--ykt-scroll-progress, 0));
    transform-origin: left center;
    pointer-events: none;
}

html body .ykt-header.is-scrolled {
    height: 74px;
    border-bottom-color: rgba(190, 206, 223, 0.8);
    background: rgba(255, 255, 255, 0.94);
    box-shadow:
        0 14px 38px rgba(7, 20, 38, 0.09);
}

html body .ykt-header.is-scrolled
.ykt-logo__symbol {
    box-shadow:
        0 8px 19px rgba(10, 28, 51, 0.17);
}

body.admin-bar .ykt-header {
    top: 32px;
}

/* Aktif menü çizgisi sadece özel pseudo-element üzerinden çalışır. */

html body .ykt-navigation a::after {
    text-decoration: none !important;
}

/* Reveal motoru. */

html[data-ykt-engine="boot"]
[data-ykt-reveal] {
    opacity: 0 !important;
    visibility: visible !important;
    translate: none !important;
    scale: 1 !important;
    transform:
        var(
            --ykt-engine-from,
            translate3d(0, 28px, 0)
        ) !important;
}

html[data-ykt-engine="running"]
[data-ykt-reveal][data-ykt-state="hidden"] {
    opacity: 0 !important;
    visibility: visible !important;
    translate: none !important;
    scale: 1 !important;
    transform:
        var(
            --ykt-engine-from,
            translate3d(0, 28px, 0)
        ) !important;
    transition: none !important;
}

html[data-ykt-engine="running"]
[data-ykt-reveal][data-ykt-state="visible"] {
    opacity: 1 !important;
    visibility: visible !important;
    translate: none !important;
    scale: 1 !important;
    transform: none !important;
    transition:
        opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 720ms cubic-bezier(0.22, 1, 0.36, 1) !important;
    transition-delay:
        var(--ykt-reveal-delay, 0ms) !important;
    will-change: opacity, transform;
}

html[data-ykt-engine="safe"]
[data-ykt-reveal],
html:not([data-ykt-engine])
[data-ykt-reveal] {
    opacity: 1 !important;
    visibility: visible !important;
    translate: none !important;
    scale: 1 !important;
    transform: none !important;
    transition: none !important;
}

[data-ykt-reveal="left"] {
    --ykt-engine-from: translate3d(-34px, 0, 0);
}

[data-ykt-reveal="right"] {
    --ykt-engine-from: translate3d(34px, 0, 0);
}

[data-ykt-reveal="soft"] {
    --ykt-engine-from:
        translate3d(0, 16px, 0)
        scale(0.975);
}

/* Hafif parallax katmanları. */

.ykt-hero__background::before {
    transform:
        translate3d(
            0,
            var(--ykt-parallax-hero, 0px),
            0
        );
}

.ykt-hero__background::after {
    transform:
        translate3d(
            0,
            calc(var(--ykt-parallax-hero, 0px) * -0.55),
            0
        );
}

.ykt-tech-grid {
    transform:
        translate3d(
            0,
            var(--ykt-parallax-grid, 0px),
            0
        );
}

.ykt-visual-glow--one {
    transform:
        translate3d(
            0,
            calc(var(--ykt-parallax-hero, 0px) * 0.7),
            0
        );
}

.ykt-visual-glow--two {
    transform:
        translate3d(
            0,
            calc(var(--ykt-parallax-hero, 0px) * -0.45),
            0
        );
}

.ykt-directory__ambient::before {
    transform:
        translate3d(
            0,
            var(--ykt-parallax-directory, 0px),
            0
        );
}

.ykt-hero__background::before,
.ykt-hero__background::after,
.ykt-tech-grid,
.ykt-visual-glow,
.ykt-directory__ambient::before {
    transition: transform 80ms linear;
    will-change: transform;
}

/* Premium hover hareketleri. */

.ykt-directory-card,
.ykt-page-link {
    transition:
        transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 220ms ease,
        box-shadow 260ms ease;
}

.ykt-directory-card:hover,
.ykt-page-link:hover {
    transform: translateY(-6px);
}

@media (max-width: 1023px) {
    html body .ykt-header.is-scrolled {
        height: 70px;
    }
}

@media (max-width: 782px) {
    body.admin-bar .ykt-header {
        top: 46px;
    }
}

@media (max-width: 767px) {
    html {
        scroll-padding-top: 84px;
    }

    html body .ykt-header {
        height: 72px;
    }

    html body .ykt-header.is-scrolled {
        height: 66px;
    }

    [data-ykt-reveal="left"],
    [data-ykt-reveal="right"],
    [data-ykt-reveal="up"] {
        --ykt-engine-from: translate3d(0, 20px, 0);
    }

    [data-ykt-reveal="soft"] {
        --ykt-engine-from:
            translate3d(0, 12px, 0)
            scale(0.985);
    }

    .ykt-hero__background::before,
    .ykt-hero__background::after,
    .ykt-tech-grid,
    .ykt-visual-glow,
    .ykt-directory__ambient::before {
        transform: none;
        transition: none;
        will-change: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html[data-ykt-engine]
    [data-ykt-reveal] {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        transition: none !important;
        will-change: auto !important;
    }

    .ykt-header,
    .ykt-header::after,
    .ykt-directory-card,
    .ykt-page-link,
    .ykt-hero__background::before,
    .ykt-hero__background::after,
    .ykt-tech-grid,
    .ykt-visual-glow,
    .ykt-directory__ambient::before {
        transition: none !important;
        animation: none !important;
        transform: none !important;
        will-change: auto;
    }
}


/* =========================================================
   YKT 2.4.1 — GERÇEK STICKY HEADER
========================================================= */

/*
 * Sticky davranışı Template Part dış kapsayıcısına uygulanır.
 * Böylece header, kısa şablon-parçası yüksekliğiyle sınırlanmaz.
 */
html body .ykt-sticky-header-host {
    position: sticky !important;
    top: 0 !important;
    z-index: 3000 !important;
    width: 100%;
    margin: 0 !important;
    overflow: visible !important;
}

/* Kapsayıcı sticky olduğunda iç header normal akışta kalır. */
html body .ykt-sticky-header-host:not(.ykt-header)
.ykt-header {
    position: relative !important;
    top: auto !important;
}

/* Özel ürün şablonlarında wrapper yoksa header'ın kendisi host olur. */
html body .ykt-header.ykt-sticky-header-host {
    position: sticky !important;
    top: 0 !important;
}

/* WordPress yönetici çubuğu açıkken doğru üst boşluk. */
body.admin-bar .ykt-sticky-header-host {
    top: 32px !important;
}

body.admin-bar
.ykt-sticky-header-host:not(.ykt-header)
.ykt-header {
    top: auto !important;
}

/* Açıklaması kaldırılan ana sayfa alanında buton dengeli konumlanır. */
html body .ykt-directory__intro--cta-only {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

html body
.ykt-directory__intro--cta-only
.ykt-button--directory {
    margin-top: 0;
}

@media (max-width: 1050px) {
    html body .ykt-directory__intro--cta-only {
        justify-content: flex-start;
    }
}

@media (max-width: 782px) {
    body.admin-bar .ykt-sticky-header-host {
        top: 46px !important;
    }
}

@media (max-width: 767px) {
    html body .ykt-directory__intro--cta-only {
        width: 100%;
    }
}
