/* ═══════════════════════════════════════
   KARATAY — ANA SAYFA STİLLERİ
   (önceden inline <style> bloklarında)
   ═══════════════════════════════════════ */

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

:root {
  --red: #EB0000;
  --red-dark: #C40000;
  --black: #000000;
  --gray-900: #1A1A1A;
  --gray-700: #444444;
  --gray-500: #767676;
  --gray-300: #CCCCCC;
  --gray-100: #F5F5F5;
  --white: #FFFFFF;
  --font: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --max: 1280px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

/* ─── NAV ─── */
.nav-top {
  background: var(--red);
  height: 4px;
}

nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-300);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0;
}

.logo-box {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}
@media (min-width: 769px) {
  .logo-text { display: none !important; }
}

.logo-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  padding-left: 14px;
  letter-spacing: -0.01em;
  border-left: 1px solid var(--gray-300);
  margin-left: 14px;
  line-height: 1.2;
}

.logo-sub {
  font-size: 10px;
  font-weight: 400;
  color: var(--gray-500);
  display: block;
  letter-spacing: 0.02em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav-menu li a {
  display: block;
  padding: 0 20px;
  height: 64px;
  line-height: 64px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.nav-menu li a:hover {
  color: var(--black);
  border-bottom-color: var(--red);
}

.nav-menu li.active a {
  color: var(--black);
  border-bottom-color: var(--red);
}

.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 9px 18px !important;
  height: auto !important;
  line-height: 1 !important;
  border-bottom: none !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.005em;
  white-space: nowrap;
  transition: background 0.15s !important;
}

.nav-cta:hover { background: var(--red-dark) !important; border-bottom: none !important; }

/* Hamburger — desktop'ta gizli */
.nav-hamburger { display: none; }
@media (min-width: 769px) {
  .nav-hamburger { display: none !important; }
}

/* ─── HERO ─── */
.hero {
  position: relative;
  height: 470px;
  overflow: hidden;
  background: var(--black);
}

.hero-img {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(105deg,
      rgba(0,0,0,0.78) 0%,
      rgba(0,0,0,0.62) 28%,
      rgba(0,0,0,0.20) 55%,
      rgba(0,0,0,0)    78%),
    linear-gradient(to top, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 30%),
    url('../images/proje/Ana%20sayfa-%20epsan3%20-%20Kopya-1.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
@supports (background-image: image-set(url("a.webp") type("image/webp"))) {
  .hero-img {
    background-image:
      linear-gradient(105deg,
        rgba(0,0,0,0.78) 0%,
        rgba(0,0,0,0.62) 28%,
        rgba(0,0,0,0.20) 55%,
        rgba(0,0,0,0)    78%),
      linear-gradient(to top, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 30%),
      image-set(
        url('../images/proje/Ana%20sayfa-%20epsan3%20-%20Kopya-1.jpg') type('image/jpeg')
      );
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.7;
}

.hero-tag span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--red);
}

.hero h1 {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 640px;
  margin-bottom: 24px;
}

.hero h1 strong {
  color: var(--red);
  font-weight: 700;
}

.hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 12px;
}

.btn-red {
  background: var(--red);
  color: var(--white);
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-red:hover { background: var(--red-dark); }

.btn-red svg { transition: transform 0.15s; }
.btn-red:hover svg { transform: translateX(3px); }

.btn-outline-white {
  border: 1.5px solid rgba(255,255,255,0.4);
  color: var(--white);
  padding: 13px 26px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.005em;
  white-space: nowrap;
  transition: border-color 0.15s;
}

.btn-outline-white:hover { border-color: rgba(255,255,255,0.9); }

.hero-stats {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--white);
  display: flex;
}

.hero-stat {
  padding: 24px 36px;
  border-left: 1px solid var(--gray-300);
  text-align: center;
}

.hero-stat-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero-stat-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-500);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ═══════════════════════════════════════
   RESPONSIVE GRID SYSTEM — 3 katmanlı
   desktop ≥1024 · tablet 768-1023 · mobile ≤767 · small ≤480
   ═══════════════════════════════════════ */

/* ─── TABLET (768 – 1023) ─── */
@media (max-width: 1023px) {
  .nav-inner { padding: 0 24px; }
  .wrap { padding: 0 24px; }

  /* Hizmetler — 2x2 grid, pillar üstte tam genişlik */
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .svc {
    border-right: 1px solid var(--gray-300);
    border-bottom: 1px solid var(--gray-300);
  }
  .svc:nth-of-type(2n) { border-right: none; }    /* a etiketleri arasında çift olanlar = sağ sütun */
  .svc:nth-last-of-type(-n+2) { border-bottom: none; }
  .svc-pillar { padding: 32px 36px; column-gap: 24px; }

  /* Sektörler / Projeler — 2 kolon */
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Hakkımızda — görsel üstte */
  .about { grid-template-columns: 1fr; }
  .about-img { min-height: 360px; }
  .about-body { padding: 56px 40px; }

  /* İletişim — tek kolon */
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  /* Footer — 2x2 */
  .footer-main { grid-template-columns: repeat(2, 1fr); gap: 32px; padding: 48px 32px 32px; }
}

/* ─── MOBILE (≤767) ─── */
@media (max-width: 767px) {
  .nav-inner { padding: 0 20px; height: 56px; }
  .logo-text { display: none; }

  /* Hamburger menü açılır-kapanır */
  .nav-menu {
    display: none;
    position: fixed;
    top: 56px;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    border-bottom: 3px solid var(--red);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    z-index: 99;
  }
  .nav-menu.open { display: flex; }

  .nav-menu li a {
    height: auto !important;
    line-height: 1 !important;
    padding: 18px 24px !important;
    border-bottom: 1px solid var(--gray-100) !important;
    font-size: 15px !important;
    border-bottom-color: var(--gray-100) !important;
  }
  .nav-menu li a:hover,
  .nav-menu li a.active { background: var(--gray-100); }

  .nav-cta {
    margin: 12px 24px 16px !important;
    padding: 14px 24px !important;
    text-align: center;
  }

  .nav-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
  }
  .nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--black);
    transition: transform 0.2s, opacity 0.2s;
  }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .wrap { padding: 0 20px; }

  /* Hero */
  .hero {
    height: auto;
    min-height: 480px;
    overflow: visible; /* stats static olunca kırpma */
  }
  .hero-img {
    /* iOS'ta background-attachment:fixed görüntüyü yarım gösterir — kaldır */
    background-attachment: scroll;
    background-image:
      linear-gradient(180deg,
        rgba(0,0,0,0.45) 0%,
        rgba(0,0,0,0.65) 60%,
        rgba(0,0,0,0.80) 100%),
      url('../images/proje/Ana%20sayfa-%20epsan3%20-%20Kopya-1.jpg');
    /* stats static olunca hero yüksekliği değişir;
       hero-img mutlak konumlandırmasını sadece metin alanına sınırla */
    bottom: auto;
    height: 480px;
  }
  .hero-content {
    padding: 80px 20px 40px;
    min-height: 480px;
    height: auto;
  }
  .hero-stats {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--white);
    border-top: 2px solid var(--gray-100);
  }
  .hero-stat { padding: 16px 8px; border-left: 1px solid var(--gray-100); }
  .hero-stat:first-child { border-left: none; }
  .hero-stat-num { font-size: 22px; color: var(--black); }
  .hero-btns { flex-direction: column; gap: 8px; }
  .btn-red, .btn-outline-white { justify-content: center; text-align: center; }

  /* Section head — başlık + link dikey */
  .sec-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 28px;
    padding-bottom: 16px;
  }

  /* ─── HİZMETLER — tek kolon, ikon sağda numara solda ─── */
  .services { padding: 56px 0; }
  .services-grid { grid-template-columns: 1fr; }

  .svc-pillar {
    padding: 28px 24px 28px 28px;
  }
  .svc-pillar::before { top: 20px; bottom: 20px; }

  .svc {
    padding: 24px 20px 28px;
    border-right: none !important;
    border-bottom: 1px solid var(--gray-300);
    display: grid;
    grid-template-columns: auto 1fr auto;
    column-gap: 14px;
    row-gap: 6px;
    align-items: center;
  }
  .svc:last-child { border-bottom: none; }
  .svc-num { grid-column: 1; grid-row: 1; margin-bottom: 0; }
  .svc-icon { grid-column: 3; grid-row: 1; margin-bottom: 0; width: 22px; height: 22px; opacity: 0.85; }
  .svc-name { grid-column: 1 / -1; grid-row: 2; font-size: 16px; }
  .svc-name br { display: none; }
  .svc-desc { grid-column: 1 / -1; grid-row: 3; }
  .svc-arrow { opacity: 0.35; bottom: 22px; right: 18px; width: 22px; height: 22px; }

  /* ─── SEKTÖRLER — tek kolon ─── */
  .sectors { padding: 56px 0; }
  .sectors-grid { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--gray-300); }
  .sector {
    padding: 22px 8px;
    border-bottom: 1px solid var(--gray-300);
  }
  .sector:hover { border-bottom-color: var(--red); }

  /* ─── PROJELER — tek kolon ─── */
  .projects { padding: 56px 0; }
  .projects-grid { grid-template-columns: 1fr; gap: 16px; }
  .proj-img { height: auto; aspect-ratio: 4/3; }

  /* ─── HAKKIMIZDA ─── */
  .about-img { min-height: 280px; }
  .about-body { padding: 40px 24px; }
  .about-text { font-size: 14px; }
  .fact { padding: 18px 16px; }
  .fact-num { font-size: 28px; }

  /* ─── İLETİŞİM ─── */
  .contact { padding: 56px 0; }
  .contact-grid { gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .fld { border-right: none !important; }
  .fld:nth-child(even) { border-right: none; }
  .form-footer { flex-direction: column; gap: 14px; align-items: stretch; padding: 18px 18px; }
  .form-footer .btn-red { justify-content: center; }

  /* ─── REFERANS TICKER — mobilde statik 2 kolon logo duvarı ─── */
  .refs { padding: 24px 0; }
  .refs-bant { padding: 12px 20px 6px; }
  .refs-ticker-wrap {
    mask-image: none;
    -webkit-mask-image: none;
    padding: 8px 20px 16px;
    overflow: visible;
  }
  .refs-ticker {
    animation: none !important;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 20px;
    width: 100%;
  }
  .ref-sep { display: none; }
  .ref-kart { padding: 0; }
  .ref-logo-img { filter: brightness(0) invert(1) opacity(0.45); }
  .ref-kart-isim { color: rgba(255,255,255,0.45); font-size: 12px; }

  /* ─── FOOTER ─── */
  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 20px 28px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    padding: 18px 20px;
    text-align: center;
  }
  .footer-legal { justify-content: center; }
}

/* ─── SMALL MOBILE (≤480) ─── */
@media (max-width: 480px) {
  .hero h1 { font-size: clamp(32px, 8vw, 44px); }
  .hero-sub { font-size: 15px; }
  .fact-num { font-size: 24px; }
  .hero-stat-num { font-size: 20px; }
  .svc-pillar { padding: 24px 20px 24px 22px; }
  .svc-pillar-title { font-size: 18px; }
}

/* ─── WRAPPER ─── */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

/* ─── SECTION HEAD ─── */
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--black);
}

.sec-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.sec-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.sec-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: gap 0.15s;
}

.sec-link:hover { gap: 10px; }

/* ─── HİZMETLER ─── */
.services { padding: 80px 0; background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--gray-300);
}

/* Çatı felsefe (manifesto) kartı — full width */
.svc-pillar {
  grid-column: 1 / -1;
  background: var(--black);
  color: var(--white);
  padding: 40px 56px;
  position: relative;
  border-bottom: 1px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.svc-pillar::before {
  content: '';
  position: absolute;
  left: 0;
  top: 28px;
  bottom: 28px;
  width: 3px;
  background: var(--red);
}

.svc-pillar-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.svc-pillar-title {
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
}

.svc-pillar-title strong { color: var(--red); font-weight: 700; }

.svc-pillar-meta {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.svc {
  padding: 36px 28px;
  border-right: 1px solid var(--gray-300);
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}

.svc:last-child { border-right: none; }
.svc:hover { background: var(--gray-100); }

.svc-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  display: block;
}

.svc-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  color: var(--red);
  transition: color 0.15s;
}

.svc-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.svc-desc {
  font-size: 13px;
  font-weight: 400;
  color: var(--gray-500);
  line-height: 1.6;
}

.svc-arrow {
  position: absolute;
  bottom: 28px;
  right: 28px;
  width: 28px;
  height: 28px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.15s;
}

.svc:hover .svc-arrow { opacity: 1; }

/* ─── SEKTÖRLER ─── */
.sectors { padding: 80px 0; background: var(--gray-100); }

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.sector {
  background: var(--white);
  padding: 32px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s, background 0.15s;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}
a.sector:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }

.sector:hover {
  border-bottom-color: var(--red);
  background: var(--white);
}

.sector-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sector-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  flex-shrink: 0;
}

.sector-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.01em;
}

.sector-count {
  font-size: 11px;
  font-weight: 400;
  color: var(--gray-500);
  margin-top: 2px;
}

.sector-arrow {
  color: var(--gray-300);
  transition: color 0.15s, transform 0.15s;
}

.sector:hover .sector-arrow {
  color: var(--red);
  transform: translateX(4px);
}

/* ─── PROJELER ─── */
.projects { padding: 80px 0; background: var(--white); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.proj {
  background: var(--gray-100);
  overflow: hidden;
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s;
}
a.proj:hover .proj-img { transform: scale(1.04); }
a.proj:hover .proj-name { color: var(--red); }
.proj-img { transition: transform 0.4s ease; }
a.proj:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.proj-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
  filter: grayscale(20%);
}

.proj:hover .proj-img { transform: scale(1.04); filter: grayscale(0%); }

.proj-body {
  padding: 20px 22px 24px;
  background: var(--white);
  border-top: 3px solid var(--gray-100);
  transition: border-color 0.15s;
}

.proj:hover .proj-body { border-top-color: var(--red); }

.proj-cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.proj-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.proj-client {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 400;
}

/* ─── REFERANSLAR ─── */
.refs {
  padding: 32px 0;
  background: var(--black);
}

.refs-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 64px;
}

.refs-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.refs-line {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

.refs-logos {
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
}

.ref-logo {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
  cursor: default;
}

.ref-logo:hover { color: var(--white); }

/* Referans logo kartları */
.ref-kart {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px;
  cursor: default;
  transition: opacity 0.2s;
}

.ref-kart:hover { opacity: 1 !important; }

.ref-logo-img {
  height: 28px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.28);
  transition: filter 0.25s;
  display: block;
  flex-shrink: 0;
}

.ref-kart:hover .ref-logo-img {
  filter: brightness(0) invert(1) opacity(0.7);
}

.ref-kart-isim {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.25s;
}

.ref-kart:hover .ref-kart-isim {
  color: rgba(255,255,255,0.7);
}

/* ─── HAKKIMIZDA ─── */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-img {
  background-image: url('../images/sayfa resimleri/epsan fz iç3.jpg');
  background-size: cover;
  background-position: center;
  min-height: 520px;
  position: relative;
}

.about-img::after {
  content: 'Bursa, 2008';
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.5);
  padding: 6px 12px;
}

.about-body {
  padding: 72px 64px;
  background: var(--gray-100);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-text {
  font-size: 15px;
  font-weight: 400;
  color: var(--gray-700);
  line-height: 1.75;
  margin-top: 16px;
  margin-bottom: 40px;
}

.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--gray-300);
  margin-top: 40px;
}

.fact {
  padding: 24px 28px;
  border-right: 1px solid var(--gray-300);
  border-bottom: 1px solid var(--gray-300);
}

.fact:nth-child(even) { border-right: none; }
.fact:nth-child(3), .fact:nth-child(4) { border-bottom: none; }

.fact-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: -0.04em;
  line-height: 1;
}

.fact-label {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 4px;
  font-weight: 400;
}

/* ─── İLETİŞİM ─── */
.contact {
  padding: 80px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: stretch;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-detail {
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-300);
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-detail:first-child { border-top: 1px solid var(--gray-300); }

.cd-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.cd-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  line-height: 1.5;
}

.cd-saat {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 4px 0;
}

.cd-saat-gun { color: var(--black); font-weight: 500; }
.cd-saat-deger { color: var(--gray-500); }

.form {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--gray-300);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.fld {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--gray-300);
  border-right: 1px solid var(--gray-300);
  transition: background 0.15s, box-shadow 0.15s;
  position: relative;
}

.fld:nth-child(even) { border-right: none; }
.fld.full {
  grid-column: 1 / -1;
  border-right: none;
}

.fld:focus-within {
  background: var(--gray-100);
  box-shadow: inset 3px 0 0 var(--red);
}

.fld label {
  font-size: 10px;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 20px 4px;
  transition: color 0.15s;
}

.fld:focus-within label { color: var(--red); }

.fld input,
.fld select,
.fld textarea {
  border: none;
  outline: none;
  padding: 4px 20px 14px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  color: var(--black);
  background: transparent;
  width: 100%;
}

/* Endüstriyel select — native ok kaldırıldı, kırmızı SVG chevron */
.fld select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' fill='none' stroke='%23EB0000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-position: right 20px center;
  background-repeat: no-repeat;
  padding-right: 44px;
  cursor: pointer;
}

.fld select::-ms-expand { display: none; }

.fld textarea {
  min-height: 120px;
  resize: vertical;
  padding-top: 8px;
}

/* Geçerli/geçersiz state — kalibreli geri bildirim */
.fld:has(input:invalid:not(:placeholder-shown):not(:focus)) {
  box-shadow: inset 3px 0 0 var(--red);
}
.fld:has(input:invalid:not(:placeholder-shown):not(:focus)) label {
  color: var(--red);
}

.form-footer {
  padding: 20px 20px;
  background: var(--gray-100);
  border-top: 1px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-note {
  font-size: 12px;
  color: var(--gray-500);
}

/* ─── FOOTER ─── */
footer {
  background: var(--black);
  border-top: 4px solid var(--red);
}

.footer-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 40px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {}

.footer-logo-box {
  display: block;
  height: 60px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  max-width: 240px;
  font-weight: 300;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
  transition: color 0.15s;
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  transition: color 0.15s;
}

.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ── Inline utility'lerden çıkarılanlar ── */
.proj-img-wrap { overflow: hidden; }
.refs-bant { padding: 20px 40px 8px; max-width: var(--max); margin: 0 auto; }
.about-h2-sm { font-size: clamp(24px, 3vw, 38px); }
.btn-self-start { align-self: flex-start; margin-top: 8px; }

/* ── REFERANS TICKER ── */
.refs-ticker-wrap {
  overflow: hidden;
  width: 100%;
  padding: 8px 0 16px;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.refs-ticker {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: ticker 35s linear infinite;
}

.refs-ticker:hover { animation-play-state: paused; }

.ref-sep {
  color: rgba(255,255,255,0.15);
  font-size: 16px;
  padding: 0 20px;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── MOTION SYSTEM ── */
/* ── MOTION SYSTEM ── */

/* Reduced motion desteği */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-child { opacity: 1 !important; transform: none !important; }
}

/* Başlangıç durumu — görünmez ve hafif aşağıda */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

/* Staggered child'lar için */
.reveal-child {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

/* Görünür hale gelince */
.reveal.in-view,
.reveal-child.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger gecikmeleri */
.reveal-child:nth-child(1) { transition-delay: 0ms; }
.reveal-child:nth-child(2) { transition-delay: 80ms; }
.reveal-child:nth-child(3) { transition-delay: 160ms; }
.reveal-child:nth-child(4) { transition-delay: 240ms; }
.reveal-child:nth-child(5) { transition-delay: 320ms; }
.reveal-child:nth-child(6) { transition-delay: 400ms; }

/* Hero parallax kaldırıldı — background-attachment: fixed kullanılıyor */

/* Nav scroll efekti */
nav {
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
nav.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
}

/* ─── TEMEL STİLLER SONRASI RESPONSİVE DÜZELTMELER ───
   Aşağıdaki kurallar temel stillerden sonra gelir, bu yüzden
   medya sorgularının doğru çalışması için buraya eklendi.
   ─────────────────────────────────────────────────── */

@media (max-width: 1023px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .about { grid-template-columns: 1fr; }
  .about-img { min-height: 360px; }
  .about-body { padding: 56px 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-main { grid-template-columns: repeat(2, 1fr); gap: 32px; padding: 48px 32px 32px; }
}

@media (max-width: 767px) {
  .services-grid { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--gray-300); }
  .projects-grid { grid-template-columns: 1fr; gap: 16px; }
  .about { grid-template-columns: 1fr; }
  .about-img { min-height: 280px; }
  .about-body { padding: 40px 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; padding: 40px 20px 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; padding: 18px 20px; text-align: center; }
  .footer-legal { justify-content: center; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
}
