/* ============================================================
   DENİZ MEDIA INTERACTIVE — Tasarım Sistemi
   Marka rengi logodan: #009FE3
   ============================================================ */

:root {
    --blue:        #009FE3;
    --blue-light:  #3fc1ff;
    --blue-dark:   #0071a8;
    --ink:         #050d16;   /* en koyu zemin */
    --ink-2:       #081420;   /* bölüm zemini */
    --ink-3:       #0d1e30;   /* kart zemini */
    --line:        rgba(255,255,255,.08);
    --text:        #eaf2f8;
    --text-dim:    #8fa3b5;
    --font-head:   'Sora', sans-serif;
    --font-body:   'Inter', sans-serif;
    --ease:        cubic-bezier(.65,.05,0,1);
    --ease-out:    cubic-bezier(.16,1,.3,1);
    --header-h:    88px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--ink);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; color: inherit; cursor: pointer; }

::selection { background: var(--blue); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #16334d; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

.container { width: min(1280px, 92vw); margin-inline: auto; }

/* ---------- Özel imleç ---------- */
.cursor-dot, .cursor-ring {
    position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
    border-radius: 50%; transform: translate(-50%, -50%);
}
.cursor-dot { width: 8px; height: 8px; background: var(--blue); transition: opacity .3s; }
.cursor-ring {
    width: 44px; height: 44px; border: 1.5px solid rgba(0,159,227,.5);
    display: flex; align-items: center; justify-content: center;
    transition: width .35s var(--ease-out), height .35s var(--ease-out),
                background-color .35s, border-color .35s;
}
.cursor-ring.is-active { width: 84px; height: 84px; background: rgba(0,159,227,.92); border-color: transparent; }
.cursor-label {
    font-size: 12px; font-weight: 600; color: #fff; opacity: 0;
    transition: opacity .25s; white-space: nowrap; font-family: var(--font-head);
}
.cursor-ring.is-active .cursor-label { opacity: 1; }
@media (hover: none), (pointer: coarse) {
    .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- Preloader ---------- */
.preloader {
    position: fixed; inset: 0; z-index: 10000; background: var(--ink);
    display: flex; align-items: center; justify-content: center;
    transition: transform 1s var(--ease); overflow: hidden;
}
.preloader.is-done { transform: translateY(-100%); }
.preloader-inner { text-align: center; position: relative; z-index: 2; }
.preloader-logo { width: 200px; margin: 0 auto 28px; animation: plPulse 1.6s ease-in-out infinite; }
@keyframes plPulse { 50% { opacity: .55; transform: scale(.97); } }
.preloader-bar {
    width: 220px; height: 2px; background: rgba(255,255,255,.12);
    margin: 0 auto 14px; border-radius: 2px; overflow: hidden;
}
.preloader-bar span { display: block; height: 100%; width: 0; background: var(--blue); transition: width .25s; }
.preloader-count { font-family: var(--font-head); font-size: 13px; color: var(--text-dim); letter-spacing: .2em; }
.preloader-wave {
    position: absolute; left: -50%; bottom: -12%; width: 200%; height: 30%;
    background: radial-gradient(ellipse at center, rgba(0,159,227,.16), transparent 70%);
    animation: plWave 4s ease-in-out infinite alternate;
}
@keyframes plWave { to { transform: translateX(6%) scaleY(1.25); } }

/* ---------- Sayfa geçişi ---------- */
.page-transition {
    position: fixed; inset: 0; z-index: 9990; pointer-events: none;
}
.page-transition span {
    position: absolute; inset: 0; background: var(--blue);
    transform: scaleY(0); transform-origin: bottom;
}
.page-transition.is-in span { animation: ptIn .6s var(--ease) forwards; }
@keyframes ptIn { to { transform: scaleY(1); } }

/* ---------- Header ---------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 900;
    transition: transform .5s var(--ease-out), background .4s, backdrop-filter .4s;
}
.site-header.is-scrolled {
    background: rgba(5,13,22,.82); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner {
    width: min(1400px, 94vw); margin-inline: auto; height: var(--header-h);
    display: flex; align-items: center; justify-content: space-between;
}
.brand img { height: 40px; width: auto; }
.brand-dark { display: none; }
.header-right { display: flex; align-items: center; gap: 34px; }

.menu-toggle {
    display: flex; flex-direction: column; align-items: flex-end; gap: 7px;
    padding: 10px 0; position: relative;
}
.menu-toggle-line {
    display: block; width: 34px; height: 2px; background: var(--text);
    transition: transform .45s var(--ease), width .3s, background .3s;
}
.menu-toggle-line:nth-child(2) { width: 22px; }
.menu-toggle:hover .menu-toggle-line:nth-child(2) { width: 34px; }
.menu-toggle-text {
    font-size: 10px; letter-spacing: .3em; color: var(--text-dim); font-weight: 600;
    transition: opacity .3s, transform .3s;
}
body.menu-open .menu-toggle-text { opacity: 0; transform: translateY(6px); }
body.menu-open .menu-toggle-line:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
body.menu-open .menu-toggle-line:nth-child(2) { width: 34px; transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- Tam ekran menü: dairesel açılım + görsel panel ---------- */
.fullmenu {
    position: fixed; inset: 0; z-index: 800; background: #04090f;
    clip-path: circle(0px at calc(100% - 62px) 52px);
    transition: clip-path .85s var(--ease);
    pointer-events: none;
}
body.menu-open .fullmenu { clip-path: circle(142% at calc(100% - 62px) 52px); pointer-events: auto; }
.fullmenu-inner { height: 100%; display: flex; flex-direction: column; }

/* Dikey panel (akordeon kolon) navigasyonu */
.fm-cols { flex: 1; display: flex; min-height: 0; padding-top: var(--header-h); }
.fm-col {
    position: relative; flex: 1; min-width: 0;
    display: flex; flex-direction: column; align-items: center;
    padding: 4vh 10px 5vh; overflow: hidden;
    border-left: 1px solid var(--line);
    transition: flex-grow .7s var(--ease), background-color .45s;
    opacity: 0;
}
.fm-col:first-child { border-left: none; }
body.menu-open .fm-col {
    animation: fmColIn .8s var(--ease) backwards;
    animation-delay: calc(.32s + var(--i) * .07s);
    opacity: 1;
}
@keyframes fmColIn {
    from { opacity: 0; transform: translateY(7vh); }
    to   { opacity: 1; transform: none; }
}
.fm-col:hover, .fm-col:focus-visible { flex-grow: 2.6; background: rgba(0,159,227,.05); }
.fm-cols:hover .fm-col:not(:hover) .fm-col-dikey { opacity: .3; }

.fm-col-num {
    font-family: var(--font-head); font-size: 13px; font-weight: 700;
    color: var(--blue); margin-bottom: 4vh; transition: transform .4s var(--ease-out);
}
.fm-col:hover .fm-col-num { transform: scale(1.35); }

/* Kapalı durum: dikey yazı */
.fm-col-dikey {
    flex: 1; display: flex; align-items: center; justify-content: center;
    writing-mode: vertical-rl; transform: rotate(180deg);
    font-family: var(--font-head); font-weight: 700;
    font-size: clamp(16px, 2.4vh, 24px); letter-spacing: .06em;
    color: var(--text); white-space: nowrap;
    transition: opacity .35s;
}
.fm-col:hover .fm-col-dikey, .fm-col:focus-visible .fm-col-dikey { opacity: 0 !important; }

/* Açık durum: yatay başlık + keşfet */
.fm-col-icerik {
    position: absolute; left: 0; right: 0; bottom: 7vh;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    opacity: 0; transform: translateY(26px);
    transition: opacity .35s ease .1s, transform .5s var(--ease-out) .1s;
    pointer-events: none; padding: 0 14px;
}
.fm-col:hover .fm-col-icerik, .fm-col:focus-visible .fm-col-icerik { opacity: 1; transform: none; }
.fm-col-baslik {
    font-family: var(--font-head); font-weight: 800; color: #fff;
    font-size: clamp(20px, 2.1vw, 30px); line-height: 1.1; text-align: center;
    max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.fm-col-git {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-head); font-size: 13px; font-weight: 600;
    color: var(--blue); letter-spacing: .14em; text-transform: uppercase;
}
.fm-col-git i { font-style: normal; transition: transform .35s var(--ease-out); }
.fm-col:hover .fm-col-git i { transform: translateX(5px); }

/* Kolon dibinde yükselen dalga */
.fm-col-dalga {
    position: absolute; left: 0; right: 0; bottom: 0; height: 0;
    background: linear-gradient(to top, rgba(0,159,227,.22), transparent);
    transition: height .55s var(--ease);
    pointer-events: none;
}
.fm-col:hover .fm-col-dalga { height: 34%; }

/* Alt iletişim çubuğu */
.fm-alt {
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    border-top: 1px solid var(--line);
    padding: 18px max(4vw, calc((100vw - 1280px) / 2)) 18px;
    flex-wrap: wrap;
    opacity: 0; transform: translateY(16px);
    transition: opacity .5s ease, transform .6s var(--ease-out);
}
body.menu-open .fm-alt { opacity: 1; transform: none; transition-delay: .85s; }
.fm-alt a {
    font-family: var(--font-head); font-size: 13px; font-weight: 600;
    color: var(--text-dim); transition: color .3s;
}
.fm-alt a:hover { color: var(--blue); }
.fm-alt-sol { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.fm-alt-sol a { color: var(--text); font-size: 14px; }
.fm-alt-sol a:hover { color: var(--blue); }
.fm-alt-ayrac { color: var(--blue); font-size: 11px; }
.fm-alt-sag { display: flex; gap: 18px; flex-wrap: wrap; padding-right: 84px; /* WhatsApp balonu */ }
.fm-alt-sag a { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Hero ---------- */
.hero {
    position: relative; min-height: 100svh; display: flex; flex-direction: column;
    justify-content: center; overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-gradient {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(900px 500px at 78% 18%, rgba(0,159,227,.14), transparent 65%),
        linear-gradient(to top, var(--ink) 2%, transparent 30%);
}
.hero-inner { position: relative; z-index: 2; padding-top: var(--header-h); }
.hero-slider {
    position: relative; min-height: 380px;
    cursor: grab; touch-action: pan-y; user-select: none;
    transition: height .4s var(--ease-out);
}
.hero-slider.is-dragging { cursor: grabbing; }
.hero-slide {
    position: absolute; inset: 0 0 auto 0;
    opacity: 0; pointer-events: none;
    transform: translateY(44px);
    transition: opacity .7s ease .15s, transform .8s var(--ease-out) .15s;
    will-change: opacity, transform;
}
.hero-slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.hero-slide.is-leaving {
    opacity: 0; transform: translateY(-40px);
    transition: opacity .45s ease, transform .5s var(--ease);
}
.hero-slide.is-active .hero-kicker,
.hero-slide.is-active .hero-desc { animation: slideFade .9s var(--ease-out) .25s backwards; }
@keyframes slideFade { from { opacity: 0; transform: translateY(22px); } }
.hero-kicker {
    display: flex; align-items: center; gap: 14px;
    font-size: 12px; letter-spacing: .35em; color: var(--blue);
    font-weight: 600; margin-bottom: 28px;
}
.hero-kicker span { width: 56px; height: 1.5px; background: var(--blue); display: inline-block; }
.hero-title {
    font-family: var(--font-head);
    font-size: clamp(38px, 7vw, 96px);
    font-weight: 800; line-height: 1.04; letter-spacing: -.02em;
    max-width: 16ch; margin-bottom: 28px; color: #fff;
}
.hero-desc { max-width: 54ch; color: var(--text-dim); font-size: clamp(15px, 1.3vw, 18px); }

.hero-bottom {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 56px; gap: 30px; flex-wrap: wrap;
}
.hero-nav { display: flex; gap: 14px; }
.hero-dot { position: relative; width: 36px; height: 36px; }
.hero-dot svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.hero-dot circle {
    fill: none; stroke: var(--blue); stroke-width: 2;
    stroke-dasharray: 100.5; stroke-dashoffset: 100.5;
}
.hero-dot.is-active circle { animation: dotRing var(--slide-sure, 6s) linear forwards; }
@keyframes dotRing { to { stroke-dashoffset: 0; } }
.hero-dot i {
    position: absolute; top: 50%; left: 50%; width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255,255,255,.35); transform: translate(-50%,-50%); transition: background .3s;
}
.hero-dot.is-active i { background: var(--blue); }
.hero-cta {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--font-head); font-weight: 600; font-size: 15px;
    padding: 18px 34px; border: 1px solid rgba(255,255,255,.18); border-radius: 60px;
    position: relative; overflow: hidden; transition: border-color .35s, color .35s;
}
.hero-cta::before {
    content: ''; position: absolute; inset: 0; background: var(--blue);
    transform: translateY(101%); transition: transform .45s var(--ease); z-index: -1;
    border-radius: inherit;
}
.hero-cta:hover { border-color: var(--blue); color: #fff; }
.hero-cta:hover::before { transform: none; }
.hero-cta-arrow { transition: transform .35s var(--ease-out); }
.hero-cta:hover .hero-cta-arrow { transform: translateX(6px); }

.hero-scroll {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    font-size: 10px; letter-spacing: .35em; text-transform: uppercase; color: var(--text-dim);
    z-index: 3;
}
.hero-scroll i {
    width: 1.5px; height: 44px; background: rgba(255,255,255,.14); position: relative; overflow: hidden;
}
.hero-scroll i::after {
    content: ''; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
    background: var(--blue); animation: scrollDrip 1.8s var(--ease) infinite;
}
@keyframes scrollDrip { to { top: 110%; } }

/* ---------- Kelime bölme animasyonu ---------- */
.split-lines .w { display: inline-block; overflow: hidden; vertical-align: top; }
.split-lines .wi {
    display: inline-block; transform: translateY(115%);
    transition: transform .9s var(--ease);
}
.split-lines.is-inview .wi { transform: none; }

/* ---------- Marquee (logo akışı için) ---------- */
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Bölüm başlıkları ---------- */
.section-kicker {
    font-size: 11px; letter-spacing: .35em; text-transform: uppercase;
    color: var(--blue); font-weight: 700; margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-head); font-size: clamp(30px, 4.4vw, 56px);
    font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: #fff;
}
.section-title em, .section-title b { font-style: normal; color: var(--blue); }
.section-sub { color: var(--text-dim); max-width: 60ch; margin-top: 18px; }
.section-head { margin-bottom: 60px; }
.section-head-row {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.dot { color: var(--blue); font-style: normal; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(48px); transition: opacity .9s ease, transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-inview { opacity: 1; transform: none; }

/* ---------- Butonlar ---------- */
.btn-line {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-head); font-weight: 600; font-size: 15px; color: #fff;
    padding-bottom: 6px; border-bottom: 2px solid var(--blue); transition: color .3s, gap .3s;
}
.btn-line:hover { color: var(--blue); gap: 16px; }
.btn-line i, .btn-solid i { font-style: normal; }
.btn-solid {
    display: inline-flex; align-items: center; gap: 12px; margin-top: 30px;
    background: var(--blue); color: #fff; font-family: var(--font-head);
    font-weight: 600; font-size: 15px; padding: 18px 36px; border-radius: 60px;
    transition: background .3s, transform .3s var(--ease-out), box-shadow .3s;
}
.btn-solid:hover {
    background: var(--blue-light); transform: translateY(-3px);
    box-shadow: 0 16px 40px -12px rgba(0,159,227,.55);
}

/* ---------- Hakkımızda ---------- */
.about { padding: 130px 0 90px; background: var(--ink); position: relative; }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
.about-text { color: var(--text-dim); font-size: 17px; margin: 26px 0 36px; max-width: 56ch; }
.about-visual { position: relative; border-radius: 20px; overflow: hidden; }
.about-visual > img { width: 100%; aspect-ratio: 4/4.6; object-fit: cover; transform: scale(1.12); }
.about-badge {
    position: absolute; left: 24px; bottom: 24px; background: var(--blue); color: #fff;
    border-radius: 16px; padding: 18px 22px; display: flex; align-items: center; gap: 12px;
    box-shadow: 0 20px 50px -12px rgba(0,159,227,.6);
}
.about-badge strong { font-family: var(--font-head); font-size: 42px; font-weight: 800; line-height: 1; }
.about-badge span { font-size: 12px; line-height: 1.35; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Sayaçlar ---------- */
.counters {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px; margin-top: 90px; padding-top: 60px; border-top: 1px solid var(--line);
}
.counter { text-align: left; }
.counter-num, .counter-plus {
    font-family: var(--font-head); font-size: clamp(44px, 5vw, 72px);
    font-weight: 800; color: #fff; line-height: 1;
}
.counter-plus { color: var(--blue); }
.counter-label {
    margin-top: 10px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
    color: var(--text-dim); font-weight: 600;
}
.counter-label br { display: none; }

/* ---------- Hizmet listesi ---------- */
.services { padding: 120px 0; background: var(--ink-2); position: relative; }
.service-list { border-top: 1px solid var(--line); }
.service-row {
    display: grid; grid-template-columns: 70px 1.2fr 1fr 60px;
    align-items: center; gap: 30px; padding: 38px 10px;
    border-bottom: 1px solid var(--line); position: relative;
    transition: padding .4s var(--ease-out), background .4s;
}
.service-row:hover { background: rgba(0,159,227,.05); padding-left: 26px; }
.service-num { font-family: var(--font-head); color: var(--blue); font-weight: 600; font-size: 15px; }
.service-name {
    font-family: var(--font-head); font-size: clamp(20px, 2.6vw, 34px); font-weight: 700;
    color: #fff; transition: color .3s;
}
.service-row:hover .service-name { color: var(--blue); }
.service-brief { color: var(--text-dim); font-size: 14px; }
.service-arrow {
    font-size: 26px; color: var(--text-dim); justify-self: end;
    transition: transform .4s var(--ease-out), color .3s;
}
.service-row:hover .service-arrow { transform: translateX(8px) rotate(-45deg); color: var(--blue); }
.service-preview {
    position: fixed; z-index: 700; width: 340px; aspect-ratio: 16/11; pointer-events: none;
    border-radius: 14px; overflow: hidden; opacity: 0; transform: scale(.85);
    transition: opacity .35s, transform .45s var(--ease-out);
    box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); top: 0; left: 0;
}
.service-preview.is-on { opacity: 1; transform: scale(1); }
.service-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hizmet kartları (liste sayfası) ---------- */
.services-page { background: var(--ink); }
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
    background: var(--ink-3); border: 1px solid var(--line); border-radius: 20px;
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform .45s var(--ease-out), border-color .3s, box-shadow .45s;
}
.service-card:hover {
    transform: translateY(-10px); border-color: rgba(0,159,227,.5);
    box-shadow: 0 30px 70px -30px rgba(0,159,227,.35);
}
.service-card-media { aspect-ratio: 16/9; overflow: hidden; }
.service-card-media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .8s var(--ease-out); filter: saturate(.9);
}
.service-card:hover .service-card-media img { transform: scale(1.08); }
.service-card-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.service-card-body h2 { font-family: var(--font-head); font-size: 21px; color: #fff; font-weight: 700; }
.service-card-body p { color: var(--text-dim); font-size: 14px; flex: 1; }

/* ---------- İşler ---------- */
.works { padding: 120px 0; background: var(--ink); }
.works-page { background: var(--ink); padding-top: 40px; }
.works-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px 40px; }
.works-grid .work-card:nth-child(even) { transform: translateY(70px); }
.works-grid .work-card:nth-child(even).is-inview { transform: translateY(70px); }
.work-card { display: block; }
.work-media {
    position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16/11;
    background: var(--ink-3);
}
.work-media > img:first-child {
    width: 100%; height: 100%; object-fit: cover; object-position: top;
    transition: transform .9s var(--ease-out), filter .5s;
}
.work-card:hover .work-media > img:first-child { transform: scale(1.06); filter: brightness(.45) saturate(.7); }
.work-mockup {
    position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain;
    opacity: 0; transform: translateY(36px) scale(.94);
    transition: opacity .5s, transform .65s var(--ease-out);
    filter: drop-shadow(0 30px 40px rgba(0,0,0,.5));
}
.work-card:hover .work-mockup { opacity: 1; transform: none; }
.work-meta { display: flex; align-items: baseline; justify-content: space-between; margin-top: 20px; gap: 16px; }
.work-meta h3 {
    font-family: var(--font-head); font-size: 22px; font-weight: 700; color: #fff;
    transition: color .3s;
}
.work-card:hover .work-meta h3 { color: var(--blue); }
.work-meta p { color: var(--text-dim); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Müşteri logoları ---------- */
.clients { padding: 120px 0 100px; background: var(--ink-2); overflow: hidden; }
.clients .section-head { margin-bottom: 50px; }
.logo-marquee { overflow: hidden; padding: 18px 0; position: relative; }
.logo-marquee::before, .logo-marquee::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 140px; z-index: 2; pointer-events: none;
}
.logo-marquee::before { left: 0; background: linear-gradient(to right, var(--ink-2), transparent); }
.logo-marquee::after { right: 0; background: linear-gradient(to left, var(--ink-2), transparent); }
.logo-track { display: flex; gap: 20px; width: max-content; animation: marquee 45s linear infinite; }
.logo-marquee[data-dir="-1"] .logo-track { animation-direction: reverse; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-item {
    display: flex; align-items: center; justify-content: center;
    width: 210px; height: 100px; background: rgba(255,255,255,.035);
    border: 1px solid var(--line); border-radius: 14px; padding: 24px;
    transition: background .35s, border-color .35s, transform .35s;
}
.logo-item:hover { background: rgba(255,255,255,.95); border-color: transparent; transform: translateY(-4px); }
.logo-item img {
    max-height: 52px; width: auto; object-fit: contain;
    filter: brightness(0) invert(1) opacity(.65); transition: filter .35s;
}
.logo-item:hover img { filter: none; }

/* ---------- Müşteriler sayfası ---------- */
.clients-page { padding: 60px 0 100px; }
.clients-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.client-box {
    background: var(--ink-3); border: 1px solid var(--line); border-radius: 16px;
    padding: 34px 24px 22px; display: flex; flex-direction: column; align-items: center; gap: 18px;
    transition: transform .4s var(--ease-out), border-color .3s, background .35s;
}
.client-box:hover { transform: translateY(-8px); border-color: rgba(0,159,227,.5); background: rgba(255,255,255,.97); }
.client-box img { max-height: 56px; width: auto; object-fit: contain; filter: brightness(0) invert(1) opacity(.7); transition: filter .35s; }
.client-box:hover img { filter: none; }
.client-box span { font-size: 12px; color: var(--text-dim); letter-spacing: .05em; transition: color .3s; }
.client-box:hover span { color: #33465a; }

.refs-sec { padding: 40px 0 120px; }
.refs-cloud { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.ref-chip {
    padding: 10px 20px; border: 1px solid var(--line); border-radius: 40px;
    font-size: 13px; color: var(--text-dim);
    transition: border-color .3s, color .3s, background .3s, transform .3s;
}
.ref-chip:hover { border-color: var(--blue); color: #fff; background: rgba(0,159,227,.12); transform: translateY(-2px); }

/* ---------- Blog ---------- */
.blog-sec { padding: 120px 0; background: var(--ink); }
.blog-page { padding-top: 40px; }
.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.blog-card {
    display: grid; grid-template-columns: .9fr 1.1fr; background: var(--ink-3);
    border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
    transition: transform .45s var(--ease-out), border-color .3s;
}
.blog-card:hover { transform: translateY(-8px); border-color: rgba(0,159,227,.5); }
.blog-media { overflow: hidden; min-height: 220px; }
.blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.blog-card:hover .blog-media img { transform: scale(1.08); }
.blog-body { padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.blog-body h2, .blog-body h3 { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: #fff; line-height: 1.35; }
.blog-body p { color: var(--text-dim); font-size: 14px; flex: 1; }
.blog-more { color: var(--blue); font-weight: 600; font-size: 14px; font-family: var(--font-head); transition: letter-spacing .3s; }
.blog-card:hover .blog-more, .service-card:hover .blog-more { letter-spacing: .04em; }

/* ---------- Sayfa başlığı ---------- */
.page-head { padding: calc(var(--header-h) + 90px) 0 70px; position: relative; overflow: hidden; }
.page-head::before {
    content: ''; position: absolute; top: -40%; right: -10%; width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(0,159,227,.12), transparent 65%); pointer-events: none;
}
.page-head-kicker {
    font-size: 12px; letter-spacing: .3em; text-transform: uppercase;
    color: var(--blue); font-weight: 700; margin-bottom: 20px;
}
.page-head-kicker a { color: var(--text-dim); transition: color .3s; }
.page-head-kicker a:hover { color: var(--blue); }
.page-head-title {
    font-family: var(--font-head); font-size: clamp(40px, 7vw, 88px);
    font-weight: 800; line-height: 1.05; letter-spacing: -.02em; color: #fff; max-width: 18ch;
}
.page-head-sub { color: var(--text-dim); font-size: 17px; margin-top: 24px; max-width: 60ch; }

/* ---------- İçerik sayfaları ---------- */
.content-sec { padding: 50px 0 110px; }
.content-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.content-visual { position: relative; border-radius: 20px; overflow: hidden; }
.content-visual img { width: 100%; transform: scale(1.1); }
.content-side { position: sticky; top: calc(var(--header-h) + 30px); }
.rich-text { color: var(--text-dim); font-size: 16.5px; }
.rich-text p { margin-bottom: 1.2em; }
.rich-text .lead { font-size: 21px; color: var(--text); font-weight: 500; line-height: 1.55; }
.rich-text h2, .rich-text h3 { font-family: var(--font-head); color: #fff; margin: 1.4em 0 .6em; line-height: 1.3; }
.rich-text img { border-radius: 14px; margin: 1.5em 0; }
.rich-text a { color: var(--blue); }
.rich-text a.btn-solid, .rich-text a.btn-solid:hover { color: #fff; }
.rich-text ul, .rich-text ol { padding-left: 1.3em; margin-bottom: 1.2em; }
.rich-text li { margin-bottom: .4em; }

/* ---------- Kalite ---------- */
.quality { padding: 100px 0 120px; background: var(--ink-2); }
.quality-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.quality-media { border-radius: 20px; overflow: hidden; }
.quality-item { display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.quality-item:last-child { border-bottom: none; }
.quality-num { font-family: var(--font-head); color: var(--blue); font-weight: 700; font-size: 15px; padding-top: 5px; }
.quality-item h3 { font-family: var(--font-head); color: #fff; font-size: 19px; margin-bottom: 8px; }
.quality-item p { color: var(--text-dim); font-size: 14.5px; }
.quality .section-title { margin-bottom: 30px; }

/* ---------- İş detay ---------- */
.workdetail { padding: 30px 0 90px; }
.workdetail-mockup { margin-bottom: 60px; }
.workdetail-mockup img { margin-inline: auto; max-height: 640px; filter: drop-shadow(0 50px 70px rgba(0,0,0,.55)); }
.workdetail-text { max-width: 760px; margin: 0 auto 70px; }
.browser-frame {
    /* konteynerden taşarak neredeyse tam sayfa genişliği */
    width: 96vw; margin-left: calc(50% - 48vw);
    border-radius: 16px; overflow: hidden;
    border: 1px solid var(--line); background: var(--ink-3);
    box-shadow: 0 40px 100px -30px rgba(0,0,0,.6);
}
.browser-bar {
    display: flex; align-items: center; gap: 8px; padding: 14px 18px;
    background: #0a1826; border-bottom: 1px solid var(--line);
}
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.14); }
.browser-bar i:first-child { background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-url {
    margin-left: 14px; font-size: 12px; color: var(--text-dim);
    background: rgba(255,255,255,.05); border-radius: 8px; padding: 5px 16px; flex: 1; text-align: center;
}
.browser-viewport { height: 70vh; max-height: 780px; overflow: hidden; position: relative; }
.browser-viewport.browser-viewport-live { height: 86vh; max-height: none; }
.browser-viewport img { width: 100%; transition: transform 6s cubic-bezier(.2,.4,.4,1); will-change: transform; }
.browser-viewport-live iframe { width: 100%; height: 100%; border: 0; background: #fff; }
.browser-bar a.browser-url { transition: color .3s; }
.browser-bar a.browser-url:hover { color: var(--blue); }
.browser-hint { text-align: center; font-size: 12px; color: var(--text-dim); padding: 12px; border-top: 1px solid var(--line); }
.page-head-detail .btn-line { margin-top: 28px; }

.next-project {
    display: block; background: var(--ink-2); border-block: 1px solid var(--line);
    padding: 80px 0; transition: background .4s;
}
.next-project:hover { background: var(--blue); }
.next-project p { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px; transition: color .3s; }
.next-project h2 {
    font-family: var(--font-head); font-size: clamp(32px, 5vw, 64px); font-weight: 800; color: #fff;
}
.next-project h2 span { display: inline-block; transition: transform .4s var(--ease-out); }
.next-project:hover h2 span { transform: translateX(14px); }
.next-project:hover p { color: rgba(255,255,255,.75); }

/* ---------- Blog detay ---------- */
.blogdetail { padding: 30px 0 100px; }
.blogdetail-inner { max-width: 860px; }
.blogdetail-cover { border-radius: 20px; overflow: hidden; margin-bottom: 50px; }
.blogdetail-cover img { width: 100%; transform: scale(1.08); }
.other-sec { padding: 90px 0 120px; background: var(--ink-2); }
.other-sec .section-title { margin-bottom: 50px; }

/* ---------- İletişim ---------- */
.contact-sec { padding: 40px 0 100px; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.contact-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.contact-label {
    display: block; font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
    color: var(--blue); font-weight: 700; margin-bottom: 10px;
}
.contact-item p { color: var(--text-dim); }
.contact-big {
    font-family: var(--font-head); font-size: clamp(18px, 1.8vw, 24px); font-weight: 600; color: #fff;
    transition: color .3s; word-break: break-word;
}
.contact-big:hover { color: var(--blue); }
.contact-form-wrap {
    background: var(--ink-3); border: 1px solid var(--line); border-radius: 24px; padding: 46px;
}
.contact-form-title { font-family: var(--font-head); font-size: 28px; color: #fff; }
.contact-form-sub { color: var(--text-dim); margin: 8px 0 34px; font-size: 14.5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-field { position: relative; margin-bottom: 22px; }
.form-field input, .form-field textarea {
    width: 100%; background: transparent; border: none; border-bottom: 1.5px solid rgba(255,255,255,.16);
    color: #fff; font-family: var(--font-body); font-size: 15px; padding: 14px 2px;
    outline: none; transition: border-color .3s; resize: vertical;
}
.form-field label {
    position: absolute; left: 2px; top: 14px; color: var(--text-dim); font-size: 15px;
    pointer-events: none; transition: all .3s var(--ease-out);
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--blue); }
.form-field input:focus + label, .form-field textarea:focus + label,
.form-field input:not(:placeholder-shown) + label, .form-field textarea:not(:placeholder-shown) + label {
    top: -10px; font-size: 11px; color: var(--blue); letter-spacing: .08em;
}
.hp-field { position: absolute !important; left: -9999px; opacity: 0; height: 0; }
.form-note { border-radius: 12px; padding: 18px 22px; margin-bottom: 26px; font-size: 15px; }
.form-note-ok { background: rgba(40,200,120,.12); border: 1px solid rgba(40,200,120,.4); color: #7ce8b4; }
.form-note-err { background: rgba(255,90,90,.1); border: 1px solid rgba(255,90,90,.35); color: #ff9c9c; }
.form-note-pop { animation: notePop .55s var(--ease-out); }
@keyframes notePop { from { opacity: 0; transform: translateY(18px) scale(.96); } }

/* Alan bazlı hata durumu */
.form-hata { display: block; font-size: 12px; color: #ff8a8a; margin-top: 7px; min-height: 0; }
.form-hata:empty { display: none; }
.form-field.is-error input, .form-field.is-error textarea { border-color: #ff5a5a; }
.form-field.is-error label { color: #ff8a8a; }
.contact-form.is-shake { animation: formShake .45s var(--ease-out); }
@keyframes formShake {
    20% { transform: translateX(-9px); } 40% { transform: translateX(7px); }
    60% { transform: translateX(-5px); } 80% { transform: translateX(3px); }
}

/* Gönderim durumu */
.btn-solid.is-loading { pointer-events: none; opacity: .75; }
.btn-solid.is-loading i { animation: btnSpin .8s linear infinite; }
@keyframes btnSpin { to { transform: rotate(360deg); } }

/* reCAPTCHA: rozet gizli, yasal bilgi formda gösteriliyor */
.grecaptcha-badge { visibility: hidden; }
.recaptcha-not { font-size: 11px; color: var(--text-dim); margin-top: 16px; line-height: 1.6; }
.recaptcha-not a { color: var(--blue); }
.map-sec { padding: 0; line-height: 0; filter: grayscale(1) invert(.92) hue-rotate(180deg); }
.map-sec iframe { width: 100%; height: 460px; border: 0; }

/* ---------- 404 ---------- */
.err-page { min-height: 70vh; display: flex; align-items: center; text-align: center; padding-bottom: 60px; }
.err-page .container { width: 100%; }
.err-code {
    font-family: var(--font-head); font-size: clamp(110px, 22vw, 280px); font-weight: 800;
    line-height: 1; color: #fff; letter-spacing: -.04em;
}
.err-wave { color: var(--blue); display: inline-block; animation: errFloat 3s ease-in-out infinite; }
@keyframes errFloat { 50% { transform: translateY(-18px) rotate(8deg); } }
.err-page .page-head-sub { margin: 20px auto 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-2); border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.site-footer::before {
    content: ''; position: absolute; bottom: -55%; left: 50%; transform: translateX(-50%);
    width: 1100px; height: 700px; pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(0,159,227,.12), transparent 65%);
}
.footer-cta { padding: 110px 0; position: relative; }
.footer-cta-grid {
    display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: end;
}
.footer-cta-sub {
    font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--blue);
    font-weight: 700; margin-bottom: 24px;
}
.footer-cta-title {
    display: block; font-family: var(--font-head);
    font-size: clamp(42px, 6.5vw, 96px); font-weight: 800; line-height: 1.05;
    letter-spacing: -.03em; color: #fff;
}
.footer-cta-title .line-mask { display: block; overflow: hidden; }
.footer-cta-title .line-mask span { display: inline-block; transition: transform .4s var(--ease-out), color .4s; }
.footer-cta-title:hover .line-mask span { color: var(--blue); transform: translateX(20px); }
.footer-cta-contact { display: flex; flex-direction: column; gap: 6px; padding-bottom: 12px; }
.footer-contact-line {
    font-family: var(--font-head); font-size: clamp(17px, 1.6vw, 22px); font-weight: 600;
    color: var(--text); width: fit-content; position: relative; transition: color .3s;
}
.footer-contact-line::after {
    content: ''; position: absolute; left: 0; bottom: -3px; height: 1.5px; width: 100%;
    background: var(--blue); transform: scaleX(0); transform-origin: right;
    transition: transform .4s var(--ease-out);
}
.footer-contact-line:hover { color: var(--blue); }
.footer-contact-line:hover::after { transform: scaleX(1); transform-origin: left; }
.footer-contact-adres { color: var(--text-dim); font-size: 13.5px; margin-top: 16px; max-width: 34ch; }
.footer-bar { border-top: 1px solid var(--line); position: relative; }
.footer-bar-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 26px;
    padding: 26px 0; flex-wrap: wrap;
}
.footer-bar-brand img { height: 30px; width: auto; opacity: .9; transition: opacity .3s; }
.footer-bar-brand:hover img { opacity: 1; }
.footer-copy { color: var(--text-dim); font-size: 13px; }
.footer-copy br { display: none; }
.footer-social { display: flex; gap: 10px; }
.footer-social-btn {
    width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center; color: var(--text-dim);
    transition: color .3s, border-color .3s, background .3s, transform .3s;
}
.footer-social-btn svg { width: 17px; height: 17px; }
.footer-social-btn:hover {
    color: #fff; border-color: var(--blue); background: var(--blue); transform: translateY(-3px);
}
.to-top {
    width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
    color: #fff; font-size: 18px; transition: background .3s, border-color .3s, transform .3s;
}
.to-top:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-4px); }

/* ---------- WhatsApp float ---------- */
.wa-float {
    position: fixed; right: 26px; bottom: 26px; z-index: 850;
    width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 14px 36px -8px rgba(37,211,102,.55);
    transition: transform .35s var(--ease-out);
    animation: waIn 1s var(--ease-out) 2.2s backwards;
}
.wa-float:hover { transform: scale(1.12) rotate(8deg); }
@keyframes waIn { from { transform: scale(0); } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
    .service-cards { grid-template-columns: 1fr 1fr; }
    .clients-grid { grid-template-columns: repeat(3, 1fr); }
    .content-grid, .quality-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
    .content-side { position: static; }
}

@media (max-width: 860px) {
    :root { --header-h: 72px; }
    .brand img { height: 32px; }
    .header-tel { display: none; }
    .fullmenu { overflow-y: auto; clip-path: circle(0px at calc(100% - 44px) 42px); }
    body.menu-open .fullmenu { clip-path: circle(160% at calc(100% - 44px) 42px); }
    /* Mobil: kolonlar yatay satırlara dönüşür */
    .fm-cols { flex-direction: column; }
    .fm-col {
        flex-direction: row; align-items: center; gap: 16px;
        padding: 0 6vw; border-left: none; border-top: 1px solid var(--line);
    }
    .fm-col:first-child { border-top: none; }
    .fm-col:hover { flex-grow: 1.6; }
    .fm-col-num { margin-bottom: 0; }
    .fm-col-dikey {
        writing-mode: horizontal-tb; transform: none;
        justify-content: flex-start; align-items: center;
        font-size: clamp(20px, 3vh, 26px); letter-spacing: 0;
        overflow: hidden; text-overflow: ellipsis;
    }
    .fm-col:hover .fm-col-dikey { opacity: 1 !important; color: var(--blue); }
    .fm-col-icerik { display: none; }
    .fm-col-dalga { display: none; }
    .fm-col::after {
        content: '→'; margin-left: auto; color: var(--blue);
        font-size: 20px; opacity: .6;
    }
    .fm-alt { flex-direction: column; align-items: flex-start; padding: 16px 6vw 20px; gap: 12px; }
    .fm-alt-sag { padding-right: 0; }
    .about-grid { grid-template-columns: 1fr; gap: 50px; }
    .works-grid { grid-template-columns: 1fr; gap: 44px; }
    .works-grid .work-card:nth-child(even), .works-grid .work-card:nth-child(even).is-inview { transform: none; }
    .blog-grid { grid-template-columns: 1fr; }
    .service-row { grid-template-columns: 44px 1fr 40px; }
    .service-brief { display: none; }
    .service-preview { display: none; }
    .hero-title { max-width: none; }
    .hero-scroll { display: none; } /* mobilde CTA ile çakışıyor */
    .hero-bottom { margin-top: 36px; }
    .hero-inner { padding-bottom: 40px; }
    .counters { gap: 40px 20px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-form-wrap { padding: 30px 22px; }
    .footer-cta { padding: 80px 0; }
    .footer-cta-grid { grid-template-columns: 1fr; gap: 44px; align-items: start; }
    .footer-bar-inner { justify-content: center; text-align: center; }
    .browser-viewport { height: 56vh; }
    .browser-viewport.browser-viewport-live { height: 74vh; }
}

@media (max-width: 560px) {
    .hero-title { font-size: 33px; }
    .hero-desc { font-size: 14.5px; }
    .hero-kicker { margin-bottom: 20px; font-size: 11px; }
    .service-cards { grid-template-columns: 1fr; }
    .clients-grid { grid-template-columns: 1fr 1fr; }
    .blog-card { grid-template-columns: 1fr; }
    .blog-media { min-height: 190px; max-height: 220px; }
    .hero-bottom { margin-top: 40px; }
    .logo-item { width: 160px; height: 82px; padding: 18px; }
    .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

/* ---------- 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;
    }
    .reveal, .split-lines .wi { opacity: 1 !important; transform: none !important; }
}
