/*
Theme Name:   Metasim Tema 2
Theme URI:    https://www.metasimltd.com
Author:       Metasim Makina Mühendislik
Description:  Metasim Makina için özel geliştirilmiş vitrin teması. WebGL akışkan-metal hero, scroll-driven animasyonlar, katalog kimliğini taşıyan koyu çelik + altın + kağıt dokusu tasarım sistemi. İç sayfalar Elementor uyumludur.
Version:      2.1.1
Requires WP:  6.4
License:      GNU General Public License v2
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  metasim-tema
Tags:         business, industrial, custom-logo, custom-menu, elementor
*/

/* ════════════════════════════════════════════════════════
   0 · TOKENLAR
════════════════════════════════════════════════════════ */
:root {
    /* Çelik koyu zemin */
    --steel-950: #0f1319;
    --steel-900: #141a22;
    --steel-800: #1b2330;
    --steel-700: #232e3d;

    /* Altın / bronz (katalog kimliği) */
    --gold:      #b08d57;
    --gold-2:    #d3ae78;
    --gold-deep: #8a6c40;
    --gold-dim:  rgba(176, 141, 87, .22);

    /* Kağıt (broşür zemini) */
    --paper:     #f4efe7;
    --paper-2:   #eae3d7;
    --ink:       #232a33;
    --ink-soft:  #5a636e;

    /* Koyu zemin metinleri */
    --cream:     #ece6da;
    --mist:      #a4adb8;

    --line:      rgba(176, 141, 87, .25);
    --line-soft: rgba(176, 141, 87, .13);

    --f-disp: 'Barlow Condensed', 'Roboto Condensed', 'Arial Narrow', sans-serif;
    --f-body: 'Barlow', 'Segoe UI', system-ui, sans-serif;

    --hdr-h: 74px;
    --maxw: 1240px;
    --pad: clamp(20px, 4vw, 48px);
    --r: 6px;
    --ease: cubic-bezier(.22, .68, .24, 1);
}

/* Sayfalar arası yumuşak geçiş (destekleyen tarayıcılarda) */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: .3s; }

/* ════════════════════════════════════════════════════════
   1 · RESET & TEMEL
════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    font-family: var(--f-body);
    font-size: 1rem;
    line-height: 1.65;
    background: var(--steel-950);
    color: var(--cream);
    -webkit-font-smoothing: antialiased;
    padding-top: var(--hdr-h);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration: none; transition: color .25s; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
    font-family: var(--f-disp);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: .015em;
    text-wrap: balance;
}

::selection { background: var(--gold); color: var(--steel-950); }

/* Odak halkası */
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }

/* ════════════════════════════════════════════════════════
   2 · SCROLL PROGRESS (scroll-driven animation)
════════════════════════════════════════════════════════ */
.msm-progress { display: none; }

@supports (animation-timeline: scroll()) {
    .msm-progress {
        display: block;
        position: fixed;
        top: 0; left: 0;
        width: 100%;
        height: 2px;
        z-index: 10001;
        background: linear-gradient(90deg, var(--gold-deep), var(--gold-2));
        transform-origin: 0 50%;
        transform: scaleX(0);
        animation: msm-prog linear both;
        animation-timeline: scroll(root);
    }
    @keyframes msm-prog { to { transform: scaleX(1); } }
}

/* ════════════════════════════════════════════════════════
   3 · HEADER
════════════════════════════════════════════════════════ */
.msm-site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 9999;
    height: var(--hdr-h);
    display: flex;
    align-items: center;
    background: color-mix(in oklab, var(--steel-900) 92%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line-soft);
    transition: background .35s, border-color .35s, height .3s;
}

/* Ana sayfada hero üstünde şeffaf başlar */
body.msm-front .msm-site-header:not(.is-scrolled) {
    background: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.msm-site-header.is-scrolled { height: 60px; }

.msm-header-inner {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.msm-logo { display: flex; align-items: center; flex-shrink: 0; }
.msm-logo img {
    height: 44px;
    width: auto;
    filter: brightness(1.08);
    transition: height .3s;
}
.msm-site-header.is-scrolled .msm-logo img { height: 34px; }

/* Görsel logo yoksa yazı lockup */
.msm-logo-text { display: flex; flex-direction: column; line-height: 1; }
.msm-logo-name {
    font-family: var(--f-disp);
    font-size: 1.55rem; font-weight: 800;
    color: var(--gold); letter-spacing: .1em; text-transform: uppercase;
}
.msm-logo-sub {
    font-size: .58rem; color: var(--mist);
    letter-spacing: .09em; text-transform: uppercase; margin-top: 3px;
}

/* Navigasyon */
.msm-primary-nav ul {
    display: flex; align-items: center; list-style: none; gap: 2px;
}
.msm-primary-nav a {
    display: block;
    padding: 9px 12px;
    font-family: var(--f-disp);
    font-size: .92rem; font-weight: 600;
    letter-spacing: .06em; text-transform: uppercase;
    color: var(--cream);
    position: relative;
    white-space: nowrap;
}
.msm-primary-nav a::after {
    content: '';
    position: absolute; left: 12px; right: 12px; bottom: 3px;
    height: 2px; background: var(--gold);
    transform: scaleX(0); transform-origin: left;
    transition: transform .22s var(--ease);
}
.msm-primary-nav a:hover,
.msm-primary-nav .current-menu-item > a { color: var(--gold-2); }
.msm-primary-nav a:hover::after,
.msm-primary-nav .current-menu-item > a::after { transform: scaleX(1); }

/* Hamburger */
.msm-hamburger {
    display: none;
    flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; padding: 9px;
    background: none;
    border: 1px solid var(--line);
    border-radius: var(--r);
    cursor: pointer;
}
.msm-hamburger span {
    height: 2px; width: 100%;
    background: var(--cream); border-radius: 2px;
    transition: transform .25s, opacity .2s;
}
.msm-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.msm-hamburger.is-open span:nth-child(2) { opacity: 0; }
.msm-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
    .msm-hamburger { display: flex; position: relative; z-index: 3; }
    .msm-primary-nav {
        position: fixed;
        top: var(--hdr-h); left: 0; right: 0;
        background: var(--steel-900);
        border-bottom: 1px solid var(--line);
        transform: translateY(-110%);
        visibility: hidden;            /* kapalıyken tıklama yutmasın */
        pointer-events: none;
        transition: transform .32s var(--ease), visibility 0s .32s;
        max-height: calc(100dvh - var(--hdr-h));
        overflow-y: auto;
    }
    .msm-primary-nav.is-open {
        transform: none;
        visibility: visible;
        pointer-events: auto;
        transition-delay: 0s, 0s;
    }
    .msm-primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
    .msm-primary-nav a { padding: 15px var(--pad); border-bottom: 1px solid var(--line-soft); font-size: 1.02rem; }
    .msm-primary-nav a::after { display: none; }
}

/* ════════════════════════════════════════════════════════
   4 · ORTAK YAPILAR
════════════════════════════════════════════════════════ */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

.sec { padding-block: clamp(72px, 11vw, 132px); position: relative; }

/* Açık "kağıt" bölümler — broşür zemini dokusuyla */
.sec--paper {
    background: var(--paper);
    color: var(--ink);
}
.sec--paper::before {
    content: '';
    position: absolute; inset: 0;
    background: url('assets/img/kagit-doku.webp') center/720px repeat;
    opacity: .5;
    mix-blend-mode: multiply;
    pointer-events: none;
}
.sec--paper > * { position: relative; }
.sec--paper h2, .sec--paper h3 { color: var(--ink); }

/* Bölüm başlık düzeni */
.sec-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 860px; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--f-disp);
    font-size: .86rem; font-weight: 600;
    letter-spacing: .22em; text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}
.eyebrow::before {
    content: ''; width: 34px; height: 1px; background: var(--gold);
}
.sec-title {
    font-size: clamp(2rem, 4.6vw, 3.4rem);
    font-weight: 700;
    text-transform: uppercase;
}
.sec-lead { margin-top: 16px; font-size: 1.06rem; color: var(--mist); max-width: 62ch; }
.sec--paper .sec-lead { color: var(--ink-soft); }

/* Butonlar */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--f-disp);
    font-size: .98rem; font-weight: 700;
    letter-spacing: .09em; text-transform: uppercase;
    padding: 15px 30px;
    border-radius: var(--r);
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .22s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--gold { background: var(--gold); color: var(--steel-950) !important; }
.btn--gold:hover { background: var(--gold-2); transform: translateY(-2px); }
.btn--ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--cream) !important;
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2) !important; transform: translateY(-2px); }
.sec--paper .btn--ghost { color: var(--ink) !important; border-color: rgba(35,42,51,.3); }
.sec--paper .btn--ghost:hover { border-color: var(--gold-deep); color: var(--gold-deep) !important; }

.btn1 {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--f-disp);
    font-size: .98rem; font-weight: 700;
    letter-spacing: .09em; text-transform: lowercase;
    padding: 15px 30px;
    border-radius: var(--r);
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .22s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn1:active { transform: translateY(1px) scale(.99); }
.btn1--gold { background: var(--gold); color: var(--steel-950) !important; }
.btn1--gold:hover { background: var(--gold-2); transform: translateY(-2px); }
.btn1--ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--cream) !important;
}
.btn1--ghost:hover { border-color: var(--gold); color: var(--gold-2) !important; transform: translateY(-2px); }
.sec--paper .btn1--ghost { color: var(--ink) !important; border-color: rgba(35,42,51,.3); }
.sec--paper .btn1--ghost:hover { border-color: var(--gold-deep); color: var(--gold-deep) !important; }


/* Reveal (JS + IO; motion azaltmada devre dışı) */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .8s ease, transform .85s var(--ease);
    transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .js [data-reveal] { opacity: 1; transform: none; transition: none; }
    * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ════════════════════════════════════════════════════════
   5 · HERO
════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100svh;
    margin-top: calc(-1 * var(--hdr-h));
    display: grid;
    align-items: center;
    overflow: clip;
    background: var(--steel-950);
}

#msm-shader {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    display: block;
}

/* WebGL yoksa CSS yedek zemin */
.hero.no-webgl #msm-shader { display: none; }
.hero.no-webgl::before {
    content: '';
    position: absolute; inset: -20%;
    background:
        radial-gradient(52% 44% at 68% 30%, rgba(176,141,87,.34), transparent 66%),
        radial-gradient(40% 36% at 22% 74%, rgba(138,108,64,.26), transparent 70%),
        conic-gradient(from 210deg at 55% 45%, #10151c, #1c2330 32%, #10151c 60%, #232b1e00 78%, #10151c);
    animation: hero-drift 26s linear infinite alternate;
    filter: saturate(1.05);
}
@keyframes hero-drift {
    to { transform: rotate(6deg) scale(1.12); }
}

/* Katalog ayraç sayfasını andıran ince altın ızgara */
.hero-grid {
    position: absolute; inset: 0;
    pointer-events: none;
    opacity: .14;
    background:
        linear-gradient(var(--gold) 1px, transparent 1px) 0 0 / 100% 240px,
        linear-gradient(90deg, var(--gold) 1px, transparent 1px) 0 0 / 280px 100%;
    mask-image: radial-gradient(130% 100% at 50% 0%, #000 26%, transparent 76%);
    -webkit-mask-image: radial-gradient(130% 100% at 50% 0%, #000 26%, transparent 76%);
}

/* Alt karartma — metin okunurluğu */
.hero::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg,
        rgba(15,19,25,.42) 0%,
        rgba(15,19,25,.08) 34%,
        rgba(15,19,25,.16) 62%,
        rgba(15,19,25,.86) 100%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding-block: clamp(120px, 16vh, 180px) clamp(90px, 12vh, 140px);
}

.hero-kicker {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--f-disp);
    font-size: clamp(.8rem, 1.4vw, .95rem);
    font-weight: 600;
    letter-spacing: .3em; text-transform: uppercase;
    color: var(--gold-2);
    margin-bottom: clamp(18px, 3vh, 30px);
}
.hero-kicker::before, .hero-kicker::after {
    content: ''; height: 1px; width: 42px; background: var(--gold);
}

.hero-title {
    font-size: clamp(2.7rem, 8.4vw, 6.6rem);
    font-weight: 800;
    text-transform: uppercase;
    line-height: .98;
    letter-spacing: .01em;
    color: var(--cream);
    max-width: 15ch;
}
.hero-title .line { display: block; overflow: clip; }
.hero-title .line > span {
    display: inline-block;
    transform: translateY(112%);
    animation: line-up .95s var(--ease) forwards;
    animation-delay: calc(.15s + var(--i) * .12s);
}
.hero-title em { font-style: normal; color: var(--gold-2); }
@keyframes line-up { to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .hero-title .line > span { transform: none; animation: none; }
}

.hero-sub {
    margin-top: clamp(20px, 3vh, 30px);
    max-width: 58ch;
    font-size: clamp(1rem, 1.6vw, 1.14rem);
    color: var(--mist);
}

/* 4 ana hizmet rozeti */
.hero-pillars {
    margin-top: clamp(24px, 3.4vh, 36px);
    display: flex; flex-wrap: wrap; gap: 10px;
    list-style: none;
}
.hero-pillars li {
    font-family: var(--f-disp);
    font-size: .9rem; font-weight: 600;
    letter-spacing: .05em; text-transform: uppercase;
    color: var(--cream);
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: rgba(20, 26, 34, .5);
    backdrop-filter: blur(6px);
}
.hero-pillars li::before { content: '● '; color: var(--gold); font-size: .62em; vertical-align: 2px; }

.hero-ctas { margin-top: clamp(30px, 4.4vh, 44px); display: flex; flex-wrap: wrap; gap: 14px; }

/* Aşağı kaydır işareti */
.hero-scroll {
    position: absolute; z-index: 2;
    left: 50%; bottom: 26px;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: var(--mist);
    font-family: var(--f-disp);
    font-size: .74rem; letter-spacing: .28em; text-transform: uppercase;
}
.hero-scroll::after {
    content: '';
    width: 1px; height: 46px;
    background: linear-gradient(var(--gold), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse { 50% { transform: scaleY(.55); transform-origin: top; opacity: .5; } }

/* ════════════════════════════════════════════════════════
   6 · MANİFESTO + SAYAÇLAR
════════════════════════════════════════════════════════ */
.intro-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: clamp(36px, 6vw, 90px);
    align-items: start;
}
.intro-big {
    font-family: var(--f-disp);
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    font-weight: 500;
    line-height: 1.28;
    color: var(--ink);
}
.intro-big strong { color: var(--gold-deep); font-weight: 700; }
.intro-side h3 {
    font-size: 1.35rem; text-transform: uppercase;
    border-left: 4px solid var(--gold);
    padding-left: 14px;
    margin-bottom: 14px;
}
.intro-side p { color: var(--ink-soft); font-size: .98rem; }
.intro-side ul { list-style: none; margin-top: 14px; }
.intro-side li {
    padding: 9px 0 9px 26px;
    border-bottom: 1px solid rgba(35,42,51,.12);
    position: relative;
    font-size: .96rem;
}
.intro-side li::before {
    content: '⇒';
    position: absolute; left: 0;
    color: var(--gold-deep);
}

/* Sayaç bandı */
.stats {
    margin-top: clamp(48px, 7vw, 84px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    border-block: 1px solid rgba(35,42,51,.2);
}
.stat {
    padding: clamp(20px, 3vw, 34px) 18px;
    text-align: center;
    border-right: 1px solid rgba(35,42,51,.12);
}
.stat:last-child { border-right: 0; }
.stat b {
    display: block;
    font-family: var(--f-disp);
    font-variant-numeric: tabular-nums;
    font-size: clamp(2.1rem, 4.4vw, 3.3rem);
    font-weight: 800;
    color: var(--gold-deep);
    line-height: 1;
}
.stat b sub { font-size: .42em; vertical-align: baseline; letter-spacing: .04em; }
.stat span {
    display: block; margin-top: 8px;
    font-family: var(--f-disp);
    font-size: .82rem; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--ink-soft);
}

@media (max-width: 860px) {
    .intro-grid { grid-template-columns: 1fr; }
    .stat { border-right: 0; border-bottom: 1px solid rgba(35,42,51,.12); }
}

/* ════════════════════════════════════════════════════════
   7 · HİZMETLER — YAPIŞKAN KART DESTESİ
════════════════════════════════════════════════════════ */
.stack { display: grid; gap: clamp(20px, 3vh, 34px); }

.stack-card {
    position: sticky;
    top: calc(var(--hdr-h) + 18px);
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    min-height: min(66vh, 560px);
    background: linear-gradient(160deg, var(--steel-800), var(--steel-900) 70%);
    border: 1px solid var(--line-soft);
    border-top: 3px solid var(--gold);
    border-radius: 10px;
    overflow: clip;
    box-shadow: 0 -18px 50px rgba(0, 0, 0, .45);
}

/* Scroll-driven derinlik: kart, altındaki yenisi gelirken hafifçe geri çekilir */
@supports (animation-timeline: view()) {
    .stack-card {
        animation: card-away linear both;
        animation-timeline: view();
        animation-range: exit-crossing 0% exit-crossing 90%;
    }
    @keyframes card-away {
        to { transform: translateY(-14px) scale(.955); filter: brightness(.55) saturate(.85); }
    }
    .stack-card:last-child { animation: none; }
}

.stack-body {
    padding: clamp(26px, 4vw, 52px);
    display: flex; flex-direction: column; justify-content: center;
}
.stack-idx {
    font-family: var(--f-disp);
    font-size: .92rem; font-weight: 700;
    letter-spacing: .3em;
    color: var(--gold);
}
.stack-card h3 {
    margin-top: 10px;
    font-size: clamp(1.5rem, 2.7vw, 2.2rem);
    text-transform: uppercase;
    color: var(--cream);
}
.stack-card p { margin-top: 14px; color: var(--mist); font-size: .99rem; max-width: 52ch; }
.stack-list {
    margin-top: 18px;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 6px 20px;
}
.stack-list li {
    font-family: var(--f-disp);
    font-size: .95rem; font-weight: 500;
    letter-spacing: .03em;
    color: var(--cream);
    padding: 6px 0 6px 20px;
    position: relative;
    border-bottom: 1px solid var(--line-soft);
}
.stack-list li::before {
    content: ''; position: absolute; left: 0; top: 50%;
    width: 8px; height: 8px;
    border: 1px solid var(--gold);
    transform: translateY(-50%) rotate(45deg);
}
.stack-media { position: relative; min-height: 280px; }
.stack-media img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    filter: saturate(1.02) contrast(1.02);
}
.stack-media::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--steel-900) 0%, transparent 26%);
}

@media (max-width: 900px) {
    .stack-card { grid-template-columns: 1fr; min-height: 0; position: static; }
    .stack-media { order: -1; min-height: 220px; aspect-ratio: 16 / 9; }
    .stack-media::after { background: linear-gradient(0deg, var(--steel-900) 0%, transparent 40%); }
}

/* ════════════════════════════════════════════════════════
   8 · TEKNİK FÖY PANELLERİ (Makine spot)
════════════════════════════════════════════════════════ */
.sec--blueprint::before {
    background:
        url('assets/img/cizim.webp') right -60px top -40px / 620px no-repeat,
        url('assets/img/kagit-doku.webp') center/720px repeat;
    opacity: .34;
}

.sheet {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(24px, 4vw, 56px);
    background: rgba(255, 255, 255, .55);
    border: 1px solid rgba(35, 42, 51, .16);
    border-radius: 10px;
    padding: clamp(22px, 3.4vw, 44px);
    backdrop-filter: blur(3px);
}
.sheet + .sheet { margin-top: clamp(28px, 4vw, 48px); }
.sheet.rev { grid-template-columns: 1.1fr .9fr; }
.sheet.rev .sheet-media { order: 2; }

.sheet-media {
    position: relative;
    border-radius: 8px;
    overflow: clip;
    min-height: 300px;
    border: 1px solid rgba(35, 42, 51, .18);
}
.sheet-media img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.sheet-tag {
    position: absolute; left: 12px; top: 12px;
    font-family: var(--f-disp);
    font-size: .74rem; font-weight: 700;
    letter-spacing: .2em; text-transform: uppercase;
    background: var(--steel-900);
    color: var(--gold-2);
    padding: 7px 12px;
    border-radius: 4px;
}

.sheet h3 {
    font-size: clamp(1.45rem, 2.6vw, 2.05rem);
    text-transform: uppercase;
}
.sheet-desc { margin-top: 12px; color: var(--ink-soft); font-size: .97rem; }

.specs {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0 26px;
}
.specs > div {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(35, 42, 51, .28);
}
.specs dt {
    font-family: var(--f-disp);
    font-size: .84rem; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase;
    color: var(--ink-soft);
}
.specs dd {
    font-family: var(--f-disp);
    font-variant-numeric: tabular-nums;
    font-size: 1.08rem; font-weight: 700;
    color: var(--ink);
    text-align: right;
}

.safety { margin-top: 22px; }
.safety h4 {
    font-size: .92rem; letter-spacing: .16em; text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 10px;
}
.safety ul { list-style: none; columns: 2; column-gap: 30px; }
.safety li {
    break-inside: avoid;
    font-size: .92rem;
    color: var(--ink);
    padding: 5px 0 5px 20px;
    position: relative;
}
.safety li::before { content: '»'; position: absolute; left: 0; color: var(--gold-deep); font-weight: 700; }

@media (max-width: 880px) {
    .sheet, .sheet.rev { grid-template-columns: 1fr; }
    .sheet.rev .sheet-media { order: 0; }
    .sheet-media { min-height: 230px; aspect-ratio: 16/10; }
    .safety ul { columns: 1; }
}

/* ════════════════════════════════════════════════════════
   10 · TEK ÇATI BANDI
════════════════════════════════════════════════════════ */
.turnkey {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 5vw, 70px);
    align-items: center;
}
.turnkey-media {
    border-radius: 10px;
    overflow: clip;
    border: 1px solid rgba(35,42,51,.18);
    box-shadow: 18px 18px 0 -6px var(--gold-dim);
}
.turnkey h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); text-transform: uppercase; }
.turnkey p { margin-top: 14px; color: var(--ink-soft); }
.turnkey ul { margin-top: 18px; list-style: none; }
.turnkey li {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(35,42,51,.14);
    font-family: var(--f-disp);
    font-weight: 600; letter-spacing: .04em;
    text-transform: uppercase; font-size: .95rem;
}
.turnkey li::before {
    content: '';
    width: 22px; height: 1px; background: var(--gold-deep); flex-shrink: 0;
}
@media (max-width: 860px) { .turnkey { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════
   11 · ÜRETİM ALTYAPISI
════════════════════════════════════════════════════════ */
.park {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}
.park-item {
    padding: 26px 22px;
    background: linear-gradient(160deg, var(--steel-800), var(--steel-900));
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    transition: transform .3s var(--ease), border-color .3s;
}
.park-item:hover { transform: translateY(-5px); border-color: var(--gold); }
.park-item i {
    font-style: normal;
    font-family: var(--f-disp);
    font-size: .82rem; font-weight: 700;
    letter-spacing: .24em;
    color: var(--gold);
}
.park-item b {
    display: block; margin-top: 8px;
    font-family: var(--f-disp);
    font-size: 1.18rem; font-weight: 700;
    text-transform: uppercase;
    color: var(--cream);
}
.park-note { margin-top: 22px; color: var(--mist); max-width: 70ch; }

/* ════════════════════════════════════════════════════════
   9 · SEKTÖRLER — GENİŞLEYEN GALERİ
════════════════════════════════════════════════════════ */
.sectors {
    display: flex;
    gap: 10px;
    height: min(560px, 66vh);
}
.sector {
    position: relative;
    flex: 1;
    min-width: 0;
    border-radius: 10px;
    overflow: clip;
    cursor: pointer;
    border: 1px solid var(--line-soft);
    transition: flex .6s var(--ease);
    isolation: isolate;
}
.sector img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(.5) brightness(.72);
    transition: filter .5s, transform .8s var(--ease);
}
.sector::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(15,19,25,.88) 0%, rgba(15,19,25,.1) 55%);
}
.sector:is(:hover, :focus-visible, .is-open) { flex: 3.4; }
.sector:is(:hover, :focus-visible, .is-open) img {
    filter: grayscale(0) brightness(.92);
    transform: scale(1.05);
}
.sector-name {
    position: absolute; z-index: 2;
    left: 16px; bottom: 16px; right: 16px;
    font-family: var(--f-disp);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--cream);
    font-size: 1.02rem;
    letter-spacing: .06em;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    transition: opacity .3s;
    white-space: nowrap;
}
.sector-full {
    position: absolute; z-index: 2;
    left: 20px; bottom: 18px; right: 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .4s .12s, transform .5s .12s var(--ease);
}
.sector-full b {
    display: block;
    font-family: var(--f-disp);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 700; text-transform: uppercase;
    color: var(--cream);
}
.sector-full i {
    font-style: normal;
    font-family: var(--f-disp);
    font-size: .8rem; letter-spacing: .2em;
    color: var(--gold-2);
}
.sector:is(:hover, :focus-visible, .is-open) .sector-name { opacity: 0; }
.sector:is(:hover, :focus-visible, .is-open) .sector-full { opacity: 1; transform: none; }

@media (max-width: 820px) {
    .sectors {
        height: auto;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }
    .sector {
        flex: 0 0 74%;
        aspect-ratio: 4 / 5;
        scroll-snap-align: center;
    }
    .sector-name { display: none; }
    .sector-full { opacity: 1; transform: none; }
    .sector img { filter: grayscale(.1) brightness(.85); }
	.sector:is(:hover, :focus-visible, .is-open) { flex: 0 0 74%; }
}



/* ════════════════════════════════════════════════════════
   12 · REFERANSLAR + PROJELER
════════════════════════════════════════════════════════ */
.marquee {
    overflow: clip;
    border-block: 1px solid var(--line-soft);
    padding-block: 22px;
    mask-image: linear-gradient(90deg, transparent, #000 9% 91%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 9% 91%, transparent);
}
.marquee-track {
    display: flex;
    align-items: center;
    gap: clamp(40px, 6vw, 84px);
    width: max-content;
    animation: mq 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
    .marquee { mask-image: none; -webkit-mask-image: none; }
}
.marquee-track span {
    font-family: var(--f-disp);
    font-size: clamp(1.25rem, 2.6vw, 1.9rem);
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--mist);
    white-space: nowrap;
    transition: color .3s;
}
.marquee-track span:hover { color: var(--gold-2); }
.marquee-track span::after { content: ' ◆'; color: var(--gold); font-size: .5em; vertical-align: 3px; }

.projects {
    margin-top: clamp(40px, 6vw, 64px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 clamp(30px, 5vw, 70px);
}
.project {
    padding: 20px 0 20px 56px;
    border-bottom: 1px solid var(--line-soft);
    position: relative;
    transition: padding-left .3s var(--ease);
}
.project:hover { padding-left: 64px; }
.project i {
    position: absolute; left: 0; top: 22px;
    font-style: normal;
    font-family: var(--f-disp);
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: var(--gold);
    font-size: 1rem;
    letter-spacing: .08em;
}
.project b {
    display: block;
    font-family: var(--f-disp);
    font-size: 1.14rem; font-weight: 700;
    text-transform: uppercase;
    color: #0f1319;
}
.project p { margin-top: 4px; font-size: .92rem; color: var(--ink-soft); }
.project::after {
    content: '';
    position: absolute; left: 0; bottom: -1px;
    height: 1px; width: 0;
    background: var(--gold);
    transition: width .45s var(--ease);
}
.project:hover::after { width: 100%; }
@media (max-width: 820px) { .projects { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════
   13 · KATALOG
════════════════════════════════════════════════════════ */
.catalog {
    display: grid;
    grid-template-columns: minmax(240px, 380px) 1fr;
    gap: clamp(34px, 6vw, 84px);
    align-items: center;
}
.catalog-cover {
    perspective: 1100px;
}
.catalog-cover img {
    border-radius: 6px;
    border: 1px solid rgba(35,42,51,.22);
    box-shadow:
        0 30px 60px -22px rgba(20, 20, 25, .5),
        14px 14px 0 -4px var(--gold-dim);
    transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform .18s ease-out;
    will-change: transform;
}
.catalog-meta {
    margin-top: 16px;
    font-family: var(--f-disp);
    font-size: .84rem; font-weight: 600;
    letter-spacing: .16em; text-transform: uppercase;
    color: var(--ink-soft);
    text-align: center;
}
.catalog h3 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); text-transform: uppercase; }
.catalog-text p { margin-top: 14px; color: var(--ink-soft); max-width: 56ch; }
.catalog-ctas { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 780px) {
    .catalog { grid-template-columns: 1fr; }
    .catalog-cover { max-width: 300px; margin-inline: auto; }
}

/* ════════════════════════════════════════════════════════
   14 · SON CTA
════════════════════════════════════════════════════════ */
.cta-final { text-align: center; }
.cta-final h2 {
    font-size: clamp(2.4rem, 7vw, 5.4rem);
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1;
}
.cta-final h2 em { font-style: normal; color: var(--gold-2); }
.cta-final .sec-lead { margin-inline: auto; }
.cta-contact {
    margin-top: 34px;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
}
.cta-addr {
    margin-top: 30px;
    color: var(--mist);
    font-size: .95rem;
}
.cta-addr a { color: var(--gold-2); }

/* ════════════════════════════════════════════════════════
   15 · FOOTER
════════════════════════════════════════════════════════ */
.msm-site-footer {
    background: #0b0e13;
    border-top: 1px solid var(--line-soft);
    color: var(--mist);
}
.msm-footer-body {
    display: grid;
    grid-template-columns: 2.1fr 1.2fr 1.7fr;
    gap: clamp(30px, 5vw, 60px);
    max-width: var(--maxw);
    margin-inline: auto;
    padding: clamp(44px, 7vw, 72px) var(--pad) clamp(36px, 5vw, 54px);
}
.msm-footer-col h4 {
    font-size: .86rem; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--gold);
    padding-bottom: 10px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--line-soft);
}
.msm-footer-col p { font-size: .92rem; line-height: 1.75; }
.footer-logo img {
    height: 44px; width: auto;
/*     filter: brightness(1) invert(.92);
    opacity: 1;*/
    margin-bottom: 16px;
}
.msm-footer-links { list-style: none; display: grid; gap: 8px; }
.msm-footer-links a {
    color: var(--mist); font-size: .93rem;
    display: inline-flex; align-items: center; gap: 7px;
    transition: color .25s, gap .25s;
}
.msm-footer-links a::before { content: '›'; color: var(--gold); }
.msm-footer-links a:hover { color: var(--gold-2); gap: 11px; }
.msm-footer-contact { list-style: none; display: grid; gap: 11px; }
.msm-footer-contact li {
    display: grid; grid-template-columns: 20px 1fr; gap: 8px;
    font-size: .9rem; line-height: 1.55;
}
.msm-footer-contact .fc-icon { font-style: normal; color: var(--gold); }
.msm-footer-contact a { color: var(--mist); }
.msm-footer-contact a:hover { color: var(--gold-2); }
.msm-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.06);
    max-width: var(--maxw);
    margin-inline: auto;
    padding: 18px var(--pad);
    display: flex; justify-content: space-between; align-items: center; gap: 14px;
    font-size: .8rem;
    color: rgba(164,173,184,.55);
}
.msm-footer-bottom a {
    font-family: var(--f-disp);
    letter-spacing: .1em; text-transform: uppercase;
    color: rgba(164,173,184,.55);
}
.msm-footer-bottom a:hover { color: var(--gold-2); }
@media (max-width: 880px) {
    .msm-footer-body { grid-template-columns: 1fr 1fr; }
    .msm-footer-col:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .msm-footer-body { grid-template-columns: 1fr; }
    .msm-footer-bottom { flex-direction: column; text-align: center; }
}

/* ════════════════════════════════════════════════════════
   16 · İÇ SAYFALAR (Elementor + eklenti içerikleri)
   Ana sayfa koyu vitrindir; iç sayfalar broşür gibi açık zeminde akar.
════════════════════════════════════════════════════════ */
body:not(.msm-front) .site-main {
    background: var(--paper);
    color: var(--ink);
}
body:not(.msm-front) .site-main a { color: var(--gold-deep); }

.msm-page-content {
    max-width: var(--maxw);
    margin-inline: auto;
    padding: clamp(44px, 7vw, 72px) var(--pad);
}
.msm-page-content > h1 {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    text-transform: uppercase;
    color: var(--ink);
    border-left: 5px solid var(--gold);
    padding-left: 16px;
    margin-bottom: 1.4rem;
}

/* ── v1 eklenti içerik sınıfları (iç sayfalar bunları kullanır) ── */
.msm-hero {
    background: var(--steel-800);
    color: var(--cream);
    padding: 84px 40px 74px;
    text-align: center;
}
.msm-hero h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    color: var(--gold-2);
    text-transform: uppercase;
    line-height: 1.12;
    margin-bottom: 1rem;
}
.msm-hero p { max-width: 680px; margin-inline: auto; color: var(--mist); font-size: 1.1rem; }
.msm-bolum { padding: 64px 40px; max-width: 1140px; margin-inline: auto; }
.msm-bolum h2 {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    text-transform: uppercase;
    color: var(--ink);
    border-left: 5px solid var(--gold);
    padding-left: 16px;
    margin-bottom: 1.4rem;
}
.msm-bolum h3 { font-size: 1.28rem; color: var(--ink); margin-bottom: .6rem; }
.msm-bolum p { color: var(--ink-soft); line-height: 1.75; margin-bottom: 1rem; }
.msm-kart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
    margin-top: 2.2rem;
}
.msm-kart {
    background: rgba(255,255,255,.62);
    border: 1px solid rgba(35,42,51,.14);
    border-top: 3px solid var(--gold);
    border-radius: var(--r);
    padding: 26px 24px;
    transition: transform .3s var(--ease), box-shadow .3s;
}
.msm-kart:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(30,30,35,.14); }
.msm-kart ul { padding-left: 18px; color: var(--ink-soft); line-height: 1.85; }
.msm-koyu-bg {
    background: var(--steel-800);
    color: var(--cream);
    padding: 64px 40px;
    text-align: center;
}
.msm-koyu-bg h2 { color: var(--gold-2); text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: .9rem; }
.msm-koyu-bg p { max-width: 680px; margin-inline: auto; color: var(--mist); }
.msm-altin-bg { background: var(--gold); color: #fff; padding: 52px 40px; }
.msm-altin-bg h2 { color: #fff; text-transform: uppercase; font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: .8rem; }
.msm-cta-btn {
    display: inline-block;
    background: var(--gold);
    color: var(--steel-950) !important;
    font-family: var(--f-disp);
    font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
    padding: 14px 34px;
    border-radius: var(--r);
    margin-top: 1.6rem;
    transition: background .25s, transform .22s;
}
.msm-cta-btn:hover { background: var(--gold-2); transform: translateY(-2px); }
.msm-cta-btn-koyu { background: var(--steel-800); color: var(--cream) !important; }
.msm-cta-btn-koyu:hover { background: var(--steel-700); }
.msm-referans-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }
.msm-referans-chip {
    background: var(--gold); color: #fff;
    font-family: var(--f-disp); font-weight: 600; letter-spacing: .04em;
    padding: 10px 22px; border-radius: 100px; font-size: .95rem;
}
.msm-proje-kart {
    border-left: 4px solid var(--gold);
    background: rgba(255,255,255,.6);
    padding: 18px 22px; margin: 14px 0;
    border-radius: 0 var(--r) var(--r) 0;
    color: var(--ink-soft); line-height: 1.6;
}
.msm-proje-kart strong {
    display: block; color: var(--ink);
    font-family: var(--f-disp); font-size: 1.05rem; margin-bottom: 4px;
    text-transform: uppercase; letter-spacing: .02em;
}
.msm-iletisim-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; margin-top: 1.8rem; }
.msm-iletisim-kart {
    background: rgba(255,255,255,.62);
    border: 1px solid rgba(35,42,51,.14);
    border-top: 3px solid var(--gold);
    border-radius: var(--r);
    padding: 24px;
}
.msm-iletisim-kart h4 {
    color: var(--gold-deep);
    font-size: .95rem; letter-spacing: .07em; text-transform: uppercase;
    margin-bottom: 8px;
}
.msm-iletisim-kart p, .msm-iletisim-kart a { color: var(--ink-soft); font-size: .95rem; line-height: 1.7; }
.msm-sektor-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }
.msm-sektor-badge {
    background: var(--steel-800); color: var(--cream);
    font-family: var(--f-disp); letter-spacing: .04em;
    padding: 10px 20px; border-radius: var(--r); font-size: .95rem;
    transition: background .3s;
}
.msm-sektor-badge:hover { background: var(--gold); color: var(--steel-950); }
.msm-not-kutu {
    padding: 20px 24px;
    background: rgba(255,255,255,.6);
    border-left: 4px solid var(--gold);
    border-radius: 0 var(--r) var(--r) 0;
    margin: 1.4rem 0;
    color: var(--ink-soft); line-height: 1.7;
}

/* Katalog gömme (iç sayfa) */
.msm-pdf-embed {
    width: 100%;
    height: min(78vh, 900px);
    border: 1px solid rgba(35,42,51,.2);
    border-radius: var(--r);
    margin-top: 1.6rem;
}
@media (max-width: 700px) { .msm-pdf-embed { display: none; } }

/* ── Erişilebilirlik / çekirdek ── */
.skip-link {
    position: absolute; top: -100px; left: 12px; z-index: 99999;
    background: var(--gold); color: var(--steel-950);
    padding: 10px 18px; border-radius: 0 0 4px 4px; font-weight: 700;
    transition: top .2s;
}
.skip-link:focus { top: 0; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute !important; overflow: hidden; width: 1px; height: 1px; }

/* İçerik görünürlüğü — alt bölümler için render tasarrufu */
.cv-auto { content-visibility: auto; contain-intrinsic-size: auto 720px; }

/* ════════════════════════════════════════════════════════
   17 · v2.1.0 — MOBİL ONARIMLAR + DİL SEÇİCİ
════════════════════════════════════════════════════════ */

/* Grid "min-content" taşması: hizmet kartları ve teknik föyler
   mobilde sayfayı 390px yerine 413px'e genişletiyordu. */
.stack-card, .stack-card > *,
.sheet, .sheet > *, .sheet-body { min-width: 0; }

/* Emniyet ağı: hiçbir bölüm yatay kaydırma oluşturamasın */
.site-main { overflow-x: clip; }

/* Header sağ grubu: nav + dil + hamburger */
.msm-head-right { display: flex; align-items: center; gap: 14px; min-width: 0; }

/* Dil seçici (Polylang) */
.msm-lang { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.msm-lang a {
    font-family: var(--f-disp);
    font-size: .82rem; font-weight: 700;
    letter-spacing: .08em;
    color: var(--mist);
    padding: 6px 8px;
    border-radius: 4px;
    transition: color .25s, background .25s;
}
.msm-lang a:hover { color: var(--gold-2); }
.msm-lang a.is-current { color: var(--gold-2); background: rgba(176, 141, 87, .16); }
@media (max-width: 960px) {
    .msm-head-right { gap: 8px; }
    .msm-lang a { padding: 8px 7px; font-size: .8rem; }
}
