:root {
    --bg: #080808;
    --bg-soft: #101010;
    --panel: #151515;
    --panel-light: #1c1c1c;
    --text: #f5f5f5;
    --muted: #a7a7a7;
    --gold: #c7a45a;
    --gold-light: #e2c67e;
    --line: rgba(255, 255, 255, 0.12);
    --header-height: 92px;
    --container: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
    min-width: 320px;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: "Barlow", Arial, sans-serif;
    line-height: 1.65;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img, video { display: block; max-width: 100%; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.accent { display: block; color: var(--gold); }

.page-loader {
    position: fixed; inset: 0; z-index: 9999;
    display: grid; place-content: center; justify-items: center;
    background: #050505; transition: opacity .55s ease, visibility .55s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
.page-loader img { width: 92px; height: 92px; object-fit: cover; border-radius: 50%; margin-bottom: 18px; }
.page-loader strong { font-family: "Barlow Condensed", Arial, sans-serif; font-size: 28px; letter-spacing: 2px; }
.page-loader strong span { color: var(--gold); }
.page-loader small { color: var(--muted); letter-spacing: 3px; font-size: 9px; margin-top: 7px; }

.site-header {
    position: fixed; inset: 0 0 auto; z-index: 1000;
    height: var(--header-height);
    background: rgba(7,7,7,.55); border-bottom: 1px solid transparent;
    backdrop-filter: blur(18px);
    transition: background .3s ease, border-color .3s ease;
}
.site-header.scrolled { background: rgba(7,7,7,.94); border-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { position: relative; z-index: 1002; display: inline-flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand img { width: 54px; height: 54px; object-fit: cover; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: "Barlow Condensed", Arial, sans-serif; font-size: 22px; letter-spacing: 1px; }
.brand-text strong span { color: var(--gold); }
.brand-text small { margin-top: 6px; color: var(--muted); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 18px; }
.nav-link { position: relative; padding-block: 12px; color: #d5d5d5; font-size: 11px; font-weight: 700; white-space: nowrap; }
.nav-link::after { content: ""; position: absolute; right: 0; bottom: 6px; left: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.language-switch { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.42); font-size: 11px; font-weight: 800; }
.lang-button { padding: 7px 2px; border: 0; background: transparent; color: rgba(255,255,255,.55); cursor: pointer; }
.lang-button.active, .lang-button:hover { color: var(--gold); }
.header-cta { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding-inline: 21px; background: var(--gold); color: #0b0b0b; font-size: 12px; font-weight: 800; transition: .25s ease; white-space: nowrap; }
.header-cta:hover { background: var(--gold-light); transform: translateY(-2px); }

.menu-toggle { position: relative; z-index: 1002; display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { position: absolute; left: 8px; width: 30px; height: 2px; background: var(--text); transition: .3s ease; }
.menu-toggle span:nth-child(1){top:14px}.menu-toggle span:nth-child(2){top:22px}.menu-toggle span:nth-child(3){top:30px}
.menu-toggle.active span:nth-child(1){top:22px;transform:rotate(45deg)}
.menu-toggle.active span:nth-child(2){opacity:0}
.menu-toggle.active span:nth-child(3){top:22px;transform:rotate(-45deg)}

.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: #050505; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg,rgba(0,0,0,.95),rgba(0,0,0,.78) 48%,rgba(0,0,0,.32)),linear-gradient(to bottom,rgba(0,0,0,.16),rgba(0,0,0,.82)); }
.hero-grid { position: absolute; inset: 0; z-index: 1; opacity: .1; background-image: linear-gradient(rgba(255,255,255,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.12) 1px,transparent 1px); background-size: 90px 90px; mask-image: linear-gradient(90deg,black,transparent 82%); }
.hero-content { position: relative; z-index: 2; padding-top: var(--header-height); }
.eyebrow { margin-bottom: 20px; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: 3.1px; }
.hero h1, .section-heading h2, .quality h2, .contact h2 { font-family: "Barlow Condensed", Arial, sans-serif; font-weight: 800; letter-spacing: -2.8px; line-height: 1.05; }
.hero h1 { max-width: 1000px; font-size: clamp(48px,7.3vw,100px); }
.hero-copy { max-width: 720px; margin-top: 30px; color: #d0d0d0; font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 42px; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding-inline: 28px; border: 1px solid transparent; font-size: 12px; font-weight: 800; cursor: pointer; transition: .25s ease; }
.button-primary { background: var(--gold); color: #0a0a0a; }
.button-primary:hover { background: var(--gold-light); transform: translateY(-3px); }
.button-ghost { border-color: rgba(255,255,255,.4); background: rgba(0,0,0,.16); }
.button-ghost:hover { background: var(--text); color: #0b0b0b; transform: translateY(-3px); }
.scroll-indicator { position: absolute; bottom: 35px; left: 50%; z-index: 3; width: 30px; height: 48px; border: 1px solid rgba(255,255,255,.45); border-radius: 18px; transform: translateX(-50%); }
.scroll-indicator span { position: absolute; top: 10px; left: 50%; width: 4px; height: 8px; border-radius: 4px; background: var(--gold); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { from{opacity:0;transform:translate(-50%,0)}45%{opacity:1}to{opacity:0;transform:translate(-50%,17px)} }

.stats { position: relative; z-index: 3; background: #0b0b0b; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-card { min-height: 150px; display: flex; flex-direction: column; justify-content: center; padding: 30px; border-right: 1px solid var(--line); }
.stat-card:last-child { border-right: 0; }
.stat-card strong { color: var(--gold); font-family: "Barlow Condensed", Arial, sans-serif; font-size: 38px; line-height: 1; }
.stat-card span { margin-top: 12px; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.4px; }

.section { padding: 120px 0; }
.section-heading { margin-bottom: 56px; }
.section-heading h2, .quality h2, .contact h2 { max-width: 950px; font-size: clamp(36px,5vw,64px); }
.about, .machines, .projects { background: var(--bg); }
.services, .quality { background: var(--bg-soft); }
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 80px; align-items: start; }
.about-copy p { margin-bottom: 22px; color: var(--muted); }
.value-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--line); }
.value-card { min-height: 205px; padding: 30px; background: var(--panel); transition: .25s ease; }
.value-card:hover { background: var(--panel-light); transform: translateY(-4px); }
.value-card > span { color: var(--gold); font-size: 12px; font-weight: 800; }
.value-card h3 { margin-top: 52px; font-size: 21px; }
.value-card p { margin-top: 10px; color: var(--muted); font-size: 13px; }

.heading-row { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.heading-note { max-width: 450px; padding-bottom: 8px; color: var(--muted); font-size: 14px; }
.service-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.service-card { position: relative; min-height: 355px; display: flex; flex-direction: column; padding: 32px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); transition: .3s ease; }
.service-card::before { content:""; position:absolute; inset:0 auto 0 0; width:3px; background:var(--gold); transform:scaleY(0); transform-origin:bottom; transition:.35s ease; }
.service-card:hover { background: var(--panel-light); border-color: rgba(199,164,90,.55); transform: translateY(-8px); }
.service-card:hover::before { transform: scaleY(1); }
.service-number { margin-bottom: 66px; color: var(--gold); font-size: 12px; font-weight: 800; }
.service-card h3 { font-size: 22px; }
.service-card p { margin-top: 15px; color: var(--muted); font-size: 14px; }
.service-card a { margin-top: auto; color: var(--gold); font-size: 12px; font-weight: 800; }

.machine-list { display: grid; gap: 42px; }
.machine-row { min-height: 520px; display: grid; grid-template-columns: 1.25fr .75fr; overflow: hidden; background: #0c0c0c; border: 1px solid var(--line); }
.machine-row-reverse { grid-template-columns: .75fr 1.25fr; }
.machine-row-reverse .machine-image { order: 2; }
.machine-image { display: grid; place-items: center; min-height: 520px; overflow: hidden; background: radial-gradient(circle at 50% 45%,rgba(199,164,90,.09),transparent 40%),#050505; }
.machine-image img { width: 100%; height: 520px; object-fit: contain; padding: 20px; transition: transform .5s ease; }
.machine-image-cmm img { padding: 26px 70px; }
.machine-row:hover .machine-image img { transform: scale(1.035); }
.machine-content { display: flex; flex-direction: column; justify-content: center; padding: 54px; border-left: 1px solid var(--line); }
.machine-row-reverse .machine-content { border-left: 0; border-right: 1px solid var(--line); }
.machine-index { color: rgba(255,255,255,.18); font-family:"Barlow Condensed",Arial,sans-serif; font-size: 58px; font-weight:800; line-height:1; }
.machine-type { margin-top: 28px; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; }
.machine-content h3 { margin-top: 10px; font-size: clamp(25px,3vw,40px); line-height:1.15; }
.machine-content > p:last-child { margin-top: 20px; color: var(--muted); font-size: 14px; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter-button { min-height: 43px; padding: 0 18px; border: 1px solid var(--line); background: #101010; color: var(--muted); font-size: 11px; font-weight: 800; cursor: pointer; transition: .25s ease; }
.filter-button:hover, .filter-button.active { border-color: var(--gold); background: var(--gold); color: #090909; }
.project-grid { display: grid; grid-template-columns: repeat(3,1fr); grid-auto-rows: 330px; gap: 14px; }
.project-card { position: relative; border: 0; overflow: hidden; background: #050505; cursor: zoom-in; text-align: left; }
.project-card.hidden { display: none; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .5s ease; }
.project-card:hover img { transform: scale(1.045); opacity: .72; }
.project-wide { grid-column: span 2; }
.project-tall { grid-row: span 2; }
.project-overlay { position: absolute; inset: auto 0 0; display: flex; flex-direction: column; padding: 28px; background: linear-gradient(transparent,rgba(0,0,0,.94)); transform: translateY(24px); opacity: 0; transition: .35s ease; }
.project-card:hover .project-overlay { transform: translateY(0); opacity: 1; }
.project-overlay small { color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; }
.project-overlay strong { margin-top: 6px; font-size: 17px; }

.quality-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: center; }
.quality-copy > p:first-child { margin-bottom: 28px; color: var(--muted); }
.quality-copy ul { list-style: none; }
.quality-copy li { position: relative; padding: 16px 0 16px 30px; border-bottom: 1px solid var(--line); font-size: 14px; }
.quality-copy li::before { content:"✓"; position:absolute; left:0; color:var(--gold); font-weight:800; }
.quality-note { margin-top: 22px; color: #777; font-size: 12px; }

.contact { background: radial-gradient(circle at 15% 20%,rgba(199,164,90,.12),transparent 32%),var(--bg); }
.contact-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; padding: 66px; background: var(--panel); border: 1px solid var(--line); }
.contact-intro > p:not(.eyebrow) { max-width: 630px; margin-top: 24px; color: var(--muted); }
.direct-contact { display: grid; gap: 15px; margin-top: 38px; }
.direct-contact > * { display: flex; flex-direction: column; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.direct-contact small { color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; }
.direct-contact strong { margin-top: 5px; font-size: 14px; font-weight: 600; }

.quote-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form label { display: grid; gap: 8px; }
.quote-form label > span { color: #d7d7d7; font-size: 11px; font-weight: 800; }
.quote-form input, .quote-form textarea, .quote-form select { width: 100%; border: 1px solid var(--line); border-radius: 0; outline: 0; background: #0c0c0c; color: var(--text); padding: 15px 16px; transition: border-color .25s ease, box-shadow .25s ease; }
.quote-form textarea { resize: vertical; min-height: 130px; }
.quote-form input:focus, .quote-form textarea:focus, .quote-form select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(199,164,90,.09); }
.submit-button { width: 100%; border: 0; }
.form-note { color: #767676; font-size: 11px; line-height:1.5; }

.whatsapp-button { position: fixed; right: 24px; bottom: 24px; z-index: 900; min-height: 54px; display: inline-flex; align-items: center; gap: 10px; padding: 0 19px; background: var(--gold); color:#090909; box-shadow:0 16px 38px rgba(0,0,0,.38); font-size:12px; font-weight:800; transition:.25s ease; }
.whatsapp-button:hover { background:var(--gold-light); transform:translateY(-4px); }
.whatsapp-icon { display:grid; width:25px; height:25px; place-items:center; border:1px solid currentColor; border-radius:50%; }

.footer { padding: 34px 0; background:#050505; border-top:1px solid var(--line); }
.footer-inner { display:flex; align-items:center; justify-content:space-between; gap:30px; }
.footer-brand img { width:44px; height:44px; }
.footer p { color:var(--muted); font-size:11px; }

.lightbox { width: min(94vw,1400px); max-width:none; height:min(92vh,960px); max-height:none; padding:0; border:1px solid rgba(255,255,255,.18); background:#050505; color:var(--text); overflow:hidden; }
.lightbox::backdrop { background:rgba(0,0,0,.92); backdrop-filter:blur(8px); }
.lightbox figure { width:100%; height:100%; display:grid; grid-template-rows:1fr auto; }
.lightbox img { width:100%; height:100%; object-fit:contain; min-height:0; }
.lightbox figcaption { padding:16px 24px; border-top:1px solid var(--line); color:#ddd; font-size:13px; }
.lightbox-close, .lightbox-nav { position:absolute; z-index:3; display:grid; place-items:center; border:1px solid rgba(255,255,255,.2); background:rgba(0,0,0,.7); cursor:pointer; }
.lightbox-close { top:16px; right:16px; width:48px; height:48px; font-size:32px; }
.lightbox-nav { top:50%; width:48px; height:68px; transform:translateY(-50%); font-size:38px; }
.lightbox-prev { left:16px; }.lightbox-next { right:16px; }

.reveal { opacity:0; transform:translateY(28px); transition:opacity .75s ease,transform .75s ease; }
.reveal.visible { opacity:1; transform:none; }

@media (max-width: 1180px) {
    .main-nav { gap:12px; }
    .nav-link { font-size:10px; }
    .header-cta { display:none; }
    .service-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 960px) {
    :root { --header-height:78px; }
    .menu-toggle { display:block; }
    .main-nav { position:fixed; top:0; right:-100%; width:min(390px,100%); height:100svh; flex-direction:column; align-items:flex-start; justify-content:center; gap:5px; padding:100px 38px 50px; background:#0c0c0c; transition:right .35s ease; }
    .main-nav.open { right:0; }
    .nav-link { width:100%; padding:13px 0; border-bottom:1px solid var(--line); font-size:16px; }
    .nav-link::after { display:none; }
    .about-grid,.quality-grid,.contact-panel { grid-template-columns:1fr; gap:44px; }
    .heading-row { align-items:flex-start; flex-direction:column; }
    .machine-row,.machine-row-reverse { grid-template-columns:1fr; }
    .machine-row-reverse .machine-image { order:0; }
    .machine-content,.machine-row-reverse .machine-content { border:0; border-top:1px solid var(--line); }
    .project-grid { grid-template-columns:repeat(2,1fr); }
    .project-wide { grid-column:span 2; }
    .contact-panel { padding:48px 34px; }
    .stats-grid { grid-template-columns:repeat(2,1fr); }
    .stat-card:nth-child(2) { border-right:0; }
    .stat-card:nth-child(-n+2) { border-bottom:1px solid var(--line); }
}
@media (max-width: 640px) {
    .container { width:min(calc(100% - 28px),var(--container)); }
    .brand img { width:46px;height:46px; }
    .brand-text strong { font-size:18px; }
    .brand-text small { font-size:8px; }
    .header-actions { margin-left:auto; }
    .section { padding:84px 0; }
    .hero h1 { font-size:44px; letter-spacing:-1.8px; }
    .hero-copy { font-size:14px; }
    .hero-actions { flex-direction:column; align-items:stretch; }
    .button { width:100%; }
    .value-grid,.service-grid,.form-row { grid-template-columns:1fr; }
    .service-card { min-height:310px; }
    .machine-image,.machine-image img { min-height:340px; height:340px; }
    .machine-image-cmm img { padding:22px 52px; }
    .machine-content { padding:34px 24px; }
    .project-grid { grid-template-columns:1fr; grid-auto-rows:280px; }
    .project-wide { grid-column:span 1; }
    .project-tall { grid-row:span 1; }
    .project-overlay { transform:none; opacity:1; padding:20px; }
    .contact-panel { padding:34px 20px; }
    .whatsapp-button { right:14px; bottom:14px; width:54px; padding:0; justify-content:center; border-radius:50%; }
    .whatsapp-text { display:none; }
    .footer-inner { flex-direction:column; text-align:center; }
    .lightbox-nav { width:40px;height:58px; }
    .lightbox-prev { left:6px; }.lightbox-next { right:6px; }
}
@media (prefers-reduced-motion: reduce) {
    *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
    .reveal { opacity:1; transform:none; }
}


/* V3.1 — Chapac benzeri endüstriyel tipografi düzeni */
body {
    font-size: 16px;
    letter-spacing: 0.01em;
}

.brand-text strong,
.page-loader strong {
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.brand-text small,
.page-loader small {
    font-family: "Barlow", Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 2.4px;
}

.nav-link,
.header-cta,
.button,
.filter-button,
.machine-type,
.eyebrow,
.service-card a,
.stat-card span {
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 1.15px;
}

.nav-link {
    font-size: 13px;
    text-transform: uppercase;
}

.header-cta,
.button {
    font-size: 14px;
    text-transform: uppercase;
}

.eyebrow {
    font-size: 13px;
    letter-spacing: 3px;
}

.hero h1,
.section-heading h2,
.quality h2,
.contact h2 {
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: -1.4px;
    line-height: 0.98;
}

.hero h1 {
    font-size: clamp(58px, 8vw, 116px);
}

.section-heading h2,
.quality h2,
.contact h2 {
    font-size: clamp(42px, 5.4vw, 72px);
}

.hero-copy,
.about-copy p,
.heading-note,
.service-card p,
.machine-content > p:last-child,
.quality-copy,
.contact-intro > p:not(.eyebrow),
.quote-form input,
.quote-form textarea,
.quote-form select {
    font-family: "Barlow", Arial, sans-serif;
    font-weight: 400;
}

.machine-content h3,
.service-card h3,
.value-card h3,
.project-overlay strong {
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.15px;
}

.machine-content h3 {
    font-size: clamp(32px, 3.5vw, 48px);
}

.service-card h3 {
    font-size: 27px;
}

.value-card h3 {
    font-size: 25px;
}

.project-overlay strong {
    font-size: 21px;
}

.stat-card strong,
.machine-index {
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-weight: 700;
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 52px;
        line-height: 0.98;
    }

    .section-heading h2,
    .quality h2,
    .contact h2 {
        font-size: 42px;
    }

    .nav-link {
        font-size: 18px;
    }
}
