/* ==========================================================================
   Ekipler Yangın — Hareket & Etkileşim Katmanı (motion.css)
   Tüm sayfalarda ortak: sayfa geçişi, preloader, scroll ilerleme çubuğu,
   reveal animasyonları, kıvılcım efekti, video hero, sayaçlar, 3D kartlar.
   ========================================================================== */

:root {
    --ek-red: #d32f2f;
    --ek-red-dark: #8e1b1b;
    --ek-orange: #ff7a1a;
    --ek-ember: #ffb347;
    --ek-ink: #141414;
    --ek-ease: cubic-bezier(.22, 1, .36, 1);
    --ek-ease-in: cubic-bezier(.7, 0, .84, 0);
}

/* JS çalışana kadar sayfayı örten ilk katman (JS gelmezse 3 sn'de kendiliğinden kalkar) */
html::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 99998;
    pointer-events: none;
    background: radial-gradient(120% 120% at 50% 110%, #3a0b0b 0%, #141414 55%);
    animation: ekSafety .01s linear 3s forwards;
}
html.ek-ready::after { display: none; }
@keyframes ekSafety { to { opacity: 0; visibility: hidden; } }

/* AOS yüklenemezse içerik görünmez kalmasın */
html.ek-no-aos [data-aos] { opacity: 1 !important; transform: none !important; }

/* --------------------------------------------------------------------------
   1) Sayfa geçiş perdesi
   -------------------------------------------------------------------------- */
.ek-curtain {
    position: fixed;
    inset: 0;
    z-index: 99999;
    pointer-events: none;
    display: grid;
    place-items: center;
    background: radial-gradient(120% 120% at 50% 110%, #3a0b0b 0%, var(--ek-ink) 55%);
    transform: translateY(0);
    transition: transform .75s var(--ek-ease), opacity .3s ease;
    will-change: transform;
}
.ek-curtain::before {           /* üst kenardaki ateş çizgisi */
    content: "";
    position: absolute;
    left: 0; right: 0; top: -3px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--ek-orange), var(--ek-red), var(--ek-orange), transparent);
    box-shadow: 0 0 24px 6px rgba(255, 122, 26, .45);
}
.ek-curtain.is-hidden { transform: translateY(-101%); }
.ek-curtain.is-leaving { transform: translateY(0); transition: transform .55s var(--ek-ease); }
.ek-curtain.is-below { transform: translateY(101%); transition: none; }

.ek-curtain__mark {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    color: #fff;
    font-weight: 800;
    letter-spacing: .32em;
    font-size: .8rem;
    text-transform: uppercase;
    opacity: .95;
}
.ek-flame {
    width: 54px;
    height: 72px;
    position: relative;
    filter: drop-shadow(0 0 18px rgba(255, 122, 26, .7));
}
.ek-flame span {
    position: absolute;
    left: 50%;
    bottom: 0;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    transform-origin: 50% 100%;
    animation: ekFlicker 1.1s ease-in-out infinite alternate;
}
.ek-flame span:nth-child(1) { width: 54px; height: 72px; margin-left: -27px; background: linear-gradient(to top, var(--ek-red), var(--ek-orange)); }
.ek-flame span:nth-child(2) { width: 34px; height: 48px; margin-left: -17px; background: linear-gradient(to top, var(--ek-orange), var(--ek-ember)); animation-delay: -.3s; }
.ek-flame span:nth-child(3) { width: 16px; height: 24px; margin-left: -8px;  background: #fff3d6; animation-delay: -.6s; }
@keyframes ekFlicker {
    0%   { transform: scale(1, 1) rotate(-2deg); }
    50%  { transform: scale(.94, 1.06) rotate(2deg); }
    100% { transform: scale(1.03, .95) rotate(-1deg); }
}
.ek-curtain__bar {
    width: 140px;
    height: 2px;
    background: rgba(255, 255, 255, .15);
    overflow: hidden;
    border-radius: 2px;
}
.ek-curtain__bar i {
    display: block;
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, var(--ek-red), var(--ek-orange));
    animation: ekBar 1s var(--ek-ease) infinite;
}
@keyframes ekBar { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* --------------------------------------------------------------------------
   2) Scroll ilerleme çubuğu & yukarı çık butonu
   -------------------------------------------------------------------------- */
.ek-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 100%;
    z-index: 2000;
    transform-origin: 0 50%;
    transform: scaleX(0);
    background: linear-gradient(90deg, var(--ek-red), var(--ek-orange), var(--ek-ember));
    box-shadow: 0 0 12px rgba(255, 122, 26, .6);
    pointer-events: none;
}

.ek-totop {
    position: fixed;
    left: 24px;
    bottom: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    color: var(--ek-red);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
    display: grid;
    place-items: center;
    z-index: 1500;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px) scale(.8);
    transition: opacity .35s ease, transform .45s var(--ek-ease), background .2s;
}
.ek-totop.is-visible { opacity: 1; transform: none; }
.ek-totop:hover { background: var(--ek-red); color: #fff; }
.ek-totop svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ek-totop circle { fill: none; stroke-width: 3; }
.ek-totop .track { stroke: rgba(211, 47, 47, .12); }
.ek-totop .ring { stroke: var(--ek-red); stroke-linecap: round; transition: stroke-dashoffset .1s linear; }
.ek-totop:hover .ring { stroke: #fff; }
.ek-totop i { font-size: 1.2rem; position: relative; }

/* --------------------------------------------------------------------------
   3) Navbar: kaydırınca gizle / göster + animasyonlu alt çizgi
   -------------------------------------------------------------------------- */
#mainNav {
    transition: transform .45s var(--ek-ease), background .3s, box-shadow .3s, height .35s var(--ek-ease) !important;
}
#mainNav.ek-nav-hidden { transform: translateY(-110%); }
#mainNav.navbar-shrink { box-shadow: 0 8px 30px rgba(0, 0, 0, .08) !important; }
#mainNav .navbar-nav .nav-link::after {
    content: "" !important;
    display: block !important;
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--ek-red), var(--ek-orange));
    transition: width .35s var(--ek-ease), left .35s var(--ek-ease);
}
#mainNav .navbar-nav .nav-link:hover::after,
#mainNav .navbar-nav .nav-link.ek-current::after { width: 100%; left: 0; }
#mainNav .navbar-nav .nav-link.ek-current { color: var(--ek-red) !important; }
#mainNav .navbar-brand img { transition: transform .6s var(--ek-ease) !important; }
#mainNav .navbar-brand:hover img { transform: rotate(-8deg) scale(1.08); }

/* --------------------------------------------------------------------------
   4) Reveal animasyonları (AOS'tan bağımsız, data-reveal)
   -------------------------------------------------------------------------- */
[data-reveal] {
    opacity: 0;
    transition: opacity .9s var(--ek-ease), transform .9s var(--ek-ease), clip-path 1.1s var(--ek-ease), filter .9s var(--ek-ease);
    transition-delay: var(--d, 0s);
}
[data-reveal="up"]    { transform: translateY(46px); }
[data-reveal="left"]  { transform: translateX(-60px); }
[data-reveal="right"] { transform: translateX(60px); }
[data-reveal="zoom"]  { transform: scale(.9); }
[data-reveal="blur"]  { filter: blur(12px); transform: translateY(20px); }
[data-reveal="clip"]  { clip-path: inset(0 0 100% 0); transform: translateY(30px); }
[data-reveal].is-in   { opacity: 1; transform: none; filter: none; clip-path: inset(0 0 0 0); }

/* Kelime kelime başlık animasyonu */
.ek-split .w {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: .08em;
    margin-bottom: -.08em;
}
.ek-split .w > span {
    display: inline-block;
    transform: translateY(110%) rotate(4deg);
    transition: transform 1s var(--ek-ease);
    transition-delay: calc(var(--i) * 70ms + var(--base, 0ms));
}
.ek-split.is-in .w > span { transform: none; }

/* Bölüm başlıklarındaki divider çizgisi soldan dolar */
hr.divider {
    transform-origin: 50% 50%;
    transition: transform 1s var(--ek-ease) .2s, width .4s;
}
hr.divider.ek-line { transform: scaleX(0); }
hr.divider.ek-line.is-in { transform: scaleX(1); }

/* --------------------------------------------------------------------------
   5) Video Hero (ana sayfa)
   -------------------------------------------------------------------------- */
.ek-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background: #0d0d0d;
    isolation: isolate;
}
.ek-hero__media {
    position: absolute;
    inset: -4% 0 0 0;
    z-index: -3;
    will-change: transform;
}
.ek-hero__media video,
.ek-hero__media img {
    width: 100%;
    height: 104%;
    object-fit: cover;
    display: block;
}
.ek-hero__media img { animation: ekKenBurns 22s ease-in-out infinite alternate; }
@keyframes ekKenBurns { from { transform: scale(1.04); } to { transform: scale(1.16) translate(-1.5%, -1%); } }
.ek-hero::before {               /* okunabilirlik için degrade */
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(10, 6, 6, .88) 0%, rgba(10, 6, 6, .62) 45%, rgba(10, 6, 6, .2) 100%),
        linear-gradient(0deg, rgba(10, 6, 6, .85) 0%, transparent 35%);
}
.ek-hero::after {                /* hafif film grain */
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .07;
    pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.ek-hero .container { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 120px; }
.ek-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 10px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(6px);
    font-size: .82rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 26px;
}
.ek-hero__eyebrow .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--ek-orange);
    box-shadow: 0 0 0 0 rgba(255, 122, 26, .7);
    animation: ekPing 1.8s infinite;
}
@keyframes ekPing { 0% { box-shadow: 0 0 0 0 rgba(255, 122, 26, .7); } 80%, 100% { box-shadow: 0 0 0 12px rgba(255, 122, 26, 0); } }
.ek-hero h1 {
    font-size: clamp(2.4rem, 5.6vw, 4.6rem);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -.02em;
    max-width: 14ch;
    margin-bottom: 24px;
    color: #fff;
}
.ek-hero h1 em {
    font-style: normal;
    background: linear-gradient(90deg, var(--ek-ember), var(--ek-orange) 40%, #ff4d2e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.ek-hero__lead {
    max-width: 560px;
    font-size: 1.12rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .78);
    margin-bottom: 38px;
}
.ek-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.ek-btn {
    --bg: var(--ek-red);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 30px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .02em;
    text-decoration: none;
    color: #fff;
    background: var(--bg);
    border: 1px solid transparent;
    overflow: hidden;
    isolation: isolate;
    transition: transform .35s var(--ek-ease), box-shadow .35s, color .3s, border-color .3s;
    box-shadow: 0 12px 30px rgba(211, 47, 47, .35);
}
.ek-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, var(--ek-orange), var(--ek-red));
    transform: translateX(-101%);
    transition: transform .55s var(--ek-ease);
}
.ek-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 40px rgba(211, 47, 47, .45); }
.ek-btn:hover::before { transform: none; }
.ek-btn i { transition: transform .35s var(--ek-ease); }
.ek-btn:hover i { transform: translateX(4px); }
.ek-btn--ghost {
    --bg: transparent;
    border-color: rgba(255, 255, 255, .35);
    box-shadow: none;
    backdrop-filter: blur(4px);
}
.ek-btn--ghost::before { background: #fff; }
.ek-btn--ghost:hover { color: var(--ek-ink); box-shadow: none; }

.ek-hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .65);
    font-size: .7rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    text-decoration: none;
}
.ek-hero__scroll .mouse {
    width: 24px; height: 38px;
    border: 2px solid rgba(255, 255, 255, .5);
    border-radius: 14px;
    position: relative;
}
.ek-hero__scroll .mouse::after {
    content: "";
    position: absolute;
    left: 50%; top: 7px;
    width: 4px; height: 8px;
    margin-left: -2px;
    border-radius: 2px;
    background: var(--ek-orange);
    animation: ekWheel 1.8s var(--ek-ease) infinite;
}
@keyframes ekWheel { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

.ek-hero__badge {
    position: absolute;
    right: 5vw;
    bottom: 12vh;
    z-index: 2;
    width: 150px;
    height: 150px;
    display: grid;
    place-items: center;
}
.ek-hero__badge svg { position: absolute; inset: 0; animation: ekSpin 18s linear infinite; }
.ek-hero__badge text { fill: rgba(255, 255, 255, .8); font-size: 10.5px; letter-spacing: 3.2px; font-weight: 700; text-transform: uppercase; }
.ek-hero__badge .core {
    width: 64px; height: 64px; border-radius: 50%;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--ek-red), var(--ek-orange));
    box-shadow: 0 10px 30px rgba(255, 90, 30, .5);
    font-size: 1.6rem;
}
@keyframes ekSpin { to { transform: rotate(360deg); } }

/* Kıvılcım canvas'ı (hero alanlarında) */
.ek-embers {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen;
}

/* --------------------------------------------------------------------------
   6) İstatistik şeridi
   -------------------------------------------------------------------------- */
.ek-stats {
    position: relative;
    z-index: 5;
    margin-top: -70px;
}
.ek-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 30px 60px rgba(20, 10, 10, .12);
    overflow: hidden;
}
.ek-stat {
    padding: 34px 26px;
    position: relative;
    text-align: left;
}
.ek-stat + .ek-stat::before {
    content: "";
    position: absolute;
    left: 0; top: 26%;
    height: 48%;
    width: 1px;
    background: #eee;
}
.ek-stat__num {
    font-size: clamp(2rem, 3.4vw, 2.9rem);
    font-weight: 800;
    color: var(--ek-ink);
    line-height: 1;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
}
.ek-stat__num sup { font-size: .5em; color: var(--ek-red); top: -.9em; margin-left: 2px; }
.ek-stat__label { margin-top: 10px; color: #6b6b6b; font-size: .95rem; }
.ek-stat__icon {
    position: absolute;
    right: 22px; top: 26px;
    font-size: 1.4rem;
    color: var(--ek-red);
    opacity: .2;
    transition: opacity .3s, transform .5s var(--ek-ease);
}
.ek-stat:hover .ek-stat__icon { opacity: 1; transform: rotate(-10deg) scale(1.15); }
@media (max-width: 991px) {
    .ek-stats { margin-top: -40px; }
    .ek-stats__grid { grid-template-columns: repeat(2, 1fr); }
    .ek-stat:nth-child(3)::before { display: none; }
    .ek-stat:nth-child(n+3) { border-top: 1px solid #eee; }
}
@media (max-width: 480px) {
    .ek-stat { padding: 24px 18px; }
    .ek-stat__icon { display: none; }
}

/* --------------------------------------------------------------------------
   7) Video bölümü (Bakım & Kontrol)
   -------------------------------------------------------------------------- */
.ek-videoband {
    padding: 120px 0;
    background: #0f0f10;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.ek-videoband::before {
    content: "";
    position: absolute;
    width: 700px; height: 700px;
    right: -200px; top: -250px;
    background: radial-gradient(circle, rgba(211, 47, 47, .28), transparent 65%);
    pointer-events: none;
}
.ek-videoband__frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    box-shadow: 0 40px 80px rgba(0, 0, 0, .5);
    transform: perspective(1200px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg));
    transition: transform .6s var(--ek-ease);
}
.ek-videoband__frame video,
.ek-videoband__frame img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.12);
    transition: transform 1.6s var(--ek-ease);
}
.ek-videoband__frame.is-in video,
.ek-videoband__frame.is-in img { transform: scale(1); }
.ek-videoband__frame::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, .1);
    pointer-events: none;
}
.ek-videoband__tag {
    position: absolute;
    left: 18px; bottom: 18px;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(6px);
    font-size: .8rem;
    font-weight: 600;
}
.ek-videoband__tag .rec { width: 8px; height: 8px; border-radius: 50%; background: #ff3b3b; animation: ekPing 1.6s infinite; }
.ek-kicker {
    display: inline-block;
    color: var(--ek-orange);
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-size: .78rem;
    margin-bottom: 16px;
}
.ek-videoband h2 {
    font-size: clamp(2rem, 3.6vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    margin-bottom: 22px;
    color: #fff;
}
.ek-videoband p { color: rgba(255, 255, 255, .7); font-size: 1.05rem; line-height: 1.75; }
.ek-checks { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 14px; }
.ek-checks li { display: flex; gap: 14px; align-items: flex-start; color: rgba(255, 255, 255, .88); }
.ek-checks i {
    flex: 0 0 28px; height: 28px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(211, 47, 47, .18);
    color: var(--ek-orange);
    font-size: .9rem;
}

/* --------------------------------------------------------------------------
   8) Kartlar: 3D tilt + ışık parlaması
   -------------------------------------------------------------------------- */
.ek-tilt {
    transform-style: preserve-3d;
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0));
    transition: transform .5s var(--ek-ease), box-shadow .4s;
    position: relative;
}
.ek-tilt.is-hover { transition: transform .12s linear, box-shadow .4s; --ty: -6px; }
.ek-tilt .ek-glare {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .35), transparent 40%);
    opacity: 0;
    transition: opacity .4s;
    z-index: 5;
}
.ek-tilt.is-hover .ek-glare { opacity: 1; }

/* Görsel hover zoom */
.product-item img,
.product-category-img {
    transition: transform .8s var(--ek-ease), filter .5s !important;
}
.product-item:hover img,
.product-category-card:hover .product-category-img { transform: scale(1.06); }

/* --------------------------------------------------------------------------
   9) İç sayfa hero alanları: hareketli zemin
   -------------------------------------------------------------------------- */
.product-hero,
header.animated-header,
.hero-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.product-hero::after,
header.animated-header::after {
    content: "";
    position: absolute;
    inset: -50%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(closest-side, rgba(255, 140, 50, .35), transparent) 20% 30% / 45% 45% no-repeat,
        radial-gradient(closest-side, rgba(255, 60, 40, .3), transparent) 75% 70% / 50% 50% no-repeat;
    animation: ekAurora 16s ease-in-out infinite alternate;
    mix-blend-mode: screen;
}
@keyframes ekAurora {
    from { transform: translate3d(-4%, -2%, 0) rotate(0deg); }
    to   { transform: translate3d(4%, 3%, 0) rotate(8deg); }
}
.product-hero .container,
header.animated-header .container { position: relative; z-index: 2; }

/* Ürün özellik rozetleri tek tek gelsin */
.feature-badge { transition: transform .35s var(--ek-ease), background .3s; }
.feature-badge:hover { transform: translateY(-3px); }

/* Mıknatıslı buton etkisi */
.ek-magnetic { transition: transform .4s var(--ek-ease); will-change: transform; }

/* --------------------------------------------------------------------------
   10) Hareket azaltma tercihi
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    [data-reveal], .ek-split .w > span, hr.divider.ek-line { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
    .ek-curtain { display: none; }
    .ek-embers { display: none; }
}

@media (max-width: 767px) {
    .ek-hero .container { padding-top: 110px; padding-bottom: 110px; }
    .ek-hero__badge { display: none; }
    .ek-hero__lead { font-size: 1rem; }
    .ek-btn { padding: 14px 24px; }
    .ek-videoband { padding: 80px 0; }
    .ek-totop { left: 16px; bottom: 16px; width: 46px; height: 46px; }
}

/* Ana sayfa ince ayarlar */
.ek-hero__scroll { bottom: 96px; }
.ek-hero .container { padding-bottom: 170px; }
#portfolio { padding-top: 100px; }
@media (max-width: 991px) { .ek-hero__scroll { bottom: 60px; } }
@media (max-width: 767px) { .ek-hero__scroll { display: none; } .ek-hero .container { padding-bottom: 90px; } }

/* --------------------------------------------------------------------------
   Yükleme ekranı: Ekipler logosu (beyaz zemin)
   -------------------------------------------------------------------------- */
html::after {
    background: #fff url("../assets/img/logo-loader.png") center calc(50% - 26px) / auto 120px no-repeat;
}
.ek-curtain { background: #fff; }
.ek-curtain__mark { color: var(--ek-red); gap: 18px; }
.ek-curtain__name {
    font-weight: 800;
    letter-spacing: .32em;
    font-size: .8rem;
    text-transform: none;
    color: #1d1d1d;
    animation: ekFadeUp .7s var(--ek-ease) .45s both;
}
.ek-logo-loader {
    display: block;
    height: 120px;
    width: auto;
    animation: ekLogoIn 1s var(--ek-ease) both, ekLogoGlow 1.8s ease-in-out 1s infinite;
}
.ek-curtain__bar { background: rgba(0, 0, 0, .08); animation: ekFadeUp .7s var(--ek-ease) .6s both; }
.ek-curtain.no-intro .ek-logo-loader { animation: ekLogoGlow 1.8s ease-in-out infinite; }
.ek-curtain.no-intro .ek-curtain__name,
.ek-curtain.no-intro .ek-curtain__bar { animation: none; }
@keyframes ekLogoIn {
    from { opacity: 0; transform: translateY(16px) scale(.86); clip-path: inset(100% 0 0 0); }
    to   { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
}
@keyframes ekLogoGlow {
    0%, 100% { filter: drop-shadow(0 0 0 rgba(255, 90, 30, 0)); transform: scale(1); }
    50%      { filter: drop-shadow(0 8px 20px rgba(255, 90, 30, .45)); transform: scale(1.04); }
}
@keyframes ekFadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
html::after { z-index: 100000; }
.ek-curtain { z-index: 100001; }

/* ==========================================================================
   Mobil düzeltmeler (11.11.2026)
   ========================================================================== */

/* 1) Hero başlığındaki renkli kelimeler iOS'ta görünmüyordu.
      Degrade, kelime animasyonu sırasında her kelimeye ayrı uygulanıyor. */
.ek-hero h1 em {
    background: none;
    color: var(--ek-orange);
    -webkit-text-fill-color: currentColor;
}
.ek-hero h1 em .w > span {
    background: linear-gradient(90deg, var(--ek-ember), var(--ek-orange) 45%, #ff4d2e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    padding-right: .04em;
}
/* Kelimeler alt satıra geçerken boşluk bozulmasın */
.ek-hero h1 { max-width: 15ch; }
@media (max-width: 767px) {
    .ek-hero h1 { font-size: clamp(2.1rem, 9.5vw, 2.8rem); max-width: none; line-height: 1.1; }
    .ek-hero__eyebrow { font-size: .68rem; letter-spacing: .1em; padding: 7px 14px 7px 9px; margin-bottom: 20px; }
    .ek-hero__ctas { flex-direction: column; align-items: stretch; }
    .ek-hero__ctas .ek-btn { justify-content: center; }
}

/* 2) Video: iOS oynat düğmesini gizle, oynamazsa poster görünsün */
video[data-ek-video]::-webkit-media-controls,
video[data-ek-video]::-webkit-media-controls-start-playback-button,
video[data-ek-video]::-webkit-media-controls-overlay-play-button,
video[data-ek-video]::-webkit-media-controls-panel { display: none !important; -webkit-appearance: none; }
video[data-ek-video] { background: #111 center / cover no-repeat; pointer-events: none; }
.ek-hero__media { background: #0d0d0d url("../assets/video/hero-poster.jpg") center / cover no-repeat; }
@media (max-width: 767px) {
    .ek-hero__media { inset: 0; will-change: auto; transform: none !important; }
    .ek-hero__media video { height: 100%; }
    .ek-hero .container { transform: none !important; opacity: 1 !important; }
}

/* 3) Alttaki sabit butonlar yazıların üstünü kapatmasın:
      mobilde ikisi de sağda, küçük ve üst üste */
@media (max-width: 767px) {
    .whatsapp-button { right: 14px; bottom: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
    .whatsapp-button a { width: 52px; height: 52px; font-size: 24px; }
    .whatsapp-tooltip { display: none; }
    .ek-totop {
        left: auto;
        right: 18px;
        bottom: 78px;
        bottom: calc(78px + env(safe-area-inset-bottom));
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, .92);
        box-shadow: 0 6px 18px rgba(0, 0, 0, .14);
    }
    .ek-totop i { font-size: 1rem; }
    /* Sayfa sonundaki içerik butonların altında kalmasın */
    footer, .footer { padding-bottom: 90px !important; }
}

/* 4) Animasyonlar mobilde daha kısa ve hafif: içerik takılmadan görünür */
@media (max-width: 767px) {
    [data-aos] { transition-duration: .6s !important; }
    [data-aos^="fade"][data-aos^="fade"] { transform: translate3d(0, 24px, 0); }
    [data-aos^="fade"].aos-animate,
    [data-aos^="zoom"].aos-animate { transform: none !important; opacity: 1 !important; }
    [data-aos="fade-left"], [data-aos="fade-right"] { transform: translate3d(0, 24px, 0) !important; }
    [data-aos="fade-left"].aos-animate, [data-aos="fade-right"].aos-animate { transform: none !important; }
    [data-reveal="left"], [data-reveal="right"] { transform: translateY(30px); }
    [data-reveal].is-in { transform: none; }
    body { overflow-x: hidden; }
}

/* 5) Kart içindeki onay işaretli listeler: ikon ve yazı hizalı dursun */
.type-features, .product-features, .feature-list {
    display: inline-block;
    text-align: left;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 767px) {
    .type-features li, .product-features li, .feature-list li { line-height: 1.5; }
}

/* 6) "Yukarı çık" butonu: halka butonun tam ortasında dursun,
      sayfa sonundaki yazının üstüne binmesin */
.ek-totop { padding: 0; overflow: visible; }
.ek-totop svg { top: 0; left: 0; width: 100%; height: 100%; display: block; }
.ek-totop i { display: flex; align-items: center; justify-content: center; line-height: 1; width: 100%; height: 100%; }
@media (max-width: 767px) {
    footer, .footer, .footer-section { padding-bottom: 150px !important; }
}

/* 7) Reklam uyumluluğu (13.11.2026): içerik ilk andan itibaren görünür.
      Sayfayı örten açılış katmanı ve perde kaldırıldı. */
html::after { content: none !important; display: none !important; }
.ek-curtain { display: none !important; }
.ek-hero [data-reveal] { transition-delay: calc(var(--d, 0s) * .3); }

/* 8) Çok uzun ekranlarda (ör. Google'ın sayfa görüntüleyicisi) üst alan
      binlerce piksel uzamasın; başlık ve yazılar en üstte görünsün */
@media (min-height: 1100px) {
    .product-hero, .ek-hero, .hero-section {
        min-height: 760px !important;
        height: auto !important;
    }
}
