/* =====================================================================
   KLİMA TEKNİK — Public Site Stilleri
   Modern & profesyonel kurumsal HVAC teması
   ===================================================================== */

:root {
  --primary:      #0369a1;   /* kurumsal mavi */
  --primary-dark: #075985;
  --primary-600:  #0284c7;
  --accent:       #f59e0b;   /* sıcaklık vurgusu */
  --ink:          #0f172a;
  --body:         #334155;
  --muted:        #64748b;
  --line:         #e2e8f0;
  --bg:           #ffffff;
  --bg-soft:      #f1f5f9;
  --bg-sky:       #f0f9ff;
  --white:        #ffffff;
  --radius:       14px;
  --radius-sm:    9px;
  --shadow:       0 10px 30px -12px rgba(2, 32, 71, .18);
  --shadow-lg:    0 24px 60px -20px rgba(2, 32, 71, .28);
  --container:    1180px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
p { margin: 0 0 1rem; }

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

.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-sky  { background: var(--bg-sky); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head .eyebrow {
  color: var(--primary-600); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; font-size: .78rem; display: block; margin-bottom: 10px;
}
.section-head p { color: var(--muted); }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600;
  font-size: .96rem; cursor: pointer; border: 2px solid transparent;
  transition: .18s ease; white-space: nowrap; line-height: 1;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-accent { background: var(--accent); color: #422006; }
.btn-accent:hover { filter: brightness(1.05); color: #422006; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-outline { background: #fff; color: var(--primary); border-color: var(--line); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-lg { padding: 16px 34px; font-size: 1.02rem; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--primary-dark); color: #e0f2fe;
  font-size: .84rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: #e0f2fe; }
.topbar a:hover { color: #fff; }
.topbar .tb-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .tb-info span { display: inline-flex; align-items: center; gap: 7px; }
.topbar .tb-social { display: flex; gap: 14px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--ink); font-size: 1.35rem; letter-spacing: -.02em; }
.brand .logo-mark {
  width: 42px; height: 42px; border-radius: 11px; flex: none;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-dark));
  display: grid; place-items: center; color: #fff; box-shadow: var(--shadow);
}
.brand .logo-mark svg { width: 24px; height: 24px; }
.brand small { display: block; font-size: .64rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
  display: block; padding: 10px 15px; border-radius: 8px; color: var(--ink);
  font-weight: 600; font-size: .95rem; transition: .15s;
}
.nav-menu a:hover, .nav-menu a.active { background: var(--bg-sky); color: var(--primary-dark); }
.nav-cta { margin-left: 8px; }
.nav-menu a.btn-primary { color: #fff; }
.nav-menu a.btn-primary:hover { color: #fff; background: var(--primary-dark); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-600) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 85% 10%, rgba(255,255,255,.16), transparent),
    radial-gradient(500px 400px at 10% 100%, rgba(2,32,71,.35), transparent);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 76px; padding-bottom: 84px; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero p.lead { font-size: 1.14rem; color: #dbeafe; max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 26px; margin-top: 36px; flex-wrap: wrap; }
.hero-badges .hb { }
.hero-badges .hb strong { display: block; font-size: 1.7rem; color: #fff; }
.hero-badges .hb span { color: #bae6fd; font-size: .86rem; }

.hero-card {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px; padding: 28px; backdrop-filter: blur(6px);
}
.hero-card h3 { color: #fff; font-size: 1.2rem; }
.hero-card ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.hero-card li { display: flex; gap: 13px; align-items: flex-start; color: #e0f2fe; font-size: .96rem; }
.hero-card li .tick {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.2);
  display: grid; place-items: center; color: #fff;
}

/* ---------- Hero Slider (carousel) ---------- */
.hero-slider {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 320px at 82% 8%, rgba(255,255,255,.9), transparent 60%),
    radial-gradient(520px 260px at 20% 90%, rgba(255,255,255,.7), transparent 60%),
    linear-gradient(180deg, #cdeafe 0%, #e8f5ff 55%, #f4fbff 100%);
}
.hero-track { display: flex; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.hero-slide { min-width: 100%; }
.hero-slide .container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center;
  min-height: 460px; padding-top: 40px; padding-bottom: 60px;
}
.hs-text .hs-brand {
  color: var(--accent); font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  font-size: .82rem; display: block; margin-bottom: 12px;
}
.hs-text h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); color: var(--ink); margin-bottom: 16px; letter-spacing: -.02em; }
.hs-text .hs-desc { font-size: 1.08rem; color: #475569; max-width: 480px; margin-bottom: 18px; }
.hs-text .hs-price { font-size: 1.5rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 22px; }
.hs-media { display: grid; place-items: center; }
.hs-media img { max-height: 380px; width: auto; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(2,32,71,.22)); }

.hs-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.85); color: var(--primary-dark); font-size: 1.9rem; line-height: 1;
  box-shadow: var(--shadow); display: grid; place-items: center; transition: .18s;
}
.hs-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.hs-prev { left: 22px; } .hs-next { right: 22px; }
.hs-dots { position: absolute; bottom: 26px; left: 0; right: 0; display: flex; gap: 10px; justify-content: center; z-index: 3; }
.hs-dot { width: 12px; height: 12px; border-radius: 999px; border: 0; cursor: pointer; background: rgba(3,105,161,.28); transition: .25s; padding: 0; }
.hs-dot.active { width: 34px; background: var(--accent); }

/* ---------- Tanıtım kartları ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.promo-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  min-height: 210px; padding: 30px; display: flex; align-items: flex-end;
  color: #fff; transition: .2s; box-shadow: var(--shadow);
}
.promo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: #fff; }
.promo-violet { background: linear-gradient(135deg, #6d5ef0, #5b4bd6); }
.promo-dark   { background: linear-gradient(135deg, #1e293b, #0b1220); }
.promo-card .pc-body { position: relative; z-index: 2; }
.promo-card .pc-eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.promo-card h3 { color: #fff; font-size: 1.35rem; margin: 8px 0 14px; line-height: 1.25; }
.promo-card .pc-cta { font-weight: 700; font-size: .92rem; }
.promo-card .pc-ic { position: absolute; right: -10px; top: -6px; width: 130px; height: 130px; opacity: .22; color: #fff; z-index: 1; }

/* ---------- Hizmet / özellik kartları ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: .2s; position: relative; overflow: hidden;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card .ic {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--bg-sky); color: var(--primary); margin-bottom: 18px;
}
.service-card .ic svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.15rem; }
.service-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.service-card .more { margin-top: 16px; font-weight: 600; font-size: .9rem; display: inline-flex; gap: 6px; }

/* ---------- Ürün kartları ---------- */
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: .2s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-thumb {
  aspect-ratio: 4 / 3; background: var(--bg-soft); position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb .ph-icon { color: #cbd5e1; }
.product-badge {
  position: absolute; top: 12px; left: 12px; background: var(--accent); color: #422006;
  font-size: .72rem; font-weight: 700; padding: 5px 11px; border-radius: 999px;
}
.product-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-body .p-brand { font-size: .76rem; color: var(--primary-600); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.product-body h3 { font-size: 1.06rem; margin: 6px 0 8px; }
.product-body h3 a { color: var(--ink); }
.product-body h3 a:hover { color: var(--primary); }
.product-body .p-desc { color: var(--muted); font-size: .9rem; margin-bottom: 16px; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.product-foot .price { font-weight: 800; color: var(--primary-dark); font-size: 1.05rem; }
.product-foot .price.na { font-size: .9rem; font-weight: 600; color: var(--muted); }

.chip {
  display: inline-block; font-size: .74rem; font-weight: 600; color: var(--primary-dark);
  background: var(--bg-sky); padding: 4px 11px; border-radius: 999px;
}

/* ---------- Marka şeridi ---------- */
.brands-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; }
.brand-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  min-height: 84px; display: grid; place-items: center; padding: 14px;
  font-weight: 700; color: var(--muted); text-align: center; font-size: .92rem; transition: .18s;
}
.brand-item:hover { color: var(--primary-dark); border-color: var(--primary-600); box-shadow: var(--shadow); }
.brand-item img { max-height: 46px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: .18s; }
.brand-item:hover img { filter: none; opacity: 1; }

/* ---------- CTA şeridi ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary-600));
  color: #fff; border-radius: 22px; padding: 46px; text-align: center; position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #dbeafe; max-width: 620px; margin: 0 auto 26px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sayfa başlığı ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: #fff; padding: 54px 0; text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.breadcrumb { color: #bae6fd; font-size: .9rem; }
.breadcrumb a { color: #e0f2fe; }

/* ---------- Filtre / liste düzeni ---------- */
.list-layout { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
.filter-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 96px; }
.filter-box h4 { font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 14px; }
.filter-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 2px; }
.filter-list a { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 8px; color: var(--body); font-size: .93rem; }
.filter-list a:hover, .filter-list a.active { background: var(--bg-sky); color: var(--primary-dark); font-weight: 600; }
.filter-list a .cnt { color: var(--muted); font-size: .8rem; }

/* ---------- Ürün detay ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.pd-media { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); aspect-ratio: 4/3; display: grid; place-items: center; }
.pd-media img { width: 100%; height: 100%; object-fit: cover; }
.pd-meta { display: flex; gap: 10px; margin: 14px 0 20px; flex-wrap: wrap; }
.pd-price { font-size: 1.8rem; font-weight: 800; color: var(--primary-dark); margin: 18px 0; }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.pd-desc { margin-top: 30px; }

/* Zengin metin (editör çıktısı) */
.richtext { color: var(--body); line-height: 1.75; }
.richtext p { margin: 0 0 1rem; }
.richtext h2 { font-size: 1.4rem; margin: 1.2em 0 .5em; }
.richtext h3 { font-size: 1.15rem; margin: 1.2em 0 .5em; }
.richtext ul, .richtext ol { margin: 0 0 1rem; padding-left: 1.4em; }
.richtext li { margin-bottom: .4em; }
.richtext a { color: var(--primary); text-decoration: underline; }
.richtext blockquote { margin: 0 0 1rem; padding: 10px 18px; border-left: 3px solid var(--primary);
  background: var(--bg-sky); border-radius: 0 8px 8px 0; color: var(--muted); }

/* ---------- İletişim ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.contact-info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.contact-info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.contact-info-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-list .ci-ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--bg-sky); color: var(--primary); display: grid; place-items: center; }
.contact-info-list strong { display: block; color: var(--ink); font-size: .95rem; }
.contact-info-list span, .contact-info-list a { color: var(--muted); font-size: .95rem; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background: #fff; transition: .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary-600); box-shadow: 0 0 0 3px rgba(2,132,199,.14); }
.field textarea { min-height: 130px; resize: vertical; }

.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 36px; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Uyarı kutusu ---------- */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: .95rem; }
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ---------- Boş durum ---------- */
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state svg { width: 54px; height: 54px; color: #cbd5e1; margin-bottom: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: #0b1220; color: #94a3b8; padding: 60px 0 0; margin-top: 10px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 44px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.site-footer a { color: #94a3b8; }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: #fff; font-weight: 800; font-size: 1.25rem; }
.footer-brand .logo-mark { width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(135deg, var(--primary-600), var(--primary-dark)); display: grid; place-items: center; }
.footer-brand .logo-mark svg { width: 22px; height: 22px; color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; font-size: .93rem; }
.footer-contact svg { flex: none; width: 18px; height: 18px; color: var(--primary-600); margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }

/* ---------- WhatsApp yüzen buton ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37,211,102,.6);
  transition: .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .promo-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .brands-grid { grid-template-columns: repeat(4, 1fr); }
  .list-layout { grid-template-columns: 1fr; }
  .filter-box { position: static; }
  .product-detail, .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 52px 0; }
  .topbar .tb-info span:not(:first-child) { display: none; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height .3s ease; display: flex;
  }
  .nav-menu.open { max-height: 520px; }
  .nav-menu a { padding: 13px 15px; border-radius: 8px; }
  .nav-cta { margin: 6px 0 0; }
  .nav-toggle { display: block; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 22px; }
  /* Slider mobil: metin üstte, görsel altta */
  .hero-slide .container { grid-template-columns: 1fr; min-height: 0; text-align: center; padding: 34px 0 60px; gap: 16px; }
  .hs-text .hs-desc { margin-left: auto; margin-right: auto; }
  .hs-media { order: 2; }
  .hs-media img { max-height: 220px; }
  .hs-arrow { width: 40px; height: 40px; font-size: 1.5rem; }
  .hs-prev { left: 10px; } .hs-next { right: 10px; }
}
