/*
  Atazer Mühendislik — atazer.css
  Renk paleti (logodan):
    Zemin koyu   : #0d1a42   (en derin lacivert)
    Zemin ana    : #132055   (bölüm zemini)
    Vurgu lacivert: #1e2f6e  (logo rengi)
    Açık lacivert: #2a3f8a   (hover, aktif)
    İnce çizgi   : rgba(255,255,255,0.09)
    Metin ana    : #ffffff
    Metin ikincil: rgba(255,255,255,0.62)
    Metin üçüncül: rgba(255,255,255,0.35)
    Aksan beyaz  : rgba(255,255,255,0.1)  (yüzey)
    Projeler bg  : #0a1535   (biraz daha koyu)
*/

/* ── RESET ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  background: #0d1a42;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url('logo_transparent.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(75vw, 700px); /* Dev boyutta logo */
  mix-blend-mode: screen;
  opacity: 0.045; /* Şeffaf watermark */
  pointer-events: none;
  z-index: 1; /* Arka planların üzerinde durması için 1 yapıldı (İçerikler z-index: 2 ile bunun üstüne çıkacak) */
}
img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2; /* Arka plan filigranının üzerine çıkması için */
}
@media (max-width: 600px) { .wrap { padding: 0 20px; } }

/* ══════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(13, 26, 66, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background .35s, box-shadow .35s;
}
.site-nav.scrolled {
  background: rgba(10, 20, 55, 0.97);
  box-shadow: 0 4px 32px rgba(0,0,0,.35);
}

.nav-inner {
  max-width: 1140px; margin: 0 auto;
  padding: 0 40px;
  height: 114px; /* Logo için daha fazla alan */
  display: flex; align-items: center; gap: 32px;
  transition: height .3s ease;
}
.site-nav.scrolled .nav-inner {
  height: 82px; /* Kaydırıldığında küçülme boyutu */
}
@media (max-width: 600px) { .nav-inner { padding: 0 20px; } }

/* Logo — lacivert arka plan ile harmanlanır */
.nav-logo img {
  height: 82px; width: auto; /* Logo belirgin şekilde büyütüldü */
  object-fit: contain;
  display: block;
  mix-blend-mode: screen; /* JPEG'in siyah arka planını saydamlaştırır */
  opacity: 0.9;
  transition: opacity .25s, transform .2s ease-in-out, height .3s ease;
  filter: contrast(1.25) brightness(0.95); /* Koyu arkaplan sınır çizgilerini yok eder */
}
.site-nav.scrolled .nav-logo img {
  height: 58px; /* Kaydırıldığında logo boyutu */
}
.nav-logo:hover img { opacity: 1; transform: scale(1.02); }

.nav-menu {
  display: flex; gap: 2px; margin-left: auto;
}
.nav-menu a {
  font-size: .875rem; font-weight: 500;
  color: rgba(255,255,255,0.65);
  padding: 7px 14px; border-radius: 7px;
  transition: color .2s, background .2s;
}
.nav-menu a:hover {
  color: #fff;
  background: rgba(255,255,255,0.07);
}

.nav-cta {
  font-size: .875rem; font-weight: 600;
  color: #0d1a42;
  background: #fff;
  padding: 8px 22px; border-radius: 8px;
  white-space: nowrap;
  transition: background .2s, transform .2s, opacity .2s;
}
.nav-cta:hover { background: #e8eaf5; transform: translateY(-1px); }

/* Burger */
.burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
  margin-left: auto;
}
.burger span {
  display: block; width: 22px; height: 1.5px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px; transition: transform .3s, opacity .3s;
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }

/* Mobile nav */
.mobile-nav {
  display: none; flex-direction: column;
  padding: 16px 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
  gap: 2px;
  background: rgba(10, 20, 55, 0.98);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1rem; font-weight: 500;
  color: rgba(255,255,255,0.7);
  padding: 12px 16px; border-radius: 8px;
  transition: background .2s, color .2s;
}
.mobile-nav a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.mobile-cta {
  margin-top: 8px;
  color: #fff !important; font-weight: 600 !important;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px !important;
}

/* ══════════════════════════════════════════════════
   HERO — sola koyu lacivert / sağa fotoğraf
══════════════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 114px; /* Navbar yüksekliğine göre güncellendi */
  background: #0d1a42;
}

.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 64px 80px 40px;
  max-width: 620px; margin-left: auto;
  position: relative;
  z-index: 2; /* Arka plan filigranının üzerine çıkması için */
}
@media (max-width: 1140px) { .hero-left { padding: 72px 40px; } }

.hero-eyebrow {
  font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 28px;
}

.hero-h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 400; line-height: 1.06;
  color: #fff; margin-bottom: 28px;
}
/* italic em rengi: logo lacivertinin açık tonu, beyaz zemin üzerinden ayrışır */
.hero-h1 em {
  font-style: italic;
  color: rgba(255,255,255,0.5);
}

.hero-body {
  font-size: 1.05rem; color: rgba(255,255,255,0.58);
  line-height: 1.72; max-width: 420px; margin-bottom: 44px;
}

.hero-link {
  font-size: .92rem; font-weight: 600; color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.35);
  padding-bottom: 2px; width: fit-content;
  transition: border-color .2s, opacity .2s;
}
.hero-link:hover { border-color: #fff; }
.hero-link span { margin-left: 4px; display: inline-block; transition: transform .2s; }
.hero-link:hover span { transform: translateX(4px); }

.hero-right {
  overflow: hidden;
  position: relative;
  z-index: 2; /* Arka plan filigranının üzerine çıkması için (Hero görselini kurtarır) */
}
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* ══════════════════════════════════════════════════
   ABOUT — biraz daha açık lacivert
══════════════════════════════════════════════════ */
.about { background: #132055; padding: 120px 0; }

.about-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
@media (max-width: 600px) { .about-inner { padding: 0 20px; } }

.about-img-col img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  border-radius: 4px;
  /* Fotoğrafı temaya uydurmak için ince bir lacivert ton tint */
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06);
}

.about-text-col h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400; line-height: 1.15;
  color: #fff; margin-bottom: 28px;
}

.about-text-col > p {
  font-size: 1rem; color: rgba(255,255,255,0.58);
  line-height: 1.78; margin-bottom: 48px;
}

.about-figures {
  display: flex; gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px; margin-bottom: 40px;
}
.figure {
  flex: 1; padding-right: 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
  margin-right: 24px;
}
.figure:last-child { border-right: none; margin-right: 0; padding-right: 0; }

.fig-num {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 2.2rem; color: #fff; line-height: 1; margin-bottom: 6px;
}
.fig-label { font-size: .76rem; color: rgba(255,255,255,0.38); font-weight: 500; letter-spacing: .03em; }

.about-team {
  display: flex; flex-direction: column; gap: 16px;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.1);
}
.person { display: flex; flex-direction: column; gap: 3px; }
.person strong { font-size: .95rem; font-weight: 600; color: #fff; }
.person span   { font-size: .8rem; color: rgba(255,255,255,0.4); }

/* ══════════════════════════════════════════════════
   SERVICES — en koyu zemin, numaralı liste
══════════════════════════════════════════════════ */
.services { background: #0d1a42; padding: 120px 0; }

.services-head { margin-bottom: 64px; }
.services-head h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400; color: #fff; margin-bottom: 12px;
}
.services-head p { font-size: 1rem; color: rgba(255,255,255,0.45); max-width: 440px; }

.services-list {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255,255,255,0.09);
}

.svc {
  display: grid; grid-template-columns: 64px 1fr;
  padding: 40px 40px 40px 0;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  border-right: 1px solid rgba(255,255,255,0.09);
  transition: background .28s;
}
.svc:nth-child(even) {
  border-right: none;
  padding: 40px 0 40px 40px;
}
.svc:hover { background: rgba(255,255,255,0.032); }

.svc-n {
  font-family: 'DM Serif Display', serif;
  font-size: 1.05rem; color: rgba(255,255,255,0.18);
  padding-top: 3px; transition: color .25s;
}
.svc:hover .svc-n { color: rgba(255,255,255,0.5); }

.svc-body h3 { font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 10px; }
.svc-body p  { font-size: .88rem; color: rgba(255,255,255,0.48); line-height: 1.68; }

/* ══════════════════════════════════════════════════
   PROJECTS — en derin ton
══════════════════════════════════════════════════ */
.projects { padding: 120px 0; background: #0a1535; }

.proj-heading {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400; color: #fff;
  margin-bottom: 48px;
}

.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
}

.proj-item {
  position: relative;
  display: flex;
  flex-direction: column;
}

.proj-photo {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 4px;
}

.proj-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.25,.46,.45,.94), filter .3s ease;
  display: block;
  filter: brightness(0.85) saturate(0.8);
}
.proj-item:hover .proj-photo img {
  transform: scale(1.04);
  filter: brightness(0.95) saturate(1);
}

.proj-meta {
  padding-top: 16px;
}

.proj-cat {
  font-size: .72rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); display: block; margin-bottom: 8px;
}

.proj-meta h3 {
  font-size: 1.05rem; font-weight: 600; color: #fff;
  margin-bottom: 8px; line-height: 1.35;
}

.proj-meta p {
  font-size: .88rem; color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════
   STRIP — beyaz metin, lacivert arkaplan zaten
══════════════════════════════════════════════════ */
.strip {
  background: #1e2f6e;
  padding: 52px 40px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 40px; flex-wrap: wrap;
  position: relative;
  z-index: 2; /* Arka plan filigranının üzerine çıkması için */
}
.strip p {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-style: italic;
  color: rgba(255,255,255,0.82);
  max-width: 680px; line-height: 1.5;
}
.strip a {
  font-size: .88rem; font-weight: 600; color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.35);
  padding-bottom: 2px; white-space: nowrap;
  transition: border-color .2s;
}
.strip a:hover { border-color: #fff; }

/* ══════════════════════════════════════════════════
   CONTACT — orta ton lacivert
══════════════════════════════════════════════════ */
.contact { background: #132055; padding: 120px 0; }

.contact-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 80px; align-items: start;
}
@media (max-width: 600px) { .contact-inner { padding: 0 20px; } }

.contact-left h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400; color: #fff; margin-bottom: 16px; line-height: 1.15;
}
.contact-left > p { font-size: 1rem; color: rgba(255,255,255,0.52); margin-bottom: 48px; }

.cinfo { margin-bottom: 24px; }
.cinfo-label {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .11em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); margin-bottom: 5px;
}
.cinfo-val { font-size: .97rem; color: rgba(255,255,255,0.72); }
.cinfo-val a { border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.cinfo-val a:hover { color: #fff; border-color: rgba(255,255,255,0.4); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 22px; }

.field { display: flex; flex-direction: column; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field label {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.field input,
.field select,
.field textarea {
  padding: 13px 0;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  border-radius: 0;
  background: transparent;
  font-family: inherit; font-size: .97rem;
  color: #fff;
  outline: none;
  transition: border-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-bottom-color: rgba(255,255,255,0.55); }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.2); }
.field select option { background: #132055; color: #fff; }
.field textarea { resize: vertical; min-height: 110px; }

.form-btn {
  align-self: flex-start; margin-top: 8px;
  font-family: inherit; font-size: .88rem; font-weight: 600;
  color: #0d1a42; background: #fff;
  border: none; border-radius: 8px;
  padding: 13px 36px; cursor: pointer;
  transition: background .2s, transform .2s, opacity .2s;
}
.form-btn:hover { background: #e8eaf5; transform: translateY(-1px); }
.form-btn.sent  { background: rgba(255,255,255,0.7); color: #0d1a42; }

/* ══════════════════════════════════════════════════
   FOOTER — en koyu, çizgilerle ayrılmış
══════════════════════════════════════════════════ */
.footer { background: #070f28; padding: 52px 0 36px; }

.footer-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 32px;
}
@media (max-width: 600px) { .footer-inner { padding: 0 20px; } }

.footer-brand {
  display: flex; align-items: center; gap: 18px; flex: 1; min-width: 220px;
}
.footer-logo {
  height: 38px; width: auto;
  object-fit: contain; flex-shrink: 0;
  mix-blend-mode: screen; /* Siyah arkaplanı saydamlaştırır */
  opacity: 0.6;
  transition: opacity .25s;
}
.footer-logo:hover {
  opacity: 0.9;
}
.footer-brand p { font-size: .8rem; color: rgba(255,255,255,0.25); line-height: 1.4; }

.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { font-size: .8rem; color: rgba(255,255,255,0.28); transition: color .2s; }
.footer-nav a:hover { color: rgba(255,255,255,0.75); }

.footer-copy { font-size: .72rem; color: rgba(255,255,255,0.18); margin-left: auto; }

/* ══════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 900px)
══════════════════════════════════════════════════ */
@media (max-width: 900px) {
  /* Nav tablet overrides */
  .nav-inner { height: 92px; }
  .nav-logo img { height: 64px; }

  /* Hero */
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 92px; }
  .hero-left  { margin: 0; padding: 80px 40px 56px; max-width: 100%; }
  .hero-right { display: none; }
  .hero-left {
    background-image: url('images/hero-electrical.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
  }
  .hero-left::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(160deg, rgba(10,20,60,0.93) 0%, rgba(13,26,66,0.80) 100%);
  }
  .hero-left > * { position: relative; z-index: 1; }

  /* About */
  .about { padding: 80px 0; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-img-col img { aspect-ratio: 16/9; }

  /* Services */
  .services { padding: 80px 0; }
  .services-list { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 52px 1fr; padding: 32px 0; border-right: none; }
  .svc:nth-child(even) { padding: 32px 0; }

  /* Projects */
  .projects { padding: 80px 0; }
  .proj-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }

  /* Contact */
  .contact { padding: 80px 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 52px; }
  .field-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-copy  { margin-left: 0; }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 600px)
══════════════════════════════════════════════════ */
@media (max-width: 600px) {
  /* Nav */
  .nav-menu, .nav-cta { display: none; }
  .burger { display: flex; }
  .nav-inner { height: 82px; }
  .nav-logo img { height: 56px; }

  /* Hero */
  .hero-left  { padding: 64px 20px 48px; }
  .hero-right { height: 64vw; }
  .hero-h1    { font-size: 2.6rem; }

  /* About */
  .about-figures { flex-direction: column; border-top: none; padding-top: 0; gap: 18px; }
  .figure { border-right: none; margin-right: 0; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 18px; }
  .figure:last-child { border-bottom: none; padding-bottom: 0; }

  /* Services */
  .svc { padding: 28px 0; }

  /* Projects */
  .projects { padding: 60px 0; }
  .proj-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Strip */
  .strip { padding: 40px 20px; flex-direction: column; align-items: flex-start; gap: 20px; }

  /* Contact */
  .contact-left h2 { font-size: 2rem; }

  /* Footer */
  .footer-brand { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-nav   { gap: 14px; }
}
