/* ==========================================================================
   Kurumsal site temasi
   Renk ve yazi tipleri panelden gelir: layout.html bunlari :root degiskeni olarak basar.
   ========================================================================== */

:root {
    --theme: #e31e24;
    --theme-dark: #a21419;
    --dark: #1a1a1a;
    --darker: #111214;
    --text: #74777c;
    --muted: #8f96a1;
    --line: #e6e6e6;
    --soft: #f5f6f7;
    --white: #fff;
    /* Anlamsal renkler: tema degisince yalnizca bunlar degisir.
       --white ve --dark sabit kalir: koyu bantlardaki beyaz yazi ve koyu bant zeminleri iki temada da aynidir. */
    --bg: #fff;              /* sayfa zemini */
    --surface: #fff;         /* kart, menu, form */
    --heading: #1a1a1a;      /* baslik ve koyu yazi */
    --theme-text: var(--theme); /* ana renkte yazi (dolgular --theme kullanir) */
    --map-empty: #fff;
    --map-stroke: #c9ccd1;
    --ok-bg: #e8f6ee;
    --ok-fg: #136c3a;
    --err-bg: #fff1f2;
    color-scheme: light;
    --font-head: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --container: 1320px;
    --header-h: 96px;
    --shadow: 0 20px 40px rgba(13, 30, 53, .10);
    --ease: cubic-bezier(.25, .8, .25, 1);
}

/* Koyu tema: siyah degil, cok koyu antrasit; kartlar zeminden bir ton acik */
[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0f1012;
    --soft: #141619;
    --surface: #1b1e22;
    --heading: #f1f2f4;
    /* Koyu zeminde ana renkli yazi okunur olsun: panelden secilen rengin acilmis hali (kirmizida ~5.5:1) */
    --theme-text: color-mix(in srgb, var(--theme) 72%, #fff);
    --text: #a9afb8;
    --muted: #8b929c;
    --line: #2a2e34;
    --shadow: 0 20px 40px rgba(0, 0, 0, .45);
    --map-empty: #23272c;
    --map-stroke: #3a3f46;
    --ok-bg: rgba(76, 195, 138, .14);
    --ok-fg: #6fd3a2;
    --err-bg: rgba(242, 119, 123, .14);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    transition: background-color .3s var(--ease), color .3s var(--ease);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 15px;
    color: var(--heading);
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.3;
}

p { margin: 0 0 15px; }
a { color: var(--heading); text-decoration: none; transition: color .3s var(--ease); }
a:hover { color: var(--theme-text); }
img, video { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
/* Izgara ogeleri iceriklerinin (uzun e-posta, iframe, girdi) genisligine zorlanmasin */
.form-grid > *, .content-layout > *, .contact-layout > *, .career-grid > *, .cta-inner > *, .footer-main > * { min-width: 0; }
.section { padding: 110px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--dark); color: #b8b8b8; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.text-center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ic { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* --- Bolum basliklari ----------------------------------------------------- */

.sub-title {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--theme-text);
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.sub-title::before { content: ""; width: 40px; height: 2px; background: var(--theme); }
.text-center .sub-title::after { content: ""; width: 40px; height: 2px; background: var(--theme); }

.sec-title { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 20px; }
.sec-head { max-width: 760px; margin-bottom: 60px; }
.sec-head.text-center { margin-left: auto; margin-right: auto; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 60px; }
.sec-head-row .sec-head { margin-bottom: 0; }

/* --- Dugmeler ------------------------------------------------------------- */

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 58px;
    padding: 0 40px;
    border: 0;
    background: var(--theme);
    color: var(--white);
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    overflow: hidden;
    z-index: 1;
    transition: color .35s var(--ease);
}
.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--dark);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .4s var(--ease);
    z-index: -1;
}
.btn:hover { color: var(--white); }
.btn:hover::after { transform: scaleX(1); transform-origin: left; }
.btn--light { background: var(--white); color: #1a1a1a; }
.btn--light::after { background: var(--theme); }
.btn--sm { height: 46px; padding: 0 26px; font-size: 13px; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.link-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--heading);
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.link-more .ic { color: var(--theme-text); transition: transform .3s var(--ease); }
.link-more:hover .ic { transform: translateX(5px); }

/* ==========================================================================
   Ust bilgi
   ========================================================================== */

/* --- Ust bilgi seridi: iki temada da koyu --- */
.topbar { background: var(--darker); color: #b9bec7; font-size: 13px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 42px; }
.topbar-info { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; }
.topbar-info li { display: inline-flex; align-items: center; gap: 8px; }
.topbar-info .ic { font-size: 15px; color: color-mix(in srgb, var(--theme) 70%, #fff); }
.topbar-info a { color: #d7dbe0; }
.topbar-info a:hover { color: var(--white); }
.topbar .socials { gap: 2px; margin-top: 0; }
.topbar .socials a { width: 30px; height: 30px; border: 0; border-radius: 50%; color: #b9bec7; font-size: 15px; }
.topbar .socials a:hover { background: var(--theme); color: var(--white); }

/* --- Baslik: ustte ince marka cizgisi; kaydirinca yari saydam buzlu cam (yukseklik sabit, sayfa ziplamaz) --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--surface);
    border-top: 3px solid var(--theme);
    border-bottom: 1px solid var(--line);
    transition: background-color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-scrolled {
    background: color-mix(in srgb, var(--surface) 86%, transparent);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    backdrop-filter: saturate(1.4) blur(12px);
    border-bottom-color: transparent;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
}
.header-inner { display: flex; align-items: center; gap: 30px; height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { max-height: 54px; width: auto; }
/* Logo simgesi: favicon.svg (kirmizi yuvarlak kare + dolu beyaz simsek); sekme simgesi ve panelle birebir ayni */
.logo-mark { display: block; flex-shrink: 0; width: 46px; height: 46px; }
.logo-text { color: var(--heading); font-family: var(--font-head); font-size: 22px; font-weight: 700; line-height: 1.1; }
/* Uzun ticari unvan: iki-uc satira sigar, menuyu itmez */
.logo-text--long { max-width: 290px; font-size: 15px; line-height: 1.25; }
.logo-text small { display: block; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav li { position: relative; }
.main-nav > ul > li > a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    height: var(--header-h);
    padding: 0 14px;
    color: var(--heading);
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 500;
}
/* Menu ogesinin altinda ortadan acilan kirmizi cizgi; bulunulan sayfada sabit */
.main-nav > ul > li > a::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: calc(50% - 17px); height: 2px;
    border-radius: 2px; background: var(--theme); transform: scaleX(0); transition: transform .35s var(--ease);
}
.main-nav > ul > li:hover > a::after, .main-nav > ul > li.is-active > a::after,
.main-nav > ul > li:focus-within > a::after { transform: scaleX(1); }
.main-nav > ul > li > a .ic { font-size: 14px; transition: transform .3s; }
.main-nav > ul > li.is-active > a { color: var(--theme-text); }
.main-nav > ul > li:hover > a .ic { transform: rotate(180deg); }
.main-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-top: 3px solid var(--theme);
    border-radius: 0 0 12px 12px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all .3s var(--ease);
}
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 14px; border-radius: 8px; color: var(--text); font-size: 15px; transition: background .2s, color .2s;
}
.main-nav .sub-menu a .ic { font-size: 13px; color: var(--theme-text); opacity: 0; transform: translateX(-6px); transition: .25s var(--ease); }
.main-nav .sub-menu a:hover { background: var(--soft); color: var(--heading); }
.main-nav .sub-menu a:hover .ic { opacity: 1; transform: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }
/* Dil ve tema: tek yuvarlak dugme grubu */
.header-toggles { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lang-switch, .theme-switch {
    display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%;
    background: transparent; color: var(--heading); font-family: var(--font-head); font-size: 12px; font-weight: 700;
    transition: background-color .25s, color .25s;
}
.theme-switch { font-size: 17px; }
.lang-switch:hover, .theme-switch:hover { background: var(--soft); color: var(--theme-text); }
/* Tema dugmesi: acik temada ay, koyu temada gunes gorunur */
/* Teklif Al: belirgin, yuvarlak kirmizi buton */
.header-cta { height: 44px; padding: 0 22px; border-radius: 999px; box-shadow: 0 8px 20px color-mix(in srgb, var(--theme) 28%, transparent); }
.header-cta .ic { transition: transform .3s var(--ease); }
.header-cta:hover .ic { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--heading); border: 1px solid var(--line); border-radius: 999px; }
.btn--ghost::after { background: var(--theme); }
.btn--ghost:hover { border-color: var(--theme); }
.theme-switch .ic-sun, [data-theme="dark"] .theme-switch .ic-moon { display: none; }
[data-theme="dark"] .theme-switch .ic-sun { display: block; }
/* Koyu temada acik renk logo (yuklenmisse) */
.logo-for-dark, [data-theme="dark"] .logo-for-light { display: none; }
[data-theme="dark"] .logo-for-dark { display: block; }
/* Koyu temada altbilgi sayfa zemininden ayrilsin */
[data-theme="dark"] .site-footer { border-top: 1px solid var(--line); }
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--theme);
    color: var(--white);
    font-size: 22px;
    place-items: center;
}

/* Mobil menu */
.mobile-nav .mobile-cta { width: 100%; justify-content: center; margin-top: 26px; border-radius: 999px; }
.mobile-nav .btn--sm { width: 100%; justify-content: center; margin-top: 10px; }
.mobile-contact { margin-top: 26px; display: grid; gap: 12px; font-size: 14px; }
.mobile-contact li { display: flex; align-items: center; gap: 10px; }
.mobile-contact .ic { color: color-mix(in srgb, var(--theme) 70%, #fff); }
.mobile-nav .mobile-contact a { padding: 0; border: 0; color: #d7dbe0; font-weight: 400; }
.mobile-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(360px, 88vw);
    padding: 26px;
    background: var(--darker);
    color: #b8b8b8;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    z-index: 200;
}
.mobile-nav.is-open { transform: none; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.mobile-nav-head .logo-text { color: var(--white); }
.mobile-nav-close { width: 42px; height: 42px; border: 0; background: var(--theme); color: var(--white); font-size: 20px; display: grid; place-items: center; }
.mobile-nav a { display: block; padding: 12px 0; color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, .08); font-family: var(--font-head); font-weight: 500; }
.mobile-nav .sub-menu a { padding-left: 18px; color: #b8b8b8; font-weight: 400; font-size: 15px; }
.mobile-nav .btn { margin-top: 26px; width: 100%; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); opacity: 0; visibility: hidden; transition: .3s; z-index: 150; }
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

/* ==========================================================================
   Slider
   ========================================================================== */

.hero { position: relative; height: calc(100vh - var(--header-h)); min-height: 560px; max-height: 900px; overflow: hidden; background: var(--darker); }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s linear; }
.hero-slide.is-active .hero-media { transform: scale(1); }
.hero-media--placeholder {
    background:
        linear-gradient(115deg, rgba(0, 0, 0, .0) 55%, color-mix(in srgb, var(--theme) 35%, transparent) 55.2%, transparent 72%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 80px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 80px),
        radial-gradient(circle at 75% 40%, #2b2d31, var(--darker) 70%);
}
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .35) 65%, rgba(0, 0, 0, .15)); }
.hero-content { position: relative; z-index: 2; max-width: 780px; color: #e6e6e6; }
.hero-content > * { opacity: 0; transform: translateY(40px); transition: all .9s var(--ease); }
.hero-slide.is-active .hero-content > * { opacity: 1; transform: none; }
.hero-slide.is-active .hero-content > :nth-child(2) { transition-delay: .2s; }
.hero-slide.is-active .hero-content > :nth-child(3) { transition-delay: .35s; }
.hero-slide.is-active .hero-content > :nth-child(4) { transition-delay: .5s; }
.hero .sub-title { color: var(--white); }
.hero .sub-title::before { background: var(--theme); }
.hero-title { color: var(--white); font-size: clamp(36px, 5.6vw, 76px); line-height: 1.1; margin-bottom: 26px; }
.hero-text { max-width: 620px; font-size: 18px; margin-bottom: 40px; }
.hero-nav { position: absolute; z-index: 5; right: 16px; bottom: 40px; display: flex; gap: 10px; }
.hero-nav button { width: 56px; height: 56px; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: var(--white); font-size: 20px; display: grid; place-items: center; transition: .3s; }
.hero-nav button:hover { background: var(--theme); border-color: var(--theme); }
.hero-dots { position: absolute; z-index: 5; left: 50%; bottom: 46px; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-dots button { width: 12px; height: 12px; padding: 0; border: 2px solid var(--white); background: transparent; border-radius: 50%; transition: .3s; }
.hero-dots button.is-active { background: var(--theme); border-color: var(--theme); width: 32px; border-radius: 6px; }

/* ==========================================================================
   Referans seridi
   ========================================================================== */

.clients { background: var(--dark); padding: 56px 0; }
.clients-inner { display: flex; align-items: center; gap: 40px; }
.clients-label { flex-shrink: 0; color: var(--white); font-family: var(--font-head); font-size: 15px; font-weight: 600; line-height: 1.4; }
.clients-label a { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--theme-text); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.clients-track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.clients-row { display: flex; align-items: stretch; gap: 24px; width: max-content; padding: 8px 0; animation: marquee 50s linear infinite; }
.clients-track:hover .clients-row { animation-play-state: paused; }
/* Dikey dikdortgen referans karti: buyuk logo ustte, firma adi altta */
.client-card {
    display: flex; flex-direction: column; flex-shrink: 0; width: 180px; height: 240px; margin: 0;
    background: var(--surface); border-radius: 6px; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.client-card:hover { transform: translateY(-6px); box-shadow: 0 18px 30px rgba(0, 0, 0, .35); }
.client-logo { flex: 1; display: grid; place-items: center; padding: 22px 18px; min-height: 0; background: #fff; }
.client-logo img { max-width: 100%; max-height: 150px; width: auto; height: auto; object-fit: contain; }
.client-card figcaption {
    padding: 10px 12px; border-top: 3px solid var(--theme); background: var(--soft); color: var(--heading);
    font-family: var(--font-head); font-size: 13px; font-weight: 600; line-height: 1.3; text-align: center;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.client-initial {
    display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%;
    background: color-mix(in srgb, var(--theme) 12%, #fff); color: var(--theme-text);
    font-family: var(--font-head); font-size: 44px; font-weight: 700;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Hizmet kartlari
   ========================================================================== */

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card {
    position: relative;
    padding: 50px 40px 44px;
    background: var(--surface);
    border: 1px solid var(--line);
    transition: all .4s var(--ease);
}
.service-card::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 3px; background: var(--theme); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.service-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-6px); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    margin-bottom: 30px;
    background: color-mix(in srgb, var(--theme) 9%, transparent);
    color: var(--theme-text);
    font-size: 38px;
    transition: .4s var(--ease);
}
.service-card:hover .service-icon { background: var(--theme); color: var(--white); }
.service-card h3 { font-size: 22px; margin-bottom: 14px; }
.service-card h3 a { color: inherit; }
.service-card p { margin-bottom: 24px; }
.service-number { position: absolute; top: 34px; right: 36px; color: var(--soft); font-family: var(--font-head); font-size: 54px; font-weight: 800; line-height: 1; transition: color .4s; }
.service-card:hover .service-number { color: color-mix(in srgb, var(--theme) 12%, transparent); }
.service-cta { margin-top: 50px; text-align: center; font-size: 17px; }
.service-cta a { color: var(--theme-text); font-weight: 600; border-bottom: 1px solid currentColor; }

/* ==========================================================================
   Proje izgarasi
   ========================================================================== */

.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.project-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 30px; }
.project-card { position: relative; display: block; aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--dark); }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project-card:hover img { transform: scale(1.08); }
.project-card .placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .12); font-size: 90px;
    background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 22px), linear-gradient(160deg, #2a2c30, var(--darker)); }
.project-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 34px;
    background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .85));
    color: var(--white);
}
.project-overlay .cat { color: var(--theme-text); font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.project-overlay h3 { color: var(--white); font-size: 21px; margin: 6px 0 0; }
.project-overlay .meta { max-height: 0; overflow: hidden; color: #cfcfcf; font-size: 14px; transition: max-height .4s var(--ease), margin .4s; }
.project-card:hover .project-overlay .meta { max-height: 40px; margin-top: 8px; }
.project-eye { position: absolute; top: 30px; right: 30px; display: grid; place-items: center; width: 54px; height: 54px; background: var(--theme); color: var(--white); font-size: 22px; opacity: 0; transform: scale(.6); transition: .4s var(--ease); }
.project-card:hover .project-eye { opacity: 1; transform: none; }

.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 50px; }
.filter-bar a { padding: 10px 24px; border: 1px solid var(--line); color: var(--heading); font-family: var(--font-head); font-size: 14px; font-weight: 500; }
.filter-bar a:hover, .filter-bar a.is-active { background: var(--theme); border-color: var(--theme); color: var(--white); }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 60px; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 50px; height: 50px; padding: 0 12px; border: 1px solid var(--line); color: var(--heading); font-family: var(--font-head); font-weight: 600; }
.pagination a:hover, .pagination .is-current { background: var(--theme); border-color: var(--theme); color: var(--white); }

/* ==========================================================================
   Kariyer bandi, sayaclar, surec
   ========================================================================== */

.career { position: relative; overflow: hidden; }
.career-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 70px; align-items: center; }
.career-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.career-step { padding: 34px 30px; background: var(--surface); box-shadow: 0 10px 30px rgba(11, 22, 37, .06); transition: .4s var(--ease); }
.career-step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.career-step .num { display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 20px; background: var(--theme); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.career-step h4 { font-size: 19px; margin-bottom: 8px; }
.career-step p { margin: 0; font-size: 15px; }

.facts {
    position: relative;
    padding: 100px 0;
    background:
        linear-gradient(rgba(17, 18, 20, .92), rgba(17, 18, 20, .92)),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 26px),
        var(--darker);
    color: #b8b8b8;
}
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.fact { display: flex; align-items: center; gap: 22px; padding: 10px 0; }
.fact-icon { display: grid; place-items: center; width: 74px; height: 74px; border: 1px solid rgba(255, 255, 255, .15); color: var(--theme-text); font-size: 32px; flex-shrink: 0; }
.fact-value { color: var(--white); font-family: var(--font-head); font-size: 46px; font-weight: 700; line-height: 1; }
.fact-value .suffix { color: var(--theme-text); }
.fact-label { margin-top: 6px; font-size: 15px; }

.process-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.process-grid::before { content: ""; position: absolute; top: 60px; left: 12%; right: 12%; border-top: 2px dashed var(--line); }
.process-step { position: relative; text-align: center; padding: 0 10px; }
.process-icon { position: relative; display: grid; place-items: center; width: 120px; height: 120px; margin: 0 auto 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 50%; color: var(--theme-text); font-size: 44px; transition: .4s var(--ease); }
.process-step:hover .process-icon { background: var(--theme); border-color: var(--theme); color: var(--white); }
.process-icon .num { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 36px; height: 36px; background: var(--dark); color: var(--white); border-radius: 50%; font-family: var(--font-head); font-size: 13px; font-weight: 600; }
.process-step h4 { font-size: 20px; margin-bottom: 10px; }

/* ==========================================================================
   Iletisim bandi
   ========================================================================== */

.cta { background: var(--theme); color: rgba(255, 255, 255, .85); padding: 80px 0; }
.cta-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: center; }
.cta h2 { color: var(--white); font-size: clamp(28px, 3.2vw, 42px); }
.cta .sub-title, .cta .sub-title::before { color: var(--white); }
.cta .sub-title::before { background: var(--surface); }
.cta-list li { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.cta-list .ic { font-size: 22px; color: var(--white); }
.cta-list a { color: var(--white); }
.cta-phone { color: var(--white); font-family: var(--font-head); font-size: 26px; font-weight: 700; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .3); color: var(--white); font-size: 18px; transition: .3s; }
.socials a:hover { background: var(--white); color: var(--theme-text); }

/* ==========================================================================
   Ic sayfalar
   ========================================================================== */

.page-banner {
    position: relative;
    padding: 120px 0 110px;
    background:
        linear-gradient(90deg, rgba(17, 18, 20, .92), rgba(17, 18, 20, .65)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 70px),
        var(--darker);
    background-size: cover;
    background-position: center;
    color: #cfcfcf;
}
.page-banner h1 { color: var(--white); font-size: clamp(32px, 4.4vw, 56px); margin-bottom: 18px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; font-family: var(--font-head); font-size: 15px; }
.breadcrumb a { color: var(--white); }
.breadcrumb a:hover { color: var(--theme-text); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: var(--theme-text); }

.content-layout { display: grid; grid-template-columns: 1fr 360px; gap: 60px; align-items: start; }
.prose { color: var(--text); font-size: 17px; }
.prose h2, .prose h3 { margin-top: 30px; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 15px; }
.prose ol { padding-left: 22px; margin-bottom: 15px; }
.prose img { margin: 24px 0; }
.prose a { color: var(--theme-text); text-decoration: underline; }
.prose blockquote { margin: 26px 0; padding: 24px 30px; border-left: 4px solid var(--theme); background: var(--soft); color: var(--heading); font-style: italic; }
.cover-image { width: 100%; margin-bottom: 40px; aspect-ratio: 16 / 8; object-fit: cover; }

.sidebar-box { padding: 36px; background: var(--soft); margin-bottom: 30px; }
.sidebar-box h4 { position: relative; padding-bottom: 14px; margin-bottom: 22px; font-size: 20px; }
.sidebar-box h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--theme); }
.side-links a { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; margin-bottom: 8px; background: var(--surface); color: var(--heading); font-family: var(--font-head); font-weight: 500; transition: .3s; }
.side-links a:hover, .side-links a.is-active { background: var(--theme); color: var(--white); }
.help-box { padding: 40px 36px; background: var(--dark); color: #b8b8b8; text-align: center; }
.help-box .ic { font-size: 46px; color: var(--theme-text); margin: 0 auto 18px; }
.help-box h4 { color: var(--white); }
.help-box a.phone { display: block; margin: 10px 0 24px; color: var(--white); font-family: var(--font-head); font-size: 22px; font-weight: 700; }

.project-info { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0 0 50px; background: var(--dark); }
.project-info div { padding: 28px 30px; border-right: 1px solid rgba(255, 255, 255, .08); }
.project-info span { display: block; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.project-info strong { color: var(--white); font-family: var(--font-head); font-size: 17px; font-weight: 600; }
.project-info a { color: var(--white); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.gallery a { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }

/* Referanslar sayfasi: dikey dikdortgen kartlar (3:4), buyuk logo */
.logo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.logo-cell {
    display: flex; flex-direction: column; aspect-ratio: 3 / 4; background: var(--surface);
    border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.logo-cell:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.logo-frame { flex: 1; display: grid; place-items: center; padding: 28px 22px; min-height: 0; background: #fff; }
.logo-frame img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .35s var(--ease); }
.logo-cell:hover .logo-frame img { transform: scale(1.05); }
.logo-cell .client-name {
    padding: 14px 12px; border-top: 3px solid var(--theme); background: var(--soft); color: var(--heading);
    font-family: var(--font-head); font-size: 15px; font-weight: 600; line-height: 1.35; text-align: center;
}

.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.cert-card { display: block; background: var(--surface); border: 1px solid var(--line); padding: 16px; transition: .3s; }
.cert-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.cert-card .thumb { display: grid; place-items: center; aspect-ratio: 3 / 4; background: var(--soft); overflow: hidden; color: var(--theme-text); font-size: 60px; }
.cert-card img { width: 100%; height: 100%; object-fit: cover; }
.cert-card h3 { margin: 16px 4px 4px; font-size: 17px; }

.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.brand-card { padding: 40px; border: 1px solid var(--line); text-align: center; transition: .3s; }
.brand-card:hover { box-shadow: var(--shadow); }
.brand-card img { max-height: 80px; margin: 0 auto 24px; }

/* --- Formlar -------------------------------------------------------------- */

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; color: var(--heading); font-family: var(--font-head); font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea {
    width: 100%;
    height: 58px;
    padding: 0 22px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--heading);
    font: inherit;
    transition: border-color .3s;
}
.field textarea { height: 170px; padding: 18px 22px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--theme); }
.field input[type=file] { padding: 14px 18px; height: auto; }
.field .error { display: block; margin-top: 6px; color: var(--theme-text); font-size: 13px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--theme); flex-shrink: 0; }
.check a { color: var(--theme-text); text-decoration: underline; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 20px; padding: 16px 20px; display: none; font-weight: 500; }
.form-status.is-ok { display: block; background: var(--ok-bg); color: var(--ok-fg); }
.form-status.is-error { display: block; background: var(--err-bg); color: var(--theme-text); }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 80px; }
.contact-card { display: flex; gap: 22px; padding: 40px 34px; background: var(--surface); box-shadow: 0 10px 30px rgba(11, 22, 37, .06); }
.contact-card .ic { font-size: 30px; color: var(--theme-text); }
.contact-card h4 { font-size: 19px; margin-bottom: 6px; }
.contact-card p, .contact-card a { margin: 0; color: var(--text); word-break: break-word; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--surface); box-shadow: var(--shadow); }
.contact-form-wrap { padding: 60px; }
.map { min-height: 100%; background: var(--soft); }
.map iframe { width: 100%; height: 100%; min-height: 520px; border: 0; display: block; }
.map-empty { display: grid; place-items: center; height: 100%; min-height: 520px; color: var(--muted); font-size: 70px; }

/* ==========================================================================
   Alt bilgi
   ========================================================================== */

.site-footer { background: var(--darker); color: #8f96a1; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 50px; padding: 100px 0 70px; }
.footer-main h4 { position: relative; color: var(--white); font-size: 20px; padding-bottom: 16px; margin-bottom: 26px; }
.footer-main h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--theme); }
.footer-main .logo-text { color: var(--white); }
.footer-about p { margin: 22px 0 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; color: #8f96a1; }
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-links .ic { color: var(--theme-text); font-size: 14px; }
.footer-contact li { display: flex; gap: 14px; margin-bottom: 16px; }
.footer-contact .ic { color: var(--theme-text); font-size: 20px; margin-top: 3px; }
.footer-contact a { color: #cfcfcf; }
.site-footer .socials a { border-color: rgba(255, 255, 255, .12); }
.site-footer .socials a:hover { background: var(--theme); border-color: var(--theme); color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 86px; flex-wrap: wrap; padding: 18px 0; }
.footer-bottom nav ul { display: flex; flex-wrap: wrap; gap: 26px; }
.footer-bottom a { color: #8f96a1; }
.footer-bottom a:hover { color: var(--white); }
/* Siteyi yapan: kucuk, sade; LinkedIn simgesiyle */
.footer-credit { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: #8f96a1; }
.footer-credit a { display: inline-flex; align-items: center; gap: 6px; color: #b9bec7; font-weight: 500; }
.footer-credit a:hover { color: var(--white); }
.footer-credit .ic { font-size: 15px; color: #0a66c2; }
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: grid; place-items: center; width: 50px; height: 50px; border: 0; background: var(--theme); color: var(--white); font-size: 20px; opacity: 0; visibility: hidden; transform: translateY(20px); transition: .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* --- Hata ve bos durumlar -------------------------------------------------- */

.error-page { padding: 140px 0; text-align: center; }
.error-code { color: var(--theme-text); font-family: var(--font-head); font-size: clamp(90px, 16vw, 200px); font-weight: 800; line-height: 1; }
.empty { padding: 60px 20px; border: 1px dashed var(--line); text-align: center; color: var(--muted); }

/* --- Isik kutusu (galeri, sertifika) -------------------------------------- */

.lightbox { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 60px 70px; background: rgba(0, 0, 0, .92); }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 100%; max-width: 100%; object-fit: contain; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border: 0; background: var(--theme); color: var(--white); font-size: 22px; }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* --- Ana sayfa: Turkiye haritasi --------------------------------------------
   Iller beyaz baslar; bolum gorununce proje yapilan iller sirayla kirmiziya doner.
   --level (45%-100%) proje sayisina gore site.js'ten gelir: cok projeli il daha koyu. */

.map-section { background: linear-gradient(180deg, var(--bg), var(--soft)); }
.map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.map-canvas { position: relative; aspect-ratio: 1022 / 460; }
.map-canvas svg { display: block; width: 100%; height: 100%; }
.map-canvas path {
    fill: var(--map-empty); stroke: var(--map-stroke); stroke-width: .8; stroke-linejoin: round;
    transition: fill .7s var(--ease), stroke .3s;
}
.map-canvas path:hover { fill: color-mix(in srgb, var(--theme) 18%, var(--map-empty)); }
.map-canvas.is-lit path.has-projects { fill: color-mix(in srgb, var(--theme) var(--level, 100%), var(--map-empty)); stroke: var(--surface); }
.map-canvas path.has-projects { cursor: pointer; }
.map-canvas.is-lit path.has-projects:hover,
.map-canvas.is-lit path.has-projects:focus-visible { fill: var(--theme-dark); outline: none; transition-delay: 0s !important; }
.map-canvas path.is-selected { stroke: var(--heading); stroke-width: 2; }
.map-canvas.is-lit path.has-projects.is-selected { fill: var(--theme-dark); }
.map-loading { position: absolute; inset: 0; border-radius: 8px; background: var(--soft); }

.map-side { display: flex; flex-direction: column; gap: 22px; }
.map-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.map-stat { padding: 20px 18px; background: var(--surface); border-top: 3px solid var(--theme); box-shadow: 0 10px 30px rgba(11, 22, 37, .06); }
.map-stat strong { display: block; color: var(--heading); font-family: var(--font-head); font-size: 38px; line-height: 1; }
.map-stat span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.3; }
.map-detail { min-height: 150px; padding: 24px; background: var(--dark); color: #c9c9c9; }
.map-detail h4 { margin-bottom: 12px; color: var(--white); font-size: 22px; }
.map-detail .map-projects { display: grid; gap: 8px; max-height: 260px; overflow-y: auto; }
.map-detail .map-projects a { display: flex; justify-content: space-between; gap: 12px; color: #e3e3e3; font-size: 15px; line-height: 1.4; }
.map-detail .map-projects a:hover { color: var(--theme-text); }
.map-detail .map-projects small { flex-shrink: 0; color: var(--muted); }
.map-hint { margin: 0; font-size: 15px; }
.map-note { margin: 0; color: var(--muted); font-size: 13px; }

.map-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.map-list .map-projects { display: none; }
.map-chip {
    display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 6px 0 16px;
    border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--heading);
    font-size: 14px; font-weight: 500; transition: .25s;
}
.map-chip b {
    display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px;
    background: var(--theme); color: var(--white); font-size: 12px;
}
.map-chip:hover, .is-selected > .map-chip { border-color: var(--theme); color: var(--theme-text); }

/* --- Hakkimizda: unvan, galeri, ekip -------------------------------------- */

.page-article { max-width: 920px; margin: 0 auto; }
.legal-name {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 34px; padding: 18px 24px;
    border-left: 4px solid var(--theme); background: var(--soft);
}
.legal-name span { color: var(--muted); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.legal-name strong { color: var(--heading); font-family: var(--font-head); font-size: 18px; }
.page-gallery { max-width: 1100px; margin: 70px auto 0; }
.page-gallery .gallery { margin-top: 0; }

.leader-card {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-bottom: 40px;
    background: var(--surface); box-shadow: var(--shadow); overflow: hidden;
}
.leader-photo { position: relative; aspect-ratio: 4 / 5; background: var(--dark); }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; }
.leader-body { display: flex; flex-direction: column; justify-content: center; padding: 50px 56px; border-top: 4px solid var(--theme); }
.leader-body h3 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 18px; }
.leader-body .member-bio { font-size: 17px; white-space: pre-line; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.member-card { background: var(--surface); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.member-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.member-photo { position: relative; aspect-ratio: 3 / 4; background: var(--dark); overflow: hidden; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.member-card:hover .member-photo img { transform: scale(1.05); }
.member-body { padding: 22px 22px 26px; border-top: 3px solid var(--theme); }
.member-body h4 { margin-bottom: 4px; font-size: 19px; }
.member-title { display: block; color: var(--theme-text); font-size: 14px; font-weight: 500; }
.member-body .member-bio { margin: 12px 0 0; font-size: 15px; white-space: pre-line; }
.member-initials {
    position: absolute; inset: 0; display: grid; place-items: center;
    color: rgba(255, 255, 255, .9); font-family: var(--font-head); font-size: 64px; font-weight: 700;
    background: linear-gradient(135deg, var(--theme), var(--theme-dark));
}

.contact-hours { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.contact-card .contact-hours .ic { font-size: 16px; flex-shrink: 0; }

/* --- Acilis animasyonu ------------------------------------------------------
   intro.js oturumun ilk sayfasinda html'e .intro-play ekler; yoksa perde hic cizilmez. */

.intro { display: none; }
.intro-play body { overflow: hidden; }
.intro-play .intro {
    position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center;
    background: var(--darker); cursor: pointer;
    transition: transform .7s cubic-bezier(.77, 0, .18, 1);
}
.intro-out .intro { transform: translateY(-100%); }
.intro-inner { display: flex; align-items: center; gap: 18px; padding: 0 24px; }
.intro-logo { max-width: min(70vw, 360px); max-height: 140px; animation: intro-pop .9s var(--ease) both .15s; }
.intro-mark {
    display: grid; place-items: center; width: 92px; height: 92px; flex-shrink: 0;
    border-radius: 6px; background: color-mix(in srgb, var(--theme) 14%, transparent);
    animation: intro-glow 1.6s ease-out both .2s;
}
.intro-mark svg { width: 56px; height: 56px; overflow: visible; }
.intro-bolt {
    fill: transparent; stroke: var(--theme); stroke-width: 1.4; stroke-linejoin: round;
    stroke-dasharray: 100; stroke-dashoffset: 100;
    animation: intro-draw .8s ease-in-out forwards .2s, intro-fill .35s ease-out forwards 1s;
}
.intro-text { display: flex; flex-direction: column; overflow: hidden; }
.intro-name { max-width: 18em; }
.intro-name {
    color: var(--white); font-family: var(--font-head); font-size: clamp(26px, 5vw, 44px); font-weight: 700; line-height: 1.1;
    animation: intro-rise .7s var(--ease) both .75s;
}
.intro-tagline {
    color: rgba(255, 255, 255, .6); font-size: 12px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; margin-top: 6px;
    animation: intro-rise .7s var(--ease) both .95s;
}
.intro-bar {
    position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--theme);
    transform-origin: left; animation: intro-bar 2.1s linear both;
}
.intro-skip {
    position: absolute; right: 24px; bottom: 22px; color: rgba(255, 255, 255, .45);
    font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
}
@keyframes intro-draw { to { stroke-dashoffset: 0; } }
@keyframes intro-fill { to { fill: var(--theme); } }
@keyframes intro-glow {
    0% { transform: scale(.6); opacity: 0; box-shadow: 0 0 0 0 color-mix(in srgb, var(--theme) 60%, transparent); }
    45% { transform: scale(1); opacity: 1; }
    70% { box-shadow: 0 0 0 26px transparent; }
    100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 transparent; }
}
@keyframes intro-rise { from { transform: translateY(110%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes intro-pop { from { transform: scale(.85); opacity: 0; filter: blur(6px); } to { transform: none; opacity: 1; filter: none; } }
@keyframes intro-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 640px) {
    .intro-inner { flex-direction: column; text-align: center; }
    .intro-text { align-items: center; }
}

/* --- Gorunur olunca beliren ogeler ----------------------------------------- */

.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal, .hero-content > * { opacity: 1 !important; transform: none !important; transition: none !important; }
    .clients-row { animation: none; }
    .hero-media { transition: none; }
    .intro { display: none !important; }
}

/* ==========================================================================
   Duyarli tasarim
   ========================================================================== */

@media (max-width: 1199px) {
    .main-nav > ul > li > a { padding: 0 10px; font-size: 14px; }
    .header-actions .btn--ghost { display: none; }
    .project-grid { grid-template-columns: repeat(3, 1fr); }
    .logo-grid { grid-template-columns: repeat(4, 1fr); }
    .team-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991px) {
    .topbar { display: none; }
    :root { --header-h: 80px; }
    .section { padding: 80px 0; }
    .main-nav { display: none; }
    .header-actions { margin-left: auto; }
    .menu-toggle { display: grid; }
    .service-grid, .project-grid--3, .brand-grid { grid-template-columns: repeat(2, 1fr); }
    .project-grid { grid-template-columns: repeat(2, 1fr); }
    .career-grid, .cta-inner, .content-layout, .contact-layout { grid-template-columns: 1fr; }
    .facts-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
    .process-grid::before { display: none; }
    .cert-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-cards { grid-template-columns: 1fr; }
    .project-info { grid-template-columns: repeat(2, 1fr); }
    .sec-head-row { flex-direction: column; align-items: flex-start; }
    .clients-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
    .clients-track { width: 100%; }
    .logo-grid { grid-template-columns: repeat(3, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .map-layout { grid-template-columns: 1fr; }
    .map-side { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
    .map-note { grid-column: 1 / -1; }
    .leader-card { grid-template-columns: 1fr; }
    .leader-photo { aspect-ratio: 4 / 3; }
    .leader-body { padding: 36px 30px; }
}

@media (max-width: 640px) {
    .section { padding: 64px 0; }
    .sec-head { margin-bottom: 40px; }
    .service-grid, .project-grid, .project-grid--3, .brand-grid, .career-steps, .facts-grid, .process-grid, .form-grid, .gallery { grid-template-columns: 1fr; }
    .cert-grid, .logo-grid { grid-template-columns: repeat(2, 1fr); }
    .logo-grid { gap: 14px; }
    .team-grid { grid-template-columns: 1fr; }
    .map-side { display: flex; }
    .client-card { width: 150px; height: 200px; }
    .client-logo img { max-height: 120px; }
    .footer-main { grid-template-columns: 1fr; padding: 70px 0 40px; gap: 40px; }
    .contact-form-wrap { padding: 34px 22px; }
    .hero-nav { display: none; }
    .hero-text { font-size: 16px; }
    .btn { padding: 0 28px; height: 54px; }
    .service-card { padding: 40px 28px; }
    .project-info { grid-template-columns: 1fr; }
    .page-banner { padding: 80px 0 70px; }
    .lightbox { padding: 60px 10px; }
    .logo-text { font-size: 18px; }
    .logo-text--long { max-width: 190px; font-size: 12.5px; }
    .header-actions { gap: 10px; }
    .theme-switch, .lang-switch { width: 34px; height: 34px; }
    .header-cta { display: none; }
}
