/* =========================================================================
   Cihan Aydınlatma — Sinematik Tasarım Sistemi (cx-)  ·  TEK BEYAZ TEMA
   Apple/Linear hissi: büyük tipografi, bol boşluk, cam, minimum border.
   Site geneli ortak (header/footer/tipografi/buton) + anasayfa bölümleri.
   ========================================================================= */
:root {
    --cx-bg: #FAFAF8;
    --cx-bg-2: #F4F2ED;
    --cx-bg-3: #ECE8E1;
    --cx-surface: #ffffff;
    --cx-ink: #15140f;
    --cx-ink-soft: #34322b;
    --cx-muted: #6f6d64;
    --cx-faint: #a4a196;
    --cx-accent: #F5A623;
    --cx-accent-2: #d9870f;
    --cx-on-accent: #2a1c04;
    --cx-line: rgba(20, 19, 15, 0.08);
    --cx-line-2: rgba(20, 19, 15, 0.14);
    --cx-radius: 18px;
    --cx-radius-lg: 28px;
    --cx-radius-pill: 999px;
    --cx-shadow: 0 30px 80px -30px rgba(20, 19, 15, 0.22);
    --cx-shadow-soft: 0 16px 50px -24px rgba(20, 19, 15, 0.18);
    --cx-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --cx-maxw: 1240px;
    --cx-font: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
}

.cx * { box-sizing: border-box; }
.cx {
    margin: 0; background: var(--cx-bg); color: var(--cx-ink);
    font-family: var(--cx-font); -webkit-font-smoothing: antialiased;
    font-size: 16px; line-height: 1.6; letter-spacing: -0.01em;
    overflow-x: hidden;
}
.cx img { max-width: 100%; display: block; }
.cx a { color: inherit; text-decoration: none; }
.cx ::selection { background: var(--cx-accent); color: var(--cx-on-accent); }
.cx-wrap { width: 100%; max-width: var(--cx-maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }
.cx-eyebrow { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cx-accent-2); font-weight: 600; }
.cx-h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1.02; letter-spacing: -0.03em; font-weight: 700; margin: 14px 0 0; }
.cx-lead { color: var(--cx-muted); font-size: clamp(1rem, 1.3vw, 1.15rem); max-width: 56ch; }
.cx-section { padding-block: clamp(72px, 11vw, 150px); position: relative; }
.cx-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 56px); }

/* ---------- BUTONLAR ---------- */
.cx-btn { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; padding: 14px 26px; border-radius: var(--cx-radius-pill); border: 0; cursor: pointer; transition: transform .4s var(--cx-ease), background .3s, color .3s, box-shadow .3s; letter-spacing: -0.01em; }
.cx-btn--primary { background: var(--cx-accent); color: var(--cx-on-accent); box-shadow: 0 12px 30px -12px rgba(245,166,35,0.7); }
.cx-btn--primary:hover { transform: translateY(-2px); background: var(--cx-accent-2); }
.cx-btn--ghost { background: transparent; color: var(--cx-ink); border: 1px solid var(--cx-line-2); }
.cx-btn--ghost:hover { transform: translateY(-2px); border-color: var(--cx-ink); }
.cx-btn--lg { padding: 16px 30px; font-size: 16px; }
.cx-btn--ghost-dark { background: rgba(255,255,255,0.06); color: #fff; border: 1px solid rgba(255,255,255,0.32); backdrop-filter: blur(8px); }
.cx-btn--ghost-dark:hover { transform: translateY(-2px); border-color: #fff; background: rgba(255,255,255,0.12); }

/* ---------- SEKTÖR TABLI HERO (cx-sx) — admin'den yönetilen sektör panelleri ---------- */
.cx-sx { position: relative; min-height: 100svh; overflow: hidden; background: #0d0d0f; color: #fff; }
/* Arka plan katmanı */
.cx-sx__bgs { position: absolute; inset: 0; z-index: 0; }
.cx-sx__bg { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--cx-ease); }
.cx-sx__bg.is-active { opacity: 1; }
.cx-sx__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.cx-sx__bg.is-active img { animation: cx-kenburns 9s var(--cx-ease) forwards; }
@keyframes cx-kenburns { from { transform: scale(1.08); } to { transform: scale(1.0); } }
/* Scrim: varsayılan (koyu görsel) — öncekinden daha hafif; metin bölgesine odaklı */
.cx-sx__scrim { position: absolute; inset: 0; z-index: 1; transition: background .8s var(--cx-ease); background: linear-gradient(0deg, rgba(10,10,12,0.82) 0%, rgba(10,10,12,0.22) 48%, rgba(10,10,12,0.3) 100%), linear-gradient(100deg, rgba(10,10,12,0.5) 0%, transparent 52%); }
/* Açık görsel algılandığında (JS data-tone) hero açık temaya döner */
.cx-sx--light { color: var(--cx-ink); }
.cx-sx--light .cx-sx__scrim { background: linear-gradient(0deg, rgba(250,250,248,0.9) 0%, rgba(250,250,248,0.22) 50%, rgba(250,250,248,0.4) 100%), linear-gradient(100deg, rgba(250,250,248,0.62) 0%, transparent 55%); }
/* İmleci takip eden ışık huzmesi (aydınlatma temasına gönderme) */
.cx-sx__spot { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .8s; background: radial-gradient(560px circle at var(--sx-mx, 50%) var(--sx-my, 40%), rgba(245,166,35,0.14), transparent 65%); mix-blend-mode: screen; }
.cx-sx:hover .cx-sx__spot { opacity: 1; }
/* Hayalet sektör numarası */
.cx-sx__num { position: absolute; right: clamp(8px, 3vw, 48px); top: 96px; z-index: 2; font-size: clamp(6rem, 15vw, 13rem); font-weight: 800; line-height: 1; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,0.13); user-select: none; transition: opacity .5s; }
/* Panel katmanı */
.cx-sx__wrap { position: relative; z-index: 3; max-width: var(--cx-maxw); margin: 0 auto; min-height: 100svh; padding: 150px clamp(20px, 5vw, 48px) clamp(170px, 22vh, 230px); display: grid; }
.cx-sx__panel { grid-area: 1 / 1; align-self: end; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 4vw, 64px); align-items: end; visibility: hidden; pointer-events: none; }
.cx-sx__panel.is-active { visibility: visible; pointer-events: auto; }
.cx-sx .cx-sx__eyebrow { color: var(--cx-accent); text-shadow: 0 1px 12px rgba(0,0,0,0.35); }
/* .cx-sx öneki: cihan-site.css'teki ".cx h1" kuralını specificity ile geçmek için şart */
.cx-sx .cx-sx__title { font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 1.02; letter-spacing: -0.04em; font-weight: 800; margin: 16px 0 0; max-width: 18ch; color: #fff; text-shadow: 0 2px 28px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.35); transition: color .6s, text-shadow .6s; }
.cx-sx .cx-sx__title .cx-gold { color: var(--cx-accent); display: block; }
.cx-sx .cx-sx__sub { color: rgba(255,255,255,0.8); font-size: clamp(1rem, 1.4vw, 1.16rem); max-width: 52ch; margin: 18px 0 0; text-shadow: 0 1px 16px rgba(0,0,0,0.45); transition: color .6s, text-shadow .6s; }
/* Açık tema metin renkleri */
.cx-sx--light .cx-sx__eyebrow { color: var(--cx-accent-2); text-shadow: none; }
.cx-sx--light .cx-sx__title { color: var(--cx-ink); text-shadow: 0 2px 26px rgba(250,250,248,0.6); }
.cx-sx--light .cx-sx__sub { color: var(--cx-ink-soft); text-shadow: 0 1px 14px rgba(250,250,248,0.55); }
.cx-sx--light .cx-btn--ghost-dark { color: var(--cx-ink); border-color: rgba(20,19,15,0.3); background: rgba(255,255,255,0.35); }
.cx-sx--light .cx-btn--ghost-dark:hover { border-color: var(--cx-ink); background: rgba(255,255,255,0.55); }
.cx-sx__cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
/* Cam bilgi kartı */
.cx-sx__card { background: rgba(255,255,255,0.07); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--cx-radius-lg); padding: clamp(20px, 2.4vw, 30px); }
.cx-sx__card-head { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.85); }
.cx-sx__card-head i { color: var(--cx-accent); font-size: 19px; }
.cx-sx__feats { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.cx-sx__feats li { display: flex; gap: 10px; align-items: baseline; font-size: 14.5px; color: rgba(255,255,255,0.78); }
.cx-sx__feats i { color: var(--cx-accent); font-size: 15px; transform: translateY(2px); }
.cx-sx__card-trust { display: flex; gap: 14px; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.12); }
.cx-sx__card-trust span { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); }
/* Açık tema: cam kart, hayalet numara, tab bar */
.cx-sx--light .cx-sx__card { background: rgba(255,255,255,0.62); border-color: rgba(20,19,15,0.1); }
.cx-sx--light .cx-sx__card-head { color: var(--cx-ink-soft); }
.cx-sx--light .cx-sx__card-head i { color: var(--cx-accent-2); }
.cx-sx--light .cx-sx__feats li { color: var(--cx-muted); }
.cx-sx--light .cx-sx__feats i { color: var(--cx-accent-2); }
.cx-sx--light .cx-sx__card-trust { border-top-color: rgba(20,19,15,0.12); }
.cx-sx--light .cx-sx__card-trust span { color: var(--cx-faint); }
.cx-sx--light .cx-sx__num { -webkit-text-stroke-color: rgba(20,19,15,0.14); }
.cx-sx--light .cx-sx__tabs { background: rgba(250,250,248,0.55); border-top-color: rgba(20,19,15,0.1); }
.cx-sx--light .cx-sx__tab { color: rgba(20,19,15,0.55); border-right-color: rgba(20,19,15,0.08); }
.cx-sx--light .cx-sx__tab:hover { background: rgba(20,19,15,0.04); color: var(--cx-ink); }
.cx-sx--light .cx-sx__tab.is-active { color: var(--cx-ink); background: rgba(255,255,255,0.5); }
.cx-sx--light .cx-sx__tab-idx { color: rgba(20,19,15,0.35); }
.cx-sx--light .cx-sx__tab.is-active .cx-sx__tab-idx { color: var(--cx-accent-2); }
.cx-sx--light .cx-sx__spot { background: radial-gradient(560px circle at var(--sx-mx, 50%) var(--sx-my, 40%), rgba(245,166,35,0.22), transparent 65%); mix-blend-mode: multiply; }
/* Panel içerik giriş animasyonu */
.cx-sx__panel .cx-sx__eyebrow, .cx-sx__panel .cx-sx__title, .cx-sx__panel .cx-sx__sub, .cx-sx__panel .cx-sx__cta { opacity: 0; transform: translateY(26px); }
.cx-sx__panel .cx-sx__card { opacity: 0; transform: translateY(30px) scale(0.98); }
.cx-sx__panel.is-active .cx-sx__eyebrow, .cx-sx__panel.is-active .cx-sx__title, .cx-sx__panel.is-active .cx-sx__sub, .cx-sx__panel.is-active .cx-sx__cta { opacity: 1; transform: none; transition: opacity .9s var(--cx-ease), transform .9s var(--cx-ease), color .6s, text-shadow .6s; }
.cx-sx__panel.is-active .cx-sx__card { opacity: 1; transform: none; transition: opacity 1s var(--cx-ease) .28s, transform 1s var(--cx-ease) .28s; }
.cx-sx__panel.is-active .cx-sx__title { transition-delay: .1s; }
.cx-sx__panel.is-active .cx-sx__sub { transition-delay: .2s; }
.cx-sx__panel.is-active .cx-sx__cta { transition-delay: .3s; }
/* Sektör tab bar */
.cx-sx__tabs { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border-top: 1px solid rgba(255,255,255,0.12); background: rgba(10,10,12,0.4); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.cx-sx__tab { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px clamp(14px, 2.4vw, 30px) 20px; background: transparent; border: 0; border-right: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.55); cursor: pointer; text-align: left; transition: background .35s, color .35s; }
.cx-sx__tab:last-child { border-right: 0; }
.cx-sx__tab:hover { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.85); }
.cx-sx__tab.is-active { color: #fff; background: rgba(255,255,255,0.06); }
.cx-sx__tab-idx { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; color: rgba(255,255,255,0.35); }
.cx-sx__tab.is-active .cx-sx__tab-idx { color: var(--cx-accent); }
.cx-sx__tab-main { display: flex; align-items: center; gap: 9px; font-size: clamp(12.5px, 1.1vw, 14.5px); font-weight: 600; letter-spacing: -0.01em; }
.cx-sx__tab-main i { font-size: 18px; }
.cx-sx__tab.is-active .cx-sx__tab-main i { color: var(--cx-accent); }
/* Tab üst kenarında otomatik geçiş progress'i */
.cx-sx__tab-bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: transparent; overflow: hidden; }
.cx-sx__tab-bar span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: var(--cx-accent); }
.cx-sx__tab.is-active .cx-sx__tab-bar span { animation: cx-sx-progress var(--cx-sx-dur, 7000ms) linear forwards; }
.cx-sx.is-paused .cx-sx__tab.is-active .cx-sx__tab-bar span { animation-play-state: paused; }
@keyframes cx-sx-progress { to { transform: scaleX(1); } }
/* Mobil */
@media (max-width: 900px) {
    .cx-sx__panel { grid-template-columns: 1fr; gap: 22px; }
    .cx-sx__card { display: none; }
    .cx-sx__num { top: auto; bottom: 200px; opacity: .6; }
    .cx-sx__wrap { padding-bottom: 170px; }
    .cx-sx__tab-label { display: none; }
    .cx-sx__tab { align-items: center; }
    .cx-sx__tab-main { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .cx-sx__bg.is-active img { animation: none; transform: none; }
    .cx-sx__spot { display: none; }
    .cx-sx__bg, .cx-sx__panel .cx-sx__eyebrow, .cx-sx__panel .cx-sx__title, .cx-sx__panel .cx-sx__sub, .cx-sx__panel .cx-sx__cta, .cx-sx__panel .cx-sx__card { transition-duration: .01s !important; }
}

/* ---------- HEADER (cam, scroll'da küçülür) ---------- */
.cx-header { position: fixed; inset: 0 0 auto; z-index: 1000; transition: all .45s var(--cx-ease); }
.cx-header-inner {
    margin: 16px auto; max-width: 1320px; width: calc(100% - 32px);
    display: flex; align-items: center; gap: 20px;
    padding: 12px 14px 12px 22px; border-radius: var(--cx-radius-pill);
    background: rgba(250, 250, 248, 0.66); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.6); box-shadow: var(--cx-shadow-soft);
    transition: all .45s var(--cx-ease);
}
.cx-header.is-scrolled .cx-header-inner { margin-top: 8px; padding-block: 7px; background: rgba(250,250,248,0.82); box-shadow: 0 10px 30px -16px rgba(20,19,15,0.28); }
.cx-logo { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; }
.cx-logo img { height: 38px; width: auto; }
.cx-nav { display: flex; align-items: center; gap: 26px; }
.cx-nav a { font-size: 14.5px; font-weight: 500; color: var(--cx-ink-soft); position: relative; padding: 4px 0; transition: color .3s; }
.cx-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 2px; background: var(--cx-accent); transition: right .35s var(--cx-ease); }
.cx-nav a:hover { color: var(--cx-ink); }
.cx-nav a:hover::after, .cx-nav a.is-active::after { right: 0; }
.cx-head-tools { display: flex; align-items: center; gap: 10px; }
.cx-icon-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(20,19,15,0.05); color: var(--cx-ink); border: 0; cursor: pointer; transition: background .3s; }
.cx-icon-btn:hover { background: rgba(20,19,15,0.1); }
.cx-burger { display: none; }

/* ---------- HERO ---------- */
.cx-hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: clamp(26px, 4vw, 46px); padding: clamp(128px, 16vh, 196px) 20px clamp(60px, 8vh, 92px); overflow: hidden; background: radial-gradient(120% 100% at 50% 0%, #ffffff 0%, var(--cx-bg) 46%, var(--cx-bg-2) 100%); }
.cx-hero-content { position: relative; z-index: 3; max-width: 940px; }
.cx-hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.8rem); line-height: 1.0; letter-spacing: -0.045em; font-weight: 800; margin: 14px 0 0; }
.cx-hero h1 .cx-gold { color: var(--cx-accent); display: block; }
.cx-hero-sub { color: var(--cx-muted); font-size: clamp(1rem, 1.5vw, 1.18rem); max-width: 52ch; margin: 20px auto 0; }
.cx-hero-cta { display: flex; gap: 12px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.cx-hero-media { position: relative; z-index: 2; width: min(90vw, 900px); aspect-ratio: 16 / 9; border-radius: var(--cx-radius-lg); overflow: hidden; box-shadow: var(--cx-shadow); background: #0e0e10; }
.cx-hero-media .cx-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; transition: transform .2s ease-out; }
.cx-hero-3d { position: absolute; inset: 0; z-index: 2; }
.cx-hero-glow { position: absolute; left: 50%; top: 60%; transform: translate(-50%,-50%); width: 72vw; height: 46vw; max-width: 940px; max-height: 540px; background: radial-gradient(circle, rgba(245,166,35,0.20), transparent 62%); filter: blur(34px); z-index: 0; }
.cx-hero-badge { position: absolute; right: clamp(14px, 6vw, 80px); top: 40%; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: var(--cx-radius-pill); background: rgba(255,255,255,0.82); backdrop-filter: blur(10px); border: 1px solid var(--cx-line); font-size: 12px; font-weight: 600; color: var(--cx-ink-soft); }
.cx-scroll-hint { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 4; color: var(--cx-faint); font-size: 12px; letter-spacing: 0.22em; }

/* ---------- STATS ---------- */
.cx-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 4vw, 60px); padding-block: clamp(36px, 6vw, 72px); border-top: 1px solid var(--cx-line); border-bottom: 1px solid var(--cx-line); }
.cx-stat__num { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.cx-stat__num .cx-gold { color: var(--cx-accent); }
.cx-stat__label { color: var(--cx-muted); font-size: 13px; margin-top: 8px; letter-spacing: 0.02em; }

/* ---------- YATAY CAROUSEL ---------- */
.cx-rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; scrollbar-width: none; cursor: grab; }
.cx-rail::-webkit-scrollbar { display: none; }
.cx-rail.is-drag { cursor: grabbing; }
.cx-rail > * { scroll-snap-align: start; flex: 0 0 auto; }
.cx-rail-nav { display: inline-flex; gap: 8px; }

/* Kategori kartı (büyük render, minimum border) */
.cx-cat { width: clamp(220px, 26vw, 300px); }
.cx-cat__media { aspect-ratio: 4/5; border-radius: var(--cx-radius-lg); overflow: hidden; background: var(--cx-bg-3); position: relative; }
.cx-cat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--cx-ease); }
.cx-cat:hover .cx-cat__media img { transform: scale(1.06); }
.cx-cat__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 120%, rgba(245,166,35,0.28), transparent 60%); opacity: 0; transition: opacity .5s; }
.cx-cat:hover .cx-cat__media::after { opacity: 1; }
.cx-cat__name { font-weight: 600; margin-top: 14px; font-size: 16px; }
.cx-cat__meta { color: var(--cx-faint); font-size: 12.5px; margin-top: 2px; }

/* Ürün kartı (Apple Store: büyük render, az yazı) */
.cx-prod { width: clamp(240px, 28vw, 320px); text-align: center; }
.cx-prod__media { aspect-ratio: 1; border-radius: var(--cx-radius-lg); background: linear-gradient(180deg, #fff, var(--cx-bg-2)); display: grid; place-items: center; overflow: hidden; transition: transform .6s var(--cx-ease), box-shadow .6s; }
.cx-prod__media img { width: 78%; height: 78%; object-fit: contain; transition: transform .6s var(--cx-ease); }
.cx-prod:hover .cx-prod__media { transform: translateY(-10px); box-shadow: var(--cx-shadow); }
.cx-prod:hover .cx-prod__media img { transform: scale(1.05); }
.cx-prod__name { font-weight: 600; margin-top: 16px; }
.cx-prod__spec { color: var(--cx-faint); font-size: 12.5px; margin-top: 2px; }
.cx-prod__files { display: inline-flex; gap: 12px; margin-top: 12px; color: var(--cx-faint); font-size: 11px; opacity: 0; transform: translateY(6px); transition: all .4s var(--cx-ease); }
.cx-prod:hover .cx-prod__files { opacity: 1; transform: none; }
.cx-prod__files span { display: inline-flex; align-items: center; gap: 4px; }

/* ---------- PROJELER ---------- */
.cx-projects { background: var(--cx-bg-2); }
.cx-proj { width: clamp(280px, 40vw, 460px); }
.cx-proj__media { aspect-ratio: 16/11; border-radius: var(--cx-radius-lg); overflow: hidden; position: relative; background: var(--cx-bg-3); }
.cx-proj__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--cx-ease); }
.cx-proj:hover .cx-proj__media img { transform: scale(1.08); }
.cx-proj__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; background: linear-gradient(0deg, rgba(15,14,11,0.78), transparent); color: #fff; }
.cx-proj__cap h3 { margin: 0; font-size: 18px; font-weight: 600; }
.cx-proj__cap p { margin: 3px 0 0; font-size: 12.5px; opacity: 0.8; }

/* ---------- DOKÜMAN MERKEZİ ---------- */
.cx-docs__search { display: flex; align-items: center; gap: 12px; background: var(--cx-surface); border: 1px solid var(--cx-line); border-radius: var(--cx-radius-pill); padding: 14px 22px; box-shadow: var(--cx-shadow-soft); max-width: 620px; }
.cx-docs__search input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--cx-ink); font-family: inherit; }
.cx-docs__filters { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.cx-chip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: var(--cx-radius-pill); border: 1px solid var(--cx-line-2); background: transparent; font-size: 13px; font-weight: 500; cursor: pointer; transition: all .3s; color: var(--cx-ink-soft); }
.cx-chip:hover { border-color: var(--cx-ink); }
.cx-chip.is-active { background: var(--cx-ink); color: #fff; border-color: var(--cx-ink); }
.cx-doc-list { margin-top: 26px; display: flex; flex-direction: column; }
.cx-doc-row { display: flex; align-items: center; gap: 16px; padding: 16px 6px; border-bottom: 1px solid var(--cx-line); transition: background .3s; }
.cx-doc-row:hover { background: rgba(20,19,15,0.025); }
.cx-doc-row__ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--cx-accent-soft, rgba(245,166,35,0.14)); color: var(--cx-accent-2); flex: 0 0 auto; }
.cx-doc-row__t { font-weight: 500; }
.cx-doc-row__m { color: var(--cx-faint); font-size: 12px; margin-left: auto; }

/* ---------- FOOTER ---------- */
.cx-footer { background: var(--cx-bg-3); padding-block: clamp(50px, 7vw, 86px) 30px; }
.cx-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.cx-footer h4 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cx-faint); margin: 0 0 14px; }
.cx-footer a { color: var(--cx-muted); font-size: 14px; display: block; padding: 5px 0; transition: color .3s; }
.cx-footer a:hover { color: var(--cx-ink); }
.cx-footer__brand img { height: 34px; }
.cx-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--cx-line); color: var(--cx-faint); font-size: 13px; }

/* ---------- FLOATING CTA ---------- */
.cx-fab { position: fixed; right: 22px; bottom: 22px; z-index: 900; display: inline-flex; align-items: center; gap: 9px; padding: 14px 20px; border-radius: var(--cx-radius-pill); background: var(--cx-ink); color: #fff; font-weight: 600; font-size: 14px; box-shadow: var(--cx-shadow); transition: transform .4s var(--cx-ease); }
.cx-fab:hover { transform: translateY(-3px); }

/* ---------- SCROLL REVEAL (dissolve) ---------- */
.cx-reveal { opacity: 0; transform: translateY(40px) scale(0.985); filter: blur(6px); will-change: opacity, transform, filter; }
.cx-reveal.cx-in { opacity: 1; transform: none; filter: blur(0); transition: opacity 1.1s var(--cx-ease), transform 1.1s var(--cx-ease), filter 1.1s var(--cx-ease); }
.cx-reveal.cx-in[data-cx-delay="1"] { transition-delay: .08s; }
.cx-reveal.cx-in[data-cx-delay="2"] { transition-delay: .16s; }
.cx-reveal.cx-in[data-cx-delay="3"] { transition-delay: .24s; }
/* Section'lar arası yumuşak dissolve katmanı */
.cx-section { isolation: isolate; }
.cx-section::before { content:""; position:absolute; left:0; right:0; top:-1px; height:120px; background:linear-gradient(180deg, var(--cx-bg), transparent); opacity:.0; pointer-events:none; }

/* ---------- MOBİL ---------- */
.cx-mobile-nav { position: fixed; inset: 0; z-index: 1200; background: rgba(250,250,248,0.98); backdrop-filter: blur(20px); display: flex; flex-direction: column; padding: 90px 28px 28px; transform: translateY(-100%); transition: transform .5s var(--cx-ease); }
.cx-mobile-nav.is-open { transform: none; }
.cx-mobile-nav a { font-size: 26px; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--cx-line); }
.cx-mobile-close { position: absolute; top: 26px; right: 26px; }
.cx-bottom-cta { display: none; }

@media (max-width: 980px) {
    .cx-nav, .cx-head-tools .cx-only-desktop { display: none; }
    .cx-burger { display: inline-flex; }
    .cx-stats { grid-template-columns: repeat(2, 1fr); }
    .cx-footer__grid { grid-template-columns: 1fr 1fr; }
    .cx-hero-badge { display: none; }
}
@media (max-width: 640px) {
    .cx-hero h1 { font-size: clamp(2.4rem, 12vw, 3.4rem); }
    .cx-footer__grid { grid-template-columns: 1fr; }
    .cx-fab { display: none; }
    .cx-bottom-cta { display: flex; position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 900; gap: 10px; }
    .cx-bottom-cta .cx-btn { flex: 1; justify-content: center; box-shadow: var(--cx-shadow); }
    .cx-section { padding-block: clamp(56px, 14vw, 90px); }
}
@media (prefers-reduced-motion: reduce) {
    .cx-reveal { opacity: 1 !important; transform: none !important; }
    .cx * { scroll-behavior: auto !important; }
}

/* Immersive homepage hero */
.cx-hero {
    min-height: min(760px, calc(100svh - 104px));
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding: 128px clamp(24px, 6vw, 92px) 54px;
    text-align: left;
    background: #101318;
    isolation: isolate;
}

.cx-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    box-shadow: none;
    background: #101318;
}

.cx-hero-media .cx-hero-img {
    object-position: 64% center;
}

.cx-hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(8, 12, 18, 0.88) 0%, rgba(8, 12, 18, 0.68) 36%, rgba(8, 12, 18, 0.18) 72%, rgba(8, 12, 18, 0.08) 100%),
        linear-gradient(180deg, rgba(8, 12, 18, 0.18) 0%, rgba(8, 12, 18, 0.08) 58%, rgba(8, 12, 18, 0.48) 100%);
    pointer-events: none;
}

.cx-hero-content {
    width: min(100%, 660px);
    max-width: 660px;
    color: #ffffff;
}

.cx-hero .cx-eyebrow {
    color: rgba(255, 255, 255, 0.76);
}

.cx-hero h1 {
    max-width: 12ch;
    margin-top: 16px;
    color: #ffffff;
    font-size: clamp(3rem, 5.3vw, 5rem);
    line-height: 0.98;
}

.cx-hero h1 .cx-gold {
    margin-top: 8px;
}

.cx-hero-sub {
    max-width: 48ch;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.82);
}

.cx-hero-cta {
    justify-content: flex-start;
    margin-top: 30px;
}

.cx-hero .cx-btn--ghost {
    border-color: rgba(255, 255, 255, 0.44);
    background: rgba(8, 12, 18, 0.22);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.cx-hero .cx-btn--ghost:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.cx-hero a:focus-visible {
    outline: 3px solid rgba(245, 166, 35, 0.72);
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .cx-hero {
        min-height: min(720px, calc(100svh - 96px));
        justify-content: flex-start;
        padding: 118px 20px 24px;
    }

    .cx-hero-media .cx-hero-img {
        object-position: 58% center;
        will-change: auto;
    }

    .cx-hero-scrim {
        background:
            linear-gradient(180deg, rgba(7, 10, 15, 0.9) 0%, rgba(7, 10, 15, 0.76) 42%, rgba(7, 10, 15, 0.28) 72%, rgba(7, 10, 15, 0.48) 100%);
    }

    .cx-hero-content {
        width: 100%;
    }

    .cx-hero h1 {
        max-width: 11ch;
        margin-top: 12px;
        font-size: clamp(2.35rem, 11vw, 3rem);
        line-height: 1.02;
    }

    .cx-hero h1 .cx-gold {
        margin-top: 4px;
    }

    .cx-hero-sub {
        max-width: 33ch;
        margin-top: 16px;
        font-size: 0.96rem;
        line-height: 1.55;
    }

    .cx-hero-cta {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        width: 100%;
        margin-top: 22px;
    }

    .cx-hero-cta .cx-btn {
        width: 100%;
        min-height: 48px;
        justify-content: center;
        padding: 12px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cx-hero-media .cx-hero-img {
        transform: none !important;
        transition: none !important;
        will-change: auto;
    }
}
