/* Techwix önizlemesi — Kriter markasına uyarlama (renkler style.kriter.css'te maviden turuncuya çevrildi) */

/* Önizleme uyarı şeridi */
.kr-preview-bar {
    background: #141414;
    color: #fff;
    font-size: 14px;
    text-align: center;
    padding: 8px 16px;
}
.kr-preview-bar a { color: #ff9d6e; text-decoration: underline; margin-left: 6px; }

/* Logo: şablon sabit 150px genişlik veriyor; bizim logo oranına göre yükseklikten ölçekle */
.header-logo a img.kr-logo,
.footer-logo img.kr-logo,
.offcanvas-logo img.kr-logo { width: auto; max-height: 48px; }
.footer-logo img.kr-logo { max-height: 54px; }
.kr-logo-invert { filter: brightness(0) invert(1); }

/* Hero */
.kr-hero { background-image: url("assets/images/bg/hero-bg1.png"); }
.techwix-hero-section .hero-content .title { font-size: 60px; line-height: 1.15; }
@media (max-width: 1199px) { .techwix-hero-section .hero-content .title { font-size: 48px; } }
@media (max-width: 575px) { .techwix-hero-section .hero-content .title { font-size: 36px; } }

.kr-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.kr-btns .btn { padding: 0 40px; }
.btn.btn-outline {
    background: transparent;
    color: #ec4012;
    box-shadow: inset 0 0 0 2px #ec4012;
}
.btn.btn-outline:hover { color: #fff; }
.kr-mt { margin-top: 30px; }
.kr-mt-lg { margin-top: 50px; }

/* Mavi PNG ikonlar yerine Font Awesome, turuncu daire içinde */
.kr-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(195deg, #ec4012 0%, #ff7a45 100%);
    color: #fff;
    font-size: 30px;
}
.kr-icon img { max-width: 44px; max-height: 44px; filter: brightness(0) invert(1); }
.kr-icon.kr-icon-sm { width: 60px; height: 60px; font-size: 24px; }
.single-counter .counter-img.kr-icon { flex: 0 0 auto; }

/* Hakkımızda: lacivert yerine logonun siyahı */
.techwix-about-section.kr-about { background: #141414; }

/* Ürün kartları (logolar kesilmeden, eşit boy) */
.kr-tw-product {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
    border-top: 4px solid #ec4012;
}
.kr-tw-product:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12); }
.kr-tw-product-media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 8;
    padding: 30px 40px;
    background: #f8f8f8;
}
.kr-tw-product-media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.kr-tw-product-body { display: flex; flex-direction: column; flex: 1; padding: 28px 30px 30px; }
.kr-tw-product-body .title { font-size: 24px; margin: 10px 0 12px; }
.kr-tw-product-body .title a:hover { color: #ec4012; }
.kr-tw-product-body p { font-size: 15px; margin-bottom: 0; }
.kr-tw-tag {
    align-self: flex-start;
    font-size: 13px;
    font-weight: 600;
    color: #ec4012;
    background: #fdede8;
    border-radius: 50px;
    padding: 4px 12px;
}
.kr-tw-product-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 24px;
}
.kr-tw-quote {
    font-size: 14px;
    font-weight: 600;
    color: #ec4012;
    border: 1px solid #ec4012;
    border-radius: 5px;
    padding: 8px 16px;
    transition: all .3s;
}
.kr-tw-quote:hover { background: #ec4012; color: #fff; }

/* Yorumlar: şablonun ikon PNG'si yerine */
.kr-quote { font-size: 36px; color: #ec4012; }

/* Blog kapakları eşit boy */
/* WP görselleri çok geniş (2.7:1), yeniler kareye yakın → kırpmadan sığdır */
.single-blog .blog-image a img { width: 100%; aspect-ratio: 2 / 1; object-fit: contain; background: #f3f3f3; }
.blog-details-post .single-blog .blog-image img { width: 100%; height: auto; }

/* Marka logoları */
.single-brand img { max-height: 60px; width: auto; filter: grayscale(100%); opacity: .7; transition: all .3s; }
.single-brand a:hover img { filter: none; opacity: 1; }

/* Alt çağrı kutusu */
.kr-bottom-cta { padding-bottom: 100px; }
.kr-bottom-cta-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: linear-gradient(120deg, #ec4012 0%, #ff7a45 100%);
    border-radius: 10px;
    padding: 50px 60px;
    color: #fff;
}
.kr-bottom-cta-box h2 { color: #fff; font-size: 40px; margin-bottom: 10px; }
.kr-bottom-cta-box p { color: rgba(255, 255, 255, .9); margin: 0; }
.btn.btn-white { background: #fff; color: #ec4012; }
.btn.btn-outline-white { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
@media (max-width: 767px) {
    .kr-bottom-cta-box { padding: 36px 26px; }
    .kr-bottom-cta-box h2 { font-size: 30px; }
}

/* Footer: şablonun lacivert görseli yerine koyu zemin */
.footer-section.kr-footer { background: #141414; }

/* WhatsApp */
.kr-wa {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 99;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}
.kr-wa:hover { color: #fff; transform: scale(1.06); }

/* Şablonun beyaz ikon kutuları: PNG yerine turuncu Font Awesome ikon */
.techwix-cta-section .cta-wrap .cta-icon i,
.single-counter .counter-img i { color: #ec4012; font-size: 34px; line-height: inherit; vertical-align: middle; }


/* ---- Mevcut siteden ortak parçalar (zengin metin, form, arama, çerez) ---- */
.kr-rich h2 { font-size: 30px; margin: 28px 0 14px; }
.kr-rich h3 { font-size: 24px; margin: 24px 0 12px; }
.kr-rich h4 { font-size: 20px; margin: 20px 0 10px; }
.kr-rich p { margin-bottom: 16px; }
.kr-rich img { max-width: 100%; height: auto; border-radius: 12px; }
.kr-rich a { color: #ec4012; text-decoration: underline; }
.kr-rich blockquote { border-left: 4px solid #ec4012; padding: 8px 20px; margin: 20px 0; font-style: italic; }
.kr-rich table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.kr-rich th, .kr-rich td { border: 1px solid #e3e3e3; padding: 8px 12px; }

.kr-rich ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.kr-rich ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.kr-rich ul li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: #ec4012;
    font-weight: 700;
}

.kr-rich ol {
    padding-left: 22px;
    margin-bottom: 20px;
}

.kr-rich ol li {
    margin-bottom: 8px;
}


.kr-pre-line {
    white-space: pre-line;
}


.kr-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.kr-kvkk {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.5;
    margin: 6px 0 22px;
    cursor: pointer;
}

.kr-kvkk input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex: 0 0 18px;
    accent-color: #ec4012;
}

.kr-kvkk a {
    color: #ec4012;
    text-decoration: underline;
}

.kr-form-result {
    margin-top: 18px;
    font-weight: 600;
}

.kr-form-result.is-success { color: #1A7F37; }
.kr-form-result.is-error { color: #C62828; }


.kr-search-results {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.kr-search-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 24px;
    border: 1px solid #e3e3e3;
    border-radius: 14px;
    background: #FFFFFF;
    transition: border-color .2s;
}

.kr-search-item:hover {
    border-color: #ec4012;
}

.kr-search-type {
    font-size: 13px;
    font-weight: 600;
    color: #ec4012;
    text-transform: uppercase;
}

.kr-search-title {
    font-family: "Barlow", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0e0e0e;
}

.kr-search-summary {
    color: #4c4d56;
}

/* Sabit WhatsApp butonu */

.kr-cookie {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 32px);
    max-width: 880px;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    background: #111111;
    color: #E8E8E8;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
    font-size: 14px;
}

.kr-cookie[hidden] {
    display: none;
}

.kr-cookie a {
    color: #FFFFFF;
    text-decoration: underline;
}

.kr-cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.kr-cookie-btn {
    border: 1px solid #555555;
    background: transparent;
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
}

.kr-cookie-btn.kr-cookie-accept {
    background: #ec4012;
    border-color: #ec4012;
}

@media (max-width: 767px) {
    .kr-cookie {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .kr-cookie-buttons {
        justify-content: center;
    }

    .kr-whatsapp {
        left: 16px;
        bottom: 16px;
    }
}

/* ---- Footer bülten formu (Views/Shared/_NewsletterForm) ---- */
.kr-newsletter {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px 48px;
    padding: 56px 0 44px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.kr-newsletter-text { flex: 1 1 320px; max-width: 460px; }
.kr-newsletter-title { color: #fff; font-size: 26px; line-height: 1.3; margin: 0 0 10px; }
.kr-newsletter-text p { color: rgba(255, 255, 255, .7); margin: 0; }
.kr-newsletter-form { flex: 1 1 420px; max-width: 580px; }
.kr-newsletter-field {
    display: flex;
    gap: 8px;
    padding: 6px;
    background: #fff;
    border-radius: 50px;
}
.kr-newsletter .kr-newsletter-field input {
    flex: 1 1 auto;
    min-width: 0;
    height: 50px;
    padding: 0 20px;
    border: 0 !important;
    border-radius: 50px;
    outline: 0;
    box-shadow: none !important;
    background: transparent !important;
    color: #1d1d1d;
    font-size: 15px;
}
.kr-newsletter-field button {
    flex: 0 0 auto;
    height: 50px;
    padding: 0 28px;
    border: 0;
    border-radius: 50px;
    background: #ec4012;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    transition: background .2s;
}
.kr-newsletter-field button:hover { background: #c9340c; }
.kr-newsletter-field button:disabled { opacity: .7; }
.kr-newsletter .kr-newsletter-consent { margin: 14px 4px 0; font-size: 13px; color: rgba(255, 255, 255, .7); }
.kr-newsletter .kr-newsletter-consent a { color: #ff7a50; }
.kr-newsletter .kr-form-result { margin: 10px 4px 0; font-size: 14px; }
.kr-newsletter .kr-form-result:empty { display: none; }
.kr-newsletter .kr-form-result.is-success { color: #6fdc8c; }
.kr-newsletter .kr-form-result.is-error { color: #ff8a80; }
@media (max-width: 575px) {
    .kr-newsletter { padding: 40px 0 32px; }
    .kr-newsletter-title { font-size: 22px; }
    .kr-newsletter-field { flex-direction: column; border-radius: 16px; }
    .kr-newsletter .kr-newsletter-field input { height: 46px; }
    .kr-newsletter-field button { border-radius: 12px; height: 46px; }
}

/* Bülten aboneliğinden çıkma sayfası */
.kr-unsubscribe-icon { font-size: 54px; color: #ec4012; margin-bottom: 18px; }

/* Anasayfa kampanya bandı (_CampaignBanner): tam genişlik tıklanabilir görsel + buton */
/* clear: Techwix hero (.techwix-hero-section) float:left; temizlenmezse overflow:hidden bant 0 genişliğe daralır */
.kr-campaign-section { clear: both; padding: 60px 0 10px; }
.kr-campaign + .kr-campaign { margin-top: 24px; }
.kr-campaign {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 36px rgba(0, 0, 0, .08);
    transition: box-shadow .2s, transform .2s;
}
.kr-campaign:hover { box-shadow: 0 16px 46px rgba(0, 0, 0, .12); }
.kr-campaign-link { display: block; color: inherit; text-decoration: none; }
.kr-campaign-media { display: block; }
.kr-campaign-media img { display: block; width: 100%; height: auto; }
.kr-campaign-btn {
    position: absolute;
    right: 24px;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ec4012;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3;
    padding: 14px 24px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(236, 64, 18, .35);
    transition: background .15s;
}
.kr-campaign-arrow { font-size: 18px; line-height: 1; transition: transform .15s; }
.kr-campaign-link:hover .kr-campaign-btn { background: #c9340c; }
.kr-campaign-link:hover .kr-campaign-arrow { transform: translateX(3px); }
.kr-campaign-link:focus-visible { outline: 3px solid #ec4012; outline-offset: 3px; }
@media (max-width: 767px) {
    .kr-campaign-section { padding: 30px 0 0; }
    .kr-campaign + .kr-campaign { margin-top: 18px; }
    .kr-campaign-btn {
        position: static;
        display: flex;
        justify-content: center;
        border-radius: 0;
        box-shadow: none;
        padding: 14px 16px;
        font-size: 15px;
        white-space: normal;
        text-align: center;
    }
}
