:root {
  --red: #f31b1c;
  --red-dark: #c21616;
  --ink: #131417;
  --ink-2: #3c3f44;
  --muted: #6b7075;
  --line: #e7e7ea;
  --bg: #ffffff;
  --bg-soft: #f6f6f7;
  --dark: #0c0d0f;
  --dark-2: #16181c;
  --radius: 14px;
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: "Barlow", sans-serif; font-weight: 700; line-height: 1.15; }

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

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

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

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 300; background: var(--dark);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
.preloader.done { opacity: 0; visibility: hidden; }
.pre-mark { width: 150px; height: auto; opacity: 0; animation: preFade 0.4s ease forwards; }
.pre-bar-c, .pre-bar, .pre-spiral-c, .pre-spiral {
  stroke-dasharray: 100; stroke-dashoffset: 100;
}
.pre-bar-c, .pre-bar { animation: preDraw 0.65s ease-out 0.25s forwards; }
.pre-spiral-c, .pre-spiral { animation: preDraw 0.9s ease-in-out 0.62s forwards; }
.pre-word {
  display: flex; flex-direction: column; align-items: center; line-height: 1;
  opacity: 0; transform: translateY(12px);
  animation: preUp 0.5s ease 1.25s forwards;
}
.pre-elit { font-family: "Baloo 2", "Barlow", sans-serif; font-weight: 700; font-size: 38px; color: var(--red); }
.pre-hizmet {
  font-family: "Barlow", sans-serif; font-weight: 600; font-size: 13px;
  letter-spacing: 0.5em; margin-left: 0.5em; color: #fff; text-transform: uppercase; margin-top: 6px;
}
@keyframes preFade { to { opacity: 1; } }
@keyframes preDraw { to { stroke-dashoffset: 0; } }
@keyframes preUp { to { opacity: 1; transform: none; } }

body.loading { overflow: hidden; }
body.loading .hero .eyebrow, body.loading .hero h1,
body.loading .hero p.lead, body.loading .hero .hero-cta { opacity: 0; }
body.loaded .hero .eyebrow { animation: heroUp 0.7s ease 0.05s both; }
body.loaded .hero h1 { animation: heroUp 0.8s ease 0.18s both; }
body.loaded .hero p.lead { animation: heroUp 0.8s ease 0.34s both; }
body.loaded .hero .hero-cta { animation: heroUp 0.8s ease 0.5s both; }
@keyframes heroUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .preloader { display: none; }
  body.loaded .hero .eyebrow, body.loaded .hero h1,
  body.loaded .hero p.lead, body.loaded .hero .hero-cta { animation: none; }
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; gap: 28px;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg, .brand img.mark { height: 46px; width: auto; }
.brand .wordmark { display: flex; flex-direction: column; line-height: 1; }
.brand .wordmark .elit {
  font-family: "Baloo 2", "Barlow", sans-serif;
  font-weight: 700; font-size: 27px; color: var(--red); letter-spacing: 0.01em;
}
.brand .wordmark .hizmet {
  font-family: "Barlow", sans-serif; font-weight: 600; font-size: 11px;
  letter-spacing: 0.42em; color: var(--ink-2); text-transform: uppercase; margin-top: 2px;
}
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a {
  font-family: "Barlow", sans-serif; font-weight: 600; font-size: 15.5px;
  color: var(--ink-2); transition: color 0.15s;
}
.main-nav a:hover { color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
}
.lang-switch button {
  border: 0; background: transparent; padding: 6px 12px; cursor: pointer;
  font-family: "Barlow", sans-serif; font-weight: 600; font-size: 13px; color: var(--muted);
}
.lang-switch button.active { background: var(--ink); color: #fff; }
.nav-toggle { display: none; border: 0; background: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 10px;
  font-family: "Barlow", sans-serif; font-weight: 600; font-size: 16px;
  transition: background 0.15s, border-color 0.15s, color 0.15s; cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { border-color: rgba(255,255,255,0.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 15px; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--dark); color: #fff; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/hero.jpg") center/cover no-repeat;
  opacity: 0.38;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,13,15,0.55) 0%, rgba(12,13,15,0.25) 55%, rgba(12,13,15,0.92) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: 110px; padding-bottom: 30px; }
.eyebrow {
  font-family: "Barlow", sans-serif; font-weight: 600; font-size: 14px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--red);
}
.hero h1 { font-size: clamp(40px, 6vw, 66px); max-width: 780px; margin: 18px 0 22px; }
.hero p.lead { font-size: 18.5px; color: #c9cbce; max-width: 640px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 90px; }
.stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.16);
}
.stats > div { padding: 28px 24px 34px; border-left: 1px solid rgba(255,255,255,0.16); }
.stats > div:first-child { border-left: 0; padding-left: 0; }
.stats .num {
  font-family: "Barlow Condensed", "Barlow", sans-serif; font-weight: 600;
  font-size: 46px; line-height: 1; color: #fff;
}
.stats .num em { font-style: normal; color: var(--red); }
.stats .lbl { font-size: 14px; color: #a2a6ab; margin-top: 6px; }

/* ---------- sections ---------- */
section { padding: 96px 0; }
.section-label {
  font-family: "Barlow", sans-serif; font-weight: 600; font-size: 14px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--red); margin-bottom: 14px;
}
section h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 20px; }
.section-intro { color: var(--muted); max-width: 640px; font-size: 17.5px; }

/* track record */
.track { border-bottom: 1px solid var(--line); }
.track-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 48px; }
.tr-card {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 28px 32px; background: #fff; overflow: hidden;
}
.tr-card::before {
  content: ""; position: absolute; top: 0; left: 28px; width: 34px; height: 4px;
  background: var(--red);
}
.tr-num {
  font-family: "Barlow Condensed", "Barlow", sans-serif; font-weight: 600;
  font-size: 64px; line-height: 1; color: var(--ink); display: block;
  font-variant-numeric: tabular-nums;
}
.tr-label { margin-top: 10px; color: var(--muted); font-size: 15.5px; }

/* kurumsal */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.split .photo { border-radius: var(--radius); overflow: hidden; }
.split .photo img { width: 100%; height: 560px; object-fit: cover; }
.split p { color: var(--ink-2); margin-bottom: 16px; }
.checklist { list-style: none; margin-top: 22px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; color: var(--ink-2); }
.checklist .tick {
  flex: 0 0 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center;
}
.checklist .tick svg { width: 12px; height: 12px; }

/* hizmetler */
.services { background: var(--bg-soft); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 48px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(17, 18, 20, 0.09); }
.card .thumb { height: 190px; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; margin-bottom: 14px; }
.card ul { list-style: none; margin-bottom: 20px; }
.card ul li { position: relative; padding: 5px 0 5px 22px; font-size: 15px; color: var(--ink-2); }
.card ul li::before {
  content: ""; position: absolute; left: 0; top: 13px;
  width: 9px; height: 9px; background: var(--red); border-radius: 2px;
}
.card .more {
  margin-top: auto; font-family: "Barlow", sans-serif; font-weight: 600;
  color: var(--red); font-size: 15.5px;
}
.card .more:hover { color: var(--red-dark); }

/* neden elit */
.why { position: relative; background: var(--dark); color: #fff; overflow: hidden; }
.why::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/sanayi.jpg") center/cover no-repeat; opacity: 0.14;
}
.why .container { position: relative; z-index: 2; }
.why h2 { color: #fff; }
.why .section-intro { color: #a2a6ab; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 52px; }
.why-item {
  background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 30px 30px 34px;
}
.why-item .no {
  font-family: "Barlow Condensed", "Barlow", sans-serif; font-weight: 600;
  font-size: 44px; color: var(--red); line-height: 1;
}
.why-item h3 { font-size: 20px; margin: 14px 0 8px; }
.why-item p { color: #b6b9bd; font-size: 15.5px; }

/* referanslar */
.ref-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 48px;
}
.ref-grid > div {
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  min-height: 108px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 18px; text-align: center;
}
.ref-grid img { opacity: 0.92; transition: opacity 0.15s, transform 0.2s; }
.ref-grid img.inv { filter: invert(1) grayscale(1); opacity: 0.65; }
.ref-grid img.solid { filter: grayscale(1) brightness(0); opacity: 0.6; }
.ref-grid > div a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; width: 100%; height: 100%; min-height: 108px;
}
.ref-grid > div:hover img { opacity: 1; transform: scale(1.06); }
.ref-grid .name, .ref-grid .sector { opacity: 0.72; transition: opacity 0.15s, color 0.15s; }
.ref-grid > div:hover .name { opacity: 1; color: var(--red); }
.ref-grid .name {
  font-family: "Barlow", sans-serif; font-weight: 700; font-size: 18px;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-2);
}
.ref-grid .sector { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ref-grid img { max-height: 44px; max-width: 150px; width: auto; height: auto; object-fit: contain; }
.ref-note { margin-top: 26px; font-size: 14.5px; color: var(--muted); }

/* iletisim */
.contact { background: var(--bg-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; margin-top: 48px; }
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px;
}
.info-card .ico {
  flex: 0 0 44px; height: 44px; border-radius: 10px; background: #fdecec;
  color: var(--red); display: flex; align-items: center; justify-content: center;
}
.info-card .ico svg { width: 21px; height: 21px; }
.info-card h4 { font-size: 16px; margin-bottom: 3px; }
.info-card p, .info-card a { font-size: 15.5px; color: var(--muted); }
.info-card a:hover { color: var(--red); }
a.info-link { transition: border-color 0.15s, transform 0.15s; }
a.info-link:hover { border-color: var(--red); transform: translateY(-2px); }
a.info-link .maplink {
  display: inline-block; margin-top: 6px; font-family: "Barlow", sans-serif;
  font-weight: 600; font-size: 14px; color: var(--red);
}
.map-embed {
  display: block; position: relative; height: 300px;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
}
.map-tiles {
  position: absolute; width: 768px; height: 768px;
  left: calc(50% - 442px); top: calc(50% - 467px);
  display: grid; grid-template-columns: repeat(3, 256px);
}
.map-tiles img { width: 256px; height: 256px; display: block; }
.map-pin {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%);
  filter: drop-shadow(0 3px 4px rgba(0,0,0,0.3));
}
.map-hint {
  position: absolute; left: 12px; bottom: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 7px 14px; font-family: "Barlow", sans-serif; font-weight: 600;
  font-size: 14px; color: var(--red); box-shadow: 0 4px 14px rgba(17,18,20,0.12);
}
.map-embed:hover .map-hint { background: var(--red); color: #fff; border-color: var(--red); }
.map-credit {
  position: absolute; right: 8px; bottom: 8px; font-size: 11px; color: #444;
  background: rgba(255,255,255,0.85); padding: 2px 7px; border-radius: 5px;
}
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.form-card h3 { font-size: 22px; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card label { display: block; margin-bottom: 14px; font-size: 14px; color: var(--ink-2); }
.form-card input, .form-card textarea {
  width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 9px; font: inherit; font-size: 15px; background: var(--bg-soft);
}
.form-card input:focus, .form-card textarea:focus {
  outline: none; border-color: var(--red); background: #fff;
}
.form-card textarea { min-height: 120px; resize: vertical; }

/* footer */
.site-footer { background: var(--dark); color: #b6b9bd; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 56px; }
.site-footer .brand .hizmet { color: #b6b9bd; }
.site-footer p { font-size: 14.5px; margin-top: 16px; max-width: 300px; }
.site-footer h4 {
  color: #fff; font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { font-size: 15px; }
.site-footer ul a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding: 22px 0;
  font-size: 13.5px; color: #83878c;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

/* reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .main-nav {
    display: none; position: absolute; top: 78px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 18px 24px; gap: 16px;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-actions .btn { display: none; }
  .split, .contact-grid, .why-grid { grid-template-columns: 1fr; }
  .track-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .tr-card { padding: 26px 20px 24px; }
  .tr-num { font-size: 48px; }
  .split .photo img { height: 340px; }
  .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div { border-left: 0; padding-left: 0; }
  .ref-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 68px 0; }
}

@media (max-width: 400px) {
  .tr-num { font-size: 42px; }
  .tr-label { font-size: 14px; }
}
