html {
            scroll-behavior: smooth;
        }

        /* Her iki Header Konteyneri İçin - İlk Hali (Şeffaf) */
        .elementor-element-5864355, 
        .elementor-element-7182429 {
            position: fixed !important;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 999;
            background-color: transparent !important;
            box-shadow: none !important;
            padding-top: 20px !important;
            padding-bottom: 20px !important;
            min-height: 100px !important; 
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
            display: flex;
            align-items: center;
        }

        /* Logo - İlk Hali (Beyazlatılmış) */
        .tpk-logo img {
            filter: brightness(0) invert(1);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            height: auto;
            max-height: 80px;
        }

        /* Menü Linkleri ve Telefon Alanı (Beyaz Hali) */
        .elementor-nav-menu .elementor-item,
        .header-phone-list .elementor-icon-list-text,
        .header-phone-list .elementor-icon-list-icon i {
            color: #ffffff !important;
            transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* --- SCROLL AKTİF OLDUĞUNDA (SHRINK DURUMU) --- */

        .elementor-element-5864355.ozel-yapiskans-aktif,
        .elementor-element-7182429.ozel-yapiskans-aktif {
            background-color: #ffffff !important;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
            padding-top: 5px !important;
            padding-bottom: 5px !important;
            min-height: 50px !important;
        }

        /* Logo - Scroll Sonrası (Orijinal Renk) */
        .ozel-yapiskans-aktif .tpk-logo img {
            filter: none;
            max-height: 80px;
        }

        /* Linkler ve Telefon - Scroll Sonrası (Koyu Renk) */
        .ozel-yapiskans-aktif .elementor-nav-menu .elementor-item,
        .ozel-yapiskans-aktif .header-phone-list .elementor-icon-list-text,
        .ozel-yapiskans-aktif .header-phone-list .elementor-icon-list-icon i {
            color: #1d2930 !important;
        }

        /* Menü Alt Çizgi Rengi (Hover Durumu) */
        .elementor-nav-menu--main .elementor-item:before,
        .elementor-nav-menu--main .elementor-item:after {
            background-color: #64A0D2 !important;
        }
/* ---- Statik aktarım ekleri ---- */
html{scroll-padding-top:110px}
[id]{scroll-margin-top:110px}

/* Görünmez h1 (erişilebilirlik) */
.hs-visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);border:0;white-space:nowrap}

/* Klavye odak görünürlüğü */
a:focus-visible,button:focus-visible,[tabindex]:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #64A0D2!important;outline-offset:2px}

/* Skip link */
.screen-reader-text:focus{background:#1d2930;color:#fff;display:block;left:8px;top:8px;padding:10px 16px;z-index:100000;clip:auto;width:auto;height:auto;border-radius:6px;font-size:14px}

/* Yukarı dön butonu */
#to-top{position:fixed;right:22px;bottom:22px;z-index:998;width:48px;height:48px;border-radius:50%;border:0;background:#64A0D2;color:#fff;box-shadow:0 6px 16px rgba(0,0,0,.28);display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .3s,transform .3s,visibility .3s,background .3s}
#to-top.is-visible{opacity:1;visibility:visible;transform:none}
#to-top:hover{background:#4d8dbd}
#to-top i{font-size:18px}

/* İletişim: harita (formun yerine) */
.elementor-element-30e1d3d{display:flex;flex-direction:column}
.sely-map-widget{flex:1 1 auto;display:flex;flex-direction:column;width:100%;min-width:0}
.sely-map-widget .elementor-widget-container{display:flex;flex-direction:column;width:100%;flex:1 1 auto}
.sely-map-wrap{position:relative;flex:1 1 auto;width:100%;max-width:100%;box-sizing:border-box;min-height:340px;border-radius:14px;overflow:hidden;box-shadow:0 14px 34px rgba(0,0,0,.22)}
.sely-map-wrap iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0}
.sely-map-direction{margin-top:18px}
@media (max-width:1024px){.sely-map-wrap{min-height:320px}}

/* Mobil menü: dropdown tüm genişlik (canlıdaki taşma düzeltilir) */
@media (max-width:767px){
  .elementor-element-3e042c4,.elementor-element-f4e927d,
  .elementor-element-0e3911e,.elementor-element-670ab5f{position:static!important}
  .elementor-nav-menu--stretch .elementor-nav-menu__container.elementor-nav-menu--dropdown{left:0!important;right:0!important;width:100%!important;max-width:100vw!important}
}

/* Mobil header simetri: logo sol boşluk == hamburger sağ boşluk */
@media (max-width:767px){
  .elementor-element-5864355,.elementor-element-7182429{padding-left:0!important;padding-right:0!important}
  .elementor-element-4c16357,.elementor-element-99b3509{padding-left:36px!important;padding-right:36px!important}
}

/* Mobil yatay taşma düzeltmeleri (canlıda body clip ile gizlenen taşmalar) */
@media (max-width:767px){
  /* Misyon/Vizyon ızgarası: kolonlar sıkışabilir olsun */
  .elementor-element-be859e4 > .e-con,
  .elementor-element-cdb89ba > .e-con{min-width:0!important}
  .elementor-element-e916ee5,
  .elementor-element-d36532e{overflow-x:clip}
  /* Kapasite spec kartları: içerik taşımasın */
  .elementor-element-b32b82b{overflow-x:clip}
  .elementor-element-dbeafc6 > .e-con{overflow-x:clip}
  /* Ürün satırlarındaki absolute içerik: tam genişlik, 20px kayma yok */
  .elementor-element-ee4028c,.elementor-element-2554554,.elementor-element-31b8232,
  .elementor-element-9e23978,.elementor-element-471dba7,.elementor-element-c5e1283{left:0!important;right:0!important;width:auto!important}
}

/* Mobil: Mission/Vision ikon+metin bloğu — orijinal sitede metin 0px'e sıkışıyordu; alt alta diziyoruz */
@media (max-width:767px){
  .elementor-element-7afdd6e,
  .elementor-element-28d019f{flex-direction:column!important;align-items:stretch!important;}
  .elementor-element-7afdd6e,
  .elementor-element-28d019f{width:100%!important;max-width:100%!important;}
  .elementor-element-7afdd6e > *,
  .elementor-element-28d019f > *{width:100%!important;max-width:100%!important;}
  .elementor-element-7afdd6e > .elementor-element-8924c67,
  .elementor-element-28d019f > .elementor-element-8924c67{justify-content:flex-start;}
}

/* Vision bloğu grid öğesi: mobilde grid tek sütuna iner */
@media (max-width:767px){
  .elementor-element-cdb89ba{grid-template-columns:1fr!important;}
  .elementor-element-cdb89ba > *{width:100%!important;max-width:100%!important;}
}

/* Vision container'ı Elementor e-con değişkenleriyle aç */
@media (max-width:767px){
  .elementor-987774 .elementor-element.elementor-element-28d019f.e-con{
    --flex-grow:1!important;
    --flex-shrink:0!important;
    --container-widget-width:100%!important;
    width:100%!important;
    max-width:100%!important;
  }
  .elementor-987774 .elementor-element.elementor-element-36c1da1.e-con{
    --flex-direction:column!important;
  }
}

/* Mobil: ikonlu+metinli satırlar alt alta (orijinal mobilde yazılar sayfa dışına kayıyordu;
   kullanıcı: ikon üstte, başlık ve yazı altında) */
@media (max-width:767px){
  .elementor-element-a1e65f7,.elementor-element-a2d2349,.elementor-element-d7e73f8,
  .elementor-element-011062a,.elementor-element-4773216,.elementor-element-442c474,
  .elementor-element-4d1c2a5,.elementor-element-85be581,.elementor-element-a63d052,
  .elementor-element-095b409,.elementor-element-7a4ff40,.elementor-element-accfdfb,
  .elementor-element-74dec25,.elementor-element-7478563,.elementor-element-6978267,
  .elementor-element-b569bec,.elementor-element-8cbf84c,.elementor-element-3985a9a,
  .elementor-element-56117cc{
    flex-direction:column!important;align-items:stretch!important;
  }
  .elementor-element-a1e65f7 > *,.elementor-element-a2d2349 > *,.elementor-element-d7e73f8 > *,
  .elementor-element-011062a > *,.elementor-element-4773216 > *,.elementor-element-442c474 > *,
  .elementor-element-4d1c2a5 > *,.elementor-element-85be581 > *,.elementor-element-a63d052 > *,
  .elementor-element-095b409 > *,.elementor-element-7a4ff40 > *,.elementor-element-accfdfb > *,
  .elementor-element-74dec25 > *,.elementor-element-7478563 > *,.elementor-element-6978267 > *,
  .elementor-element-b569bec > *,.elementor-element-8cbf84c > *,.elementor-element-3985a9a > *,
  .elementor-element-56117cc > *{
    width:100%!important;max-width:100%!important;position:static!important;
  }
}


/* Anasayfa Mission/Vision: Vision konteyneri 0px'e sıkışmıştı; alt alta aç */
@media (max-width:767px){
  .elementor-element-16fc943{flex-direction:column!important;}
  .elementor-element-16fc943 > .e-con{
    --flex-grow:1!important;
    --flex-shrink:0!important;
    --container-widget-width:100%!important;
    width:100%!important;max-width:100%!important;
  }
}

/* Mobil menü: scroll'da linkler koyuya dönüyordu (siyah zeminde okunmaz) — hep beyaz */
.elementor-nav-menu--dropdown.elementor-nav-menu__container .elementor-item,
.elementor-nav-menu--dropdown.elementor-nav-menu__container a{color:#ffffff!important;}

/* Mission/Vision (anasayfa): ikon ÜSTE, başlık+metin altta; Vision konteyneri tam genişlik */
@media (max-width:767px){
  .elementor-element-16fc943{flex-direction:column!important;}
  .elementor-element-16fc943 > *,
  .elementor-element-2d1c0fd > *,
  .elementor-element-9e19677 > *{width:100%!important;max-width:100%!important;--flex-grow:1!important;--flex-shrink:0!important;--container-widget-width:100%!important;}
  .elementor-element-2d1c0fd .elementor-widget-icon,
  .elementor-element-9e19677 .elementor-widget-icon,
  .elementor-element-2d1c0fd .elementor-widget-icon-box,
  .elementor-element-9e19677 .elementor-widget-icon-box{order:-1;}
}

/* Mobil: hero slider yazıları sabit header/logonun arkasına giriyordu — içeriği header altına indir */
@media (max-width:767px){
  .elementor-element-4773216,
  .elementor-element-442c474,
  .elementor-element-a63d052{padding-top:74px!important;}
}

/* Mission/Vision düzeltme v2: satır 09658d7 (Mission a8f4612 + Vision b6e94fb yan yana idi) */
@media (max-width:767px){
  .elementor-element-09658d7{flex-direction:column!important;align-items:stretch!important;}
  .elementor-element-09658d7 > *{width:100%!important;max-width:100%!important;--flex-grow:1!important;--flex-shrink:0!important;--container-widget-width:100%!important;}
  .elementor-element-a8f4612 .elementor-widget-icon,
  .elementor-element-b6e94fb .elementor-widget-icon{order:-1;}
}

/* Mission/Vision içindeki widget'lar dar kolonda kalıyordu — doğrudan tam genişlik */
@media (max-width:767px){
  .elementor-element-a8f4612 .elementor-widget,
  .elementor-element-b6e94fb .elementor-widget,
  .elementor-element-9e19677 .elementor-widget{width:100%!important;max-width:100%!important;}
}

/* Capacity: makine kartları ve Max/Min Dimension satırları kenara bitişikti — yan boşluk */
@media (max-width:767px){
  .elementor-element-095b409,.elementor-element-7a4ff40,.elementor-element-accfdfb,
  .elementor-element-74dec25,.elementor-element-7478563,.elementor-element-6978267,
  .elementor-element-b569bec,.elementor-element-8cbf84c,.elementor-element-3985a9a,
  .elementor-element-56117cc,
  .elementor-element-5a6cb53,.elementor-element-37bdc52,.elementor-element-682f8d0,
  .elementor-element-4c2199d,.elementor-element-d755c30,.elementor-element-554f1b8,
  .elementor-element-02db02e,.elementor-element-19f3f6a,.elementor-element-bb29f21,
  .elementor-element-1885857,.elementor-element-af0820a,.elementor-element-c086090,
  .elementor-element-479ff1a,.elementor-element-0c1925e,.elementor-element-f162baf,
  .elementor-element-a45f38b,.elementor-element-5177cb2,.elementor-element-c3dc7e0,
  .elementor-element-fa8aa85,.elementor-element-a1b0492,.elementor-element-263e8ae,
  .elementor-element-d80ec5a,.elementor-element-67e04e9,.elementor-element-0464b7a{
    padding-left:16px!important;padding-right:16px!important;box-sizing:border-box;
  }
}

/* Mission: a8f4612 satır modunda kalıyordu — sütuna çevir (ikon order:-1 ile üste çıkar) */
@media (max-width:767px){
  .elementor-element-a8f4612{flex-direction:column!important;}
}

/* Mission: ikon konteyneri (a8f4612) metin bloğunun (9e19677) KARDEŞİ — ikonu üste al */
@media (max-width:767px){
  .elementor-element-16fc943 > .elementor-element-a8f4612{order:-1!important;}
}

/* Mission/Vision metin bloklarına yan boşluk (nested çoğalma olmadan, tek seviye) */
@media (max-width:767px){
  .elementor-element-16fc943,
  .elementor-element-09658d7{padding-left:24px!important;padding-right:24px!important;box-sizing:border-box;}
}

/* Products: içerik kenarlara bitişik + sectionlar arası boşluk yoktu */
@media (max-width:767px){
  main > div > .elementor-element-5286c78,
  main > div > .elementor-element-bc9c5f6,
  main > div > .elementor-element-5a8b5bf,
  main > div > .elementor-element-11906ef,
  main > div > .elementor-element-41028fb,
  main > div > .elementor-element-96e8de9{
    padding-left:20px!important;padding-right:20px!important;box-sizing:border-box;
    margin-bottom:36px!important;
  }
}

/* About: Mission üstündeki ikon kutusunu ortalı (mobil) */
@media (max-width:767px){
  .elementor-element-8924c67{justify-content:center!important;align-items:center!important;}
  .elementor-element-8924c67 .elementor-widget{width:auto!important;max-width:100%!important;margin:0 auto!important;}
}
