/* ============================================================
   Techventra — site.css
   Design system: brand blue (#0057b8) + green (#2e7d32) accent
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
    --c-navy: #073A78;       /* deep brand blue — backgrounds, headings, text */
    --c-navy-2: #0057B8;     /* logo blue — feature panels */
    --c-navy-3: #063E82;
    --c-steel: #4A6079;      /* blue-gray — secondary */
    --c-teal: #2E7D32;       /* accent green — logo green */
    --c-teal-dark: #1B5E20;  /* dark green */
    --c-teal-light: #66BB6A; /* light green — accents on dark */
    --c-ink: #073A78;
    --c-body: #47586A;
    --c-muted: #8894A2;
    --c-border: #E2E6EB;
    --c-tint: #F3F6FA;
    --c-white: #ffffff;
    --c-error: #c0392b;
    --c-success-bg: #e8f7ee;
    --c-success-ink: #1e7a44;

    --font: "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
    --radius: 6px;
    --radius-lg: 12px;
    --container: 1180px;
    --header-h: 96px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--c-body);
    background: var(--c-white);
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
    margin: 0 0 0.5em;
    color: var(--c-ink);
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
h3 { font-size: 1.05rem; }

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
    outline: 3px solid var(--c-teal);
    outline-offset: 2px;
    border-radius: 4px;
}

.container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

.container.narrow { max-width: 720px; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -60px; left: 16px;
    z-index: 200;
    padding: 10px 18px;
    background: var(--c-navy);
    color: #fff;
    border-radius: 0 0 8px 8px;
    transition: top 0.2s;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 11px 22px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: opacity 0.15s;
}
.btn:hover { opacity: 0.88; }
.btn-lg { padding: 13px 28px; font-size: 15px; }
.btn-primary { background: var(--c-navy); color: #fff; }
.btn-teal { background: var(--c-teal); color: #EAF9F6; }
.btn-white { background: #fff; color: var(--c-teal-dark); }
.btn-outline { border: 1px solid rgba(255,255,255,0.4); color: #fff; }
.btn-header { padding: 9px 18px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--c-navy); color: #AEB9C4; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 24px; }
.topbar-left { display: flex; align-items: center; gap: 18px; }
.topbar-phone { color: inherit; white-space: nowrap; }
.topbar-phone:hover { color: var(--c-teal-light); }

/* ---------- Sosyal medya ikonlari (topbar + footer, tek partial) ---------- */
.social-links { display: flex; align-items: center; gap: 4px; }
.social-item {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 7px;
    color: inherit; flex: none;
    transition: color .16s ease, background-color .16s ease, transform .16s ease;
}
.social-item svg { display: block; }
.social-topbar .social-item { color: #AEB9C4; }
.social-topbar .social-item:hover { color: #fff; background: rgba(255,255,255,.12); transform: translateY(-1px); }
.social-footer { gap: 6px; }
.social-footer .social-item { width: 34px; height: 34px; color: rgba(255,255,255,.72); background: rgba(255,255,255,.07); }
.social-footer .social-item:hover { color: #fff; background: var(--c-teal); transform: translateY(-2px); }
/* Link henuz tanimlanmadi: ikon gorunur ama tiklanamaz */
.social-item.is-pending { opacity: .45; cursor: default; }
.social-item.is-pending:hover { transform: none; }
.social-topbar .social-item.is-pending:hover { color: #AEB9C4; background: transparent; }
.social-footer .social-item.is-pending:hover { color: rgba(255,255,255,.72); background: rgba(255,255,255,.07); }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--c-border); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 24px; }
.brand-name { font-family: "Chakra Petch", var(--font); font-size: 21px; font-weight: 700; color: var(--c-navy); letter-spacing: 1.5px; }
.brand-logo { height: 62px; width: auto; max-width: 100%; display: block; }
.header-nav-wrap { display: flex; align-items: center; gap: 26px; }
.site-nav { display: flex; align-items: center; gap: 26px; font-size: 14px; color: var(--c-body); }
.nav-link {
    background: none; border: none; padding: 8px 0; margin: 0;
    font-family: var(--font); font-size: 14px; color: var(--c-body);
    display: inline-flex; align-items: center; gap: 4px; cursor: pointer;
}
.nav-link:hover { color: var(--c-navy); }
.lang-switcher { display: flex; gap: 6px; font-size: 12px; }
.lang-item { color: #AEB9C4; padding: 2px 4px; }
.lang-item.is-active { color: #fff; font-weight: 700; }
.lang-item:hover { color: var(--c-teal-light); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle-bar { display: block; width: 22px; height: 2px; background: var(--c-navy); margin: 4px 0; }

/* ---------- Nav dropdown (Kurumsal) ---------- */
.nav-dropdown { position: relative; }
.nav-caret { transition: transform 0.15s; }
.nav-dropdown.is-open .nav-caret,
.nav-dropdown:hover .nav-caret { transform: rotate(180deg); }
.nav-dropdown-menu {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg);
    min-width: 190px; padding: 8px; display: none; z-index: 50;
}
.nav-dropdown.is-open .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-item { display: block; padding: 10px 14px; border-radius: 6px; font-size: 13.5px; color: var(--c-body); }
.nav-dropdown-item:hover { background: var(--c-tint); color: var(--c-navy); }

/* ---------- Home intro ---------- */
.home-intro { max-width: 760px; margin: 0 auto; text-align: center; padding: 60px 24px 14px; }
.intro-kicker-row { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.intro-kicker { font-size: 12.5px; letter-spacing: 2px; color: var(--c-teal); font-weight: 700; text-transform: uppercase; margin: 0; }
.intro-chips { display: inline-flex; align-items: center; gap: 7px; }
.intro-chip {
    background: none; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.intro-chip svg { width: 100%; height: 100%; }
.intro-chip.c1 { width: 44px; height: 44px; }
.intro-chip.c2 { width: 34px; height: 34px; }
.intro-chip.c3 { width: 26px; height: 26px; }
.chip-fan { transform-box: fill-box; transform-origin: center; }
.intro-chip.c1 .chip-fan { animation: chipSpin 6s linear infinite; }
.intro-chip.c2 .chip-fan { animation: chipSpinRev 6s linear infinite; }
.intro-chip.c3 .chip-fan { animation: chipSpin 6s linear infinite; }
@keyframes chipSpin { to { transform: rotate(360deg); } }
@keyframes chipSpinRev { to { transform: rotate(-360deg); } }
@media (prefers-reduced-motion: reduce) {
    .chip-fan { animation: none !important; }
}
.intro-title { font-size: clamp(2.1rem, 4.8vw, 3.1rem); line-height: 1.15; letter-spacing: -0.015em; margin-bottom: 20px; }
.intro-lead { font-size: 16.5px; color: var(--c-body); line-height: 1.75; margin: 0 auto; max-width: 640px; }

/* ---------- Split hero (engineering / spec-sheet style) ---------- */
.split-hero { display: flex; min-height: 460px; margin-top: 12px; flex-wrap: wrap; }
.split-panel {
    flex: 1 1 320px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 72px 48px;
    overflow: hidden;
    color: #fff;
    border-radius: 0;
    transition: box-shadow 0.2s;
}
.split-panel .bg {
    position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0;
    transition: transform 0.4s ease;
}
.split-panel:hover .bg { transform: scale(1.035); }
.split-panel .overlay { position: absolute; inset: 0; z-index: 1; }
.panel-production .overlay { background: radial-gradient(ellipse 82% 78% at 50% 50%, rgba(7,58,120,0.84), rgba(7,58,120,0.96) 78%); }
.panel-service .overlay { background: radial-gradient(ellipse 82% 78% at 50% 50%, rgba(27,94,32,0.84), rgba(27,94,32,0.96) 78%); }

/* Blueprint grid overlay */
.panel-grid {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 34px 34px;
}

/* Technical corner brackets */
.panel-corner { position: absolute; width: 16px; height: 16px; z-index: 3; opacity: 0.55; }
.corner-tl { top: 22px; left: 22px; border-top: 1.5px solid #fff; border-left: 1.5px solid #fff; }
.corner-br { bottom: 22px; right: 22px; border-bottom: 1.5px solid #fff; border-right: 1.5px solid #fff; }

.panel-content { position: relative; z-index: 2; width: 100%; max-width: 430px; margin: 0 auto; display: block; }
.split-panel .eyebrow { display: block; font-size: 12.5px; color: rgba(255,255,255,0.7); letter-spacing: 2px; margin-bottom: 14px; text-transform: uppercase; }
.split-panel h2 { color: #fff; margin-bottom: 14px; }
.split-panel p { color: rgba(255,255,255,0.85); margin: 0 auto 26px; font-size: 14.5px; max-width: 38ch; }

/* Spec strip — datasheet feel */
.panel-specs {
    display: flex; margin: 0 0 28px;
    border-top: 1px solid rgba(255,255,255,0.22);
    border-bottom: 1px solid rgba(255,255,255,0.22);
}
.panel-spec { flex: 1; padding: 13px 10px; text-align: center; border-right: 1px solid rgba(255,255,255,0.22); }
.panel-spec:last-child { border-right: none; }
.spec-label {
    display: block; font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
    color: rgba(255,255,255,0.55); margin-bottom: 4px;
}
.spec-value {
    display: block; font-family: "Consolas", "SF Mono", "Cascadia Code", monospace;
    font-size: 12.5px; font-weight: 700; color: #fff;
}

/* ---------- Workflow — story rows ---------- */
.flow-section { padding: 74px 0; overflow-x: clip; }
.flow-head { text-align: center; margin-bottom: 8px; }
.flow-title { color: var(--c-navy); margin: 0; font-size: clamp(1.5rem, 2.6vw, 2rem); }

.flow-rows { display: flex; flex-direction: column; gap: 64px; margin-top: 54px; }
.flow-row { display: flex; align-items: stretch; gap: 54px; }
.flow-row:nth-child(even) { flex-direction: row-reverse; }

.flow-media {
    flex: 1 1 50%; position: relative; min-height: 340px;
    background: var(--c-navy); border-radius: 14px; overflow: hidden;
    display: flex; align-items: center; justify-content: center; padding: 30px;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 30px 30px;
    box-shadow: 0 24px 50px rgba(7,58,120,.18);
}
.flow-illus { width: 100%; height: 100%; }
.flow-illus svg { width: 100%; height: 100%; display: block; }
.illus-spin { transform-box: fill-box; transform-origin: center; animation: illusSpin 9s linear infinite; }
@keyframes illusSpin { to { transform: rotate(360deg); } }
.m-corner { position: absolute; width: 16px; height: 16px; opacity: .75; }
.m-corner.tl { top: 12px; left: 12px; border-top: 2px solid #fff; border-left: 2px solid #fff; }
.m-corner.br { bottom: 12px; right: 12px; border-bottom: 2px solid #fff; border-right: 2px solid #fff; }

.flow-content { flex: 1 1 50%; display: flex; flex-direction: column; justify-content: center; }
.c-title { color: var(--c-navy); font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 0 0 14px; }
.c-desc { color: var(--c-body); font-size: 16px; line-height: 1.8; margin: 0 0 18px; max-width: 440px; }

/* Step detail bullets */
.c-points { list-style: none; margin: 0; padding: 0; max-width: 440px; }
.c-points li {
    position: relative; padding-left: 22px; margin-bottom: 9px;
    font-size: 14.5px; line-height: 1.6; color: var(--c-body);
}
.c-points li:last-child { margin-bottom: 0; }
.c-points li::before {
    content: ""; position: absolute; left: 2px; top: 8px;
    width: 7px; height: 7px; border-radius: 50%;
    border: 1.5px solid var(--c-teal);
}

/* Scroll reveal - media and text fly in from fully off-screen and meet in the centre. */
.flow-media, .flow-content { opacity: 0; transition: opacity .6s ease, transform .9s cubic-bezier(.22,.61,.36,1); will-change: transform; }
.flow-row .flow-media { transform: translateX(-100vw); }
.flow-row .flow-content { transform: translateX(100vw); }
.flow-row:nth-child(even) .flow-media { transform: translateX(100vw); }
.flow-row:nth-child(even) .flow-content { transform: translateX(-100vw); }
.flow-row.is-visible .flow-media, .flow-row.is-visible .flow-content { opacity: 1; transform: translateX(0); }

@media (max-width: 820px) {
    .flow-row, .flow-row:nth-child(even) { flex-direction: column; gap: 22px; }
    .flow-media { min-height: 240px; height: 240px; padding: 20px; }
    .c-desc, .c-points { max-width: none; }
    /* Keep the same off-screen fly-in on mobile (media from one edge, text from the other). */
}
@media (prefers-reduced-motion: reduce) {
    .flow-media, .flow-content { transition: opacity .3s ease; transform: none !important; }
    .illus-spin { animation: none; }
}

/* ---------- Stats strip (technical readout) ---------- */
.stats-strip { background: var(--c-tint); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); padding: 26px 0; }
.stats-inner { display: flex; justify-content: center; text-align: center; flex-wrap: wrap; }
.stat-item { padding: 0 30px; border-right: 1px solid var(--c-border); }
.stat-item:last-child { border-right: none; }
.stats-inner .num {
    font-family: "Consolas", "SF Mono", "Cascadia Code", monospace;
    font-size: 21px; font-weight: 700; color: var(--c-navy);
}
.stats-inner .label { font-size: 11px; color: var(--c-muted); margin-top: 5px; text-transform: uppercase; letter-spacing: 0.6px; }
@media (max-width: 560px) {
    .prod-specs-inner { grid-template-columns: 1fr; }
    .prod-spec, .prod-spec:nth-child(2n) { border-right: none; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
    .prod-spec:last-child { border-bottom: none; }
    .social-links { gap: 2px; }
    .stat-item { border-right: none; padding: 4px 16px; }
}

/* ---------- Sections ---------- */
.section { padding: 60px 0; }
.section-tinted { background: var(--c-tint); }
.section-tag { text-align: center; font-size: 12.5px; color: var(--c-teal); letter-spacing: 1.5px; font-weight: 700; margin-bottom: 10px; }
.section-title { text-align: center; margin-bottom: 8px; }
.section-sub { text-align: center; font-size: 14px; color: var(--c-body); max-width: 520px; margin: 0 auto 36px; }
.body-text { font-size: 15px; line-height: 1.8; }
.body-text.center { text-align: center; }

/* ---------- Status badge (projects) ---------- */
.status-badge {
    display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.4px;
    padding: 3px 10px; border-radius: 20px; margin-bottom: 8px;
}
.status-active { background: #EAF3F2; color: var(--c-teal-dark); }
.status-completed { background: var(--c-tint); color: var(--c-steel); }

/* ---------- Proof grid (home) ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.proof-card { border: 1px solid var(--c-border); border-radius: var(--radius-lg); overflow: hidden; }
.proof-media { position: relative; }
.proof-card img { height: 170px; width: 100%; object-fit: cover; display: block; }
.proof-card h3 { font-size: 14.5px; margin-bottom: 4px; }
.proof-card p { font-size: 12.5px; color: var(--c-muted); margin: 0; }

/* ---------- Proof list (production/service pages) ---------- */
.proof-list { display: flex; flex-direction: column; gap: 14px; }
.proof-row {
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}
.proof-row-text { flex: 1 1 300px; }
.proof-row-text h3 { margin-bottom: 6px; }
.proof-row-text p { font-size: 13.5px; color: var(--c-body); margin: 0; }
.proof-row-card {
    flex: 0 0 200px;
    background: var(--c-tint);
    border-radius: var(--radius);
    padding: 14px;
    text-align: center;
}
.proof-row-label { display: block; font-size: 10.5px; color: var(--c-steel); margin-bottom: 4px; }
.proof-row-client { display: block; font-size: 13px; font-weight: 700; color: var(--c-navy); margin-bottom: 4px; }
.proof-row-link { font-size: 12px; color: var(--c-teal); font-weight: 700; }

/* ---------- Case study ---------- */
.case-study { background: var(--c-navy-2); display: flex; flex-wrap: wrap; align-items: center; }
.case-study-media { position: relative; flex: 1 1 380px; display: block; }
.case-study-media img { width: 100%; height: 300px; object-fit: cover; display: block; }
.case-study-media .panel-corner { opacity: 0.7; }
.case-study-body { position: relative; flex: 1 1 380px; padding: 44px; color: #fff; overflow: hidden; }
.case-study-body .tag { font-size: 12px; color: var(--c-teal-light); letter-spacing: 1px; margin-bottom: 10px; font-weight: 700; }
.case-study-body h2 { color: #fff; margin-bottom: 14px; }
.case-study-body p { color: #B9C6D3; font-size: 14.5px; line-height: 1.75; margin-bottom: 18px; max-width: 520px; }
.case-code {
    position: relative; z-index: 2; display: block;
    font-family: "Consolas", "SF Mono", "Cascadia Code", monospace;
    font-size: 11px; color: rgba(255,255,255,0.4); letter-spacing: 1px; margin-bottom: 18px;
}
.case-study-body > *:not(.panel-grid) { position: relative; z-index: 2; }
.link-arrow { color: var(--c-teal-light); font-size: 14px; font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--c-tint); text-align: center; padding: 56px 24px; }
.cta-band-inner { display: flex; flex-direction: column; align-items: center; }
.cta-rule { width: 40px; height: 2px; background: var(--c-teal); margin-bottom: 20px; }
.cta-band h2 { margin-bottom: 20px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 44px 0; }
.page-hero-navy { background: var(--c-navy-2); color: #fff; }
.page-hero-teal { background: var(--c-teal-dark); color: #fff; }
.page-hero .tag { font-size: 12px; letter-spacing: 1px; color: var(--c-teal-light); margin-bottom: 8px; font-weight: 700; }
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero .lead { color: rgba(255,255,255,0.8); max-width: 520px; margin: 0; font-size: 14.5px; }

/* ---------- References — grid + cards ---------- */
.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ref-card {
    display: flex; align-items: center; gap: 16px;
    border: 1px solid var(--c-border); border-radius: 12px; padding: 18px 20px; background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.ref-card.is-linked { cursor: pointer; }
.ref-card.is-linked:hover { border-color: var(--c-navy-2); box-shadow: 0 10px 26px rgba(7,58,120,.10); transform: translateY(-2px); }
.ref-mark {
    width: 46px; height: 46px; border-radius: 10px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--c-navy); color: #fff; font-family: "Chakra Petch", var(--font);
    font-size: 20px; font-weight: 700; overflow: hidden;
}
.ref-mark.has-logo { background: #fff; border: 1px solid var(--c-border); padding: 6px; }
.ref-logo { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.ref-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ref-name { font-size: 15px; font-weight: 700; color: var(--c-navy); }
.ref-meta { font-size: 12.5px; color: var(--c-muted); margin-top: 2px; }
.ref-cta { font-size: 12px; font-weight: 700; color: var(--c-teal); white-space: nowrap; flex-shrink: 0; }
.ref-soon { font-size: 11.5px; color: var(--c-muted); white-space: nowrap; flex-shrink: 0; }

/* ---------- References — detail page ---------- */
.ref-detail-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 44px; align-items: start; }
.ref-note { font-size: 12.5px; color: var(--c-muted); background: var(--c-tint); border-left: 3px solid var(--c-border); padding: 10px 14px; border-radius: 0 8px 8px 0; margin-bottom: 24px; }
.ref-scope-heading { font-size: 17px; color: var(--c-navy); margin: 28px 0 16px; }
.ref-scope { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.ref-scope li { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; color: var(--c-body); }
.ref-scope-tick { color: var(--c-teal); flex-shrink: 0; margin-top: 2px; }
.link-arrow-navy { color: var(--c-navy-2); font-size: 14px; font-weight: 700; }
.ref-detail-side { border: 1px solid var(--c-border); border-radius: 14px; padding: 24px; background: var(--c-tint); }
.ref-fact { padding: 12px 0; border-bottom: 1px solid var(--c-border); }
.ref-fact:first-child { padding-top: 0; }
.ref-fact-label { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--c-muted); margin-bottom: 3px; }
.ref-fact-value { font-size: 15px; font-weight: 600; color: var(--c-navy); }
.ref-website { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--c-navy-2); }
.ref-website:hover { color: var(--c-teal); }
.ref-side-cta { display: block; text-align: center; margin-top: 18px; }
@media (max-width: 1100px) {
    .prod-group-grid { grid-template-columns: repeat(2, 1fr); }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .prod-specs-inner { grid-template-columns: repeat(3, 1fr); }
    .prod-spec:nth-child(3n) { border-right: none; padding-right: 0; }
}

@media (max-width: 900px) {
    .ref-grid { grid-template-columns: 1fr 1fr; }
    .ref-detail-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
    .ref-grid { grid-template-columns: 1fr; }
}

/* ---------- Services — type cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }

/* ---------- Uretim: teknik spec seridi ---------- */
.prod-specs-strip { background: var(--c-navy); color: #fff; }
.prod-specs-inner {
    display: grid; grid-template-columns: repeat(5, 1fr);
    padding: 0 24px;
}
.prod-spec {
    padding: 20px 22px 20px 0; min-width: 0;
    border-right: 1px solid rgba(255,255,255,.16);
}
.prod-spec:last-child { border-right: none; padding-right: 0; }
.ps-label {
    display: block; font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase;
    color: rgba(255,255,255,.55); margin-bottom: 6px;
}
.ps-value {
    display: block; font-family: "Consolas", "SF Mono", "Cascadia Code", monospace;
    font-size: 13px; font-weight: 700; line-height: 1.5; color: #fff;
}

/* ---------- Uretim: urun gruplari (fotolu kartlar) ---------- */
.prod-group-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    margin-top: 34px;
}
.prod-group {
    border: 1px solid var(--c-border); border-radius: 14px; overflow: hidden;
    background: #fff; display: flex; flex-direction: column;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.prod-group:hover {
    border-color: var(--c-navy-2);
    box-shadow: 0 18px 40px rgba(7,58,120,.14);
    transform: translateY(-4px);
}
.pg-media { position: relative; overflow: hidden; background: var(--c-tint); }
.pg-media img {
    width: 100%; height: 210px; object-fit: cover; display: block;
    transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
.prod-group:hover .pg-media img { transform: scale(1.06); }
.pg-spec {
    position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px);
    font-family: "Consolas", "SF Mono", "Cascadia Code", monospace;
    font-size: 11px; letter-spacing: .3px; color: #fff;
    background: rgba(7,58,120,.86); padding: 5px 10px; border-radius: 4px;
}
.pg-body { padding: 18px 20px 22px; }
.pg-body h3 { font-size: 16px; color: var(--c-navy); margin: 0 0 8px; }
.pg-body p { font-size: 13.5px; line-height: 1.65; color: var(--c-body); margin: 0; }

/* ---------- Uretim: tum urunler katalogu ---------- */
.cat-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
    margin-top: 34px; align-items: start;
}
.cat-block { background: #fff; border: 1px solid var(--c-border); border-radius: 12px; padding: 20px; }
.cat-block-title {
    font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase;
    color: var(--c-teal); margin: 0 0 14px; padding-bottom: 12px;
    border-bottom: 1px solid var(--c-border);
}
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list li { padding: 10px 0; border-bottom: 1px dashed var(--c-border); }
.cat-list li:last-child { border-bottom: none; padding-bottom: 0; }
.cat-name { display: block; font-size: 14px; font-weight: 600; color: var(--c-navy); }
.cat-spec { display: block; font-size: 12px; color: var(--c-muted); margin-top: 3px; line-height: 1.5; }

.svc-card { border: 1px solid var(--c-border); border-radius: 12px; padding: 24px; background: #fff; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.svc-card:hover { border-color: var(--c-navy-2); box-shadow: 0 10px 26px rgba(7,58,120,.08); transform: translateY(-2px); }
.svc-card-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--c-tint); color: var(--c-teal); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.svc-card h3 { font-size: 15.5px; color: var(--c-navy); margin-bottom: 7px; }
.svc-card p { font-size: 13.5px; color: var(--c-body); margin: 0; line-height: 1.6; }

/* ---------- Legal / policy pages ---------- */
.legal { font-size: 15px; line-height: 1.8; color: var(--c-body); }
.legal-updated { font-size: 13px; color: var(--c-muted); margin-bottom: 28px; }
.legal h2 { font-size: 18px; color: var(--c-navy); margin: 34px 0 12px; }
.legal p { margin: 0 0 14px; }
.legal ul { list-style: disc; padding-left: 22px; margin: 0 0 18px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--c-navy-2); font-weight: 600; }
.legal a:hover { color: var(--c-teal); }
.legal strong { color: var(--c-navy); font-weight: 700; }

/* ---------- Process steps ---------- */
.process-steps { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
.process-steps li { flex: 1 1 150px; text-align: center; max-width: 200px; }
.step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--c-teal); color: #EAF9F6;
    font-size: 13px; font-weight: 700; margin-bottom: 10px;
}
.process-steps h3 { font-size: 13.5px; margin-bottom: 4px; }
.process-steps p { font-size: 12.5px; color: var(--c-muted); }

/* ---------- Card grid / Certificates ---------- */
.card-grid { display: grid; gap: 20px; }
.card-grid-2 { grid-template-columns: 1fr 1fr; }
.cert-card { border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 26px; text-align: center; }
.cert-card .cert-icon { display: inline-flex; color: var(--c-teal); margin-bottom: 14px; }
.cert-card h3 { font-size: 16px; margin-bottom: 8px; }
.cert-card p { font-size: 13.5px; margin: 0; }

/* ---------- Contact ---------- */
.contact-list li { margin-bottom: 16px; }
.contact-label { display: block; font-size: 12px; color: var(--c-muted); margin-bottom: 2px; }
.contact-list a { color: var(--c-teal); font-weight: 600; }

/* ---------- Contact — professional cards + map ---------- */
.contact-heading { font-size: 17px; color: var(--c-navy); margin-bottom: 20px; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--c-border); border-radius: 12px; padding: 18px; background: #fff; }
.cc-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--c-tint); color: var(--c-teal); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cc-body { min-width: 0; }
.cc-label { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--c-muted); margin-bottom: 4px; }
.cc-value { font-size: 14.5px; color: var(--c-navy); font-weight: 500; margin: 0; word-break: break-word; }
.cc-value a { color: inherit; }
.cc-value a:hover { color: var(--c-teal); }
.cc-value.cc-sub { font-size: 13px; font-weight: 400; color: var(--c-body); margin-top: 4px; }
.cc-link { display: inline-block; margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--c-teal); }
.contact-map-section { padding: 0 0 72px; }
.contact-map { border: 1px solid var(--c-border); border-radius: 14px; overflow: hidden; height: 420px; }
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(0.95); }
@media (max-width: 820px) {
    .contact-map { height: 320px; }
}


/* ---------- Footer ---------- */
.site-footer { background: var(--c-navy); color: #8B98A5; padding-top: 44px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 28px; }
.footer-logo-chip { display: inline-block; background: #fff; padding: 14px 20px; border-radius: 10px; margin-bottom: 16px; }
.footer-logo-img { height: 56px; width: auto; max-width: 100%; display: block; }
.footer-tagline { font-size: 13px; line-height: 1.7; max-width: 280px; }
.footer-col h3 { color: #fff; font-size: 13.5px; margin-bottom: 14px; }
.footer-col li { margin-bottom: 9px; font-size: 13px; }
.footer-col a:hover { color: var(--c-teal-light); }
.footer-contact-label { display: block; font-size: 11px; color: #6B7F99; margin-bottom: 2px; }
.footer-bottom {
    border-top: 1px solid #0C3A72; padding: 16px 24px;
    display: flex; justify-content: space-between; align-items: center; font-size: 12.5px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .brand-logo { height: 46px; }
    .footer-logo-img { height: 44px; }
    .topbar-inner { flex-wrap: wrap; gap: 6px 14px; padding: 8px 16px; }
    .prod-group-grid { grid-template-columns: 1fr; }
    .cat-grid { grid-template-columns: 1fr; }
    .prod-specs-inner { grid-template-columns: repeat(2, 1fr); padding: 0 16px; }
    .prod-spec { padding: 16px 16px 16px 0; }
    .prod-spec:nth-child(2n) { border-right: none; padding-right: 0; }
    .pg-media img { height: 190px; }
    .split-hero { flex-direction: column; min-height: 0; }
    .split-panel { padding: 56px 28px; }
    .panel-spec { padding: 12px 6px; }
    .proof-grid { grid-template-columns: 1fr; }
    .case-study { flex-direction: column; }
    .case-study img { width: 100%; height: 220px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-toggle { display: block; }
    .header-nav-wrap { display: none; }
    .header-nav-wrap.is-open { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 20px 24px; border-bottom: 1px solid var(--c-border); }
    .site-nav { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
    .nav-dropdown { width: 100%; }
    .nav-dropdown-toggle { width: 100%; justify-content: space-between; }
    .nav-dropdown-menu { position: static; transform: none; display: none; border: none; padding: 4px 0 4px 14px; }
    .nav-dropdown.is-open .nav-dropdown-menu { display: block; }
    .nav-dropdown:hover .nav-dropdown-menu { display: none; }
    .nav-dropdown.is-open:hover .nav-dropdown-menu { display: block; }
    .card-grid-2 { grid-template-columns: 1fr; }
}

/* ---------- Uretim: teknik veriler ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 34px; }
.tech-card { background: #fff; border: 1px solid var(--c-border); border-radius: 12px; padding: 22px 24px; min-width: 0; }
.tech-card h3 { font-size: 15px; color: var(--c-navy); margin: 0 0 14px; }
.tech-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.tech-table th {
    text-align: left; font-size: 10.5px; letter-spacing: .8px; text-transform: uppercase;
    color: var(--c-steel); font-weight: 700; padding: 0 8px 8px 0; border-bottom: 1px solid var(--c-border);
}
.tech-table td {
    padding: 9px 8px 9px 0; border-bottom: 1px dashed var(--c-border); color: var(--c-body);
    font-family: "Consolas", "SF Mono", "Cascadia Code", monospace; font-size: 12.5px;
}
.tech-table tr:last-child td { border-bottom: none; }
.tech-note { font-size: 12px; color: var(--c-muted); line-height: 1.6; margin: 12px 0 0; }
.tech-list { list-style: none; margin: 0; padding: 0; }
.tech-list li {
    display: flex; justify-content: space-between; gap: 16px; padding: 9px 0;
    border-bottom: 1px dashed var(--c-border); font-size: 13px;
}
.tech-list li:last-child { border-bottom: none; }
.tech-list span { color: var(--c-body); }
.tech-list b {
    color: var(--c-navy); text-align: right;
    font-family: "Consolas", "SF Mono", "Cascadia Code", monospace; font-size: 12.5px;
}

/* ---------- Uretim: katalog kucuk gorselleri ---------- */
.cat-list li.has-thumb { display: flex; align-items: center; gap: 12px; }
.cat-thumb {
    flex: 0 0 56px; width: 56px; height: 42px; object-fit: cover;
    border-radius: 6px; border: 1px solid var(--c-border); background: #fff;
}
.cat-text { display: block; min-width: 0; }

/* ---------- Sahadan: fotograf galerisi ---------- */
.saha-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.saha-item {
    position: relative; margin: 0; border-radius: 12px; overflow: hidden;
    background: var(--c-navy); aspect-ratio: 3 / 4;
}
.saha-item.wide { grid-column: span 2; aspect-ratio: auto; }
.saha-item img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
.saha-item:hover img { transform: scale(1.04); }
.saha-item figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px;
    background: linear-gradient(to top, rgba(7,58,120,.94), rgba(7,58,120,0));
    color: #fff; font-size: 12.5px; line-height: 1.45;
}
.saha-item figcaption b { display: block; font-size: 13.5px; margin-bottom: 2px; }
.saha-step {
    display: inline-block; font-family: "Consolas", "SF Mono", "Cascadia Code", monospace;
    font-size: 10.5px; letter-spacing: 1px; color: var(--c-teal-light); margin-bottom: 4px;
}

@media (max-width: 1100px) {
    .saha-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
    .tech-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .saha-grid { grid-template-columns: 1fr; }
    .saha-item.wide { grid-column: auto; aspect-ratio: 3 / 4; }
    .tech-card { padding: 18px 16px; }
}
