/* ================================================================
   AKDENIZ ENDÜSTRİYEL TEMİZLİK — ULTRA PREMIUM v4
   Design Language: Deep Industrial Dark × Electric Precision
   Typography: Barlow Condensed (Display) + Space Grotesk (UI) + Inter (Body)
   Palette: Midnight Steel + Electric Blue + Burnished Gold
   ================================================================ */

/* ================================================================
   1. DESIGN TOKENS
   ================================================================ */
:root {
    /* ── Backgrounds ─────────────────────────────────────────── */
    --ink-950:   #030609;
    --ink-900:   #060c16;
    --ink-800:   #091220;
    --ink-700:   #0d1b30;
    --ink-600:   #122440;
    --ink-500:   #182e52;

    --bg-main:     var(--ink-950);
    --bg-card:     var(--ink-900);
    --bg-elevated: var(--ink-800);
    --bg-hover:    var(--ink-700);

    /* ── Primary — Electric Blue ─────────────────────────────── */
    --blue-300: #7dd3fc;
    --blue-400: #38bdf8;
    --blue-500: #0ea5e9;
    --blue-600: #0284c7;
    --blue-700: #0369a1;

    --primary:       var(--blue-500);
    --primary-light: var(--blue-400);
    --primary-deep:  var(--blue-700);

    /* ── Accent — Burnished Gold ─────────────────────────────── */
    --gold-300: #fde68a;
    --gold-400: #fbbf24;
    --gold-500: #f59e0b;
    --gold-600: #d97706;

    --accent:       var(--gold-500);
    --accent-light: var(--gold-400);
    --accent-deep:  var(--gold-600);

    /* ── Text ────────────────────────────────────────────────── */
    --text-100: #eef4ff;
    --text-200: #c8d8ef;
    --text-300: #90adc9;
    --text-400: #6b8db0; /* AA uyumlu: koyu kart zeminlerinde de 4.5:1 uzerinde kalir */
    --text-500: #364d65;

    /* ── Borders ─────────────────────────────────────────────── */
    --border-dim:    rgba(56, 189, 248, 0.06);
    --border-mid:    rgba(56, 189, 248, 0.12);
    --border-bright: rgba(56, 189, 248, 0.28);
    --border-gold:   rgba(251, 191, 36, 0.20);

    /* ── Glows ───────────────────────────────────────────────── */
    --glow-blue-sm:  0 0 24px rgba(14, 165, 233, 0.25);
    --glow-blue-md:  0 0 56px rgba(14, 165, 233, 0.20);
    --glow-blue-lg:  0 0 100px rgba(14, 165, 233, 0.14);
    --glow-gold-sm:  0 0 24px rgba(245, 158, 11, 0.30);
    --glow-gold-md:  0 0 56px rgba(245, 158, 11, 0.20);

    /* ── Shadows ─────────────────────────────────────────────── */
    --shadow-sm:   0 4px 16px rgba(0,0,0,0.45);
    --shadow-md:   0 12px 40px rgba(0,0,0,0.55);
    --shadow-lg:   0 24px 80px rgba(0,0,0,0.65);
    --shadow-card: 0 20px 60px -12px rgba(0,0,0,0.70), 0 0 0 1px var(--border-dim);

    /* ── Glass ───────────────────────────────────────────────── */
    --glass-bg:     rgba(9, 18, 32, 0.75);
    --glass-border: rgba(255, 255, 255, 0.045);

    /* ── Typography ──────────────────────────────────────────── */
    --font-display: 'Barlow Condensed', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body:    'Inter', sans-serif;

    /* ── Motion ──────────────────────────────────────────────── */
    --ease-expo:    cubic-bezier(0.16, 1, 0.3, 1);
    --ease-soft:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-gentle:  cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-in:      cubic-bezier(0.55, 0, 1, 0.45);
    --dur-fast:   0.32s;
    --dur-mid:    0.55s;
    --dur-slow:   0.85s;

    /* ── Spacing (8px scale: 8/16/24/32/48/64/96) ────────────── */
    --space-1:  8px;
    --space-2:  16px;
    --space-3:  24px;
    --space-4:  32px;
    --space-6:  48px;
    --space-8:  64px;
    --space-12: 96px;

    /* ── Layout ──────────────────────────────────────────────── */
    --max-w:      1240px;
    --header-h:   76px;
    --radius-sm:  8px;
    --radius-md:  14px;
    --radius-lg:  22px;
    --radius-xl:  32px;

    /* ── Semantic shortcuts ───────────────────────────────────── */
    --success: #10b981;
    --warning: #f59e0b;
    --danger:  #ef4444;
}

/* ================================================================
   2. RESET & BASE
   ================================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Mobil tarayicilarin dokunmada birakip biraktigi gri vurgu
       (tap highlight) kaldirilir; tiklama davranisini etkilemez,
       sadece o gorsel kalintiyi engeller. */
    -webkit-tap-highlight-color: transparent;
}

/* WebP + PNG fallback icin picture sarmalayicilari kullanilir; display:contents
   ile picture hicbir layout kutusu olusturmaz, img elemanlari eskisi gibi
   dogrudan ebeveynlerine gore konumlanir (slider/hero mutlak konumlar dahil). */
picture { display: contents; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
    overflow-x: hidden;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-100);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='300' height='300' filter='url(%23n)' opacity='0.022'/></svg>");
}

/* Tarayicinin varsayilan odak/tiklama halkasi (buton/linke tiklayinca
   beliren gri, buyuyen kutu) her yerde kapatilir; klavyeyle gezinen
   kullanicilar icin yerine ince, tonlarina uygun mavi bir halka gelir
   ve bu sadece klavye odaklanmasinda (:focus-visible) gorunur, fareyle
   tiklamada hic cikmaz. */
*:focus { outline: none; }

:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.35);
}

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

::selection { background: rgba(14, 165, 233, 0.35); color: #fff; }

/* ── Sayfa kaydırma çubuğu: tema ile uyumlu, sade mavi ─────────────
   İnce gövde, koyu ray ve yarı saydam mavi tutamaç; hover ile
   hafifçe belirginleşir — dikkat çekmeden siteye karışır. */
html {
    scrollbar-width: thin;                                   /* Firefox */
    scrollbar-color: rgba(14, 165, 233, 0.40) var(--ink-950);
}

::-webkit-scrollbar {                                        /* Chrome/Edge/Safari */
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--ink-950);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg,
        rgba(56, 189, 248, 0.30) 0%,
        rgba(14, 165, 233, 0.42) 100%);
    border-radius: 8px;
    border: 2px solid var(--ink-950);   /* ray ile arasında pay: ince görünüm */
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(56, 189, 248, 0.55);
}

::-webkit-scrollbar-corner {
    background: var(--ink-950);
}

/* Not: overflow-x: hidden tek başına kullanılınca dikey eksen otomatik
   "auto" olur ve içeriği taşan bölümler kendi kaydırma çubuğunu üretir
   (Hakkımızda bölümünde görülen hata). "clip" aynı kırpmayı yapar ama
   kaydırma konteyneri oluşturmaz. */
section { overflow-x: hidden; overflow-x: clip; }

/* ================================================================
   3. TYPOGRAPHY
   ================================================================ */
.t-display {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 0.95;
}

.t-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Gradient text utility */
.text-gradient {
    background: linear-gradient(135deg, var(--blue-400) 0%, var(--blue-300) 50%, var(--gold-300) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gold {
    background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-300) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ================================================================
   4. LAYOUT
   ================================================================ */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 48px);
}

/* ================================================================
   4b. AÇILIŞ EKRANI (PRELOADER)
   Sayfa yüklenirken tüm içeriği örten, tema ile uyumlu karşılama
   katmanı. body.preloading sınıfı satır içi script ile ilk boyamadan
   önce eklenir; kaldırma mantığı js/app.js içindedir. Kapanışta
   yukarı kayarak sayfayı açığa çıkarır (tam ekran menü ile aynı dil).
   ================================================================ */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 2000;   /* header (1000) dahil her seyin ustunde */
    display: none;
    align-items: center;
    justify-content: center;
    /* Tam opak olmali: yari saydam renk kullanilirsa alttaki header sizar */
    background:
        radial-gradient(ellipse 70% 55% at 50% 42%,
            #0a1424 0%,
            var(--ink-950) 100%);
    transform: translateY(0);
    transition: transform 0.85s var(--ease-expo);
}

/* Hero arka planindaki nokta izgarasinin sade bir yansimasi */
.preloader::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(56,189,248,0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, rgba(0,0,0,0.55) 0%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, rgba(0,0,0,0.55) 0%, transparent 100%);
    pointer-events: none;
}

body.preloading .preloader,
.preloader.preloader-exit { display: flex; }

.preloader-exit { transform: translateY(-100%); }

.preloader-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}

/* assets/logo2.png tek başına tam logo (AKDENİZ + ENDÜSTRİYEL TEMİZLİK
   gömülü); eski daire amblem ve ayrı marka yazısı ikilisinin yerini alır.
   Genişlik viewport genişliğine göre ölçeklenir ki hem mobilde küçük
   kalmasın hem masaüstünde perdenin tamamını ele geçirecek kadar
   büyümesin. */
.preloader-brandmark {
    width: clamp(200px, 34vw, 320px);
    height: auto;
    filter: drop-shadow(0 0 22px rgba(14, 165, 233, 0.35));
    animation: preloaderPop 0.85s var(--ease-expo) both;
}

.preloader-bar {
    width: 190px;
    height: 2px;
    border-radius: 2px;
    overflow: hidden;
    background: rgba(56, 189, 248, 0.12);
    animation: preloaderRise 0.9s var(--ease-expo) 0.4s both;
}

.preloader-bar-fill {
    display: block;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg,
        var(--blue-500) 0%,
        var(--blue-400) 60%,
        var(--gold-400) 100%);
    animation: preloaderFill 1.15s var(--ease-gentle) 0.45s both;
}

@keyframes preloaderPop {
    from { opacity: 0; transform: scale(0.78); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes preloaderRise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes preloaderFill {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

/* Açılış ekranı görünürken hero girişi ve sosyal buton animasyonları
   bekletilir (delay sayaci dahil durur); perde kalkarken kaldıkları
   yerden — yani en baştan — oynarlar. Tek koreografili giriş korunur. */
body.preloading .hero-brand,
body.preloading .hero-content .badge,
body.preloading .hero-subtitle,
body.preloading .hero-buttons,
body.preloading .hero-stats,
body.preloading .hero-visual-inner,
body.preloading .fab-item {
    animation-play-state: paused;
}

/* ================================================================
   5. HEADER
   ================================================================ */
#header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--header-h);
    transition: background var(--dur-mid) var(--ease-expo),
                border-color var(--dur-mid) var(--ease-expo),
                box-shadow var(--dur-mid) var(--ease-expo),
                transform 0.5s var(--ease-expo),
                opacity 0.35s var(--ease-soft);
    border-bottom: 1px solid transparent;
    animation: headerIn 0.8s var(--ease-expo) 0.05s both;
}

/* Otomatik gizlenen header: asagi kaydirirken yukari suzulur, yukari
   kaydirinca geri gelir (js/app.js scroll dinleyicisi yonetir). Logo
   cubuktan tasarak durdugu icin kayma tek basina yetmez — opacity ile
   birlikte kaybolur; gizliyken tiklanamaz olmali. */
#header.header-hidden {
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
}

@keyframes headerIn {
    from { opacity: 0; transform: translateY(-14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* When Lenis drives scrolling, native CSS smooth-scroll must be off —
   otherwise the browser re-smooths every per-frame scrollTo and anchor
   scrolling turns rubbery. (js/lib/smooth-scroll.js adds the class.) */
html.lenis-smooth { scroll-behavior: auto !important; }

/* Tam ekran menu acilirken/kapanirken paneli (z-index 990) headerin
   (z-index 1000) arkasindan geciyor; header saydamsa menu metinleri
   logonun etrafindan sizip logoyla ust uste biniyormus gibi gorunur.
   Menu acik/kapaniyorken headera da scrolled ile ayni opak zemin
   verilince metinler logonun gercekten arkasinda kalir, sizinti olmaz. */
#header.scrolled,
body:has(.fullscreen-menu.open) #header,
body:has(.fullscreen-menu.closing) #header {
    background: rgba(3, 6, 9, 0.88);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom-color: var(--border-dim);
    box-shadow: 0 1px 40px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: var(--space-3);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    flex-shrink: 0;
}

.logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(14, 165, 233, 0.35));
    transition: filter 0.45s var(--ease-soft), transform 0.45s var(--ease-spring);
}

.logo:hover .logo-img {
    filter: drop-shadow(0 0 14px rgba(14, 165, 233, 0.60));
    transform: scale(1.06);
}

/* Logo header çubuğundan (--header-h) daha uzun olduğu için üstten
   hizalanır — böylece taşan kısım aşağı, hero içeriğinin üstüne düşer,
   yukarı doğru viewport dışına taşıp kırpılmaz. */
.header-container .logo {
    align-self: flex-start;
}

/* Header bölümündeki tek logo öğesi — assets/logo2.png. Bilinçli olarak
   header yüksekliğinden büyük tutulur, taşan kısım hero bölümünün üstüne biner. */
.logo-wordmark {
    height: clamp(98px, 8vw, 128px);
    width: auto;
    filter: drop-shadow(0 0 6px rgba(14, 165, 233, 0.30));
    transition: filter 0.45s var(--ease-soft), transform 0.45s var(--ease-spring);
    /* PNG dosyasinin kendisi ustte/altta bolca bosluk barindiriyor; gorunur
       amblem header cubuguna gore ortalansin diye yukari cekilir. */
    transform: translateY(-12%);
}

.logo:hover .logo-wordmark {
    filter: drop-shadow(0 0 12px rgba(14, 165, 233, 0.55));
    transform: translateY(-12%) scale(1.04);
}

/* ── Header CTA ───────────────────────────────────────────────────
   header-container daki justify-content: space-between duzeninde
   ortada kalmasin diye margin-left: auto ile sagdaki menu-toggle a
   yaslaniyor; aralarindaki bosluk container daki gap degeriyle geliyor. */
.header-cta {
    flex-shrink: 0;
    margin-left: auto;
}

.btn-sm.header-cta {
    font-size: 0.7rem;
    padding: var(--space-1) var(--space-2);
    gap: var(--space-1);
}

/* ── Menu toggle button ────────────────────────────────────────── */
.menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(14, 165, 233, 0.22);
    background: rgba(3, 6, 9, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.35s var(--ease-soft),
                background 0.35s var(--ease-soft),
                transform 0.30s var(--ease-expo);
    padding: 0 14px;
    position: relative;
    z-index: 1001;
}

.menu-toggle:hover {
    border-color: rgba(14, 165, 233, 0.5);
    background: rgba(14, 165, 233, 0.06);
}

.menu-toggle:active {
    transform: scale(0.92);
    transition-duration: 0.35s, 0.35s, 0.10s;
}

.toggle-line {
    display: block;
    height: 1.5px;
    background: var(--text-100);
    border-radius: 2px;
    transition: transform 0.48s cubic-bezier(0.16, 1, 0.3, 1),
                opacity   0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                width     0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
}

.toggle-line-1 { width: 22px; }
.toggle-line-2 { width: 15px; }
.toggle-line-3 { width: 22px; }

/* Hamburger → X animation via body.menu-open */
body.menu-open .toggle-line-1 {
    transform: translateY(6.5px) rotate(45deg);
    width: 22px;
}
body.menu-open .toggle-line-2 {
    opacity: 0;
    transform: translateX(8px);
}
body.menu-open .toggle-line-3 {
    transform: translateY(-6.5px) rotate(-45deg);
    width: 22px;
}

/* ── Keyframe animations ───────────────────────────────────────── */
@keyframes fs-open {
    from { transform: translateY(-100%); }
    to   { transform: translateY(0); }
}
@keyframes fs-close {
    from { transform: translateY(0); }
    to   { transform: translateY(-100%); }
}
@keyframes fs-item-in {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fs-footer-in {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Fullscreen menu overlay ───────────────────────────────────── */
.fullscreen-menu {
    position: fixed;
    inset: 0;
    z-index: 990;
    background: var(--ink-950);
    transform: translateY(-100%);
    pointer-events: none;
    overflow: hidden;
}

/* Opening */
.fullscreen-menu.open {
    animation: fs-open 0.70s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    pointer-events: all;
}

/* Closing */
.fullscreen-menu.closing {
    animation: fs-close 0.55s cubic-bezier(0.7, 0, 0.84, 1) forwards;
    pointer-events: none;
}

.fs-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: calc(var(--header-h) + 8px) clamp(20px, 5vw, 80px) 0;
}

/* ── Nav items ────────────────────────────────────────────────── */
.fs-nav {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.fs-nav::-webkit-scrollbar { display: none; }

.nav-link.fs-item {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: clamp(0.3rem, 0.9vh, 0.75rem) 0;
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
    text-decoration: none;
    opacity: 0;
    flex-shrink: 0;
    transition: border-color 0.3s ease;
}

/* Stagger in — keyframe based for reliable animation */
.fullscreen-menu.open .fs-item:nth-child(1) { animation: fs-item-in 0.55s cubic-bezier(0.16,1,0.3,1) 0.18s forwards; }
.fullscreen-menu.open .fs-item:nth-child(2) { animation: fs-item-in 0.55s cubic-bezier(0.16,1,0.3,1) 0.24s forwards; }
.fullscreen-menu.open .fs-item:nth-child(3) { animation: fs-item-in 0.55s cubic-bezier(0.16,1,0.3,1) 0.30s forwards; }
.fullscreen-menu.open .fs-item:nth-child(4) { animation: fs-item-in 0.55s cubic-bezier(0.16,1,0.3,1) 0.36s forwards; }
.fullscreen-menu.open .fs-item:nth-child(5) { animation: fs-item-in 0.55s cubic-bezier(0.16,1,0.3,1) 0.42s forwards; }
.fullscreen-menu.open .fs-item:nth-child(6) { animation: fs-item-in 0.55s cubic-bezier(0.16,1,0.3,1) 0.48s forwards; }
.fullscreen-menu.open .fs-item:nth-child(7) { animation: fs-item-in 0.55s cubic-bezier(0.16,1,0.3,1) 0.54s forwards; }
.fullscreen-menu.open .fs-item:nth-child(8) { animation: fs-item-in 0.55s cubic-bezier(0.16,1,0.3,1) 0.60s forwards; }

/* Reset animations on close so they replay next open */
.fullscreen-menu:not(.open) .fs-item { animation: none; opacity: 0; }

/* While the panel slides away, keep its content on board — items vanishing
   before the panel moves reads as a glitch, not a close. */
.fullscreen-menu.closing .fs-item { animation: none; opacity: 1; }

.nav-link.fs-item:hover {
    border-bottom-color: rgba(14, 165, 233, 0.3);
}

.fs-item-label {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, min(5.5vw, 7.2vh), 62px);
    font-weight: 700;
    color: var(--text-100);
    line-height: 1;
    letter-spacing: -0.02em;
    transition: color 0.32s ease, transform 0.32s ease;
}

.nav-link.fs-item:hover .fs-item-label {
    color: var(--blue-400);
    transform: translateX(6px);
}

.fs-item-num {
    font-family: var(--font-body);
    font-size: clamp(0.55rem, 0.85vw, 0.75rem);
    font-weight: 400;
    color: rgba(14, 165, 233, 0.3);
    letter-spacing: 0.15em;
    margin-bottom: 4px;
    flex-shrink: 0;
    transition: color 0.32s ease;
}

.nav-link.fs-item:hover .fs-item-num {
    color: var(--blue-400);
}

/* Active state */
.nav-link.fs-item.active .fs-item-label { color: var(--blue-400); }
.nav-link.fs-item.active .fs-item-num   { color: var(--blue-400); }

/* ── Footer bar inside overlay ─────────────────────────────────── */
.fs-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(10px, 1.5vh, 24px) 0;
    border-top: 1px solid rgba(14, 165, 233, 0.08);
    opacity: 0;
    flex-shrink: 0;
}

.fullscreen-menu.open .fs-footer {
    animation: fs-footer-in 0.45s ease 0.62s forwards;
}

.fullscreen-menu:not(.open) .fs-footer { animation: none; opacity: 0; }
.fullscreen-menu.closing    .fs-footer { animation: none; opacity: 1; }

.fs-copy {
    font-family: var(--font-body);
    font-size: 0.65rem;
    color: rgba(215, 226, 234, 0.18);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* ── Active nav-link tracking (used by JS) ─────────────────────── */
.nav-link.active .fs-item-label { color: var(--blue-400); }
.nav-link.active .fs-item-num   { color: var(--blue-400); }

/* ================================================================
   6. BUTTONS
   ================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--dur-fast) var(--ease-expo);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

/* Shimmer effect on hover */
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.07) 50%, transparent 65%);
    transform: translateX(-120%);
    transition: transform 0.75s var(--ease-soft);
}

.btn:hover::after { transform: translateX(120%); }

.btn-sm  { font-size: 0.8rem;  padding: var(--space-1) var(--space-2); }
.btn-lg  { font-size: 0.95rem; padding: var(--space-2) var(--space-4); gap: var(--space-1); }
.btn-block { width: 100%; }

/* Primary */
.btn-primary {
    background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-500) 60%, var(--blue-400) 100%);
    color: #fff;
    box-shadow: 0 4px 24px rgba(14, 165, 233, 0.30), 0 0 0 1px rgba(14,165,233,0.2);
    transition: transform 0.45s var(--ease-soft),
                box-shadow 0.45s var(--ease-soft);
    will-change: transform;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(14, 165, 233, 0.42), 0 0 0 1px rgba(14,165,233,0.3);
}

.btn-primary:active { transform: translateY(-1px); transition-duration: 0.12s; }

/* Outline */
.btn-outline {
    background: transparent;
    color: var(--text-200);
    border: 1px solid var(--border-bright);
    transition: background 0.45s var(--ease-soft),
                color 0.45s var(--ease-soft),
                border-color 0.45s var(--ease-soft),
                transform 0.45s var(--ease-soft),
                box-shadow 0.45s var(--ease-soft);
    will-change: transform;
}

.btn-outline:hover {
    background: rgba(14, 165, 233, 0.07);
    color: var(--text-100);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(14, 165, 233, 0.14);
}

.btn-outline:active { transform: translateY(-1px); transition-duration: 0.12s; }

/* Warning / Gold CTA */
.btn-warning {
    background: linear-gradient(135deg, var(--gold-600) 0%, var(--gold-500) 60%, var(--gold-400) 100%);
    color: #0a0a0a;
    box-shadow: 0 4px 24px rgba(245, 158, 11, 0.35);
    font-weight: 700;
    transition: transform 0.45s var(--ease-soft),
                box-shadow 0.45s var(--ease-soft);
    will-change: transform;
}

.btn-warning:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(245, 158, 11, 0.48);
}

.btn-warning:active { transform: translateY(-1px); transition-duration: 0.12s; }

/* ================================================================
   7. BADGES & TAGS
   ================================================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--blue-300);
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.20);
    padding: var(--space-1) var(--space-2);
    border-radius: 100px;
}

.badge i { font-size: 0.75rem; color: var(--gold-400); }

/* Section tag */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue-400);
    position: relative;
}

.section-tag::before,
.section-tag::after {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue-500));
    flex-shrink: 0;
}

.section-tag::before { margin-right: var(--space-2); transform: scaleX(-1); }
.section-tag::after  { margin-left: var(--space-2); }

/* Section header */
.section-header {
    text-align: center;
    margin-bottom: clamp(48px, 6vw, 80px);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--text-100);
    margin: var(--space-2) 0 var(--space-2);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-300);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ── Kirik simetri: sola yasli bolum basligi varyanti ─────────────
   Ortali basliklarla donusumlu kullanilir (services + estimator);
   sayfa ritmi sol-orta-sol-orta akisiyla tekduzelikten cikar. */
.section-header--left {
    text-align: left;
}

.section-header--left .section-subtitle {
    margin-left: 0;
    margin-right: 0;
}

/* Etiket cizgisi tek yonlu uzar: ok gibi iceriğe dogru yonlendirir */
.section-header--left .section-tag::before { display: none; }

/* ================================================================
   8. HERO SECTION
   ================================================================ */
.hero-section {
    position: relative;
    min-height: 100vh;   /* fallback: svh desteklemeyen eski tarayıcılar */
    min-height: 100svh;  /* mobilde adres çubuğu açıkken bile ilk ekrana sığar */
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + clamp(16px, 3vh, 40px)) 0 clamp(24px, 5vh, 72px);
    padding: calc(var(--header-h) + clamp(16px, 3svh, 40px)) 0 clamp(24px, 5svh, 72px);
    /* hidden yerine clip: bolum programatik olarak bile kaydirilamaz,
       odak/anchor ziplamalari icerigi yana kaydiramaz (global section kurali gibi) */
    overflow: hidden;
    overflow: clip;
}

/* Multi-layer background */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-bg-base {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 60% 40%,
        rgba(9, 18, 32, 0.98) 0%,
        var(--ink-950) 100%);
}

/* Fine dot grid */
.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(56,189,248,0.10) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 85% 80% at 50% 50%, rgba(0,0,0,0.6) 0%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 85% 80% at 50% 50%, rgba(0,0,0,0.6) 0%, transparent 100%);
}

/* Fine grid lines */
.hero-bg-grid-fine {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(56,189,248,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56,189,248,0.03) 1px, transparent 1px);
    background-size: 80px 80px;
}

/* Glowing spot */
.hero-bg-spot {
    position: absolute;
    top: -10%; right: -5%;
    width: 70vw; height: 70vw;
    max-width: 900px; max-height: 900px;
    background: radial-gradient(circle,
        rgba(14, 165, 233, 0.12) 0%,
        rgba(56, 189, 248, 0.06) 40%,
        transparent 70%);
    border-radius: 50%;
    animation: heroSpotFloat 14s ease-in-out infinite;
}

/* Bottom amber spot */
.hero-bg-noise {
    position: absolute;
    bottom: -10%; left: -5%;
    width: 50vw; height: 50vw;
    max-width: 600px; max-height: 600px;
    background: radial-gradient(circle,
        rgba(245, 158, 11, 0.07) 0%,
        transparent 70%);
    border-radius: 50%;
    animation: heroSpotFloat 18s ease-in-out infinite reverse;
}

.hero-bg-fade {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40%;
    background: linear-gradient(to bottom, transparent, var(--ink-950));
}

/* Three.js ambient particle field */
.hero-3d-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.8;
}

/* Decorative orbs */
.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.bg-orb--blue  { background: rgba(14, 165, 233, 0.18); }
.bg-orb--amber { background: rgba(245, 158, 11, 0.14); }
.bg-orb--lg  { width: 600px; height: 600px; }
.bg-orb--md  { width: 360px; height: 360px; }
.bg-orb--sm  { width: 220px; height: 220px; }

/* Scattered three.js wireframe polyhedra — faceted-blueprint accents echoing the
   metal-part theme. js/lib/three-scene.js turns each placeholder into a canvas;
   kept faint (and auto-shrunk on narrow screens by the JS) so they never
   compete with content. Visible on all devices by user request. */
.accent-3d {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}
.accent-3d-canvas {
    display: block;
    opacity: 0.5;
}

/* Hero content */
.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 820px;
}

/* Badge */
.hero-content .badge {
    margin-bottom: 32px;
    animation: fadeSlideUp 0.8s var(--ease-expo) 0.1s both;
}

/* Brand / Headline */
.hero-brand {
    margin-bottom: clamp(12px, 2.2vh, 24px);
    margin-bottom: clamp(12px, 2.2svh, 24px);
    animation: fadeSlideUp 0.9s var(--ease-expo) 0.2s both;
}

/* ── Hero Logo Stamp (başlık altı, subtitle üstü) ─────────── */
.hero-logo-stamp {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    animation: fadeSlideUp 0.9s var(--ease-expo) 0.30s both;
    max-width: 480px;
}

.hero-stamp-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(56, 189, 248, 0.30) 40%,
        rgba(56, 189, 248, 0.15) 100%);
}

.hero-stamp-line:first-child {
    background: linear-gradient(90deg,
        rgba(56, 189, 248, 0.15) 0%,
        rgba(56, 189, 248, 0.30) 60%,
        transparent 100%);
}

.hero-stamp-emblem {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(9, 18, 32, 0.70);
    border: 1px solid rgba(56, 189, 248, 0.18);
    border-radius: 50%;
    backdrop-filter: blur(12px);
}

.hero-stamp-img {
    width: 40px;
    height: auto;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.55));
    transition: filter 0.55s var(--ease-soft), transform 0.55s var(--ease-soft);
}

.hero-stamp-emblem:hover .hero-stamp-img {
    filter: drop-shadow(0 0 18px rgba(14, 165, 233, 0.80));
    transform: scale(1.08);
}

.hero-stamp-glow {
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.20) 0%, transparent 65%);
    border-radius: 50%;
    animation: glowPulse 3.5s ease-in-out infinite;
    pointer-events: none;
}

.hero-brand-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hero-brand-line {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 0.92;
    /* Genişliğe VE yüksekliğe göre ölçeklenir; 6rem tavanı, satırların
       .hero-content (max-width: 820px) içinde ikiye kırılmasını önler */
    font-size: clamp(2.8rem, min(8.5vw, 12vh), 6rem);
    font-size: clamp(2.8rem, min(8.5vw, 12svh), 6rem);
    text-transform: uppercase;
}

.hero-brand-line-1 { color: var(--text-100); }

.hero-brand-line-2 {
    background: linear-gradient(120deg, var(--blue-400) 0%, var(--blue-300) 45%, var(--gold-300) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-brand-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px 0;
}

.hero-brand-divider-line {
    flex: 1;
    max-width: 100px;
    height: 1px;
    background: linear-gradient(90deg, var(--blue-600), transparent);
}

.hero-brand-divider-dot {
    font-size: 0.7rem;
    color: var(--gold-400);
    animation: rotateSpin 12s linear infinite;
    display: inline-block;
}

/* Glyph yerine gercek SVG yildiz: currentColor ile ayni altin tonu alir */
.hero-brand-divider-dot svg { display: block; }

/* Subtitle */
.hero-subtitle {
    font-size: clamp(0.95rem, 1.8vw, 1.12rem);
    color: var(--text-300);
    line-height: 1.65;
    max-width: 600px;
    margin-bottom: clamp(16px, 3vh, 36px);
    margin-bottom: clamp(16px, 3svh, 36px);
    animation: fadeSlideUp 0.9s var(--ease-expo) 0.35s both;
}

/* Buttons */
.hero-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: clamp(16px, 3.2vh, 40px);
    margin-bottom: clamp(16px, 3.2svh, 40px);
    animation: fadeSlideUp 0.9s var(--ease-expo) 0.45s both;
}

/* Stats bar */
.hero-stats {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: rgba(9, 18, 32, 0.60);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-mid);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 560px;
    animation: fadeSlideUp 0.9s var(--ease-expo) 0.65s both;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(12px, 2vh, 20px) 16px;
    padding: clamp(12px, 2svh, 20px) 16px;
    gap: 4px;
    position: relative;
}

.stat-item + .stat-item::before {
    content: '';
    position: absolute;
    left: 0; top: 20%; bottom: 20%;
    width: 1px;
    background: var(--border-dim);
}

.stat-num {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1;
    color: var(--blue-400);
    letter-spacing: -0.01em;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold-400);
    margin-left: 2px;
}

.stat-label {
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--text-400);
    letter-spacing: 0.03em;
    text-align: center;
    line-height: 1.3;
    max-width: 100px;
}

.stat-divider { display: none; }

/* ── Hero sağ görsel: şanzıman ──────────────────────────────────
   Sayfaya "yapıştırılmış" değil, kendi katmanında duran 3D obje
   hissi: arkada blurlu glow katmanı, altta zemin gölgesi, görselde
   perspektif tilt + drop-shadow, hover sırasında yumuşak büyüme. */
.hero-visual {
    position: absolute;
    top: var(--header-h);
    bottom: 0;
    right: clamp(24px, 4vw, 90px);
    z-index: 1;              /* metnin altında, arka plan katmanlarının üstünde */
    display: flex;
    align-items: center;
    pointer-events: none;    /* hover etkilesimi yalnizca gorselin kendisinde calissin */
}

/* Görsel, metin kolonunun (max-width: 820px) sağındaki boşlukta durur;
   hero-container görünmez kutusu hover etkileşimini engellemesin diye
   tıklamalar yalnızca gerçek içerik kolonuna bırakılır. */
.hero-container { pointer-events: none; }
.hero-content   { pointer-events: auto; }

.hero-visual-inner {
    position: relative;
    width: clamp(300px, 30vw, 540px);
    animation:
        fadeSlideUp 1s var(--ease-expo) 0.55s both,
        heroVisualFloat 8s ease-in-out 2.2s infinite;
}

@keyframes heroVisualFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-14px); }
}

/* Arka katman: blurlu soyut glow — "arkasında başka katman var" hissi */
.hero-visual-glow {
    position: absolute;
    inset: -16%;
    background:
        radial-gradient(circle at 38% 34%, rgba(14, 165, 233, 0.16) 0%, transparent 58%),
        radial-gradient(circle at 70% 74%, rgba(245, 158, 11, 0.09) 0%, transparent 55%);
    filter: blur(30px);
    border-radius: 50%;
    animation: glowPulse 5.5s ease-in-out infinite;
    pointer-events: none;
}

.hero-visual-img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    pointer-events: auto;
    transform: perspective(1000px) rotateY(-8deg) rotateX(2deg);
    filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.55))
            drop-shadow(0 0 34px rgba(14, 165, 233, 0.10));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.hero-visual-img:hover {
    transform: perspective(1000px) rotateY(-4deg) rotateX(1deg) scale(1.05);
    filter: drop-shadow(0 42px 60px rgba(0, 0, 0, 0.60))
            drop-shadow(0 0 48px rgba(14, 165, 233, 0.16));
}

/* Zemin gölgesi: objenin "havada durduğu" hissini veren yumuşak elips */
.hero-visual-shadow {
    position: absolute;
    left: 14%;
    right: 14%;
    bottom: -8%;
    height: 14%;
    background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(0, 0, 0, 0.55) 0%, transparent 70%);
    filter: blur(16px);
    pointer-events: none;
}

/* Dar ekranlarda (tablet/mobil) metin kolonuyla çakışır ve hero
   bölümünün tek ekrana sığma garantisini bozar — bu yüzden gizlenir. */
@media (max-width: 1199px) {
    .hero-visual { display: none; }
}

/* ================================================================
   9. MARQUEE
   ================================================================ */
.marquee-section {
    overflow: hidden;
    overflow: clip;
    max-width: 100vw;
    padding: var(--space-3) 0;
    border-top: 1px solid var(--border-dim);
    border-bottom: 1px solid var(--border-dim);
    background: linear-gradient(90deg, var(--ink-950), var(--ink-900), var(--ink-950));
    position: relative;
    z-index: 2;
}

.marquee-track {
    display: flex;
    width: max-content;
    /* İçerik 4x çoğaltıldı; hızı aynı tutmak için süre de 4x (24s -> 96s) */
    animation: marqueeScroll 96s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
}

.marquee-item {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(56,189,248,0.35);
    padding: 0 40px;
}

.marquee-dot {
    font-size: 0.4rem;
    color: rgba(245,158,11,0.4);
}

/* ================================================================
   10. SERVICES SECTION
   ================================================================ */
.services-section {
    padding: clamp(80px, 10vw, 144px) 0;
    position: relative;
}

.services-grid {
    display: grid;
    /* Kirik simetri: amiral hizmet (DPF) karti genis kolonda oturur;
       1200px altinda medya sorgusundaki 2/1 kolon kurallari devralir */
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: var(--space-3);
}

/* Service Card */
.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.60s var(--ease-soft),
                border-color 0.60s var(--ease-soft),
                box-shadow 0.60s var(--ease-soft);
    will-change: transform;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14,165,233,0.04) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.60s var(--ease-soft);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(56,189,248,0.22);
    box-shadow: var(--shadow-lg), 0 0 48px rgba(14,165,233,0.14);
}

.service-card:hover::before { opacity: 1; }

/* Number badge */
.service-card::after {
    content: attr(data-num);
    position: absolute;
    top: 16px; left: 20px;
    z-index: 5;
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--gold-400);
    background: rgba(3,6,9,0.72);
    backdrop-filter: blur(12px);
    /* hairline rozet: 8px dikey padding gorseli sisirir, 4px yarim adim istisnasi */
    padding: 4px 12px;
    border-radius: 6px;
    border: 1px solid rgba(251,191,36,0.18);
}

/* Service image */
.service-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--ink-800);
}

.service-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.80s var(--ease-soft),
                filter 0.80s var(--ease-soft);
    filter: brightness(0.85) saturate(0.88);
}

.service-card:hover .service-img {
    transform: scale(1.05);
    filter: brightness(0.92) saturate(1.0);
}

/* Gradient overlay on image */
.service-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        transparent 30%,
        rgba(6, 12, 22, 0.65) 100%);
}

/* Icon badge on image */
.service-icon-badge {
    position: absolute;
    bottom: 16px; right: 16px;
    z-index: 3;
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
    border-radius: var(--radius-md);
    box-shadow: var(--glow-blue-sm);
    font-size: 1.1rem;
    color: #fff;
    transition: transform 0.55s var(--ease-soft),
                box-shadow 0.55s var(--ease-soft);
}

.service-card:hover .service-icon-badge {
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 0 32px rgba(14,165,233,0.40);
}

/* Service body */
.service-body {
    padding: var(--space-4);
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.service-card-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-100);
    margin-bottom: var(--space-2);
    line-height: 1.3;
}

.service-card-desc {
    font-size: 0.875rem;
    color: var(--text-300);
    line-height: 1.75;
    margin-bottom: var(--space-3);
}

/* Service features */
.service-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    margin-bottom: var(--space-3);
    flex: 1;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-1);
    font-size: 0.82rem;
    color: var(--text-300);
    line-height: 1.5;
}

.service-features li i {
    color: var(--blue-400);
    font-size: 0.7rem;
    margin-top: 4px;
    flex-shrink: 0;
}

/* Service link */
.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--blue-400);
    margin-top: auto;
    transition: color 0.38s var(--ease-soft);
}

.service-link:hover {
    color: var(--blue-300);
}

.service-link i {
    font-size: 0.75rem;
    transition: transform 0.45s var(--ease-soft);
}
.service-link:hover i { transform: translateX(5px); }

/* ================================================================
   11. ABOUT SECTION
   ================================================================ */
.about-section {
    padding: clamp(80px, 10vw, 144px) 0;
    position: relative;
    background: linear-gradient(180deg, var(--ink-950) 0%, var(--ink-900) 50%, var(--ink-950) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    align-items: start;
    margin-bottom: clamp(48px, 6vw, 80px);
}

.about-text p {
    font-size: 0.975rem;
    color: var(--text-300);
    line-height: 1.85;
    margin-bottom: var(--space-3);
}

.about-text p:last-child { margin-bottom: 0; }

/* About highlights */
.about-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2);
}

.highlight-card {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-lg);
    transition: border-color 0.50s var(--ease-soft),
                box-shadow 0.50s var(--ease-soft),
                transform 0.50s var(--ease-soft);
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--blue-500), var(--blue-700));
    border-radius: 0 2px 2px 0;
}

.highlight-card:hover {
    border-color: var(--border-bright);
    box-shadow: var(--glow-blue-sm);
}

.highlight-num {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--blue-400) 0%, var(--blue-300) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    min-width: 90px;
}

.highlight-label {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-300);
    letter-spacing: -0.01em;
}

/* About values */
.about-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-2);
}

.value-item {
    padding: var(--space-4) var(--space-3);
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform 0.55s var(--ease-soft),
                border-color 0.55s var(--ease-soft),
                box-shadow 0.55s var(--ease-soft);
    will-change: transform;
}

.value-item:hover {
    transform: translateY(-4px);
    border-color: rgba(56,189,248,0.18);
    box-shadow: 0 0 32px rgba(14,165,233,0.16);
}

.value-icon {
    width: 52px; height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-2);
    background: linear-gradient(135deg, rgba(14,165,233,0.12), rgba(14,165,233,0.06));
    border: 1px solid rgba(14,165,233,0.15);
    border-radius: var(--radius-md);
    font-size: 1.3rem;
    color: var(--blue-400);
    transition: box-shadow 0.55s var(--ease-soft),
                transform 0.55s var(--ease-soft);
}

.value-item:hover .value-icon {
    box-shadow: 0 0 24px rgba(14,165,233,0.28);
    transform: scale(1.07);
}

.value-item h4 {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-100);
    margin-bottom: var(--space-1);
    letter-spacing: -0.01em;
}

.value-item p {
    font-size: 0.8rem;
    color: var(--text-400);
    line-height: 1.65;
}

/* ================================================================
   12. COMPARISON SECTION
   ================================================================ */
.comparison-section {
    padding: clamp(80px, 10vw, 144px) 0;
    position: relative;
}

.comparison-wrapper {
    max-width: 860px;
    margin: 0 auto;
}

.comparison-frame {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-mid);
    box-shadow: var(--shadow-lg), var(--glow-blue-md);
    position: relative;
    background: var(--bg-card);
}

/* Before/After Slider */
.ba-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
    touch-action: none;
}

.slider-image {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    -webkit-user-drag: none;
    user-select: none;
}

.before-image { z-index: 1; }

.after-image-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 2;
    /* Genişlik yerine clip-path ile kırpılır: içerideki fotoğraf her zaman
       alttaki fotoğrafla birebir aynı boyut/ölçekte kalır, kaydırırken
       hizalama hiçbir ekran boyutunda bozulmaz */
    clip-path: inset(0 50% 0 0);
}

.after-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slider handle */
.slider-handle {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 2px;
    z-index: 10;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.handle-line {
    flex: 1;
    width: 2px;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 0 8px rgba(255,255,255,0.5);
}

.handle-button {
    width: 44px; height: 44px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: var(--glow-blue-sm), 0 4px 16px rgba(0,0,0,0.4);
    border: 3px solid rgba(255,255,255,0.9);
}

/* Comparison footer */
.comparison-footer {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    padding: var(--space-3);
    background: var(--bg-elevated);
    border-top: 1px solid var(--border-dim);
}

.comp-stat {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-400);
}

.comp-stat i {
    color: var(--blue-400);
    font-size: 0.85rem;
}

/* ================================================================
   13. WHY US / FEATURES SECTION
   ================================================================ */
.why-us-section {
    padding: clamp(80px, 10vw, 144px) 0;
    position: relative;
    background: linear-gradient(180deg, var(--ink-950) 0%, var(--ink-900) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
}

/* Kirik simetri: sag kolon kutulari kademeli asagi kayar. Transform
   kullanilmaz cunku .card-animated reveal ve hover ayni transformu
   ezerdi (bkz. CLAUDE.md wrapper/inner kurali) — margin guvenli. */
@media (min-width: 769px) {
    .features-grid .feature-box:nth-child(even) { margin-top: var(--space-3); }
}

.feature-box {
    padding: var(--space-4);
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-xl);
    transition: transform 0.60s var(--ease-soft),
                border-color 0.60s var(--ease-soft),
                box-shadow 0.60s var(--ease-soft);
    position: relative;
    overflow: hidden;
    will-change: transform;
}

/* Top gradient line on hover */
.feature-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-600), var(--blue-400), var(--gold-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.65s var(--ease-soft);
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: rgba(56,189,248,0.20);
    box-shadow: var(--shadow-md), 0 0 32px rgba(14,165,233,0.14);
}

.feature-box:hover::before { transform: scaleX(1); }

.feature-icon {
    width: 60px; height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(14,165,233,0.14), rgba(14,165,233,0.06));
    border: 1px solid rgba(14,165,233,0.18);
    border-radius: var(--radius-lg);
    font-size: 1.5rem;
    color: var(--blue-400);
    margin-bottom: var(--space-3);
    transition: box-shadow 0.55s var(--ease-soft),
                transform 0.55s var(--ease-soft);
}

.feature-box:hover .feature-icon {
    box-shadow: 0 0 28px rgba(14,165,233,0.32);
    transform: scale(1.07) rotate(-3deg);
}

.feature-box h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-100);
    margin-bottom: var(--space-2);
}

.feature-box p {
    font-size: 0.875rem;
    color: var(--text-300);
    line-height: 1.78;
}

/* ================================================================
   14. ESTIMATOR SECTION
   ================================================================ */
.estimator-section {
    padding: clamp(80px, 10vw, 144px) 0;
    position: relative;
}

.estimator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--border-dim);
    border: 1px solid var(--border-mid);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--glow-blue-sm);
}

/* Form side */
.estimator-form-side {
    background: var(--bg-card);
    padding: clamp(28px, 4vw, 48px);
}

.form-group {
    margin-bottom: var(--space-4);
}

.form-group:last-child { margin-bottom: 0; }

.form-label {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-300);
    letter-spacing: 0.02em;
    margin-bottom: var(--space-2);
}

.font-icon {
    color: var(--blue-400);
    font-size: 0.9rem;
}

/* Radio cards */
.radio-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-1);
}

.radio-card {
    cursor: pointer;
    display: block;
}

.radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0; height: 0;
}

.radio-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-2) var(--space-1);
    background: var(--bg-elevated);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-400);
    transition: background 0.45s var(--ease-soft),
                border-color 0.45s var(--ease-soft),
                color 0.45s var(--ease-soft),
                box-shadow 0.45s var(--ease-soft);
    text-align: center;
}

.radio-card-content i {
    font-size: 1.2rem;
    color: var(--text-400);
    transition: color 0.45s var(--ease-soft);
}

.radio-card:hover .radio-card-content {
    border-color: var(--border-bright);
    color: var(--text-200);
    background: var(--bg-hover);
}

.radio-card input:checked + .radio-card-content {
    background: rgba(14,165,233,0.10);
    border-color: var(--primary);
    color: var(--blue-300);
}

.radio-card input:checked + .radio-card-content i { color: var(--blue-400); }

/* Form control */
.form-control {
    width: 100%;
    padding: var(--space-2);
    background: var(--bg-elevated);
    border: 1px solid var(--border-mid);
    border-radius: var(--radius-md);
    color: var(--text-100);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
    appearance: none;
    cursor: pointer;
}

.form-control:hover:not(:focus) {
    border-color: var(--border-bright);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14,165,233,0.12);
}

/* Range slider */
.range-container { display: flex; flex-direction: column; gap: var(--space-2); }

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: var(--border-mid);
    border-radius: 2px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px; height: 20px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(14,165,233,0.2);
    transition: box-shadow var(--dur-fast), transform var(--dur-fast);
}

input[type="range"]::-webkit-slider-thumb:hover {
    box-shadow: 0 0 0 6px rgba(14,165,233,0.25);
    transform: scale(1.15);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    gap: 4px;
}

.range-labels span {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--text-400);
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    text-align: center;
    justify-content: center;
}

.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger  { color: var(--danger); }

/* Estimator result side */
.estimator-result-side {
    background: var(--bg-elevated);
    padding: clamp(28px, 4vw, 48px);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.result-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-100);
    letter-spacing: -0.02em;
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--border-dim);
}

.result-summary-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-2);
}

.summary-label {
    font-size: 0.82rem;
    color: var(--text-400);
    font-family: var(--font-heading);
    font-weight: 500;
}

.summary-val {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-200);
    font-family: var(--font-heading);
}

/* Price display */
.price-display-box {
    padding: var(--space-3);
    background: rgba(14,165,233,0.06);
    border: 1px solid rgba(14,165,233,0.14);
    border-radius: var(--radius-lg);
    text-align: center;
}

.price-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-400);
    margin-bottom: var(--space-2);
}

.price-amount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    flex-wrap: wrap;
    margin-bottom: var(--space-2);
}

.price-val {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--blue-400);
    line-height: 1;
}

.price-currency {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-300);
    align-self: flex-end;
    margin-bottom: 3px;
}

.price-separator {
    font-size: 1.4rem;
    color: var(--text-500);
}

.price-notice {
    font-size: 0.72rem;
    color: var(--text-400);
    line-height: 1.55;
}

/* ================================================================
   15. CONTACT SECTION
   ================================================================ */
.contact-section {
    padding: clamp(80px, 10vw, 144px) 0;
    position: relative;
    background: linear-gradient(180deg, var(--ink-950) 0%, var(--ink-900) 100%);
}

.contact-layout {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: var(--space-4);
    align-items: start;
}

/* Info cards */
.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    padding: var(--space-3);
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-lg);
    transition: border-color 0.50s var(--ease-soft),
                box-shadow 0.50s var(--ease-soft),
                transform 0.50s var(--ease-soft);
    will-change: transform;
}

.info-card:hover {
    border-color: rgba(56,189,248,0.20);
    box-shadow: 0 0 28px rgba(14,165,233,0.16);
    transform: translateY(-2px);
}

.info-card-icon {
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(14,165,233,0.14), rgba(14,165,233,0.06));
    border: 1px solid rgba(14,165,233,0.18);
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    color: var(--blue-400);
    flex-shrink: 0;
    transition: box-shadow 0.50s var(--ease-soft),
                transform 0.50s var(--ease-soft);
}

.info-card:hover .info-card-icon {
    box-shadow: 0 0 24px rgba(14,165,233,0.30);
    transform: scale(1.07);
}

.info-card-body h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-200);
    margin-bottom: var(--space-1);
    letter-spacing: -0.01em;
}

.info-card-body p {
    font-size: 0.875rem;
    color: var(--text-300);
    line-height: 1.6;
}

.info-card-body a {
    color: var(--blue-300);
    transition: color var(--dur-fast);
}

.info-card-body a:hover { color: var(--blue-200, #bae6fd); }

.info-subtext {
    font-size: 0.75rem !important;
    color: var(--text-400) !important;
    margin-top: 3px;
}

/* Contact form */
.contact-form-side {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-xl);
    padding: clamp(24px, 4vw, 40px);
}

.premium-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2);
}

.form-group-input {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.form-group-input label {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-400);
    letter-spacing: 0.02em;
}

.form-group-input input,
.form-group-input select,
.form-group-input textarea {
    padding: var(--space-2);
    background: var(--bg-elevated);
    border: 1px solid var(--border-mid);
    border-radius: var(--radius-md);
    color: var(--text-100);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.40s var(--ease-soft),
                box-shadow 0.40s var(--ease-soft),
                background 0.40s var(--ease-soft);
    width: 100%;
}

.form-group-input input::placeholder,
.form-group-input textarea::placeholder {
    color: var(--text-400);
}

.form-group-input input:hover:not(:focus),
.form-group-input select:hover:not(:focus),
.form-group-input textarea:hover:not(:focus) {
    border-color: var(--border-bright);
}

.form-group-input input:focus,
.form-group-input select:focus,
.form-group-input textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14,165,233,0.12);
}

.form-group-input textarea { resize: vertical; min-height: 120px; }

/* Form success */
.form-success-alert {
    display: none;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.25);
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--success);
}

/* ================================================================
   16. MAPS SECTION
   ================================================================ */
.maps-section {
    padding: clamp(80px, 10vw, 144px) 0;
    position: relative;
}

.map-container-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-mid);
    box-shadow: var(--shadow-lg);
}

.map-container-wrapper iframe {
    display: block;
    filter: grayscale(40%) invert(90%) hue-rotate(185deg) brightness(0.85);
    transition: filter var(--dur-mid);
}

.map-container-wrapper:hover iframe {
    filter: grayscale(20%) invert(85%) hue-rotate(180deg) brightness(0.9);
}

/* ================================================================
   17. FOOTER
   ================================================================ */
footer {
    border-top: 1px solid var(--border-dim);
    background: var(--ink-900);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: var(--space-6);
    padding-top: clamp(48px, 6vw, 80px);
    padding-bottom: clamp(48px, 6vw, 80px);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-brand .logo-img {
    height: 44px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(14,165,233,0.30));
}

.footer-desc {
    font-size: 0.85rem;
    color: var(--text-400);
    line-height: 1.75;
    max-width: 280px;
}

.footer-socials {
    display: flex;
    gap: var(--space-1);
}

.footer-socials a {
    width: 38px; height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-sm);
    color: var(--text-400);
    font-size: 0.95rem;
    transition: background 0.45s var(--ease-soft),
                border-color 0.45s var(--ease-soft),
                color 0.45s var(--ease-soft),
                transform 0.45s var(--ease-soft),
                box-shadow 0.45s var(--ease-soft);
    will-change: transform;
}

.footer-socials a:hover {
    background: rgba(14,165,233,0.10);
    border-color: rgba(56,189,248,0.25);
    color: var(--blue-300);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(14,165,233,0.18);
}

.footer-links h3,
.footer-services h3 {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-400);
    margin-bottom: var(--space-3);
}

.footer-links ul,
.footer-services ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.footer-links a,
.footer-services a {
    font-size: 0.85rem;
    color: var(--text-400);
    transition: color var(--dur-fast), padding-left var(--dur-fast);
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--blue-300);
    padding-left: 6px;
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid var(--border-dim);
    padding: var(--space-3) 0;
}

.footer-bottom-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-1);
}

.footer-bottom p {
    font-size: 0.78rem;
    color: var(--text-400);
    font-family: var(--font-heading);
}

/* ================================================================
   17b. FEATURE BOX BACKGROUND NUMBER
   ================================================================ */
.feature-num-bg {
    position: absolute;
    bottom: 16px;
    right: 20px;
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(56, 189, 248, 0.06);
    pointer-events: none;
    user-select: none;
    transition: -webkit-text-stroke var(--dur-mid);
    letter-spacing: -0.02em;
}

.feature-box:hover .feature-num-bg {
    -webkit-text-stroke: 1px rgba(56, 189, 248, 0.14);
}

/* ================================================================
   17c. DOKUNMATIK HEDEF GENISLETME
   Dokunmatik cihazlarda tum tiklanabilirler en az 44x44px tap alanina
   sahip olmali (WCAG 2.5.8 / Apple HIG). Kucuk linklerde gorunum
   degistirmeden padding + negatif margin ile alan buyutulur; butonlarda
   min-height kullanilir. Fare cihazlarinda devreye girmez.
   ================================================================ */
@media (pointer: coarse) {
    .btn-sm.header-cta {
        min-height: 44px;
    }

    .footer-socials a {
        width: 44px;
        height: 44px;
    }

    .service-link,
    .info-card-body a,
    .footer-links a,
    .footer-services a {
        display: inline-block;
        padding: 12px var(--space-1);
        margin: -12px calc(var(--space-1) * -1);
    }
}

/* ================================================================
   18. CARD REVEAL ANIMATION (existing .card-animated system)
   ================================================================ */
.card-animated {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity   0.80s var(--ease-soft),
        transform 0.80s var(--ease-soft);
    transition-delay: calc(var(--card-index, 0) * 0.12s);
}

.card-animated.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Section headers sharpen out of a soft blur as they rise — scoped to the
   small text area so the effect stays cheap. */
.section-header.card-animated {
    filter: blur(9px);
    transition:
        opacity   0.80s var(--ease-soft),
        transform 0.80s var(--ease-soft),
        filter    0.95s var(--ease-soft);
    transition-delay: calc(var(--card-index, 0) * 0.12s);
}

.section-header.card-animated.reveal { filter: blur(0); }

/* ── Section-title word reveal (spans injected by scroll-animations.js) ──
   Masks clip each word; GSAP slides the inner span up out of the mask.
   Padding keeps Turkish descenders (ğ, ç, y) from being clipped. */
.st-mask {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    padding-bottom: 0.12em;
    margin-bottom: -0.12em;
}

.st-word { display: inline-block; will-change: transform; }

/* ================================================================
   19. PREMIUM CUSTOM CURSOR (homepage-vibe only)
   ================================================================ */
@media (hover: hover) and (pointer: fine) {
    body.homepage-vibe * { cursor: none !important; }
}


body.homepage-vibe .c-dot {
    position: fixed;
    top: 0; left: 0;
    width: 10px; height: 10px;
    margin-top: -5px; margin-left: -5px;
    background: #ffffff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    will-change: transform;
    mix-blend-mode: difference;
    transition:
        width   0.38s var(--ease-expo),
        height  0.38s var(--ease-expo),
        margin  0.38s var(--ease-expo),
        opacity 0.28s ease;
}

body.homepage-vibe .c-dot[data-s="link"] {
    width: 38px; height: 38px;
    margin-top: -19px; margin-left: -19px;
}

body.homepage-vibe .c-dot[data-s="card"] {
    width: 60px; height: 60px;
    margin-top: -30px; margin-left: -30px;
    opacity: 0.48;
}

body.homepage-vibe .c-glow {
    position: fixed;
    top: 0; left: 0;
    width: 360px; height: 360px;
    margin-top: -180px; margin-left: -180px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 999997;
    will-change: transform;
    mix-blend-mode: screen;
    background: radial-gradient(circle at center,
        rgba(14, 165, 233, 0.18) 0%,
        rgba(56, 189, 248, 0.10) 30%,
        rgba(245, 158, 11, 0.05) 58%,
        transparent 72%);
    transition: background 0.5s ease, opacity 0.32s ease;
}

body.homepage-vibe .c-glow[data-s="link"] {
    background: radial-gradient(circle at center,
        rgba(56, 189, 248, 0.30) 0%,
        rgba(14, 165, 233, 0.18) 35%,
        rgba(245, 158, 11, 0.08) 62%,
        transparent 76%);
}

body.homepage-vibe .c-glow[data-s="card"] {
    background: radial-gradient(circle at center,
        rgba(245, 158, 11, 0.20) 0%,
        rgba(14, 165, 233, 0.15) 42%,
        transparent 72%);
}

/* ================================================================
   20. SCROLL REVEAL (.sr-item — homepage-vibe only)
   ================================================================ */
body.homepage-vibe .sr-item {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity   0.85s var(--ease-soft),
        transform 0.85s var(--ease-soft);
}

body.homepage-vibe .sr-item.sr-vis {
    opacity: 1;
    transform: none !important;
}

body.homepage-vibe .sr-item[data-dir="left"]  { transform: translateX(-28px); }
body.homepage-vibe .sr-item[data-dir="right"] { transform: translateX(28px); }

body.homepage-vibe .sr-item[data-dir="zoom"] {
    transform: translateY(18px) scale(0.98);
}

/* ================================================================
   20b. SOSYAL MEDYA SABİT BUTONLARI (sol alt)
   Sayfanın her scroll konumunda görünür; girişte soldan kayarak
   gelir, pasif haldeyken hafifçe yukarı-aşağı süzülür.
   ================================================================ */
.social-fab {
    position: fixed;
    left: clamp(14px, 2vw, 28px);
    bottom: clamp(14px, 3vh, 28px);
    z-index: 950;   /* header (1000) ve tam ekran menünün (990) altında kalır */
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

/* Giriş + süzülme animasyonları sarmalayıcıda; hover büyümesi butonda.
   Aynı elemanda olsalardı animasyon, hover transform değerini ezerdi. */
.fab-item {
    animation:
        fabEnter 0.7s var(--ease-expo) both,
        fabFloat 4.5s ease-in-out infinite;
}

.fab-item-1 { animation-delay: 0.9s, 2.2s; }
.fab-item-2 { animation-delay: 1.1s, 2.9s; }

.fab-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
    transition: transform 0.3s var(--ease-expo), box-shadow 0.3s ease;
}

.fab-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
}

.fab-btn:active { transform: scale(1.02); }

.fab-whatsapp {
    background: linear-gradient(135deg, #2bd668 0%, #1faa52 100%);
}

/* WhatsApp butonunda dikkat çeken yumuşak nabız halkası */
.fab-whatsapp::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(43, 214, 104, 0.65);
    animation: fabPulse 2.8s ease-out 3.2s infinite;
    pointer-events: none;
}

.fab-instagram {
    background: radial-gradient(circle at 30% 110%,
        #fdc468 0%, #f77737 26%, #dd2a7b 55%, #8134af 80%, #515bd4 100%);
}

/* Instagram butonunda da aynı nabız halkası — pembe tonda ve WhatsApp
   ile aynı anda atmasın diye farklı gecikmeyle */
.fab-instagram::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(221, 42, 123, 0.65);
    animation: fabPulse 2.8s ease-out 4.6s infinite;
    pointer-events: none;
}

@keyframes fabEnter {
    from { opacity: 0; transform: translateX(-72px) scale(0.6); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes fabFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

@keyframes fabPulse {
    0%   { opacity: 0.75; transform: scale(1); }
    70%  { opacity: 0;    transform: scale(1.6); }
    100% { opacity: 0;    transform: scale(1.6); }
}

@media (max-width: 480px) {
    .fab-btn { width: 46px; height: 46px; font-size: 1.32rem; }
    .social-fab { gap: 10px; left: 12px; bottom: 12px; }
}

/* ================================================================
   20c. YUKARI ÇIK BUTONU (sağ alt)
   Sayfa belli bir mesafe kaydırıldığında JS ile .is-visible eklenir;
   varsayılan halde görünmez ve tıklanamaz, boş yere tab sırasına
   girmesin ve tıklamayı yutmasın diye pointer-events kapalı tutulur.
   ================================================================ */
.scroll-top {
    position: fixed;
    right: clamp(14px, 2vw, 28px);
    bottom: clamp(14px, 3vh, 28px);
    z-index: 950;   /* header (1000) ve tam ekran menünün (990) altında kalır */
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
    text-decoration: none;
    background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-500) 60%, var(--blue-400) 100%);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(14, 165, 233, 0.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(18px) scale(0.8);
    transition: opacity 0.4s var(--ease-soft),
                transform 0.4s var(--ease-expo),
                box-shadow 0.3s ease,
                visibility 0s linear 0.4s;
}

.scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition: opacity 0.4s var(--ease-soft),
                transform 0.4s var(--ease-expo),
                box-shadow 0.3s ease,
                visibility 0s linear 0s;
}

.scroll-top:hover {
    transform: scale(1.12);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(14, 165, 233, 0.3);
}

.scroll-top:active { transform: scale(1.02); }

@media (max-width: 480px) {
    .scroll-top { width: 44px; height: 44px; font-size: 1rem; right: 12px; bottom: 12px; }
}

/* ================================================================
   21. KEYFRAMES
   ================================================================ */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroSpotFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(2%, -3%) scale(1.05); }
    66%       { transform: translate(-1%, 2%) scale(0.97); }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.15); }
}

@keyframes rotateSpin {
    to { transform: rotate(360deg); }
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0,0); }
    50%       { transform: translate(-30px, 20px); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0,0); }
    50%       { transform: translate(25px, -18px); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(0,0); }
    50%       { transform: translate(-15px, 25px); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ================================================================
   22. RESPONSIVE — 1200px
   ================================================================ */
@media (max-width: 1200px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-values { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================
   23. RESPONSIVE — 1024px
   ================================================================ */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .estimator-container { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr 1fr; }
    .features-grid { grid-template-columns: 1fr 1fr; }
}

/* ================================================================
   24. RESPONSIVE — 768px (Mobile)
   ================================================================ */
@media (max-width: 768px) {
    html { overflow-x: hidden; max-width: 100%; }
    body { overflow-x: hidden; max-width: 100%; }
    section { overflow-x: hidden; overflow-x: clip; max-width: 100%; }

    :root { --header-h: 64px; }
    .logo-wordmark { height: clamp(80px, 12.5vw, 96px); transform: translateY(-4%); }
    .logo:hover .logo-wordmark { transform: translateY(-4%) scale(1.04); }

    /* Mobile menu toggle sizing */
    .menu-toggle { width: 46px; height: 46px; padding: 0 12px; }
    .toggle-line-1, .toggle-line-3 { width: 20px; }
    .toggle-line-2 { width: 13px; }
    body.menu-open .toggle-line-1 { transform: translateY(6px) rotate(45deg); }
    body.menu-open .toggle-line-3 { transform: translateY(-6px) rotate(-45deg); width: 20px; }

    /* Hero */
    .hero-brand-line {
        font-size: clamp(2.6rem, min(12vw, 9vh), 5.5rem);
        font-size: clamp(2.6rem, min(12vw, 9svh), 5.5rem);
    }
    .hero-logo-stamp { max-width: 100%; gap: 16px; }
    .hero-stamp-emblem { width: 56px; height: 56px; }
    .hero-stamp-img { width: 34px; }
    .hero-buttons { flex-direction: column; width: 100%; gap: 10px; }
    .hero-buttons .btn-lg { width: 100%; justify-content: center; padding: 14px 20px; }

    .hero-stats { max-width: 100%; }
    .stat-item { padding: 16px 10px; }

    /* Sections */
    .services-grid { grid-template-columns: 1fr; gap: var(--space-2); }
    .about-grid { grid-template-columns: 1fr; }
    .about-highlights { grid-template-columns: 1fr; }
    .about-values { grid-template-columns: 1fr 1fr; }
    .features-grid { grid-template-columns: 1fr; gap: var(--space-2); }
    .estimator-container { grid-template-columns: 1fr; }
    .radio-cards { grid-template-columns: 1fr 1fr 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; gap: var(--space-4); }
    .comparison-footer { flex-direction: column; gap: var(--space-2); align-items: center; }

    /* Contact form row */
    .form-row { grid-template-columns: 1fr; }

    .marquee-section { overflow: hidden; overflow: clip; max-width: 100vw; }
}

/* ================================================================
   25. RESPONSIVE — 480px (Small phones)
   ================================================================ */
@media (max-width: 480px) {
    .container { padding: 0 var(--space-2); }

    .section-title { font-size: 1.5rem; }
    .section-subtitle { font-size: 0.875rem; }
    .section-header { margin-bottom: var(--space-4); }

    .badge { font-size: 0.72rem; padding: 6px 13px; }

    .header-container { height: 60px; }
    .logo-wordmark { height: clamp(70px, 17vw, 84px); }

    /* 44px minimum dokunma alani (WCAG/Apple HIG) icin 42 yerine 44 */
    .menu-toggle { width: 44px; height: 44px; padding: 0 11px; }

    .hero-section {
        padding: calc(var(--header-h) + clamp(12px, 2.5vh, 28px)) 0 clamp(20px, 4vh, 48px);
        padding: calc(var(--header-h) + clamp(12px, 2.5svh, 28px)) 0 clamp(20px, 4svh, 48px);
    }
    .hero-brand-line {
        font-size: clamp(2.2rem, min(12vw, 8vh), 4.5rem);
        font-size: clamp(2.2rem, min(12vw, 8svh), 4.5rem);
    }
    .hero-subtitle { font-size: 0.85rem; line-height: 1.55; }

    .hero-buttons .btn-lg { font-size: 0.88rem; padding: 13px 18px; }

    /* Kompakt yatay istatistikler: dikey yığılma ilk ekrana sığmayı bozuyordu */
    .stat-item {
        padding: clamp(10px, 1.8vh, 14px) 8px;
        padding: clamp(10px, 1.8svh, 14px) 8px;
    }
    .stat-num { font-size: 1.35rem; }
    .stat-suffix { font-size: 0.85rem; }
    .stat-label { font-size: 0.6rem; }

    .about-values { grid-template-columns: 1fr; }

    .comparison-footer { gap: 10px; }
    .comp-stat { font-size: 0.75rem; }

    .radio-cards { grid-template-columns: 1fr; }
    .radio-card-content { flex-direction: row; padding: 12px 14px; }

    .highlight-card { padding: 16px 18px; }
    .highlight-num { font-size: 2rem; }

    .feature-box { padding: 24px 20px; }
    .value-item  { padding: 22px 16px; }

    .footer-container { gap: 28px; }
    .footer-desc { max-width: 100%; }
}

/* ================================================================
   25b. RESPONSIVE — Kısa boylu telefonlar (360x640, iPhone SE vb.)
   Hero içeriğinin ilk ekrana sığması için ekstra sıkılaştırma.
   ================================================================ */
@media (max-width: 768px) and (max-height: 700px) {
    .hero-subtitle { font-size: 0.8rem; line-height: 1.5; }
    .hero-buttons { gap: 8px; }
    .hero-buttons .btn-lg { padding: 11px 16px; font-size: 0.85rem; }
    .stat-item { padding: 8px 6px; }
    .stat-num { font-size: 1.25rem; }
    .stat-suffix { font-size: 0.8rem; }
    .stat-label { font-size: 0.58rem; }
}

/* ================================================================
   26. RESPONSIVE — Çok kısa ekranlar (yatay telefon vb.)
   Bu kadar basık ekranlarda tüm hero içeriği tek ekrana
   sığdırılamaz; taşma yerine doğal akışa (scroll) izin verilir.
   ================================================================ */
@media (max-height: 520px) {
    .hero-section { min-height: 0; }
    .hero-brand-line { font-size: clamp(2rem, 6.5vw, 3.2rem); }
    .hero-subtitle { line-height: 1.5; margin-bottom: 16px; }
    .hero-brand { margin-bottom: 12px; }
    .hero-buttons { margin-bottom: 16px; }
}
