/* SOVO — Sovo Metal · style.css
   Bu dosya build ile üretilir: fonts + base.css + site.css.
   Düzenlemek için shared/css/base.css veya sites/<site>/site.css dosyasına bakın. */

/* ── Yerel fontlar (Google Fonts yerine; KVKK / GDPR uyumlu) ── */

/* bebas-neue-latin-ext-400-normal */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(../fonts/bebas-neue-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* bebas-neue-latin-400-normal */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(../fonts/bebas-neue-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* dm-sans-latin-ext-300-normal */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 300;
  src: url(../fonts/dm-sans-latin-ext-300-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* dm-sans-latin-300-normal */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 300;
  src: url(../fonts/dm-sans-latin-300-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* dm-sans-latin-ext-400-normal */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(../fonts/dm-sans-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* dm-sans-latin-400-normal */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(../fonts/dm-sans-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* dm-sans-latin-ext-500-normal */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(../fonts/dm-sans-latin-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* dm-sans-latin-500-normal */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(../fonts/dm-sans-latin-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ============================================================
   SOVO — Ortak Taban Stil Dosyası
   Dört sitenin (Grup, Mekanik, Enerji, Metal) paylaştığı her şey burada.
   Siteye özel kurallar site.css içindedir; build bu iki dosyayı
   (ve fontları) birleştirip tek bir style.css üretir.

   İÇİNDEKİLER
   01. Değişkenler (tema renkleri)
   02. Reset ve temel
   03. Erişilebilirlik (skip-link, odak, reduced-motion)
   04. Butonlar
   05. Header, menü, dil seçici
   06. Hero iskeleti
   07. Bölüm başlıkları ve ortak parçalar
   08. Hakkımızda + istatistik ızgarası
   09. Bilgi kartları (hizmet / özellik)
   10. Referans ızgarası
   11. İletişim + harita
   12. Footer
   13. Animasyonlar (reveal, fade-in)
   14. Responsive
   ============================================================ */


/* ============================================================
   01. DEĞİŞKENLER
   Kontrast notu: --muted ve --accent-text, açık zeminde WCAG AA
   (4.5:1) sağlar. --accent ise yalnızca çizgi, ikon ve dolgu içindir.
   ============================================================ */

:root {
  --ink:            #3d3d3d;
  --muted:          #6b6b6b;   /* küçük metin (4.97:1) */
  --muted-display:  #898989;   /* iri başlıklardaki soluk kelimeler (3.27:1) */
  --line:           rgba(61, 61, 61, 0.12);
  --bg:             #f7f7f7;
  --white:          #ffffff;

  --font-display: 'Bebas Neue', 'Arial Narrow', Impact, sans-serif;
  --font-body:    'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --nav-h:   60px;
  --gutter:  40px;
  --radius:  4px;
  --ease:    cubic-bezier(0.4, 0, 0.2, 1);

  /* Varsayılan tema: teal (aşağıdaki [data-theme] bloklarıyla değişir) */
  --accent:         #008080;
  --accent-rgb:     0, 128, 128;
  --accent-display: #008080;
  --accent-text:    #007a7a;
  --accent-fill:    #008080;
  --on-accent:      #ffffff;
}

[data-theme="teal"] {
  --accent:         #008080;
  --accent-rgb:     0, 128, 128;
  --accent-display: #008080;   /* iri başlık (4.46:1) */
  --accent-text:    #007a7a;   /* küçük metin (4.82:1) */
  --accent-fill:    #008080;   /* buton dolgusu, üstünde beyaz (4.77:1) */
  --on-accent:      #ffffff;
}

[data-theme="orange"] {
  --accent:         #f98e00;
  --accent-rgb:     249, 142, 0;
  --accent-display: #d97400;   /* iri başlık (3.04:1) */
  --accent-text:    #9c5000;   /* küçük metin (5.50:1) */
  --accent-fill:    #f98e00;   /* buton dolgusu, üstünde koyu yazı (4.60:1) */
  --on-accent:      #3d3d3d;
}

[data-theme="steel"] {
  --accent:         #4682b4;
  --accent-rgb:     70, 130, 180;
  --accent-display: #4682b4;   /* iri başlık (3.83:1) */
  --accent-text:    #2f6b9a;   /* küçük metin (5.31:1) */
  --accent-fill:    #3b73a3;   /* buton dolgusu, üstünde beyaz (5.04:1) */
  --on-accent:      #ffffff;
}


/* ============================================================
   02. RESET VE TEMEL
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

address {
  font-style: normal;
}

[hidden] {
  display: none !important;
}


/* ============================================================
   03. ERİŞİLEBİLİRLİK
   ============================================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--on-accent);
  background: var(--accent-fill);
  border-radius: 100px;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Koyu zeminli veya dolgulu öğelerde beyaz halka */
.btn:focus-visible,
.skip-link:focus-visible {
  outline-color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ============================================================
   04. BUTONLAR
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 22px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
}

.btn-primary {
  color: var(--on-accent);
  background: var(--accent-fill);
}

.btn-outline {
  color: var(--accent-text);
  background: transparent;
  border-color: var(--accent-text);
}

@media (hover: hover) {
  .btn-primary:hover {
    opacity: 0.88;
  }

  .btn-outline:hover {
    color: var(--on-accent);
    background: var(--accent-fill);
    border-color: var(--accent-fill);
  }
}


/* ============================================================
   05. HEADER, MENÜ, DİL SEÇİCİ
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(247, 247, 247, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav-h);
  padding: 0 var(--gutter);
}

.nav-logo img {
  height: 22px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a:not(.btn) {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:not(.btn):hover,
.nav-links a[aria-current] {
  color: var(--accent-text);
}

/* Menüdeki mobil-özel satırlar (Katalog / Teklif Al) masaüstünde gizli */
.nav-links .nav-links-extra {
  display: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburger — yalnızca mobilde görünür */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: '';
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after  { top:  5px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars          { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before  { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after   { transform: translateY(-5px) rotate(-45deg); }


/* ── Dil seçici (<details> tabanlı; JS olmadan da çalışır) ── */

.lang {
  position: relative;
}

.lang summary {
  list-style: none;
}

.lang summary::-webkit-details-marker {
  display: none;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.lang-btn svg {
  width: 10px;
  height: 10px;
  transition: transform 0.2s;
}

.lang[open] .lang-btn svg {
  transform: rotate(180deg);
}

.lang[open] .lang-btn,
.lang-btn:hover {
  color: var(--accent-text);
  border-color: var(--accent-text);
}

.lang-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 200;
  min-width: 100px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(61, 61, 61, 0.10);
}

.lang-list a {
  display: block;
  padding: 11px 16px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.lang-list a:hover {
  color: var(--accent-text);
  background: rgba(var(--accent-rgb), 0.06);
}

.lang-list a[aria-current] {
  color: var(--accent-text);
  font-weight: 500;
}


/* ============================================================
   06. HERO İSKELETİ (Mekanik, Enerji, Metal)
   ============================================================ */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 60px) var(--gutter) 64px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#hero-canvas {
  width: 100%;
  height: 100%;
}

.hero-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-text);
}

.hero-tag::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  position: relative;
  max-width: 700px;
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 110px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 2px;
  color: var(--ink);
}

.hero-title span {
  color: var(--accent-display);
}

.hero-sub {
  position: relative;
  max-width: 440px;
  margin-top: 28px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
}

.hero-bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
}

.hero-stats {
  display: flex;
  gap: 48px;
}

/* <dl> içinde terim önce gelir; görsel olarak sayı üstte durur */
.hero-stats > div {
  display: flex;
  flex-direction: column-reverse;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 2px;
  line-height: 1;
  color: var(--ink);
}

.hero-stat-num span {
  color: var(--accent-display);
}

.hero-stat-label {
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-scroll {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}

.hero-scroll-line {
  position: relative;
  width: 40px;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  animation: scanline 2s ease-in-out infinite;
}

@keyframes scanline {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}


/* ============================================================
   07. BÖLÜM BAŞLIKLARI VE ORTAK PARÇALAR
   ============================================================ */

.section {
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 64px var(--gutter) 40px;
}

.section-head-main {
  max-width: 480px;
}

.section-head-desc {
  max-width: 360px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
}

.section-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-text);
}

.section-tag::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 1;
  color: var(--ink);
}

.text {
  margin-bottom: 24px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink);
}

.link-arrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.link-arrow:hover {
  color: var(--accent-text);
  border-color: var(--accent-text);
}


/* ============================================================
   08. HAKKIMIZDA + İSTATİSTİK IZGARASI
   ============================================================ */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.about-text-col {
  min-width: 0;
  overflow-wrap: break-word;
  padding: 80px var(--gutter);
  border-right: 1px solid var(--line);
}

.about-media-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 80px var(--gutter);
}

.about-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 40px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  padding: 24px;
  background: var(--bg);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 38px;
  letter-spacing: 2px;
  line-height: 1;
  color: var(--ink);
}

.stat-num span {
  color: var(--accent-display);
}

.stat-label {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 1.5px;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--muted);
}


/* ============================================================
   09. BİLGİ KARTLARI (Enerji hizmetleri, Metal özellikleri)
   ============================================================ */

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}

.info-card {
  position: relative;
  padding: 48px var(--gutter);
  overflow: hidden;
  background: var(--bg);
}

/* Üst çizgi — hover'da soldan açılır */
.info-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.info-card:hover::after {
  transform: scaleX(1);
}

.info-num {
  display: block;
  margin-bottom: -16px;
  font-family: var(--font-display);
  font-size: 80px;
  letter-spacing: 2px;
  line-height: 1;
  color: rgba(61, 61, 61, 0.05);
}

.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.info-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-title {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 3px;
  line-height: 1.1;
}

.info-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
}


/* ============================================================
   10. REFERANS IZGARASI
   ============================================================ */

.ref-grid {
  --ref-cols: 4;               /* siteye göre site.css'te değişir */
  display: grid;
  grid-template-columns: repeat(var(--ref-cols), 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}

.ref-card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg);
}

.ref-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: transform 0.5s ease, filter 0.5s ease;
}

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

.ref-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 16px 12px;
  background: linear-gradient(to top, rgba(40, 40, 40, 0.78) 0%, transparent 100%);
}

.ref-name {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 1.5px;
  color: var(--white);
}

.ref-detail {
  display: block;
  font-size: 11px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.85);
}

/* Fotoğrafı henüz olmayan referanslar: bilinçli görünen desenli kart */
.ref-card--nophoto {
  background:
    repeating-linear-gradient(135deg, rgba(var(--accent-rgb), 0.06) 0 1px, transparent 1px 14px),
    var(--white);
}

.ref-card--nophoto .ref-label {
  background: none;
}

.ref-card--nophoto .ref-name   { color: var(--ink); }
.ref-card--nophoto .ref-detail { color: var(--muted); }

.ref-card-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.55;
}


/* ============================================================
   11. İLETİŞİM + HARİTA
   ============================================================ */

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

.contact-main {
  padding: 80px var(--gutter);
  border-right: 1px solid var(--line);
}

.contact-offices {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 80px var(--gutter);
}

.contact-office + .contact-office {
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.contact-office-name {
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-text);
}

.contact-office address {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink);
}

.contact-office a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.contact-office a:hover {
  color: var(--accent-text);
  border-color: var(--accent-text);
}

/* Harita: Google'a istek, kullanıcı tıklayana kadar yapılmaz (KVKK / GDPR) */
.map {
  position: relative;
  height: 260px;
  overflow: hidden;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
}

.map-note {
  max-width: 340px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}


/* ============================================================
   12. FOOTER
   ============================================================ */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 24px;
  padding: 20px var(--gutter);
  border-top: 1px solid var(--line);
}

.footer-logo img {
  height: 18px;
  width: auto;
  opacity: 0.55;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-links a {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover,
.footer-links a[aria-current] {
  color: var(--accent-text);
}

.footer-copy {
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--muted);
}

/* Grup şirketleri şeridi — kardeş siteler arası iç bağlantı */
.footer-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.footer-group-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}


/* ============================================================
   13. ANİMASYONLAR
   Giriş animasyonları yalnızca JS çalışıyorsa gizler:
   (scripting: enabled) desteklemeyen eski tarayıcılarda içerik
   her zaman görünür kalır.
   ============================================================ */

.fade-in {
  animation: fade-in 0.6s ease both;
}

.fi-1 { animation-delay: 0.05s; }
.fi-2 { animation-delay: 0.15s; }
.fi-3 { animation-delay: 0.25s; }
.fi-4 { animation-delay: 0.35s; }

@keyframes fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

@media (scripting: enabled) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal.visible {
    opacity: 1;
    transform: none;
  }
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


/* ============================================================
   14. RESPONSIVE
   Kırılma noktaları: 1200 (küçük laptop) · 900 (tablet) · 600 (telefon)
   ============================================================ */

@media (max-width: 1200px) {
  :root { --gutter: 32px; }

  .ref-grid { grid-template-columns: repeat(min(var(--ref-cols), 3), 1fr); }
  .info-card { padding: 40px 28px; }
}

@media (max-width: 900px) {
  :root { --gutter: 20px; }

  /* Menü: hamburger + açılır panel */
  .nav-toggle { display: inline-flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(61, 61, 61, 0.08);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0s 0.2s;
  }

  .nav-links.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }

  .nav-links a:not(.btn) {
    display: block;
    padding: 14px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--line);
  }

  .nav-links .nav-links-extra {
    display: block;
  }

  .nav-links .nav-links-extra .btn {
    width: 100%;
    margin-top: 14px;
    padding: 12px 22px;
  }

  .nav-right .btn { display: none; }

  .hero {
    min-height: auto;
    padding: calc(var(--nav-h) + 56px) var(--gutter) 48px;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 48px var(--gutter) 32px;
  }

  .about,
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-text-col,
  .contact-main {
    padding: 48px var(--gutter);
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .about-media-col,
  .contact-offices {
    padding: 48px var(--gutter);
  }

  .info-grid { grid-template-columns: 1fr 1fr; }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-links,
  .footer-group {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .info-grid  { grid-template-columns: 1fr; }
  .ref-grid   { grid-template-columns: repeat(2, 1fr); }
  .stat-grid  { grid-template-columns: 1fr; }

  .hero-stats { gap: 32px; }
  .ref-label  { padding: 20px 12px 10px; }
  .ref-name   { font-size: 13px; }
}

/* ── 404 ── */
.e404 { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; padding: 3rem 1.5rem; text-align: center; }
.e404-logo img { height: 36px; width: auto; }
.e404-code { font-family: 'Bebas Neue', sans-serif; font-size: clamp(6rem, 22vw, 12rem); line-height: .9; letter-spacing: .04em; color: var(--muted-display, #898989); }
.e404-msg { max-width: 34rem; display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.e404-msg + .e404-msg { padding-top: 1.25rem; border-top: 1px solid rgba(61,61,61,.12); }
.e404-msg h1 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 2rem; letter-spacing: .04em; }
.e404-msg p { color: var(--muted); }



/* ============================================================
   SOVO METAL — Siteye özel stiller
   Ortak bileşenler base.css'te. Burada yalnızca Metal'e özgü
   farklar bulunur (tema rengi body[data-theme="steel"] ile gelir).
   ============================================================ */

.nav-logo img {
  height: 33px;
}

/* "Önce Mühendislik" gibi uzun ifadeler için daha küçük istatistik başlığı */
.stat-num {
  font-size: 24px;
  letter-spacing: 1px;
  line-height: 1.2;
}

.stat-label {
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.6;
}

/* 3 referans: 3 sütun, daha yatay kart */
.ref-grid {
  --ref-cols: 3;
}

.ref-card {
  aspect-ratio: 16 / 10;
}
