/* ============================================================
   EFS GRUP — Mühendislik ve Muayene Hizmetleri
   Tek CSS, tüm sayfalar. Mobil öncelikli, dış bağımlılık yok.
   Palet: derin lacivert zemin + logo mavisi (birincil)
          + logo yeşili (ikincil vurgu)
   ============================================================ */

:root {
  --bg-deep: #08131f;
  --bg-mid: #0d1b2b;
  --bg-card: #122438;
  --bg-card-2: #162c44;
  --line: #1f3a56;
  --line-soft: #18304a;
  --text: #eaf0f7;
  --text-mute: #93a7bd;
  --text-dim: #64798f;
  --accent: #2f8fd8;          /* logo mavisi */
  --accent-bright: #4aa5e8;
  --accent-soft: rgba(47, 143, 216, 0.12);
  --yesil: #57a833;           /* logo yeşili */
  --yesil-soft: rgba(87, 168, 51, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============ NAV ============ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.85rem 1.25rem;
  background: rgba(8, 19, 31, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo small {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-mute);
}
.logo-mark {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 10px;
  padding: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.logo-mark img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }

.nav-links { display: flex; gap: 1.4rem; list-style: none; align-items: center; flex-wrap: wrap; }
.nav-links a {
  color: var(--text-mute);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.aktif { color: var(--accent-bright); }

.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 0.55rem 1.05rem;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-cta:hover { background: var(--accent-bright); }
.nav-cta-grup { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.nav-cta-dis { background: transparent; border: 1px solid var(--accent); color: var(--accent-bright); }
.nav-cta-dis:hover { background: var(--accent-soft); }

.tel-kisa { display: none; }
@media (max-width: 780px) { .nav-links { display: none; } }
@media (max-width: 430px) {
  .tel-uzun { display: none; }
  .tel-kisa { display: inline; }
  .logo-mark { width: 38px; height: 38px; }
  .logo { font-size: 0.95rem; }
  .logo small { display: none; }
  .nav-cta { padding: 0.5rem 0.85rem; font-size: 0.84rem; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 1.25rem 3.5rem;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(ellipse 70% 60% at 75% 0%, rgba(47, 143, 216, 0.16), transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 100%, rgba(87, 168, 51, 0.10), transparent 70%);
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(47, 143, 216, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 143, 216, 0.055) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 78%);
  pointer-events: none;
}
.hero-inner { max-width: 1080px; margin: 0 auto; position: relative; z-index: 2; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--bg-card);
  font-size: 0.73rem;
  color: var(--text-mute);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.hero-tag-dot {
  width: 6px; height: 6px;
  background: var(--yesil);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--yesil);
  flex-shrink: 0;
}
.hero h1 {
  font-size: clamp(1.95rem, 5.4vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.022em;
  font-weight: 800;
  margin-bottom: 1.1rem;
  max-width: 800px;
}
.hero h1 em { font-style: normal; color: var(--accent-bright); }
.hero p.lead {
  font-size: 1.06rem;
  color: var(--text-mute);
  margin-bottom: 2rem;
  max-width: 640px;
}
.hero-ctas { display: flex; gap: 0.85rem; flex-wrap: wrap; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 0.85rem 1.5rem;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--accent-bright); transform: translateY(-2px); }
.btn-yesil { background: var(--yesil); }
.btn-yesil:hover { background: #66bd3e; }
.btn-secondary {
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.85rem 1.5rem;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-bright); }

/* ============ İSTATİSTİK ŞERİDİ ============ */
.stat-serit {
  background: var(--bg-mid);
  border-bottom: 1px solid var(--line-soft);
  padding: 1.6rem 1.25rem;
}
.stat-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
@media (min-width: 780px) { .stat-inner { grid-template-columns: repeat(4, 1fr); } }
.stat-item { border-left: 2px solid var(--accent); padding-left: 0.95rem; }
.stat-num { font-size: 1.6rem; font-weight: 800; line-height: 1.1; }
.stat-label { font-size: 0.82rem; color: var(--text-mute); }

/* ============ BÖLÜM ORTAK ============ */
section.content { padding: 3.6rem 1.25rem; }
.section-inner { max-width: 1080px; margin: 0 auto; }
.section-label {
  font-size: 0.73rem;
  color: var(--accent-bright);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.7rem;
  display: inline-block;
  font-weight: 800;
}
.section-title {
  font-size: clamp(1.5rem, 3.6vw, 2.25rem);
  line-height: 1.18;
  letter-spacing: -0.012em;
  font-weight: 800;
  margin-bottom: 0.9rem;
  max-width: 740px;
}
.section-title em { font-style: normal; color: var(--accent-bright); }
.section-sub { font-size: 1rem; color: var(--text-mute); max-width: 660px; margin-bottom: 2.4rem; }
.zebra { background: var(--bg-mid); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

/* ============ HİZMET KARTLARI ============ */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  position: relative;
  background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 1.6rem 1.45rem;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--yesil));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.service-card:hover { border-color: var(--line); transform: translateY(-3px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 40px; height: 40px; margin-bottom: 1rem; color: var(--accent-bright); }
.service-card h3 { font-size: 1.06rem; margin-bottom: 0.5rem; line-height: 1.3; font-weight: 700; }
.service-card p { color: var(--text-mute); font-size: 0.89rem; }
.service-card ul { list-style: none; margin-top: 0.5rem; }
.service-card li {
  color: var(--text-mute);
  font-size: 0.875rem;
  padding: 0.16rem 0 0.16rem 1.05rem;
  position: relative;
}
.service-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--yesil);
}

/* ============ NEDEN BİZ ============ */
.creds-list { list-style: none; display: grid; grid-template-columns: 1fr; gap: 0.9rem; }
@media (min-width: 760px) { .creds-list { grid-template-columns: repeat(2, 1fr); } }
.cred-item {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 1.05rem 1.2rem;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  transition: border-color 0.2s;
}
.cred-item:hover { border-color: var(--accent); }
.cred-icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  background: var(--yesil-soft);
  border: 1px solid var(--yesil);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yesil);
}
.cred-text strong { display: block; color: var(--text); font-size: 0.94rem; margin-bottom: 0.15rem; font-weight: 700; }
.cred-text span { color: var(--text-mute); font-size: 0.85rem; }

/* ============ SÜREÇ ============ */
.surec-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; counter-reset: adim; }
@media (min-width: 760px) { .surec-grid { grid-template-columns: repeat(4, 1fr); } }
.surec-adim {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 1.25rem 1.15rem;
  counter-increment: adim;
}
.surec-adim::before {
  content: "0" counter(adim);
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-bright);
  letter-spacing: 0.14em;
  margin-bottom: 0.55rem;
}
.surec-adim strong { display: block; font-size: 0.97rem; margin-bottom: 0.25rem; }
.surec-adim p { color: var(--text-mute); font-size: 0.85rem; }

/* ============ CTA ŞERİDİ ============ */
.cta-serit {
  background: linear-gradient(135deg, var(--bg-card) 0%, #16324d 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.9rem 1.6rem;
  display: flex;
  gap: 1.3rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}
.cta-serit h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.cta-serit p { color: var(--text-mute); font-size: 0.9rem; max-width: 560px; }

/* ============ İLETİŞİM ============ */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 760px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-block { border-left: 2px solid var(--accent); padding-left: 1.1rem; }
.contact-block .label {
  font-size: 0.7rem;
  color: var(--accent-bright);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
  font-weight: 800;
}
.contact-block .value { font-size: 1rem; color: var(--text); }
.contact-block a { color: var(--text); text-decoration: none; }
.contact-block a:hover { color: var(--accent-bright); }

.il-listesi { display: flex; gap: 0.55rem; flex-wrap: wrap; margin-top: 0.5rem; }
.il-listesi span {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  font-size: 0.85rem;
  color: var(--text-mute);
}

/* ============ DÜZ METİN SAYFA ============ */
.metin-govde { max-width: 780px; margin: 0 auto; }
.metin-govde h2 { font-size: 1.13rem; margin: 1.8rem 0 0.55rem; }
.metin-govde p, .metin-govde li { color: var(--text-mute); font-size: 0.94rem; margin-bottom: 0.65rem; }
.metin-govde ul { padding-left: 1.3rem; }

/* ============ FOOTER ============ */
footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line-soft);
  padding: 2.5rem 1.25rem 1.5rem;
  margin-top: 1rem;
}
.footer-inner { max-width: 1080px; margin: 0 auto; }
.footer-ust {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  margin-bottom: 1.8rem;
}
@media (min-width: 760px) { .footer-ust { grid-template-columns: 1.3fr 1fr; } }
.footer-firma strong { display: block; font-size: 0.95rem; margin-bottom: 0.45rem; color: var(--text); }
.footer-firma p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.75; }
.footer-firma a { color: var(--text-mute); text-decoration: none; }
.footer-firma a:hover { color: var(--accent-bright); }
.footer-linkler { list-style: none; display: flex; flex-direction: column; gap: 0.35rem; }
.footer-linkler a { color: var(--text-mute); text-decoration: none; font-size: 0.88rem; }
.footer-linkler a:hover { color: var(--accent-bright); }
.footer-alt {
  border-top: 1px solid var(--line-soft);
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-dim);
}
.footer-alt a { color: var(--text-dim); text-decoration: none; }
.footer-alt a:hover { color: var(--accent-bright); }
