/* dekesotomotiv.com — one stylesheet for /index.html (TR) and /en/index.html (EN). No build step. */
/* Never the visitor's device setting: dark by default (<html data-theme="dark">), the header's sun/moon button switches
   and the choice is kept in localStorage ("dekes-theme"). */
:root {
  color-scheme: light;
  --bg: #faf8f5; --surface: #ffffff; --surface-2: #f2eee8; --fg: #1b1916; --muted: #5b544c; --faint: #857c72;
  --line: #e2dbd2; --accent: #c2601a; --accent-ink: #9a4a10; --accent-soft: rgba(194, 96, 26, .1); --on-accent: #fff;
  --logo-filter: none; --shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px rgba(0,0,0,.06);
  --radius: 14px; --wrap: 1160px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f0e0d; --surface: #181614; --surface-2: #1f1c19; --fg: #f3efe9; --muted: #b8afa4; --faint: #8c8379;
  --line: #2d2925; --accent: #d9772b; --accent-ink: #f0a35e; --accent-soft: rgba(217, 119, 43, .14); --on-accent: #140b04;
  --logo-filter: invert(1); --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px rgba(0,0,0,.35);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--fg); line-height: 1.6; font-size: 17px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 14px; letter-spacing: -.01em; }
h1 { font-size: clamp(32px, 5.2vw, 56px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 750; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 14px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.eyebrow { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); font-weight: 650; margin: 0 0 12px; }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--surface); padding: 10px 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; font-weight: 650; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--line); color: var(--fg); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); }

/* header */
.site-head { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; min-height: 44px; flex: 0 0 auto; }
.brand img { width: 150px; filter: var(--logo-filter); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; text-decoration: none;
  color: var(--muted); font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--fg); background: var(--surface-2); }
.lang { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; flex: 0 0 auto; }
.lang a, .lang span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 40px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--muted); }
.lang span { background: var(--surface-2); color: var(--fg); }
.theme-btn { display: inline-flex; flex: 0 0 auto; min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--fg); cursor: pointer; align-items: center; justify-content: center; }
.theme-btn:hover { border-color: var(--accent); }
.theme-btn svg { width: 20px; height: 20px; }
.theme-btn .i-moon, :root[data-theme="dark"] .theme-btn .i-sun { display: block; }
.theme-btn .i-sun, :root[data-theme="dark"] .theme-btn .i-moon { display: none; }
.menu-btn { display: none; margin-left: auto; min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 10px;
  background: transparent; color: var(--fg); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 899px) {
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 12px 16px;
    background: var(--bg); border-bottom: 1px solid var(--line); display: none; margin: 0; }
  .site-head.open .nav { display: flex; }
  .nav a { min-height: 48px; font-size: 17px; }
  .theme-btn { margin-left: auto; }
  .menu-btn { order: 3; margin-left: 0; }
}

/* hero */
.hero { position: relative; padding: 72px 0 56px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--accent-ink); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-media { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 940 / 560; background: var(--surface-2); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(15,14,13,.72); color: #f3efe9;
  font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; padding: 0; list-style: none; }
.facts li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.facts b { display: block; font-size: 22px; font-weight: 800; color: var(--fg); margin-bottom: 2px; }
.facts span { color: var(--muted); font-size: 15px; line-height: 1.45; display: block; }

/* sections */
section.block { padding: 80px 0; border-top: 1px solid var(--line); }
section.alt { background: var(--surface-2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.rev > :first-child { order: 2; }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--surface); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.photo-pair .photo { aspect-ratio: 4 / 3; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.split.head-split { margin-bottom: 36px; align-items: end; }
.split.head-split .section-head { margin-bottom: 0; }
.head-split .photo { aspect-ratio: 650 / 300; }
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.photo-row .photo { aspect-ratio: 16 / 9; }

/* video: a poster until clicked, then the Vimeo player (nothing loads from Vimeo before the click) */
.video { position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: #000; }
.video-play { all: unset; position: absolute; inset: 0; cursor: pointer; display: block; }
.video-play img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s; }
.video-play:hover img { opacity: 1; }
.video-play:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.video .play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.video .play svg { width: 34px; height: 34px; margin-left: 4px; }
.video-cap { position: absolute; left: 14px; bottom: 14px; background: rgba(15,14,13,.78); color: #f3efe9; font-size: 14px; font-weight: 650; padding: 6px 12px; border-radius: 999px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* products */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.cat { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; }
.cat p { color: var(--muted); font-size: 16px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 10px; margin-top: auto; padding-top: 8px; }
.thumbs button { padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; cursor: zoom-in; aspect-ratio: 1; min-height: 44px; }
.thumbs button:hover { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* cnc */
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 28px; }
.strip button { padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); cursor: zoom-in; aspect-ratio: 3 / 2; min-height: 44px; }
.strip button:hover { border-color: var(--accent); }
.strip img { width: 100%; height: 100%; object-fit: cover; }

/* quality */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 48px; }
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.pillar .k { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); font-weight: 700; margin-bottom: 8px; }
.pillar p { margin: 0; }
.pillar img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; margin-bottom: 16px; }
.founder { display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.founder h3 { font-size: 22px; margin-bottom: 4px; }
.founder .role { color: var(--accent-ink); font-weight: 650; margin-bottom: 10px; }
.founder ul { margin: 6px 0 0; padding-left: 20px; color: var(--muted); }
.founder-side .photo { aspect-ratio: 262 / 163; margin-bottom: 18px; box-shadow: none; }
.founder .mails { margin: 12px 0 0; font-size: 15px; }
.founder .mails a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; overflow-wrap: anywhere; }
.founder .mails a:hover { color: var(--accent-ink); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--line); display: grid; gap: 16px; }
.timeline li { position: relative; display: grid; grid-template-columns: 104px 1fr; gap: 14px; color: var(--muted); font-size: 16px; }
.timeline li::before { content: ""; position: absolute; left: -25px; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.timeline b { color: var(--fg); font-weight: 750; }

/* news */
.news { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; }
.news-logo { background: #fff; border-radius: 12px; padding: 14px; }
.news time { color: var(--accent-ink); font-weight: 700; font-size: 14px; letter-spacing: .04em; }
.news h3 { margin: 6px 0 10px; }
.news p { margin: 0; }
.news .news-link a { display: inline-flex; align-items: center; min-height: 40px; margin-top: 6px; color: var(--accent-ink); font-weight: 650; }

/* contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.info dl { margin: 0; display: grid; gap: 16px; }
.info dt { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.info dd { margin: 2px 0 0; }
.info a { text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; }
.info a:hover { color: var(--accent-ink); }
.trade { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.trade p { margin: 0 0 4px; }
.cform .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.cform .full { grid-column: 1 / -1; }
.cform label > span { display: block; font-size: 14px; font-weight: 650; color: var(--muted); margin: 0 0 6px; }
.cform label small { font-weight: 400; color: var(--faint); }
.cform input, .cform textarea { display: block; width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg); color: var(--fg); font: inherit; font-size: 16px; }
.cform textarea { min-height: 140px; resize: vertical; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--accent); }
.cform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cform .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 20px; }
.cform .note { color: var(--faint); font-size: 14px; margin: 0; }
.cform .msg { margin: 14px 0 0; font-weight: 600; }
.cform .msg.err { color: #d9534f; }
.cform .done { display: none; text-align: center; padding: 24px 0; }
.cform .done b { display: block; font-size: 24px; margin-bottom: 6px; }
.cform.sent .grid, .cform.sent .actions, .cform.sent .msg { display: none; }
.cform.sent .done { display: block; }

/* footer */
.site-foot { border-top: 1px solid var(--line); padding: 28px 0 36px; color: var(--faint); font-size: 14px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; align-items: center; }
.site-foot a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; }
.site-foot a:hover { color: var(--fg); }
.social { display: flex; gap: 4px; }
.social a { min-width: 44px; min-height: 44px; justify-content: center; border-radius: 999px; }
.social a:hover { background: var(--surface-2); }
.social svg { width: 20px; height: 20px; }

/* lightbox */
dialog.lb { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); width: 100%; color: #fff; }
dialog.lb::backdrop { background: rgba(8,7,6,.86); }
.lb figure { margin: 0; background: #fff; border-radius: 14px; overflow: hidden; }
.lb img { display: block; width: auto; max-width: 100%; max-height: 78vh; margin: 0 auto; object-fit: contain; }
.lb .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.lb button { min-width: 48px; min-height: 48px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; font-size: 22px; cursor: pointer; }
.lb .count { font-size: 15px; opacity: .85; }

/* responsive */
@media (max-width: 1000px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 899px) {
  .hero { padding: 40px 0 40px; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .split.rev > :first-child { order: 0; }
  .cats, .pillars { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; gap: 24px; }
  .founder-side .photo { max-width: 320px; }
  .split.head-split { align-items: start; }
  section.block { padding: 56px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .lead { font-size: 17px; }
  .facts { gap: 10px; margin-top: 36px; }
  .facts li { padding: 14px; }
  .facts b { font-size: 19px; }
  .cform .grid { grid-template-columns: 1fr; }
  .hero .actions .btn { flex: 1 1 100%; }
  .brand img { width: 120px; }
  .head-row { gap: 8px; }
  .card, .founder { padding: 20px; }
  .photo-row, .strip { gap: 8px; }
  .photo-row .photo { aspect-ratio: 4 / 3; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
  .news { grid-template-columns: 1fr; gap: 16px; }
  .news-logo { max-width: 200px; }
}
