/**
 * Ön yüz site özelleştirmeleri — müşteri kurulumları (tüm sektörler)
 * Yazı tipleri yönetim panelinden (--bs-body-font-family / --bs-headings-font-family).
 */

/* ═══════════════════════════════════════
   Design tokens
   ═══════════════════════════════════════ */
body.theme-kobi {
    --dk-font-body: var(--bs-body-font-family, var(--bs-font-sans-serif));
    --dk-font-display: var(--bs-headings-font-family, var(--dk-font-body));
    --dk-ink: #1c1917;
    --dk-ink-soft: #57534e;
    --dk-ink-muted: #78716c;
    --dk-surface: #fafaf9;
    --dk-surface-alt: #f5f5f4;
    --dk-surface-card: #ffffff;
    --dk-border: rgba(28, 25, 23, 0.08);
    --dk-border-strong: rgba(28, 25, 23, 0.14);
    --dk-radius: 1rem;
    --dk-radius-lg: 1.25rem;
    --dk-radius-pill: 999px;
    --dk-shadow-sm: 0 1px 3px rgba(28, 25, 23, 0.06), 0 4px 16px rgba(28, 25, 23, 0.04);
    --dk-shadow-md: 0 8px 32px rgba(28, 25, 23, 0.08);
    --dk-gradient-warm: linear-gradient(
        135deg,
        color-mix(in srgb, var(--bs-primary) 85%, #1c1917) 0%,
        color-mix(in srgb, var(--bs-primary) 50%, #292524) 50%,
        #1c1917 100%
    );
    --dk-section-gap: clamp(3.5rem, 6vw, 5rem);
    --dk-ease: cubic-bezier(0.22, 1, 0.36, 1);
    font-family: var(--dk-font-body);
    background-color: var(--dk-surface);
    color: var(--dk-ink);
}

body.theme-kobi h1,
body.theme-kobi h2,
body.theme-kobi h3,
body.theme-kobi h4,
body.theme-kobi h5,
body.theme-kobi h6,
body.theme-kobi .kobi-section-head__title,
body.theme-kobi .kobi-page-hero .bg-header-page-title {
    font-family: var(--dk-font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
}

body.theme-kobi .btn,
body.theme-kobi .navbar-nav .nav-link,
body.theme-kobi .form-control {
    font-family: var(--dk-font-body);
}

/* ═══════════════════════════════════════
   Scroll progress
   ═══════════════════════════════════════ */
.dk-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0;
    z-index: 9999;
    background: var(--bs-primary);
    pointer-events: none;
}

/* ═══════════════════════════════════════
   Header
   ═══════════════════════════════════════ */
body.theme-kobi.dk-scrolled .theme-premium-header-shell {
    box-shadow: var(--dk-shadow-sm);
}

body.theme-kobi.dk-scrolled .theme-premium .sticky-top.navbar-dark {
    background: rgba(250, 250, 249, 0.94) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--dk-border) !important;
}

body.theme-kobi .theme-premium .navbar-dark .navbar-nav .nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s var(--dk-ease);
}

body.theme-kobi .theme-premium .navbar-dark .navbar-nav .nav-link:hover,
body.theme-kobi .theme-premium .navbar-dark .navbar-nav .nav-link.active {
    color: var(--bs-primary) !important;
}

body.theme-kobi .theme-premium .header-theme-nav-cta {
    background: var(--bs-primary) !important;
    border: none !important;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.6rem 1.25rem !important;
    border-radius: var(--dk-radius-pill) !important;
    box-shadow: var(--dk-shadow-sm) !important;
    transition: transform 0.2s var(--dk-ease), box-shadow 0.2s !important;
}

body.theme-kobi .theme-premium .header-theme-nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--dk-shadow-md) !important;
}

/* ═══════════════════════════════════════
   Section headings
   ═══════════════════════════════════════ */
body.theme-kobi .kobi-section-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(2rem, 4vw, 2.75rem);
    text-align: center;
    position: relative;
}

body.theme-kobi .kobi-section-head.section-title,
body.theme-kobi .kobi-section-head.section-title-plain {
    display: flex;
    flex-direction: column;
    align-items: center;
}

body.theme-kobi .kobi-section-head__eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bs-primary);
    background: color-mix(in srgb, var(--bs-primary) 9%, var(--dk-surface-card));
    border: 1px solid color-mix(in srgb, var(--bs-primary) 18%, transparent);
    border-radius: var(--dk-radius-pill);
    padding: 0.38rem 0.95rem;
    margin: 0 auto 0.9rem;
    line-height: 1;
    width: fit-content;
    max-width: 100%;
    flex: 0 0 auto;
}

body.theme-kobi .kobi-home-section--alt .kobi-section-head__eyebrow {
    background: color-mix(in srgb, var(--bs-primary) 10%, var(--dk-surface-alt));
}

body.theme-kobi .kobi-section-head__eyebrow::before {
    display: block;
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--bs-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--bs-primary) 20%, transparent);
    flex-shrink: 0;
}

body.theme-kobi .kobi-section-head__eyebrow::after {
    display: none;
    content: none;
}

body.theme-kobi .kobi-section-head__title {
    font-size: clamp(1.75rem, 3.8vw, 2.35rem);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.025em;
    color: var(--dk-ink);
    margin: 0;
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    align-self: stretch;
}

body.theme-kobi .kobi-section-head__lead {
    font-size: 1.02rem;
    color: var(--dk-ink-muted);
    line-height: 1.7;
    margin: 1rem auto 0;
    max-width: 38rem;
    width: 100%;
    flex: 0 0 100%;
    align-self: stretch;
}

/* Başlık reveal — kademeli giriş */
body.theme-kobi .kobi-section-head.dk-reveal {
    opacity: 1;
    transform: none;
}

body.theme-kobi .kobi-section-head.dk-reveal > .kobi-section-head__eyebrow,
body.theme-kobi .kobi-section-head.dk-reveal > .kobi-section-head__title,
body.theme-kobi .kobi-section-head.dk-reveal > .kobi-section-head__lead {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s var(--dk-ease), transform 0.55s var(--dk-ease);
}

body.theme-kobi .kobi-section-head.dk-reveal.dk-revealed > .kobi-section-head__eyebrow {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.04s;
}

body.theme-kobi .kobi-section-head.dk-reveal.dk-revealed > .kobi-section-head__title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.12s;
}

body.theme-kobi .kobi-section-head.dk-reveal.dk-revealed > .kobi-section-head__lead {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.22s;
}

/* ═══════════════════════════════════════
   Home sections — düzenli ritim
   ═══════════════════════════════════════ */
body.theme-kobi .kobi-home-section {
    padding-top: var(--dk-section-gap) !important;
    padding-bottom: var(--dk-section-gap) !important;
}

body.theme-kobi .kobi-home-section--alt {
    background: var(--dk-surface-alt);
}

body.theme-kobi .kobi-home-section--alt::before {
    display: none;
}

/* Scroll reveal — sade fade */
body.theme-kobi .dk-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s var(--dk-ease), transform 0.5s var(--dk-ease);
}

body.theme-kobi .dk-reveal.dk-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════
   Hero / Carousel
   ═══════════════════════════════════════ */
body.theme-kobi #header-carousel .carousel-item::after {
    background: linear-gradient(
        to top,
        rgba(28, 25, 23, 0.75) 0%,
        rgba(28, 25, 23, 0.25) 50%,
        rgba(28, 25, 23, 0.4) 100%
    );
}

body.theme-kobi #header-carousel .carousel-caption > .p-3 {
    background: transparent;
    border: none;
    backdrop-filter: none;
    box-shadow: none;
    padding: 1rem !important;
}

body.theme-kobi #header-carousel .carousel-caption h5.text-uppercase {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.theme-kobi #header-carousel .carousel-caption h1.display-1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.15;
}

body.theme-kobi #header-carousel .carousel-caption .btn-primary {
    border-radius: var(--dk-radius-pill) !important;
    padding: 0.75rem 1.75rem !important;
    font-weight: 600;
}

body.theme-kobi #header-carousel .carousel-indicators [data-bs-target] {
    width: 2rem;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.4);
    border: none;
}

body.theme-kobi #header-carousel .carousel-indicators .active {
    background: var(--bs-primary);
}

/* ═══════════════════════════════════════
   Uniform grid cards — tüm bölümler eşit
   ═══════════════════════════════════════ */
body.theme-kobi .team-item,
body.theme-kobi .home-pages .bg-light.rounded,
body.theme-kobi .home-references .bg-light.rounded,
body.theme-kobi .home-contact .bg-light.rounded {
    border: 1px solid var(--dk-border) !important;
    border-radius: var(--dk-radius-lg) !important;
    background: var(--dk-surface-card) !important;
    box-shadow: var(--dk-shadow-sm) !important;
    transition: transform 0.25s var(--dk-ease), box-shadow 0.25s var(--dk-ease), border-color 0.25s !important;
}

body.theme-kobi .team-item:hover,
body.theme-kobi .home-pages .bg-light.rounded:hover,
body.theme-kobi .home-references .bg-light.rounded:hover,
body.theme-kobi .home-contact .bg-light.rounded:hover {
    transform: translateY(-4px);
    box-shadow: var(--dk-shadow-md) !important;
    border-color: color-mix(in srgb, var(--bs-primary) 20%, var(--dk-border)) !important;
}

body.theme-kobi .team-item .ratio,
body.theme-kobi .team-item .service-grid-thumb {
    overflow: hidden;
}

body.theme-kobi .team-item .ratio img,
body.theme-kobi .team-item .service-grid-thumb img {
    transition: transform 0.4s var(--dk-ease);
}

body.theme-kobi .team-item:hover .ratio img,
body.theme-kobi .team-item:hover .service-grid-thumb img {
    transform: scale(1.04);
}

body.theme-kobi .team-item .p-4 h2,
body.theme-kobi .team-item .p-4 .h5 {
    font-family: var(--dk-font-display);
    font-size: 1.2rem !important;
    font-weight: 600;
}

/* Kart CTA — İncele / Oku / Detaylar */
body.theme-kobi .team-item span.text-primary.small.fw-semibold,
body.theme-kobi .team-item span.small.text-muted,
body.theme-kobi .home-pages .bg-light.rounded span.text-primary.small.fw-semibold {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.85rem !important;
    padding: 0.52rem 1.2rem;
    font-size: 0.82rem !important;
    font-weight: 600;
    line-height: 1;
    border-radius: var(--dk-radius-pill);
    box-shadow: var(--dk-shadow-sm);
    transition:
        color 0.22s var(--dk-ease),
        background 0.22s var(--dk-ease),
        border-color 0.22s var(--dk-ease),
        transform 0.22s var(--dk-ease),
        box-shadow 0.22s var(--dk-ease);
}

/* Blog kartı — Oku düğmesi (430. satır kuralından ayrı; daha yüksek özgüllük) */
body.theme-kobi .team-item .p-4.d-flex span.text-primary.small.fw-semibold.kobi-blog-card-cta {
    margin-top: 1.5rem !important;
    padding-top: 0.52rem;
    align-self: center;
}

body.theme-kobi .team-item span.text-primary.small.fw-semibold,
body.theme-kobi .home-pages .bg-light.rounded span.text-primary.small.fw-semibold {
    color: var(--bs-primary) !important;
    background: color-mix(in srgb, var(--bs-primary) 10%, var(--dk-surface-card));
    border: 1.5px solid color-mix(in srgb, var(--bs-primary) 30%, transparent);
}

body.theme-kobi .team-item span.small.text-muted {
    color: var(--dk-ink-soft) !important;
    background: var(--dk-surface);
    border: 1.5px solid var(--dk-border-strong);
}

body.theme-kobi .team-item span.text-primary.small.fw-semibold i,
body.theme-kobi .team-item span.small.text-muted i,
body.theme-kobi .home-pages .bg-light.rounded span.text-primary.small.fw-semibold i {
    color: inherit;
    font-size: 0.9em;
    transition: transform 0.22s var(--dk-ease);
}

body.theme-kobi .team-item:hover span.text-primary.small.fw-semibold,
body.theme-kobi .home-pages .bg-light.rounded:hover span.text-primary.small.fw-semibold {
    color: #fff !important;
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    transform: translateY(-1px);
    box-shadow: var(--dk-shadow-md);
}

body.theme-kobi .team-item:hover span.small.text-muted {
    color: var(--bs-primary) !important;
    background: color-mix(in srgb, var(--bs-primary) 8%, var(--dk-surface-card));
    border-color: color-mix(in srgb, var(--bs-primary) 28%, transparent);
    transform: translateY(-1px);
    box-shadow: var(--dk-shadow-sm);
}

body.theme-kobi .team-item:hover span.text-primary.small.fw-semibold i,
body.theme-kobi .team-item:hover span.small.text-muted i,
body.theme-kobi .home-pages .bg-light.rounded:hover span.text-primary.small.fw-semibold i {
    transform: translateX(3px);
}

/* Kart CTA — flex içinde alta (blog Oku düğmesi hariç) */
body.theme-kobi .team-item .p-4.d-flex span.text-primary.small.fw-semibold:not(.kobi-blog-card-cta) {
    margin-top: auto !important;
    padding-top: 0.52rem;
}

/* Grid satırları — Bootstrap düzenini koru, müdahale yok */
body.theme-kobi .home-section .row.g-4,
body.theme-kobi .home-section .row.g-3 {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 1.25rem;
}

/* Hakkımızda kartı — diğer kartlarla aynı stil */
body.theme-kobi .home-pages .bg-light.rounded {
    min-height: 200px;
}

body.theme-kobi .home-pages .bg-primary.rounded {
    background: var(--bs-primary) !important;
    border-radius: var(--dk-radius) !important;
}

/* Referans logoları */
body.theme-kobi .home-references .bg-light.rounded img {
    filter: grayscale(30%);
    transition: filter 0.3s var(--dk-ease);
}

body.theme-kobi .home-references .bg-light.rounded:hover img {
    filter: grayscale(0%);
}

/* ═══════════════════════════════════════
   Testimonials — kartlar arası boşluk
   ═══════════════════════════════════════ */
body.theme-kobi .home-testimonials .testimonial-carousel,
body.theme-kobi .testimonial-carousel {
    overflow: visible;
}

body.theme-kobi .testimonial-carousel .owl-stage-outer {
    overflow: visible;
    padding: 0.25rem 0 0.5rem;
}

body.theme-kobi .testimonial-carousel .owl-item {
    padding: 0 0.65rem;
}

body.theme-kobi .testimonial-carousel .testimonial-item {
    margin: 0 !important;
    height: 100%;
    background: var(--dk-surface-card) !important;
    border: 1px solid var(--dk-border) !important;
    border-radius: var(--dk-radius-lg) !important;
    box-shadow: var(--dk-shadow-sm) !important;
}

body.theme-kobi .testimonial-carousel .owl-item.center .testimonial-item {
    box-shadow: var(--dk-shadow-md) !important;
    border-color: color-mix(in srgb, var(--bs-primary) 15%, var(--dk-border)) !important;
}

body.theme-kobi .testimonial-carousel .testimonial-item h4 {
    font-family: var(--dk-font-display);
    font-size: 1.15rem;
}

body.theme-kobi .testimonial-carousel .owl-dots {
    margin-top: 1.25rem;
}

@media (min-width: 768px) {
    body.theme-kobi .testimonial-carousel .owl-item {
        padding: 0 0.75rem;
    }
}

@media (min-width: 992px) {
    body.theme-kobi .testimonial-carousel .owl-item {
        padding: 0 0.85rem;
    }
}

/* ═══════════════════════════════════════
   FAQ
   ═══════════════════════════════════════ */
body.theme-kobi .kobi-faq-accordion {
    border-radius: var(--dk-radius-lg);
    border: 1px solid var(--dk-border);
    box-shadow: var(--dk-shadow-sm);
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

body.theme-kobi .kobi-faq-accordion .accordion-button {
    font-weight: 600;
    padding: 1rem 1.25rem;
}

body.theme-kobi .kobi-faq-accordion .accordion-button:not(.collapsed) {
    background: color-mix(in srgb, var(--bs-primary) 6%, var(--dk-surface));
    color: var(--bs-primary);
}

/* ═══════════════════════════════════════
   Contact
   ═══════════════════════════════════════ */
body.theme-kobi .kobi-contact-icon-badge {
    background: var(--bs-primary) !important;
    border-radius: var(--dk-radius) !important;
}

body.theme-kobi .home-contact h3.h5 {
    font-family: var(--dk-font-display);
    font-size: 1.2rem !important;
}

/* ═══════════════════════════════════════
   Buttons
   ═══════════════════════════════════════ */
body.theme-kobi .btn-primary {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    border-radius: var(--dk-radius-pill) !important;
    font-weight: 600;
    box-shadow: var(--dk-shadow-sm);
    transition: transform 0.2s var(--dk-ease), box-shadow 0.2s !important;
}

body.theme-kobi .btn-primary:hover,
body.theme-kobi .btn-primary:focus-visible {
    transform: translateY(-2px);
    box-shadow: var(--dk-shadow-md);
}

body.theme-kobi .home-section .text-center .btn-primary {
    padding: 0.65rem 2rem !important;
}

body.theme-kobi .btn-outline-primary {
    border-radius: var(--dk-radius-pill) !important;
    font-weight: 600;
}

/* ═══════════════════════════════════════
   Inner pages
   ═══════════════════════════════════════ */
body.theme-kobi .kobi-page-hero.bg-header-page-hero {
    background: var(--dk-gradient-warm) !important;
    position: relative;
    overflow: hidden;
}

body.theme-kobi .kobi-page-hero .kobi-page-hero__pattern {
    opacity: 0.55;
}

body.theme-kobi .kobi-page-hero .bg-header-page-inner {
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0;
}

body.theme-kobi .kobi-page-hero .bg-header-breadcrumb-band {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--dk-radius-pill);
    padding: 0.5rem 1.15rem;
    margin-top: 1rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.theme-kobi .kobi-page-hero .bg-header-breadcrumb {
    font-size: 0.85rem;
    gap: 0.15rem;
}

body.theme-kobi .kobi-page-hero .bg-header-crumb {
    transition: opacity 0.2s var(--dk-ease);
}

body.theme-kobi .kobi-page-hero a.bg-header-crumb:hover {
    opacity: 0.85;
    text-decoration: underline !important;
    text-underline-offset: 0.15em;
}

body.theme-kobi .kobi-page-hero .bg-header-crumb--current {
    font-weight: 600;
}

body.theme-kobi .kobi-page-hero .bg-header-page-title {
    font-size: clamp(1.85rem, 4.5vw, 2.65rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.22);
    line-height: 1.15;
    position: relative;
    display: inline-block;
    width: 100%;
}

body.theme-kobi .container-fluid.py-5.wow.fadeInUp:not(.kobi-home-section) > .container {
    background: var(--dk-surface-card);
    border: 1px solid var(--dk-border);
    border-radius: var(--dk-radius-lg);
    box-shadow: var(--dk-shadow-md);
    margin-top: -1.5rem;
    padding: clamp(1.5rem, 3vw, 2.25rem) !important;
}

body.theme-kobi .container-fluid.py-5.wow.fadeInUp:not(.kobi-home-section) .kobi-section-head {
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    body.theme-kobi .archive-products-layout--with-cats .archive-products-cats {
        position: sticky;
        top: calc(var(--header-sticky-offset, 88px) + 1rem);
        align-self: flex-start;
        max-height: calc(100vh - var(--header-sticky-offset, 88px) - 2rem);
        overflow-y: auto;
        scrollbar-width: thin;
    }
}

body.theme-kobi .content-body img,
body.theme-kobi .blog-post-content img {
    border-radius: var(--dk-radius);
    max-width: 100%;
    height: auto;
}

body.theme-kobi .content-body blockquote,
body.theme-kobi .blog-post-content blockquote {
    border-left: 3px solid var(--bs-primary);
    padding: 0.75rem 1.25rem;
    margin: 1.5rem 0;
    background: color-mix(in srgb, var(--bs-primary) 5%, var(--dk-surface));
    border-radius: 0 var(--dk-radius) var(--dk-radius) 0;
    color: var(--dk-ink-soft);
    font-style: italic;
}

body.theme-kobi .content-body,
body.theme-kobi .blog-post-content {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--dk-ink-soft);
}

/* ═══════════════════════════════════════
   Forms
   ═══════════════════════════════════════ */
body.theme-kobi .form-control,
body.theme-kobi .form-select {
    border-radius: 0.65rem;
    border-color: var(--dk-border-strong);
    padding: 0.7rem 1rem;
}

body.theme-kobi .form-control:focus,
body.theme-kobi .form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--bs-primary) 12%, transparent);
}

/* ═══════════════════════════════════════
   Footer
   ═══════════════════════════════════════ */
body.theme-kobi .theme-premium-footer.site-footer {
    position: relative;
    margin-top: 3rem !important;
    overflow: hidden;
    isolation: isolate;
}

body.theme-kobi .dk-pre-footer-cta + .theme-premium-footer.site-footer {
    margin-top: 0 !important;
}

/* Üst accent çizgisi + hafif ışık efekti (panel arka plan rengi korunur) */
body.theme-kobi .theme-premium-footer.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        color-mix(in srgb, var(--bs-primary) 70%, #fff) 35%,
        var(--bs-primary) 50%,
        color-mix(in srgb, var(--bs-primary) 70%, #fff) 65%,
        transparent 100%
    );
    z-index: 2;
}

body.theme-kobi .theme-premium-footer.site-footer::after {
    content: "";
    position: absolute;
    top: 0;
    right: -5%;
    width: min(42vw, 480px);
    height: min(42vw, 480px);
    background: radial-gradient(
        circle at center,
        color-mix(in srgb, var(--bs-primary) 14%, transparent) 0%,
        transparent 68%
    );
    pointer-events: none;
    z-index: 0;
}

body.theme-kobi .theme-premium-footer > .container {
    position: relative;
    z-index: 1;
    padding-top: clamp(2.5rem, 5vw, 3.5rem) !important;
    padding-bottom: clamp(2rem, 4vw, 3rem) !important;
}

body.theme-kobi .theme-premium-footer > .container > .row {
    --bs-gutter-x: 1.75rem;
    --bs-gutter-y: 2rem;
}

/* Sütun başlıkları */
body.theme-kobi .footer-widget-heading {
    margin-bottom: 1.25rem !important;
}

body.theme-kobi .footer-widget-heading h3 {
    font-family: var(--dk-font-display);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    position: relative;
    padding-bottom: 0.75rem;
    color: var(--sf-title, inherit) !important;
}

body.theme-kobi .footer-widget-heading h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2.25rem;
    height: 2px;
    background: var(--bs-primary);
    border-radius: 2px;
}

body.theme-kobi .footer-widget {
    line-height: 1.65;
}

/* Footer linkleri — panel yazı rengi; hover'da renk değişmez */
body.theme-kobi .theme-premium-footer a,
body.theme-kobi .theme-premium-footer a.text-light {
    color: var(--sf-text, inherit) !important;
}

body.theme-kobi .theme-premium-footer a:hover,
body.theme-kobi .theme-premium-footer a:focus-visible,
body.theme-kobi .theme-premium-footer a.text-light:hover,
body.theme-kobi .theme-premium-footer a.text-light:focus-visible {
    color: var(--sf-text, inherit) !important;
}

body.theme-kobi .footer-widget-about p.small {
    line-height: 1.75;
    opacity: 0.92 !important;
    max-width: 22rem;
}

/* Sosyal medya ikonları */
body.theme-kobi .footer-widget-about .list-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

body.theme-kobi .footer-widget-about .list-inline-item {
    margin: 0 !important;
}

body.theme-kobi .footer-widget-about .list-inline-item a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--sf-text, currentColor) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--sf-text, currentColor) 22%, transparent);
    color: var(--sf-text, inherit) !important;
    transition: background 0.25s var(--dk-ease), border-color 0.25s var(--dk-ease), transform 0.25s var(--dk-ease), opacity 0.25s;
}

body.theme-kobi .footer-widget-about .list-inline-item a i {
    color: inherit;
}

body.theme-kobi .footer-widget-about .list-inline-item a:hover {
    background: color-mix(in srgb, var(--sf-text, currentColor) 18%, transparent);
    border-color: color-mix(in srgb, var(--sf-text, currentColor) 38%, transparent);
    color: var(--sf-text, inherit) !important;
    opacity: 1;
    transform: translateY(-2px);
}

/* Menü & blog linkleri */
body.theme-kobi .footer-widget-menu nav ul,
body.theme-kobi .footer-widget-posts ul {
    gap: 0.15rem;
}

body.theme-kobi .footer-widget-menu li,
body.theme-kobi .footer-widget-posts li {
    margin-bottom: 0.55rem !important;
}

body.theme-kobi .footer-widget-menu a,
body.theme-kobi .footer-widget-posts a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.92rem;
    opacity: 0.88;
    transition: opacity 0.2s var(--dk-ease), transform 0.2s var(--dk-ease);
}

body.theme-kobi .footer-widget-menu a::before,
body.theme-kobi .footer-widget-posts a::before {
    content: "";
    width: 0;
    height: 2px;
    background: var(--sf-text, currentColor);
    opacity: 0.65;
    border-radius: 1px;
    transition: width 0.2s var(--dk-ease);
    flex-shrink: 0;
}

body.theme-kobi .footer-widget-menu a:hover,
body.theme-kobi .footer-widget-posts a:hover,
body.theme-kobi .footer-widget-menu a:focus-visible,
body.theme-kobi .footer-widget-posts a:focus-visible {
    opacity: 1;
    transform: translateX(3px);
}

body.theme-kobi .footer-widget-menu a:hover::before,
body.theme-kobi .footer-widget-posts a:hover::before {
    width: 0.65rem;
}

/* İletişim sütunu */
body.theme-kobi .footer-widget-contact .fw-semibold {
    font-family: var(--dk-font-display);
    font-size: 1.05rem;
    margin-bottom: 0.85rem !important;
}

body.theme-kobi .footer-widget-contact .footer-contact-icon {
    flex-shrink: 0;
    width: 1.85rem;
    height: 1.85rem;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: color-mix(in srgb, var(--sf-text, currentColor) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--sf-text, currentColor) 20%, transparent);
    color: var(--sf-text, inherit) !important;
    font-size: 0.85rem;
}

body.theme-kobi .footer-widget-contact p.small {
    margin-bottom: 0.65rem !important;
}

body.theme-kobi .footer-widget-contact a {
    transition: opacity 0.2s var(--dk-ease);
}

body.theme-kobi .footer-widget-contact a:hover,
body.theme-kobi .footer-widget-contact a:focus-visible {
    opacity: 1;
}

/* Alt bant */
body.theme-kobi .site-footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-top: 1.15rem !important;
    padding-bottom: 1.15rem !important;
}

body.theme-kobi .site-footer-bottom .footer-legal-nav {
    border-bottom-color: rgba(255, 255, 255, 0.12) !important;
    padding-bottom: 0.85rem;
    margin-bottom: 0.85rem !important;
}

body.theme-kobi .site-footer-bottom .footer-legal-links {
    gap: 0.5rem 1rem;
}

body.theme-kobi .site-footer-bottom .footer-legal-link {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    opacity: 0.85;
    padding: 0.2rem 0;
    transition: opacity 0.2s var(--dk-ease);
}

body.theme-kobi .site-footer-bottom .footer-legal-link:hover,
body.theme-kobi .site-footer-bottom .footer-legal-link:focus-visible {
    opacity: 1;
    text-decoration: underline !important;
    text-underline-offset: 0.2em;
}

body.theme-kobi .site-footer-bottom .footer-bottom-copy {
    font-size: 0.85rem;
    opacity: 0.88;
    line-height: 1.5;
}

body.theme-kobi .site-footer-bottom .footer-bottom-right {
    font-size: 0.82rem;
    opacity: 0.75;
}

body.theme-kobi .site-footer-bottom .footer-bottom-right a {
    transition: opacity 0.2s var(--dk-ease);
}

body.theme-kobi .site-footer-bottom .footer-bottom-right a:hover,
body.theme-kobi .site-footer-bottom .footer-bottom-right a:focus-visible {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

@media (max-width: 767.98px) {
    body.theme-kobi .footer-widget-heading h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    body.theme-kobi .footer-widget-about p.small {
        max-width: none;
    }

    body.theme-kobi .footer-widget-about .list-inline {
        justify-content: center;
    }
}

@media (min-width: 992px) {
    body.theme-kobi .theme-premium-footer > .container > .row > [class*="col-"]:not(:last-child) {
        border-right: 1px solid rgba(255, 255, 255, 0.08);
        padding-right: 1.5rem;
    }
}

/* ═══════════════════════════════════════
   Misc
   ═══════════════════════════════════════ */
body.theme-kobi .pagination .page-link {
    border-radius: 0.4rem !important;
}

body.theme-kobi .pagination .page-item.active .page-link {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
}

body.theme-kobi .archive-category-card {
    border-radius: var(--dk-radius-lg) !important;
}

body.theme-kobi .archive-category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--dk-shadow-md) !important;
}

body.theme-kobi .archive-category-card[aria-current="page"] {
    border-color: color-mix(in srgb, var(--bs-primary) 35%, var(--dk-border)) !important;
    box-shadow: var(--dk-shadow-md) !important;
}

/* ═══════════════════════════════════════
   İletişim sayfası
   ═══════════════════════════════════════ */
body.theme-kobi .theme-contact-page .theme-contact-form-box {
    border: 1px solid var(--dk-border) !important;
    border-radius: var(--dk-radius-lg) !important;
    background: var(--dk-surface-card) !important;
    padding: clamp(1.25rem, 3vw, 1.75rem) !important;
    box-shadow: var(--dk-shadow-sm);
}

body.theme-kobi .theme-contact-page .theme-contact-branch-card {
    border: 1px solid var(--dk-border) !important;
    border-radius: var(--dk-radius-lg) !important;
    background: var(--dk-surface-card) !important;
    box-shadow: var(--dk-shadow-sm);
    transition: box-shadow 0.25s var(--dk-ease), border-color 0.25s;
}

body.theme-kobi .theme-contact-page .theme-contact-branch-card:hover {
    box-shadow: var(--dk-shadow-md);
    border-color: color-mix(in srgb, var(--bs-primary) 18%, var(--dk-border)) !important;
}

body.theme-kobi .theme-contact-page .theme-contact-map,
body.theme-kobi .theme-contact-page .theme-contact-branch-map {
    border-radius: var(--dk-radius-lg);
    overflow: hidden;
    border: 1px solid var(--dk-border);
}

body.theme-kobi .theme-contact-page .theme-contact-section-title {
    font-family: var(--dk-font-display);
    font-weight: 600;
    font-size: 1.12rem;
    color: var(--dk-ink);
    margin-bottom: 1rem !important;
    letter-spacing: -0.01em;
}

body.theme-kobi .theme-contact-page .alert {
    border-radius: var(--dk-radius);
    border: none;
}

/* ═══════════════════════════════════════
   Üst şerit (topbar)
   ═══════════════════════════════════════ */
body.theme-kobi .header-theme-topbar {
    font-size: 0.82rem;
    border-bottom: 1px solid var(--dk-border) !important;
}

body.theme-kobi .header-theme-topbar a {
    transition: opacity 0.2s var(--dk-ease);
}

body.theme-kobi .header-theme-topbar a:hover {
    opacity: 0.8;
}

/* ═══════════════════════════════════════
   Mobil menü
   ═══════════════════════════════════════ */
body.theme-kobi .kobicms-nav-offcanvas {
    border-right: none !important;
    box-shadow: var(--dk-shadow-lg) !important;
}

body.theme-kobi .kobicms-nav-offcanvas .offcanvas-header {
    background: var(--dk-surface);
    border-bottom: 1px solid var(--dk-border) !important;
}

body.theme-kobi .kobicms-mnav-link--active {
    border-left: 3px solid var(--bs-primary);
    background: color-mix(in srgb, var(--bs-primary) 8%, transparent);
}

body.theme-kobi .kobicms-mnav-link:hover,
body.theme-kobi .kobicms-mnav-link:focus-visible {
    background: color-mix(in srgb, var(--bs-primary) 6%, transparent);
}

/* ═══════════════════════════════════════
   Footer öncesi CTA bandı (JS enjekte)
   ═══════════════════════════════════════ */
body.theme-kobi .dk-pre-footer-cta {
    position: relative;
    margin-top: 2rem;
    padding: clamp(2.5rem, 5vw, 3.5rem) 0;
    background: var(--dk-gradient-warm);
    overflow: hidden;
}

body.theme-kobi .dk-pre-footer-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.08), transparent 45%),
        radial-gradient(circle at 85% 30%, color-mix(in srgb, var(--bs-primary) 25%, transparent), transparent 50%);
    pointer-events: none;
}

body.theme-kobi .dk-pre-footer-cta__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 2rem;
    padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 4vw, 2.5rem);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--dk-radius-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.theme-kobi .dk-pre-footer-cta__title {
    font-family: var(--dk-font-display);
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.35rem;
    line-height: 1.25;
}

body.theme-kobi .dk-pre-footer-cta__lead {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 36rem;
}

body.theme-kobi .dk-pre-footer-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    flex-shrink: 0;
}

body.theme-kobi .dk-pre-footer-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1.35rem;
    border-radius: var(--dk-radius-pill);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: transform 0.2s var(--dk-ease), box-shadow 0.2s, background 0.2s;
}

body.theme-kobi .dk-pre-footer-cta__btn--primary {
    background: #fff;
    color: var(--dk-ink);
    box-shadow: var(--dk-shadow-sm);
}

body.theme-kobi .dk-pre-footer-cta__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--dk-shadow-md);
    color: var(--dk-ink);
}

body.theme-kobi .dk-pre-footer-cta__btn--ghost {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
}

body.theme-kobi .dk-pre-footer-cta__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 767.98px) {
    body.theme-kobi .dk-pre-footer-cta__inner {
        flex-direction: column;
        text-align: center;
    }

    body.theme-kobi .dk-pre-footer-cta__actions {
        justify-content: center;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.theme-kobi .kobi-section-head.dk-reveal > .kobi-section-head__eyebrow,
    body.theme-kobi .kobi-section-head.dk-reveal > .kobi-section-head__title,
    body.theme-kobi .kobi-section-head.dk-reveal > .kobi-section-head__lead {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    body.theme-kobi .dk-reveal,
    body.theme-kobi .team-item,
    body.theme-kobi .team-item .ratio img {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}
