/* =========================================================
   ENDÜSTRİYEL ISITMA — Tasarım Sistemi
   Palet: sanayi çeliği + alev turuncusu + tehlike sarısı
   Display: Oswald (condensed, endüstriyel tabela hissi)
   Body: Inter
   Teknik veri: JetBrains Mono (kW değerleri, spec tablo)
   ========================================================= */

:root {
  /* Renkler */
  --c-steel-900: #14171c;   /* en koyu zemin */
  --c-steel-800: #1d2128;
  --c-steel-700: #2a2f38;
  --c-steel-400: #6b7280;
  --c-steel-100: #e7e5e0;
  --c-paper: #f5f3ee;       /* açık zemin, sıcak beyaz */
  --c-flame: #ff5a1f;       /* ana aksan — alev turuncusu */
  --c-flame-dark: #d6440f;
  --c-hazard: #ffb800;      /* ikincil aksan — tehlike sarısı */
  --c-white: #ffffff;
  --c-text: #1d2128;
  --c-text-muted: #565c66;

  /* Tipografi */
  --f-display: 'Oswald', 'Arial Narrow', sans-serif;
  --f-body: 'Inter', -apple-system, sans-serif;
  --f-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Ölçüler */
  --radius: 2px;
  --container: 1220px;
  --gap: clamp(1.25rem, 2vw, 2.5rem);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  color: var(--c-text);
  background: var(--c-paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--c-steel-900);
  line-height: 1.15;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; }

p { color: var(--c-text-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-flame-dark);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--c-flame);
}

/* ---------- Tehlike-şeridi ayırıcı (imza öge) ---------- */
.hazard-divider {
  height: 10px;
  background: repeating-linear-gradient(
    -45deg,
    var(--c-hazard),
    var(--c-hazard) 18px,
    var(--c-steel-900) 18px,
    var(--c-steel-900) 36px
  );
}

/* ---------- Header ---------- */
.top-bar {
  background: var(--c-steel-900);
  color: var(--c-steel-100);
  font-family: var(--f-mono);
  font-size: 0.78rem;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: var(--c-steel-100); }
.top-bar .whatsapp-link { color: var(--c-hazard); font-weight: 600; }

.main-header {
  background: var(--c-white);
  border-bottom: 3px solid var(--c-steel-900);
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo { display: flex; align-items: center; }
.logo img { height: 42px; width: auto; display: block; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav > ul { display: flex; gap: 26px; }
.main-nav a {
  font-family: var(--f-display);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.main-nav .has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: -20px;
  background: var(--c-white);
  border-top: 3px solid var(--c-flame);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
  min-width: 260px;
  padding: 10px 0;
  max-height: 420px;
  overflow-y: auto;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 8px 20px;
  font-family: var(--f-body);
  text-transform: none;
  font-size: 0.9rem;
  color: var(--c-text);
}
.dropdown a:hover { background: var(--c-paper); color: var(--c-flame-dark); }

.btn {
  display: inline-block;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 12px 26px;
  border-radius: var(--radius);
  border: 2px solid var(--c-flame);
  transition: 0.2s ease;
}
.btn-primary { background: var(--c-flame); color: var(--c-white); }
.btn-primary:hover { background: var(--c-flame-dark); border-color: var(--c-flame-dark); }
.btn-outline { background: transparent; color: var(--c-steel-900); border-color: var(--c-steel-900); }
.btn-outline:hover { background: var(--c-steel-900); color: var(--c-white); }

.menu-toggle { display: none; }
.mobile-menu-close { display: none; }

/* ---------- Hero Slider ---------- */
.hero-slider { position: relative; overflow: hidden; background: var(--c-steel-900); }
.hero-slide {
  display: none;
  min-height: 560px;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,23,28,0.92) 30%, rgba(20,23,28,0.55) 100%);
}
.hero-slide.active { display: flex; }
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: var(--c-white);
  padding: 40px 20px;
}
.hero-content .eyebrow { color: var(--c-hazard); justify-content: center; }
.hero-content h1 { color: var(--c-white); margin-bottom: 16px; }
.hero-content h2 {
  font-family: var(--f-body);
  text-transform: none;
  color: var(--c-steel-100);
  font-weight: 400;
  font-size: 1.15rem;
  margin-bottom: 18px;
}
.hero-content p { color: var(--c-steel-100); margin-bottom: 26px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 24px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 3; }
.hero-dots button {
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--c-hazard); background: transparent; cursor: pointer;
}
.hero-dots button.active { background: var(--c-hazard); }

/* ---------- Banner üzeri marka logosu (sağ alt) ---------- */
.hero-brand-logo {
  position: absolute;
  bottom: 20px;
  right: 24px;
  z-index: 3;
  height: 34px;
  opacity: 0.95;
  background: rgba(20,23,28,0.55);
  padding: 8px 14px;
  border-radius: 3px;
}
.hero-brand-logo img { height: 100%; width: auto; display: block; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  background: var(--c-steel-800);
  color: var(--c-steel-100);
  font-family: var(--f-mono);
  font-size: 0.78rem;
  padding: 12px 0;
}
.breadcrumb a { color: var(--c-hazard); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

/* ---------- Genel Section ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--c-white); }
.section-dark { background: var(--c-steel-900); color: var(--c-steel-100); }
.section-dark h2, .section-dark h3 { color: var(--c-white); }
.section-dark p { color: var(--c-steel-100); }
.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Kart Izgaraları ---------- */
.grid { display: grid; gap: var(--gap); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.service-card {
  background: var(--c-white);
  border: 1px solid #e5e2da;
  border-top: 4px solid var(--c-flame);
  padding: 30px 24px;
  overflow: hidden;
  transition: 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(20,23,28,0.08); }
.service-card .num { font-family: var(--f-mono); color: var(--c-hazard); font-size: 0.8rem; }
.service-card h3 { margin: 10px 0 12px; }
.service-card a.more { color: var(--c-flame-dark); font-family: var(--f-mono); font-size: 0.82rem; text-transform: uppercase; }

/* ---------- Teknik Spec Kartı (imza öge) ---------- */
.spec-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--c-steel-800);
  color: var(--c-white);
  padding: 18px 22px;
  border-left: 4px solid var(--c-hazard);
  font-family: var(--f-mono);
}
.spec-bar .kw {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--c-hazard);
}
.spec-bar .label { font-size: 0.78rem; text-transform: uppercase; color: var(--c-steel-100); opacity: 0.8; }

.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin: 30px 0; }

/* ---------- Ürün Modelleri Galerisi ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin: 34px 0; }
.product-card {
  background: var(--c-white);
  border: 1px solid #e5e2da;
  text-align: center;
  padding: 20px 14px 18px;
  transition: 0.2s ease;
}
.product-card:hover { box-shadow: 0 14px 26px rgba(20,23,28,0.1); transform: translateY(-3px); }
.product-card img { height: 140px; object-fit: contain; margin: 0 auto 14px; }
.product-card .p-kw { font-family: var(--f-mono); color: var(--c-flame-dark); font-weight: 700; font-size: 1.05rem; }
.product-card .p-name { font-family: var(--f-display); font-size: 0.92rem; text-transform: uppercase; margin: 6px 0 4px; color: var(--c-steel-900); }
.product-card .p-volt { font-family: var(--f-mono); font-size: 0.72rem; color: var(--c-text-muted); }

/* ---------- Süreç Adımları ---------- */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-step { padding: 0 20px; position: relative; }
.process-step .step-no {
  font-family: var(--f-display);
  font-size: 2.4rem;
  color: var(--c-flame);
  -webkit-text-stroke: 1px var(--c-flame);
}
.process-step:not(:last-child)::after {
  content: '';
  position: absolute; top: 22px; right: -10%;
  width: 20%; height: 2px; background: var(--c-hazard);
}

/* ---------- FAQ Accordion ---------- */
.faq-item { border-bottom: 1px solid #ddd8cc; }
.faq-question {
  width: 100%; text-align: left; background: none; border: none;
  font-family: var(--f-display); text-transform: uppercase; font-size: 1rem;
  padding: 20px 0; display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; color: var(--c-steel-900);
}
.faq-question .icon { color: var(--c-flame); font-size: 1.3rem; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-answer p { padding-bottom: 18px; }
.faq-item.open .faq-answer { max-height: 500px; }

/* ---------- İl / Bölge Linkleri (footer iç linkleme) ---------- */
.region-links { columns: 4; column-gap: 24px; font-size: 0.85rem; }
.region-links li { break-inside: avoid; margin-bottom: 6px; }
.region-links a { color: var(--c-steel-100); }
.region-links a:hover { color: var(--c-hazard); }

/* ---------- Counter ---------- */
.counter-item { text-align: center; }
.counter-item .num { font-family: var(--f-display); font-size: 2.6rem; color: var(--c-flame); }
.counter-item .label { font-family: var(--f-mono); font-size: 0.8rem; text-transform: uppercase; color: var(--c-steel-100); }

/* ---------- Şube Kartları ---------- */
.branch-card { background: var(--c-white); border: 1px solid #e5e2da; padding: 22px; }
.branch-card h4 { color: var(--c-flame-dark); margin-bottom: 8px; font-family: var(--f-display); }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-steel-900); color: var(--c-steel-100); padding-top: 60px; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--gap); padding-bottom: 40px; }
.footer-cols h4 { color: var(--c-white); margin-bottom: 16px; font-size: 1rem; }
.footer-cols ul li { margin-bottom: 8px; }
.footer-cols a { color: var(--c-steel-100); font-size: 0.92rem; }
.footer-cols a:hover { color: var(--c-hazard); }
.footer-bottom {
  border-top: 1px solid var(--c-steel-700);
  padding: 18px 0;
  font-size: 0.82rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

/* ---------- CTA Band ---------- */
.cta-band {
  background: var(--c-flame);
  color: var(--c-white);
  padding: 40px 0;
}
.cta-band .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.cta-band h3 { color: var(--c-white); }
.cta-band .btn-outline { border-color: var(--c-white); color: var(--c-white); }
.cta-band .btn-outline:hover { background: var(--c-white); color: var(--c-flame); }

/* ---------- WhatsApp Sabit Buton ---------- */
.whatsapp-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 999;
  background: #25D366; color: #fff; width: 56px; height: 56px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* ---------- Mobil sabit Ara / WhatsApp barı ---------- */
.mobile-cta-bar { display: none; }

@keyframes cta-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
