/* ============================================================
   AKDENİZ SİSTEM MÜHENDİSLİK — tek CSS, tüm sayfalar
   Mobil öncelikli. Renkler: koyu lacivert zemin + turuncu vurgu.
   ============================================================ */

:root {
  --bg-deep: #0a1628;
  --bg-mid: #0f1e36;
  --bg-card: #142540;
  --line: #1f3658;
  --line-soft: #1a2c4a;
  --text: #e8ecf3;
  --text-mute: #94a3b8;
  --text-dim: #64748b;
  --accent: #f5842a;          /* Akdeniz Sistem: turuncu */
  --accent-bright: #ff9640;
  --accent-soft: rgba(245, 132, 42, 0.1);
}

/* Solar sayfası vurguyu güneş sarısına çeker */
body.solar {
  --accent: #f5a524;
  --accent-bright: #ffb936;
  --accent-soft: rgba(245, 165, 36, 0.1);
}

* { 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.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============ NAV ============ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.9rem 1.25rem;
  background: rgba(10, 22, 40, 0.92);
  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 {
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.logo small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-mute);
}
.logo-mark { width: 30px; height: 30px; flex-shrink: 0; }
.logo-mark-img {
  width: 48px;
  height: 36px;
  background: #fff;
  border-radius: 8px;
  padding: 2px 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.logo-mark-img 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); }
.nav-cta {
  background: var(--accent);
  color: var(--bg-deep);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: background 0.2s;
}
.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);
}
.nav-cta-dis:hover { background: var(--accent-soft); }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ============ HERO ============ */
.hero {
  padding: 4.5rem 1.25rem 3.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 132, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 132, 42, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, 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.85rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--bg-card);
  font-size: 0.74rem;
  color: var(--text-mute);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
}
.hero-tag-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  flex-shrink: 0;
}
.hero h1 {
  font-size: clamp(1.9rem, 5.5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 1.1rem;
  max-width: 760px;
}
.hero h1 em {
  color: var(--accent);
  font-style: normal;
}
.hero p.lead {
  font-size: 1.05rem;
  color: var(--text-mute);
  margin-bottom: 2rem;
  max-width: 620px;
}
.hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.btn-primary {
  background: var(--accent);
  color: var(--bg-deep);
  padding: 0.85rem 1.5rem;
  border-radius: 6px;
  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-secondary {
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.85rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ============ BÖLÜM ORTAK ============ */
section.content { padding: 3.5rem 1.25rem; }
.section-inner { max-width: 1080px; margin: 0 auto; }
.section-label {
  font-size: 0.74rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.8rem;
  display: inline-block;
  font-weight: 700;
}
.section-title {
  font-size: clamp(1.5rem, 3.6vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 800;
  margin-bottom: 1rem;
  max-width: 720px;
}
.section-title em { color: var(--accent); font-style: normal; }
.section-sub {
  font-size: 1rem;
  color: var(--text-mute);
  max-width: 640px;
  margin-bottom: 2.5rem;
}
.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 {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 1.5rem 1.4rem;
  transition: border-color 0.25s, transform 0.25s;
}
.service-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.service-icon {
  width: 42px; height: 42px;
  margin-bottom: 1rem;
  color: var(--accent);
}
.service-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.55rem;
  line-height: 1.25;
  font-weight: 700;
}
.service-card p {
  color: var(--text-mute);
  font-size: 0.89rem;
  line-height: 1.55;
}
.service-card ul {
  list-style: none;
  margin-top: 0.35rem;
}
.service-card li {
  color: var(--text-mute);
  font-size: 0.89rem;
  padding: 0.18rem 0 0.18rem 1.1rem;
  position: relative;
}
.service-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.card-link {
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
}
.card-link:hover { color: var(--accent-bright); }

/* ============ 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: 8px;
  padding: 1rem 1.15rem;
  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(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.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: 8px;
  padding: 1.25rem 1.15rem;
  counter-increment: adim;
}
.surec-adim::before {
  content: "0" counter(adim);
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 0.6rem;
}
.surec-adim strong { display: block; font-size: 0.97rem; margin-bottom: 0.3rem; }
.surec-adim p { color: var(--text-mute); font-size: 0.85rem; }

/* ============ SOLAR TANITIM ŞERİDİ (index) ============ */
.solar-serit {
  background: linear-gradient(135deg, var(--bg-card) 0%, #1a2138 100%);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.8rem 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}
.solar-serit h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.solar-serit p { color: var(--text-mute); font-size: 0.9rem; max-width: 560px; }

/* ============ İLETİŞİM BLOKLARI ============ */
.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);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
  font-weight: 700;
}
.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); }

.il-listesi {
  display: flex;
  gap: 0.6rem;
  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);
}

/* ============ REFERANS / DENEYİM ============ */
.ref-card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 1.5rem 1.4rem;
}
.ref-tag {
  display: inline-block;
  font-size: 0.68rem;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.18rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
  font-weight: 700;
}
.ref-card h4 { font-size: 1.05rem; margin-bottom: 0.45rem; font-weight: 700; }
.ref-card p { color: var(--text-mute); font-size: 0.89rem; }
.refs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
@media (min-width: 700px) { .refs-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============ DÜZ METİN SAYFA (KVKK) ============ */
.metin-govde { max-width: 780px; margin: 0 auto; }
.metin-govde h2 { font-size: 1.15rem; margin: 1.8rem 0 0.6rem; }
.metin-govde p, .metin-govde li { color: var(--text-mute); font-size: 0.94rem; margin-bottom: 0.7rem; }
.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-firmalar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
}
@media (min-width: 760px) { .footer-firmalar { grid-template-columns: 1fr 1fr; } }
.footer-firma strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.footer-firma p {
  font-size: 0.83rem;
  color: var(--text-dim);
  line-height: 1.7;
}
.footer-firma a { color: var(--text-mute); text-decoration: none; }
.footer-firma a:hover { color: var(--accent); }
.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); }
