/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

/* ─── Marka Rengi — brand.php'deki BRAND_COLOR header.php'de override eder ─── */
:root {
    --brand-color: #E31E24; /* brand.php → header.php'deki <style> tag'ı bunu override eder */
}

/* ==========================================
   LEAD FORM (Ana Sayfa İletişim Formu)
   ========================================== */

.ism-lead-form-wrap {
    text-align: left;
    max-width: 720px;
    padding: 2.5rem 2rem;
}
.ism-lead-form-wrap h2 {
    margin-bottom: .75rem;
}
.ism-lead-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ism-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
@media (max-width: 767.98px) {
    .ism-form-row { grid-template-columns: 1fr; }
    .ism-lead-form-wrap { padding: 1.5rem 1rem; }
}
.ism-form-group {
    display: flex;
    flex-direction: column;
}
.ism-form-input {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 4px;
    padding: 14px 18px;
    font-size: .9rem;
    color: inherit;
    outline: none;
    transition: border-color .25s;
    width: 100%;
    font-family: inherit;
}
.ism-form-input::placeholder { color: rgba(255,255,255,.45); }
.ism-form-input:focus { border-color: var(--color-accent); }
.ism-form-textarea { resize: vertical; min-height: 110px; }
.ism-submit-btn { align-self: flex-start; margin-top: 6px; }

/* ==========================================
   HERO — eyebrow label için nokta rengi
   ========================================== */
.mxd-hero-01__marquee .mxd-point-subtitle svg { flex-shrink: 0; }

/* ==========================================
   HERO BANNER
   ========================================== */

/* Karartma katmanı — üst temiz, alt orta yoğunlukta */
.banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 35%,
        rgba(0, 0, 0, .22) 58%,
        rgba(0, 0, 0, .72) 100%
    );
}

/* İçerik sarmalayıcı — sol taraf, alttan 15vh yukarıda */
.banner-content {
    position: relative;
    padding: 0 0 15vh 64px;
    max-width: 680px;
}
@media (max-width: 767.98px) {
    .banner-content { padding: 0 24px 10vh; max-width: 100%; }
}

/* Eyebrow */
.banner-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
    margin-bottom: 14px;
}
.banner-eyebrow-line {
    display: block;
    width: 24px;
    height: 1px;
    background: rgba(255, 255, 255, .35);
    flex-shrink: 0;
}

/* Ana başlık */
.banner-heading {
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin: 0 0 14px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .5);
}
@media (max-width: 575.98px) {
    .banner-heading { letter-spacing: -.5px; }
}

/* Alt açıklama */
.banner-desc {
    font-size: .95rem;
    color: rgba(255, 255, 255, .65);
    line-height: 1.65;
    margin: 0 0 28px;
    max-width: 480px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}

/* Buton */
.banner-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.banner-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--brand-color);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 13px 28px;
    border-radius: 3px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(255, 0, 13, .3);
    transition: background .25s, gap .2s, box-shadow .25s;
}
.banner-btn-primary:hover {
    background: #d40010;
    color: #fff;
    text-decoration: none;
    gap: 16px;
    box-shadow: 0 6px 28px rgba(255, 0, 13, .48);
}

/* Drone temasının baskın mavisini ezen kök değişkenler */
:root, body, body.stretched {
    --cnvs-theme-color: var(--brand-color) !important;
    --cnvs-themecolor: var(--brand-color) !important;
}

/* Garanti olması için Bootstrap'in ana renk değişkenini de güncelleyelim */
.bg-color, .bg-color #header-wrap {
    background-color: var(--cnvs-theme-color) !important;
}

.color, .h-text-color:hover {
    color: var(--cnvs-theme-color) !important;
}

.border-color {
    border-color: var(--cnvs-theme-color) !important;
}

/* ==========================================
   CTA BUTONLARI (About Us kırmızı bölüm)
   ========================================== */

/* "Kataloğu İncele" — beyaz bg, kırmızı yazı → hover: kırmızı bg, beyaz yazı */
.bg-color .button.bg-white {
    transition: background-color .25s, color .25s, border-color .25s;
}
.bg-color .button.bg-white:hover {
    background-color: transparent !important;
    color: #fff !important;
    border-color: #fff !important;
}

/* "Bize Ulaşın" — şeffaf bg, beyaz border, beyaz yazı → hover: beyaz bg, kırmızı yazı */
.bg-color .button.button-border.button-light {
    transition: background-color .25s, color .25s;
}
.bg-color .button.button-border.button-light:hover {
    background-color: #fff !important;
    color: var(--cnvs-theme-color) !important;
    border-color: #fff !important;
}

/* ==========================================
   DİL SEÇİCİ — Active & Hover
   ========================================== */

/* Active dil item — Bootstrap mavisi yerine kırmızı */
.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--cnvs-theme-color) !important;
    color: #fff !important;
}

/* Hover — hafif kırmızı ton */
.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(255, 0, 13, .08) !important;
    color: var(--cnvs-theme-color) !important;
}
/* ==========================================
   SERTİFİKALAR (CERTIFICATES) VİTRİN CSS
   ========================================== */

.certificates-grid {
    display: flex;
    flex-wrap: wrap;
}

.cert-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    padding-bottom: 20px;
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.cert-image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #f8f9fa; /* PDF veya resim yüklenene kadar gri arkaplan */
    border-bottom: 1px solid #eee;
}

.cert-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resimlerin sünmesini engeller, ortalayarak keser */
    object-position: top center; /* Belgelerin üst kısımlarını odaklar */
    transition: transform 0.4s ease;
}

/* Hover Efekti (Kararma ve İkon) */
.cert-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Siyah transparanlık */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cert-image-wrapper:hover .cert-overlay {
    opacity: 1;
    visibility: visible;
}

.cert-image-wrapper:hover .cert-img {
    transform: scale(1.08); /* Resim hafifçe dışa doğru büyür */
}

.cert-icon-zoom {
    font-size: 2rem;
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.cert-image-wrapper:hover .cert-icon-zoom {
    transform: translateY(0);
}

/* Detaylar ve Buton */
.cert-details {
    padding: 20px 15px 0;
}

.cert-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.cert-download-btn {
    border-radius: 50px;
    padding: 6px 15px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.3s ease, color 0.3s ease;
}
    /* Custom transition for button hover effects */
    .btn-transition {
        transition: all 0.3s ease;
    }

    /* Subtle background pattern to match the clean aesthetic */
    .bg-pattern {
        background-color: #ffffff;
        background-image: radial-gradient(#e5e7eb 0.5px, transparent 0.5px);
        background-size: 20px 20px;
    }
    .page-header{
/* Desktop: floating-header margin-top(60px) + clone yüksekliği(61px) = 121px yukarı çek */
margin-top:-121px;
padding:220px 0 100px;
background:
    linear-gradient(rgba(0,0,0,.52), rgba(0,0,0,.52)),
    url('/assets/images/erkab-breadcrumb.png') center center / cover no-repeat;
text-align:center;
}
.page-header h1{
font-size:2.4rem;
font-weight:700;
color:#fff;
margin:0;
letter-spacing:.5px;
text-shadow:0 2px 8px rgba(0,0,0,.4);
}
@media (max-width:991.98px){
    .page-header{
        margin-top:0;
        padding:100px 0 60px;
    }
    .page-header h1{ font-size:1.8rem; }
}

.page-header .breadcrumb{
font-size:13px;
margin-bottom:14px;
color:rgba(255,255,255,.75);
display:flex;
align-items:center;
justify-content:center;
gap:6px;
}
.page-header .breadcrumb a{
color:#fff;
text-decoration:none;
opacity:.85;
}
.page-header .breadcrumb a:hover{ opacity:1; text-decoration:underline; }
.page-header .breadcrumb span{ color:rgba(255,255,255,.6); }

/* ==========================================
   MOBİL HEADER — Logo / Dil / Hamburger
   ========================================== */

/* Mobil: header bar tek satır, tam hizalı (992px altı = is-expanded-menu YOK) */
body:not(.is-expanded-menu) #header-wrap .header-row {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap !important;
    padding: 0 16px;
    height: 64px;
    gap: 0;
}

/* Nav elementi flex sıraya katılmasın — position:fixed zaten flow dışına alır */
body:not(.is-expanded-menu) nav.primary-menu:not(.primary-menu-active) {
    flex: 0 0 0 !important;
    overflow: visible;
}

/* Logo — solda, sabit yükseklik */
body:not(.is-expanded-menu) #logo {
    flex-shrink: 0;
    margin: 0 !important;
    order: 1;
}
body:not(.is-expanded-menu) #logo img {
    height: 30px !important;
    width: auto;
    padding: 0 !important;
}

/* Dil seçici — logo ile hamburger arasında, sağa yapışık */
body:not(.is-expanded-menu) .header-misc {
    margin-left: auto !important;
    margin-right: 0 !important;
    display: flex !important;
    align-items: center;
    order: 2;
    flex-shrink: 0;
}
/* me-3 Bootstrap class'ını sıfırla */
body:not(.is-expanded-menu) .header-misc-icon {
    margin-right: 0 !important;
}

/* Dil butonu — sadece bayrak ikonu */
body:not(.is-expanded-menu) .header-misc-icon > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    background: rgba(0,0,0,.06);
    text-decoration: none;
    transition: background .2s;
}
body:not(.is-expanded-menu) .header-misc-icon > a:hover {
    background: rgba(0,0,0,.13);
}
body:not(.is-expanded-menu) .header-misc-icon > a img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: block;
}
/* Dropdown arrow gizle */
body:not(.is-expanded-menu) .header-misc-icon > a::after {
    display: none !important;
}

/* Desktop: dil seçiciyi sağa it */
body.is-expanded-menu .header-misc {
    margin-left: auto !important;
}

/* Hamburger butonu — dil seçicinin sağında, her zaman sağa yapışık */
body:not(.is-expanded-menu) .primary-menu-trigger {
    flex-shrink: 0;
    order: 3;
    margin-left: 8px;
    padding: 8px !important;
    width: 40px;
    height: 40px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(0,0,0,.06);
    transition: background .2s;
}
body:not(.is-expanded-menu) .primary-menu-trigger:hover {
    background: rgba(0,0,0,.12);
}

/* Hamburger çizgileri biraz büyüt */
body:not(.is-expanded-menu) .cnvs-hamburger {
    --cnvs-hamburger-size: 18px;
    --cnvs-hamburger-width: 2px;
}

/* Dropdown menüsü mobilde düzgün açılsın */
body:not(.is-expanded-menu) .header-misc-icon .dropdown-menu {
    min-width: 140px;
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12) !important;
}
body:not(.is-expanded-menu) .header-misc-icon .dropdown-menu .dropdown-item {
    border-radius: 6px;
    font-size: 13px;
    padding: 8px 12px;
}

/* ==========================================
   MOBİL MENÜ — Tasarım & Animasyon
   ========================================== */

/*
 * OVERLAY: body::before kullanmıyoruz çünkü #header z-index:299 kendi
 * stacking context oluşturuyor — body::before 9998'de olsa header içindeki
 * menüyü kapatıyor. JS ile enjekte edilen #mobile-overlay kullanıyoruz.
 */
#mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 290; /* header(299) altında ama sayfa içeriği üstünde */
    transition: opacity .35s ease;
    opacity: 0;
    cursor: pointer;
}
#mobile-overlay.visible {
    display: block;
    opacity: 1;
}

/* Menü paneli — Canvas display:none/block'unu bozmamak için
   sadece primary-menu-active geldiğinde flex yapıyoruz */
body:not(.is-expanded-menu) .primary-menu.primary-menu-active {
    display: flex !important;
    flex-direction: column;
    position: fixed !important;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    height: 100dvh;
    background: #0f0f1a;
    z-index: 400; /* header(299) üstünde, overlay(290) üstünde */
    overflow-y: auto;
    padding: 0;
    box-shadow: -6px 0 40px rgba(0,0,0,.4);
    animation: mPanelIn .35s cubic-bezier(.4,0,.2,1) both;
}

@keyframes mPanelIn {
    from { transform: translateX(100%); opacity: .6; }
    to   { transform: translateX(0);    opacity: 1; }
}

/* Kapatma butonu */
.mobile-menu-close {
    display: none; /* desktop'ta gizle */
}
body:not(.is-expanded-menu) .primary-menu.primary-menu-active .mobile-menu-close {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 20px 16px;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,.08);
    cursor: pointer;
    flex-shrink: 0;
    color: rgba(255,255,255,.9);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}
body:not(.is-expanded-menu) .primary-menu.primary-menu-active .mobile-menu-close::before {
    content: 'MENÜ';
    color: rgba(255,255,255,.3);
}
body:not(.is-expanded-menu) .primary-menu.primary-menu-active .mobile-menu-close i {
    font-size: 16px;
    color: rgba(255,255,255,.5);
    transition: color .2s, transform .2s;
}
body:not(.is-expanded-menu) .primary-menu.primary-menu-active .mobile-menu-close:hover i {
    color: var(--brand-color);
    transform: rotate(90deg);
}

/* Menü container */
body:not(.is-expanded-menu) .primary-menu.primary-menu-active .menu-container {
    padding: 10px 0 32px;
    list-style: none;
    margin: 0;
    flex: 1;
}

/* Menü linkleri */
body:not(.is-expanded-menu) .primary-menu.primary-menu-active .menu-item > .menu-link {
    display: flex !important;
    align-items: center;
    padding: 13px 24px;
    color: rgba(255,255,255,.8) !important;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none !important;
    border-left: 3px solid transparent;
    transition: background .2s, border-color .2s;
}
body:not(.is-expanded-menu) .primary-menu.primary-menu-active .menu-item > .menu-link:hover {
    background: rgba(255,255,255,.06);
    color: #fff !important;
    border-left-color: var(--brand-color);
}

/* Aktif sayfa */
body:not(.is-expanded-menu) .primary-menu.primary-menu-active .menu-item.current > .menu-link,
body:not(.is-expanded-menu) .primary-menu.primary-menu-active .menu-item.current-menu-parent > .menu-link {
    color: #fff !important;
    border-left-color: var(--brand-color);
    background: rgba(255,0,13,.12);
}

/* Alt menü */
body:not(.is-expanded-menu) .primary-menu.primary-menu-active .sub-menu-container {
    background: rgba(0,0,0,.2) !important;
    border: none !important;
    padding: 4px 0;
    box-shadow: none !important;
    position: static !important;
    width: 100% !important;
    min-width: unset !important;
}
body:not(.is-expanded-menu) .primary-menu.primary-menu-active .sub-menu-container .menu-item > .menu-link {
    padding: 9px 24px 9px 40px !important;
    font-size: 13.5px;
    color: rgba(255,255,255,.55) !important;
    border-left: 3px solid transparent;
}
body:not(.is-expanded-menu) .primary-menu.primary-menu-active .sub-menu-container .menu-item > .menu-link:hover {
    color: rgba(255,255,255,.85) !important;
    background: rgba(255,255,255,.05);
    border-left-color: var(--brand-color);
}

/* Sub-menu trigger ok ikonu (Canvas dinamik ekliyor) */
body:not(.is-expanded-menu) .primary-menu.primary-menu-active .sub-menu-trigger {
    color: rgba(255,255,255,.4) !important;
    margin-left: auto;
    border: none !important;
    background: none !important;
    padding: 0 20px !important;
    font-size: 12px !important;
    transition: transform .25s, color .2s;
}
body:not(.is-expanded-menu) .primary-menu.primary-menu-active .sub-menu-trigger.sub-menu-open {
    transform: rotate(90deg);
    color: var(--brand-color) !important;
}

/* Item animasyonu — panel açıldıktan sonra */
body:not(.is-expanded-menu) .primary-menu.primary-menu-active .menu-container > .menu-item {
    animation: mItemIn .3s ease both;
}
body:not(.is-expanded-menu) .primary-menu.primary-menu-active .menu-container > .menu-item:nth-child(1) { animation-delay: .06s; }
body:not(.is-expanded-menu) .primary-menu.primary-menu-active .menu-container > .menu-item:nth-child(2) { animation-delay: .12s; }
body:not(.is-expanded-menu) .primary-menu.primary-menu-active .menu-container > .menu-item:nth-child(3) { animation-delay: .18s; }
body:not(.is-expanded-menu) .primary-menu.primary-menu-active .menu-container > .menu-item:nth-child(4) { animation-delay: .24s; }
body:not(.is-expanded-menu) .primary-menu.primary-menu-active .menu-container > .menu-item:nth-child(5) { animation-delay: .30s; }
body:not(.is-expanded-menu) .primary-menu.primary-menu-active .menu-container > .menu-item:nth-child(6) { animation-delay: .36s; }
body:not(.is-expanded-menu) .primary-menu.primary-menu-active .menu-container > .menu-item:nth-child(7) { animation-delay: .42s; }

@keyframes mItemIn {
    from { opacity: 0; transform: translateX(16px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ==========================================
   SCROLL TO TOP — Mobil
   ========================================== */
@media (max-width: 991.98px) {
    #gotoTop {
        width: 44px !important;
        height: 44px !important;
        line-height: 44px !important;
        font-size: 1.25rem !important;
        right: 16px !important;
        bottom: 20px !important;
        border-radius: 50% !important;
        background-color: var(--brand-color) !important;
        box-shadow: 0 4px 14px rgba(255,0,13,.4);
        opacity: 0;
        z-index: -999;
        transition: opacity .3s ease, background-color .2s;
    }
    .gototop-active #gotoTop {
        opacity: 1 !important;
        z-index: 599 !important;
    }
    #gotoTop:hover,
    #gotoTop:active {
        background-color: #cc0000 !important;
    }
}

/* Desktop aktif link rengi */
@media (min-width: 992px) {
    body.is-expanded-menu .primary-menu .menu-item.current > .menu-link > div,
    body.is-expanded-menu .primary-menu .menu-item.current-menu-parent > .menu-link > div {
        color: var(--brand-color);
    }
    body.is-expanded-menu .primary-menu .menu-item > .menu-link::after {
        background-color: var(--brand-color) !important;
    }
}

/* ==========================================
   KULLANIM ALANLARI (KUA) BÖLÜMÜ
   ========================================== */

.kua-section {
    background: #f4f5f7;
    padding: 96px 0 104px;
    margin-top: calc(-1 * var(--cnvs-content-padding));
    position: relative;
    overflow: hidden;
}

.kua-section::before {
    content: 'ERKAB';
    position: absolute;
    right: -2%;
    bottom: -10%;
    font-size: 22vw;
    font-weight: 900;
    color: rgba(0,0,0,.03);
    letter-spacing: -.04em;
    pointer-events: none;
    user-select: none;
    line-height: 1;
}

/* Başlık */
.kua-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--brand-color);
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.kua-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--brand-color);
    display: inline-block;
    flex-shrink: 0;
}

.kua-title {
    font-size: clamp(1.9rem, 3.2vw, 2.7rem);
    font-weight: 800;
    color: #111;
    letter-spacing: -.5px;
    line-height: 1.18;
    margin: 0 0 20px;
}

.kua-sub {
    font-size: .95rem;
    color: #666;
    line-height: 1.78;
    max-width: 560px;
    margin: 0;
}

/* ---- Expanding Panels ---- */
.kua-panels {
    display: flex;
    height: 580px;
    overflow: hidden;
}

.kua-panel {
    position: relative;
    flex: 1;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.65s cubic-bezier(.4,0,.2,1);
    background-image: var(--panel-bg);
    background-size: cover;
    background-position: center;
    background-color: #1c1c1c;
}

.kua-panel.is-active {
    flex: 3.5;
}

.kua-panel-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.58);
    transition: background 0.5s ease;
    pointer-events: none;
}

.kua-panel.is-active .kua-panel-overlay {
    background: linear-gradient(
        to top,
        rgba(0,0,0,.88) 0%,
        rgba(0,0,0,.38) 45%,
        rgba(0,0,0,.22) 100%
    );
}

/* Kırmızı sol şerit */
.kua-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px;
    height: 0;
    background: var(--brand-color);
    z-index: 3;
    border-radius: 0 0 4px 0;
    transition: height 0.55s cubic-bezier(.4,0,.2,1);
}

.kua-panel.is-active::before {
    height: 80px;
}

.kua-panel-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 16px;
    z-index: 2;
    transition: justify-content 0.4s ease, align-items 0.4s ease, padding 0.4s ease;
}

.kua-panel.is-active .kua-panel-inner {
    justify-content: flex-end;
    align-items: flex-start;
    padding: 36px 40px;
}

/* Meta: num + icon + name */
.kua-panel-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.kua-panel.is-active .kua-panel-meta {
    flex-direction: row;
    gap: 14px;
    margin-bottom: 4px;
}

.kua-panel-num {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,.45);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
    transition: color 0.3s;
}

.kua-panel.is-active .kua-panel-num {
    color: var(--brand-color);
}

.kua-panel-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(4px);
    transition: background 0.3s ease;
}

.kua-panel.is-active .kua-panel-icon {
    background: rgba(255,0,13,.22);
}

.kua-panel-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
    opacity: .55;
    transition: opacity 0.3s;
}

.kua-panel.is-active .kua-panel-icon img {
    opacity: 1;
}

.kua-panel-name {
    font-size: 11.5px;
    font-weight: 600;
    color: rgba(255,255,255,.6);
    letter-spacing: .07em;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    max-height: 130px;
    white-space: nowrap;
}

.kua-panel.is-active .kua-panel-name {
    color: #fff;
    writing-mode: horizontal-tb;
    transform: none;
    max-height: none;
}

/* Body: başlık + açıklama + link (yalnızca active'de görünür) */
.kua-panel-body {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.55s ease, opacity 0.35s ease 0.15s;
    margin-top: 0;
}

.kua-panel.is-active .kua-panel-body {
    max-height: 280px;
    opacity: 1;
    margin-top: 18px;
}

.kua-panel-h {
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -.3px;
    line-height: 1.18;
    margin: 0 0 10px;
}

.kua-panel-p {
    font-size: .875rem;
    color: rgba(255,255,255,.62);
    line-height: 1.75;
    margin: 0 0 22px;
    max-width: 440px;
}

.kua-panel-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--brand-color);
    color: #fff;
    text-decoration: none;
    padding: 11px 26px;
    border-radius: 3px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    box-shadow: 0 4px 20px rgba(255,0,13,.3);
    transition: background .25s, gap .2s, box-shadow .25s;
}

.kua-panel-link:hover {
    background: #d40010;
    gap: 16px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 28px rgba(255,0,13,.48);
}

/* Responsive */
@media (max-width: 991.98px) {
    .kua-section { padding: 64px 0 0; }
    .kua-section::before { display: none; }

    .kua-panels {
        flex-direction: column;
        height: auto;
        margin-top: 40px;
    }

    .kua-panel {
        height: 80px;
        flex: none;
        transition: height 0.55s cubic-bezier(.4,0,.2,1);
    }

    .kua-panel.is-active {
        height: 400px;
        flex: none;
    }

    .kua-panel:not(.is-active) .kua-panel-inner {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        padding: 0 20px;
    }

    .kua-panel:not(.is-active) .kua-panel-meta {
        flex-direction: row;
        gap: 12px;
    }

    .kua-panel:not(.is-active) .kua-panel-name {
        writing-mode: horizontal-tb;
        transform: none;
        max-height: none;
    }

    .kua-panel.is-active .kua-panel-inner {
        padding: 28px 28px;
    }
}

@media (max-width: 575.98px) {
    .kua-panel.is-active { height: 340px; }
    .kua-panel-p { display: none; }
    .kua-panel.is-active .kua-panel-inner { padding: 22px 20px; }
}

/* Ürünler bölümü "Tümünü Gör" butonu */
.erkab-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--brand-color);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 13px 28px;
    border-radius: 3px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(255,0,13,.3);
    transition: background .25s, gap .2s, box-shadow .25s;
}
.erkab-all-btn:hover {
    background: #d40010;
    color: #fff;
    text-decoration: none;
    gap: 16px;
    box-shadow: 0 6px 28px rgba(255,0,13,.48);
}

/* ==========================================
   ANASAYFA ÜRÜN SLİDERI
   ========================================== */
.erkab-outer {
    position: relative;
    padding: 0 56px;
}
@media (max-width: 575px) {
    .erkab-outer { padding: 0 44px; }
}
.erkab-viewport {
    overflow: hidden;
    cursor: grab;
    user-select: none;
}
.erkab-viewport:active {
    cursor: grabbing;
}
.erkab-track {
    display: flex;
    gap: 20px;
    transition: transform .42s cubic-bezier(.25,.46,.45,.94);
    will-change: transform;
}
.erkab-slide {
    flex-shrink: 0;
    min-width: 0;
}
.erkab-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    transition: box-shadow .25s, transform .25s;
    height: 100%;
}
.erkab-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,.14);
    transform: translateY(-4px);
    color: inherit;
    text-decoration: none;
}
.erkab-card-img {
    position: relative;
    height: 300px;
    background: #f5f5f5 url('/assets/images/backgroundi.png') center center / cover no-repeat;
    overflow: hidden;
}
.erkab-card-img img {
    position: absolute;
    bottom: -120px;
    left: 160px;
    height: 115%;
    width: auto;
    object-fit: contain;
    transform-origin: 0% 100%;
    transform: rotate(-50deg);
    transition: transform .4s ease;
    display: block;
}
.erkab-card:hover .erkab-card-img img {
    transform: rotate(-40deg) scale(1.05);
}
.erkab-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
}
.erkab-card:hover .erkab-card-overlay { opacity: 1; }
.erkab-card-overlay span {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    background: rgba(255,0,13,.9);
    padding: 8px 20px;
    border-radius: 30px;
    pointer-events: none;
}
.erkab-card-body {
    padding: 14px 16px;
    background: #fff;
}
.erkab-card-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.erkab-nav {
    position: absolute;
    top: 50%;
    transform: translateY(calc(-50% - 22px));
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background: #fff;
    color: #333;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: background .2s, color .2s, border-color .2s, opacity .2s;
    box-shadow: 0 2px 10px rgba(0,0,0,.10);
    padding: 0;
    line-height: 1;
}
.erkab-nav:hover:not(:disabled) {
    background: var(--brand-color);
    border-color: var(--brand-color);
    color: #fff;
}
.erkab-nav:disabled {
    opacity: .3;
    cursor: default;
    pointer-events: none;
}
.erkab-prev { left: 0; }
.erkab-next { right: 0; }
.erkab-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.erkab-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background .2s, width .2s;
    flex-shrink: 0;
}
.erkab-dot.active {
    background: var(--brand-color);
    width: 24px;
    border-radius: 4px;
}

/* ==========================================
   ANASAYFA KURUMSAL KARTLAR (3'lü fotoğraf)
   ========================================== */
.corp-card {
    aspect-ratio: 4 / 5;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 24px;
    overflow: hidden;
}
.corp-card-btn {
    display: inline-block;
    background: #fff;
    color: #222;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s, color .2s;
    box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.corp-card-btn:hover {
    background: var(--brand-color);
    color: #fff;
    text-decoration: none;
}

/* ==========================================
   ANASAYFA REVEAL ANİMASYONU
   ========================================== */
[data-reveal] {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .65s cubic-bezier(.22,.61,.36,1), transform .65s cubic-bezier(.22,.61,.36,1);
}
[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}
[data-reveal="left"]  { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="left"].is-visible,
[data-reveal="right"].is-visible { transform: translateX(0); }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }
[data-reveal-delay="4"] { transition-delay: .4s; }
[data-reveal-delay="5"] { transition-delay: .5s; }

/* ==========================================
   SHOWCASE — Split Panel + Stats Bar
   ========================================== */

.ekb-showcase {
    display: flex;
    flex-direction: column;
    padding-bottom: 64px;
}

/* ---------- Split ---------- */
.ekb-split {
    display: flex;
    min-height: 600px;
    padding-bottom: 56px;
}
@media (max-width: 991.98px) {
    .ekb-split { flex-direction: column; min-height: auto; padding-bottom: 0; }
}

/* --- Sol panel: İçerik ---
   Renk: binanın antrasit gölge tonuyla uyumlu koyu slate */
.ekb-split-content {
    flex: 0 0 50%;
    background: #f4f5f7;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.ekb-split-content::before {
    content: 'ERKAB';
    position: absolute;
    right: -5%;
    bottom: -15%;
    font-size: 18vw;
    font-weight: 900;
    color: rgba(0,0,0,.03);
    letter-spacing: -.04em;
    pointer-events: none;
    user-select: none;
    line-height: 1;
    z-index: 0;
}
@media (min-width: 992px) {
    /* Sol kenar çapraz kesilmiş — görsel üstüne hafif bindirme */
    .ekb-split-content {
        clip-path: polygon(72px 0, 100% 0, 100% 100%, 0 100%);
        padding-left: 72px;
    }
}

.ekb-split-inner {
    padding: 88px 72px 88px 64px;
    max-width: 580px;
    width: 100%;
    position: relative;
    z-index: 1;
}
@media (max-width: 1399.98px) {
    .ekb-split-inner { padding: 72px 56px 72px 52px; }
}
@media (max-width: 1199.98px) {
    .ekb-split-inner { padding: 64px 48px 64px 40px; }
}
@media (max-width: 991.98px) {
    .ekb-split-content { clip-path: none; padding-left: 0; flex: none; }
    .ekb-split-inner   { padding: 56px 24px; max-width: 100%; }
}

/* Eyebrow */
.ekb-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
}
.ekb-eyebrow-line {
    display: block;
    width: 36px;
    height: 2px;
    background: var(--brand-color);
    flex-shrink: 0;
}
.ekb-eyebrow span:last-child {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: #999;
}

/* Başlık */
.ekb-heading {
    font-size: clamp(2.2rem, 3.6vw, 3.2rem);
    font-weight: 800;
    color: #111;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin: 0 0 22px;
}
.ekb-heading em {
    font-style: normal;
    /* Kırmızı + turuncu arası gradient — binadaki şeritleri yansıtıyor */
    background: linear-gradient(90deg, var(--brand-color) 0%, #ff5c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Ayırıcı çizgi */
.ekb-split-inner::after {
    content: '';
    display: block;
    width: 48px;
    height: 1px;
    background: #e0e2e6;
    margin: 0 0 22px;
}

/* Alt açıklama */
.ekb-sub {
    font-size: .9rem;
    color: #666;
    line-height: 1.8;
    margin: 0 0 40px;
    max-width: 360px;
}

/* Butonlar */
.ekb-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}
.ekb-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--brand-color);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 15px 30px;
    border-radius: 3px;
    text-decoration: none;
    transition: background .25s, gap .2s, box-shadow .25s;
    box-shadow: 0 4px 20px rgba(255,0,13,.3);
}
.ekb-btn-primary:hover {
    background: #d40010;
    color: #fff;
    text-decoration: none;
    gap: 16px;
    box-shadow: 0 6px 28px rgba(255,0,13,.48);
}
.ekb-btn-ghost {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #888;
    text-decoration: none;
    padding-bottom: 3px;
    border-bottom: 1px solid #ccc;
    transition: color .25s, border-color .25s;
}
.ekb-btn-ghost:hover {
    color: #111;
    border-color: #111;
    text-decoration: none;
}

/* --- Sağ panel: Görsel --- */
.ekb-split-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 420px;
}
.ekb-split-img-bg {
    position: absolute;
    /* Yatay görsel — tabela + giriş üst-orta bölgede, beton zemin kırpılıyor */
    inset: -15% 0;
    background: url('/assets/images/fabrika.jpg') center 35% / cover no-repeat;
    will-change: transform;
}
/* Görsel zaten koyu (antrasit bina + bulutlu gökyüzü) — overlay minimal tutuldu.
   Sağ kenarda içerik paneline geçiş, sola doğru görsel nefes alıyor */
.ekb-split-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to left,
        rgba(244, 245, 247, .92) 0%,
        rgba(244, 245, 247, .35) 28%,
        rgba(244, 245, 247, .05) 58%,
        transparent 100%
    );
}

/* ---------- İstatistik Barı ---------- */
.ekb-statsbar {
    background: #141618;
    border-top: none;
    position: relative;
    z-index: 4;
    margin: -56px 48px 0;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0,0,0,.28);
    overflow: hidden;
}
.ekb-statsbar-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: stretch;
}
@media (max-width: 991.98px) {
    .ekb-statsbar { margin: 24px 24px 0; border-radius: 12px; }
}
@media (max-width: 767.98px) {
    .ekb-statsbar { margin: 24px 16px 0; border-radius: 10px; }
    .ekb-statsbar-inner { flex-wrap: wrap; padding: 0 16px; }
}

.ekb-statitem {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 34px 16px;
    text-align: center;
    cursor: default;
    transition: background .2s;
}
.ekb-statitem:hover { background: rgba(255,255,255,.03); }
@media (max-width: 767.98px) {
    .ekb-statitem { flex: 0 0 50%; padding: 28px 12px; }
}

.ekb-statitem-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 9px;
    letter-spacing: -1px;
}
.ekb-statitem-lbl {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(255,255,255,.28);
}

.ekb-statsbar-sep {
    width: 1px;
    background: rgba(255,255,255,.06);
    margin: 18px 0;
    flex-shrink: 0;
}
@media (max-width: 767.98px) {
    .ekb-statsbar-sep { display: none; }
}

/* ==========================================
   ANASAYFA HABERLER & BLOG — Magazine Layout
   ========================================== */
.hnb-section {
    background: #fff;
    border-top: 1px solid #ebebeb;
    padding: 72px 0 80px;
}

/* Bölüm başlığı */
.hnb-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
    padding-bottom: 20px;
    border-bottom: 2px solid #111;
}
.hnb-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--brand-color);
    margin: 0 0 6px;
}
.hnb-title {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    color: #111;
    letter-spacing: -.5px;
}

/* Kolon yapısı */
.hnb-col {
    padding: 0 32px;
}
.hnb-col-left {
    border-right: 1px solid #ebebeb;
    padding-right: 40px;
    padding-left: 0;
}
.hnb-col-right {
    padding-left: 40px;
    padding-right: 0;
}
@media (max-width: 991.98px) {
    .hnb-col-left {
        border-right: none;
        border-bottom: 1px solid #ebebeb;
        padding: 0 0 40px;
    }
    .hnb-col-right {
        padding: 40px 0 0;
    }
}

/* Kolon üst başlığı */
.hnb-col-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ebebeb;
}
.hnb-col-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #888;
}
.hnb-all-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap .2s;
}
.hnb-all-link:hover {
    gap: 8px;
    color: #cc0000;
    text-decoration: none;
}

/* Featured öğe */
.hnb-featured {
    display: block;
    text-decoration: none;
    color: inherit;
    margin-bottom: 0;
}
.hnb-featured:hover { text-decoration: none; color: inherit; }

.hnb-featured-img {
    position: relative;
    height: 240px;
    border-radius: 10px;
    overflow: hidden;
    background: #eee;
}
.hnb-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
    display: block;
}
.hnb-featured:hover .hnb-featured-img img { transform: scale(1.04); }

.hnb-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.35) 0%, transparent 55%);
    border-radius: 10px;
}
.hnb-featured-date {
    position: absolute;
    bottom: 14px;
    left: 14px;
    font-size: 11px;
    color: rgba(255,255,255,.85);
    background: rgba(0,0,0,.35);
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: .04em;
}
.hnb-featured-body {
    padding: 18px 0 20px;
    border-bottom: 1px solid #ebebeb;
}
.hnb-featured-ttl {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 8px;
    line-height: 1.45;
    transition: color .2s;
}
.hnb-featured:hover .hnb-featured-ttl { color: var(--brand-color); }
.hnb-featured-desc {
    font-size: .85rem;
    color: #666;
    line-height: 1.65;
    margin: 0 0 14px;
}
.hnb-read-more {
    font-size: .8rem;
    font-weight: 600;
    color: var(--brand-color);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap .2s;
}
.hnb-featured:hover .hnb-read-more { gap: 8px; }

/* Liste öğeleri */
.hnb-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #f2f2f2;
    text-decoration: none;
    color: inherit;
    transition: background .15s;
}
.hnb-list-item:last-child { border-bottom: none; }
.hnb-list-item:hover { text-decoration: none; color: inherit; }
.hnb-list-body { flex: 1; min-width: 0; }
.hnb-list-date {
    font-size: 10px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: .06em;
    display: block;
    margin-bottom: 4px;
}
.hnb-list-ttl {
    font-size: .875rem;
    font-weight: 600;
    color: #222;
    margin: 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color .2s;
}
.hnb-list-item:hover .hnb-list-ttl { color: var(--brand-color); }
.hnb-list-arrow {
    font-size: .75rem;
    color: #ccc;
    flex-shrink: 0;
    transition: color .2s, transform .2s;
}
.hnb-list-item:hover .hnb-list-arrow {
    color: var(--brand-color);
    transform: translateX(3px);
}