/* Kumbasar Çelik Dövme */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --steel: #1A2229;        /* dövme çeliği, koyu */
  --steel-2: #26313A;
  --iron: #55636C;         /* ikincil metin */
  --rule: #D2D8DB;
  --paper: #F3F5F5;        /* soğuk açık gri zemin */
  --white: #FFFFFF;
  --red: #CD1041;          /* logo kırmızısı */
  --red-dark: #A50C34;
  --navy: #004785;         /* logo laciverti */
  --on-dark: #E7ECEE;
  --on-dark-2: #A9B6BD;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--steel);
  background: var(--paper);
  font-stretch: 100%;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

h1, h2, h3 { margin: 0; line-height: 1.12; font-stretch: 112%; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; font-stretch: 106%; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  font-family: inherit; font-size: 1rem; font-weight: 650;
  text-decoration: none; border-radius: 3px; border: 2px solid transparent;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); color: var(--white); }
.btn-line { border-color: currentColor; color: var(--on-dark); }
.btn-line:hover { color: var(--white); background: rgba(255,255,255,.08); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}
.header-row { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--steel); margin-right: auto; }
.brand img { width: 48px; height: 48px; }
.brand-name { display: flex; flex-direction: column; font-weight: 800; font-size: 1.2rem; line-height: 1.05; font-stretch: 118%; }
.brand-name span { font-weight: 500; font-size: .86rem; font-stretch: 100%; color: var(--iron); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--steel); text-decoration: none; font-size: .95rem; font-weight: 550; }
.nav a:hover { color: var(--red); }
.nav .langs { display: flex; gap: 10px; padding-left: 18px; border-left: 1px solid var(--rule); }
.nav .langs a { color: var(--iron); font-size: .8rem; font-weight: 600; letter-spacing: .04em; }
.nav .langs a[aria-current] { color: var(--steel); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.nav .langs a:hover { color: var(--red); }
.header-cta { min-height: 42px; padding: 0 18px; }
.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--rule); border-radius: 3px; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; fill: none; stroke: var(--steel); stroke-width: 1.8; stroke-linecap: round; }

/* Hero */
.hero { background: var(--steel); color: var(--on-dark); padding: clamp(48px, 8vw, 96px) 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-kicker { color: var(--on-dark-2); font-size: .98rem; margin-bottom: 18px; }
.hero h1 { color: var(--white); max-width: 13ch; }
.hero-lede { margin-top: 24px; max-width: 54ch; font-size: 1.15rem; color: var(--on-dark); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 518 / 308; object-fit: cover; border-radius: 2px; }
.hero-photo figcaption { margin-top: 10px; font-size: .88rem; color: var(--on-dark-2); }

.facts {
  margin: clamp(48px, 7vw, 80px) 0 0; padding: 26px 0 34px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.facts dt { font-size: .9rem; color: var(--on-dark-2); }
.facts dd { margin: 4px 0 0; font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 750; font-stretch: 115%; color: var(--white); }

/* Menevişleme renkleri: saman → kahve → mor → mavi */
.temper {
  height: 8px;
  background: linear-gradient(90deg, #E9D9A6 0%, #D9B45A 16%, #B07A35 32%, #8A4B3B 46%, #6B3A6E 60%, #3D4D9B 74%, #2D6CAE 87%, #8FB2C9 100%);
}

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tint { background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-dark { background: var(--steel-2); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-intro { max-width: 640px; margin-bottom: 44px; }
.section-intro p { margin-top: 14px; color: var(--iron); font-size: 1.1rem; }
.section-dark .section-intro p { color: var(--on-dark-2); }

.two-col { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.two-col .section-intro { margin-bottom: 0; }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--steel); }
.service { padding: 30px 32px 34px 0; border-bottom: 1px solid var(--rule); }
.service:nth-child(even) { padding: 30px 0 34px 32px; border-left: 1px solid var(--rule); }
.service p { margin-top: 10px; color: var(--iron); max-width: 52ch; }
.service .spec { margin-top: 16px; color: var(--navy); font-weight: 600; font-size: .95rem; }

/* Steps (gerçek sıra) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: s; }
.steps li { counter-increment: s; padding: 0 22px 0 0; position: relative; }
.steps li::before {
  content: counter(s);
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-bottom: 22px;
  border-radius: 50%; background: var(--red); color: var(--white);
  font-weight: 800; font-size: 1.1rem;
  position: relative; z-index: 1;
}
.steps li::after {
  content: ""; position: absolute; top: 22px; left: 44px; right: 0; height: 2px;
  background: rgba(255,255,255,.18);
}
.steps li:last-child::after { display: none; }
.steps p { margin-top: 10px; color: var(--on-dark-2); font-size: .98rem; }

/* Machines */
.machines { width: 100%; border-collapse: collapse; font-size: 1rem; }
.machines th, .machines td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.machines thead th { font-size: .88rem; font-weight: 600; color: var(--iron); border-bottom: 2px solid var(--steel); }
.machines tbody th { font-weight: 700; }
.machines td:nth-child(2) { font-weight: 700; font-stretch: 112%; color: var(--navy); white-space: nowrap; }
.machines td:last-child { color: var(--iron); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: var(--paper); border-radius: 2px; }
.gallery figcaption { margin-top: 8px; font-size: .92rem; color: var(--iron); }
.gallery-title { margin: 64px 0 24px; padding-top: 28px; border-top: 1px solid var(--rule); }
.gallery-small { grid-template-columns: repeat(6, 1fr); gap: 14px; }
.gallery-small img { object-fit: contain; background: #F0F1F1; }
.gallery-small figcaption { font-size: .8rem; line-height: 1.35; }
.gallery a { display: block; }

/* About */
.about p { max-width: 62ch; font-size: 1.1rem; }
.about p + p { margin-top: 16px; }
.about h3 { margin-top: 36px; }
.sectors { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sectors li { padding: 8px 14px; border: 1px solid var(--rule); background: var(--white); border-radius: 3px; font-size: .95rem; }

/* Contact */
.contact { background: var(--white); padding: clamp(64px, 9vw, 112px) 0; border-top: 1px solid var(--rule); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--steel); }
.contact-list li { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.c-label { display: block; font-size: .88rem; color: var(--iron); margin-bottom: 4px; }
.contact address { font-style: normal; font-size: 1.1rem; font-weight: 600; }
.c-value { display: inline-flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 700; font-stretch: 108%; color: var(--steel); text-decoration: none; }
.c-value:hover { color: var(--red); }
.c-value svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.c-link { display: inline-block; margin-top: 8px; font-weight: 600; }
.map { min-height: 420px; border-radius: 2px; overflow: hidden; border: 1px solid var(--rule); background: var(--paper); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }

/* Footer */
.site-footer { background: var(--steel); color: var(--on-dark-2); }
.footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; font-size: .92rem; }
.site-footer a { color: var(--on-dark); }

.quickbar { display: none; }

/* Responsive */
@media (max-width: 1080px) {
  .nav { gap: 16px; }
  .nav a { font-size: .9rem; }
  .gallery-small { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 960px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .header-cta { display: none; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--rule);
    padding: 8px var(--gutter) 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--rule); }
  .nav .langs { padding: 14px 0 0; border-left: 0; gap: 20px; }
  .nav .langs a { padding: 6px 0; border-bottom: 0; font-size: .95rem; }
  .site-header { position: sticky; }

  .hero-grid, .two-col, .contact-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; padding: 0 0 28px; }
  .steps li::before { grid-row: 1 / span 2; margin-bottom: 0; }
  .steps li::after { top: 44px; bottom: 0; left: 21px; right: auto; width: 2px; height: auto; }
  .steps h3 { align-self: center; }
  .steps p { grid-column: 2; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery-small { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 1rem; padding-bottom: 56px; }
  .brand-name span { display: none; }
  .services { grid-template-columns: 1fr; }
  .service, .service:nth-child(even) { padding: 24px 0 26px; border-left: 0; }
  .machines thead { display: none; }
  .machines, .machines tbody, .machines tr { display: block; }
  .machines tr { padding: 14px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; }
  .machines th, .machines td { padding: 0; border: 0; }
  .machines td:nth-child(3) { display: none; }
  .machines td:last-child { grid-column: 1 / -1; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .gallery-small { grid-template-columns: repeat(2, 1fr); }
  .hero-actions .btn { flex: 1 1 100%; }
  .map, .map iframe { min-height: 320px; }

  .quickbar {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: var(--steel); border-top: 1px solid rgba(255,255,255,.12);
  }
  .quickbar a { display: flex; align-items: center; justify-content: center; min-height: 56px; color: var(--white); text-decoration: none; font-weight: 650; }
  .quickbar a + a { border-left: 1px solid rgba(255,255,255,.12); }
  .quickbar a:nth-child(2) { background: var(--red); }
}

/* Dil seçici (alt bilgi) */
.footer-langs a { color: var(--on-dark-2); }
.footer-langs a[aria-current] { color: var(--white); text-decoration: none; }

/* Korece, Japonca, Çince */
:lang(ko) body { font-family: "Archivo", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; word-break: keep-all; }
:lang(ja) body { font-family: "Archivo", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "Noto Sans JP", sans-serif; line-break: strict; }
:lang(zh-Hans) body { font-family: "Archivo", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
:lang(ko) h1, :lang(ja) h1, :lang(zh-Hans) h1,
:lang(ko) h2, :lang(ja) h2, :lang(zh-Hans) h2 { font-stretch: 100%; letter-spacing: 0; line-height: 1.25; }
:lang(ko) .hero h1, :lang(ja) .hero h1, :lang(zh-Hans) .hero h1 { max-width: 11em; }
:lang(ko) p, :lang(ja) p, :lang(zh-Hans) p { line-height: 1.75; }
