/* ABF İklimlendirme — kurumsal site stilleri */
:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --teal: #0e9594;
  --teal-dark: #0b7a79;
  --sky: #8da9c4;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #1c2733;
  --muted: #5b6b7c;
  --border: #dde5ee;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(11, 37, 69, 0.08);
}

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

html { scroll-behavior: smooth; }

/* Çapa (#) hedefleri yapışkan menünün altında kalmasın */
[id] { scroll-margin-top: 130px; }
@media (max-width: 900px) { [id] { scroll-margin-top: 170px; } }
@media (max-width: 640px) { [id] { scroll-margin-top: 210px; } }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

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

a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 37, 69, 0.97);
  backdrop-filter: blur(8px);
  color: #fff;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand:hover { text-decoration: none; }
.brand-logo {
  height: 48px; width: auto; display: block; flex: none;
}
.brand-name { font-weight: 700; font-size: 17px; line-height: 1.2; }
.brand-sub { font-size: 11px; color: var(--sky); letter-spacing: 0.08em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.main-nav a {
  color: #e8eef6; padding: 8px 14px; border-radius: 8px;
  font-size: 15px; font-weight: 500;
}
.main-nav a:hover { background: rgba(255, 255, 255, 0.1); text-decoration: none; }
.main-nav a.active { background: var(--teal); color: #fff; }

/* Hizmetler açılır menüsü */
.nav-drop { position: relative; }
.nav-drop > a::after { content: " ▾"; font-size: 10px; opacity: 0.8; }
.nav-drop .dropdown {
  position: absolute; top: 100%; left: 0; padding-top: 10px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 70;
}
.nav-drop:hover .dropdown, .nav-drop:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-inner {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  min-width: 260px; padding: 8px;
  box-shadow: 0 14px 36px rgba(11, 37, 69, 0.2);
}
.main-nav .dropdown-inner a {
  display: block; padding: 10px 14px; border-radius: 8px;
  color: var(--navy); font-size: 14px; font-weight: 500;
}
.main-nav .dropdown-inner a:hover {
  background: rgba(14, 149, 148, 0.1); color: var(--teal-dark); text-decoration: none;
}
@media (max-width: 640px) {
  .nav-drop .dropdown { display: none; }
  .nav-drop > a::after { content: ""; }
}

.lang-switch {
  margin-left: 8px; padding: 6px 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px !important;
  font-size: 13px !important; font-weight: 600 !important;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(14, 149, 148, 0.35), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, #1b4173 100%);
  color: #fff;
  padding: 88px 0 96px;
  overflow: hidden;
}
.hero .container { max-width: 860px; }
.hero .eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(14, 149, 148, 0.25); border: 1px solid rgba(20, 184, 166, 0.5);
  color: #7fe0d8; font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; font-weight: 800; margin-bottom: 18px; }
.hero p { font-size: 18px; color: #c6d4e4; max-width: 640px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 13px 26px; border-radius: 10px;
  font-weight: 600; font-size: 15px; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 4px 14px rgba(14, 149, 148, 0.4); }
.btn-primary:hover { background: #12a6a5; }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.4); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; padding: 56px 0;
}
.page-hero h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; margin-bottom: 10px; }
.page-hero p { color: #c6d4e4; font-size: 17px; max-width: 640px; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--surface); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head .kicker {
  color: var(--teal-dark); font-weight: 700; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px;
}
.section-head h2 { font-size: clamp(24px, 3.5vw, 32px); font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 16px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(14, 149, 148, 0.12), rgba(19, 49, 92, 0.1));
  display: grid; place-items: center; color: var(--teal-dark);
}
.card .icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 19px; color: var(--navy); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card .card-link { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 14px; }

/* Service detail blocks */
.service-block {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 36px; margin-bottom: 28px;
  display: grid; grid-template-columns: 64px 1fr; gap: 24px; align-items: start;
}
.service-block .icon {
  width: 64px; height: 64px; border-radius: 14px;
  background: linear-gradient(135deg, var(--teal), #14b8a6);
  display: grid; place-items: center; color: #fff;
}
.service-block .icon svg { width: 32px; height: 32px; }
.service-block h3 { font-size: 22px; color: var(--navy); margin-bottom: 10px; }
.service-block p { color: var(--muted); margin-bottom: 12px; }
.service-block ul { color: var(--muted); padding-left: 20px; }
.service-block li { margin-bottom: 6px; }
.service-block li::marker { color: var(--teal); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num { font-size: 36px; font-weight: 800; color: var(--teal-dark); }
.stat .label { color: var(--muted); font-size: 14px; }

/* ---------- Referans logoları ---------- */
.ref-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 32px 40px; align-items: center;
}
.ref-grid img {
  max-height: 64px; max-width: 100%; margin: 0 auto; display: block;
  filter: grayscale(1); opacity: 0.75; transition: filter 0.2s ease, opacity 0.2s ease;
}
.ref-grid img:hover { filter: none; opacity: 1; }

/* ---------- Feature list (why us) ---------- */
.feature { display: flex; gap: 16px; align-items: start; }
.feature .tick {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--teal); color: #fff; display: grid; place-items: center;
  font-size: 15px; font-weight: 700; margin-top: 2px;
}
.feature h4 { color: var(--navy); font-size: 16px; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: 14px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--teal-dark) 100%);
  color: #fff; border-radius: var(--radius);
  padding: 48px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(22px, 3vw, 28px); margin-bottom: 6px; }
.cta-band p { color: #cfe3e2; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start; }
.about-text p { color: var(--muted); margin-bottom: 16px; font-size: 16px; }
.about-text h2 { color: var(--navy); font-size: 28px; margin-bottom: 16px; }
.value-list { display: grid; gap: 16px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-info .item { display: flex; gap: 14px; margin-bottom: 22px; align-items: start; }
.contact-info .item .icon {
  flex: none; width: 44px; height: 44px; border-radius: 10px;
  background: rgba(14, 149, 148, 0.12); color: var(--teal-dark);
  display: grid; place-items: center;
}
.contact-info .item .icon svg { width: 22px; height: 22px; }
.contact-info h4 { color: var(--navy); font-size: 15px; margin-bottom: 2px; }
.contact-info p { color: var(--muted); font-size: 15px; }

.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
  font: inherit; font-size: 15px; color: var(--text); background: var(--bg);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: 2px solid var(--teal); outline-offset: 0; border-color: var(--teal);
}
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; }

.map-embed { margin-top: 28px; }
.map-embed iframe {
  width: 100%; height: 280px; border: 0; display: block;
  border-radius: var(--radius); box-shadow: var(--shadow);
}

/* ---------- SSS (accordion) ---------- */
.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px 22px; margin-bottom: 12px;
}
.faq summary { font-weight: 700; color: var(--navy); cursor: pointer; font-size: 16px; }
.faq summary::marker { color: var(--teal); }
.faq details p { margin-top: 10px; color: var(--muted); }

/* Numaralı süreç adımları */
.step-num {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-items: center;
  font-size: 15px; font-weight: 700; margin-top: 2px;
}

/* ---------- Blog ---------- */
.post-date { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.post-card h3 a { color: var(--navy); }
.post-card h3 a:hover { color: var(--teal-dark); text-decoration: none; }
.post-content {
  max-width: 780px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow);
}
.post-content .post-meta { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.post-content h2 { color: var(--navy); font-size: 24px; margin: 28px 0 12px; }
.post-content h3 { color: var(--navy); font-size: 19px; margin: 22px 0 10px; }
.post-content p { margin-bottom: 14px; }
.post-content ul, .post-content ol { margin: 0 0 14px 22px; }
.post-content li { margin-bottom: 6px; }
.post-content li::marker { color: var(--teal); }
.post-back { display: inline-block; margin-bottom: 20px; font-weight: 600; font-size: 14px; }
@media (max-width: 640px) { .post-content { padding: 24px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c8da; margin-top: 72px; }
.site-footer .container { padding-top: 56px; padding-bottom: 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; letter-spacing: 0.04em; }
.site-footer p, .site-footer li { font-size: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #b9c8da; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px; font-size: 13px; color: var(--sky);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .site-header .container { flex-direction: column; padding-top: 12px; padding-bottom: 12px; }
  .main-nav { justify-content: center; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 68px; }
  .cta-band { padding: 32px 24px; }
}
