/* ===== Dokuz Oto Klima — Stil =====
 * Renkler logodan alındı: koyu grafit zemin, krom gümüş, buz mavisi.
 */
:root {
  /* Zemin (logonun arka planı) */
  --bg: #16191c;
  --bg-top: #282d30;
  --bg-bottom: #0f1214;
  --surface: rgba(40, 45, 50, .72);
  --surface-solid: #23282c;
  --surface-2: rgba(255, 255, 255, .04);
  --border: rgba(255, 255, 255, .10);
  --border-strong: rgba(255, 255, 255, .18);

  /* Logo renkleri */
  --silver: #d1d2d4;
  --silver-dark: #9aa1a8;
  --blue: #1a7fd4;          /* buton zemini (beyaz yazıyla 4.5:1+) */
  --blue-dark: #1468b0;
  --ice: #5cb8ff;           /* koyu zemin üstünde vurgu yazısı */
  --ice-soft: rgba(92, 184, 255, .12);
  --orange: #ff8a3d;        /* dizel ısıtıcı vurgusu */
  --orange-btn: #e0621a;
  --orange-soft: rgba(255, 138, 61, .12);

  /* Yazı */
  --text: #eef1f4;
  --muted: #b3bbc4;

  --wa: #25d366;
  --radius: 14px;
  --shadow: 0 18px 44px rgba(0, 0, 0, .45);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; background: var(--bg-bottom); }
body {
  font-family: var(--font); color: var(--text); line-height: 1.6; position: relative; isolation: isolate;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 35%, var(--bg-bottom) 100%) fixed;
}
/* Logo, tüm sitenin arka planında sabit filigran olarak */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url("../img/logo.jpg") center 55% / min(78vh, 90vw) no-repeat;
  opacity: .14;
  -webkit-mask-image: radial-gradient(circle at 50% 55%, #000 28%, transparent 58%);
          mask-image: radial-gradient(circle at 50% 55%, #000 28%, transparent 58%);
}
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, 92%); margin: 0 auto; }

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.5px; font-weight: 800; color: #fff; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: .6rem; }
strong { color: #fff; }

.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--ice); margin-bottom: .6rem; }

/* Krom (gümüş) yazı efekti */
.chrome {
  background: linear-gradient(180deg, #ffffff 0%, #d1d2d4 45%, #8d949b 55%, #e6e8ea 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: .98rem; cursor: pointer; transition: .2s;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(26,127,212,.35); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(209,210,212,.45); color: var(--silver); }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(22, 25, 28, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); transition: box-shadow .2s; }
.header.scrolled { box-shadow: 0 8px 28px rgba(0,0,0,.45); }
.header-inner { display: flex; align-items: center; gap: 2rem; height: 76px; }

.logo { display: flex; align-items: center; gap: .7rem; }
.logo-img { width: 52px; height: 52px; border-radius: 12px; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong {
  font-size: 1.45rem; font-weight: 800; letter-spacing: 2px;
  background: linear-gradient(180deg, #fff 0%, #d1d2d4 50%, #9aa1a8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo-text small { font-size: .72rem; color: var(--ice); font-weight: 700; letter-spacing: 3.5px; margin-top: 3px; }
.footer-logo { width: 120px; height: auto; border-radius: 12px; display: block; }

.nav { display: flex; gap: 1.5rem; margin-left: auto; }
.nav a { font-weight: 600; font-size: .93rem; color: var(--muted); padding: .3rem 0; position: relative; transition: color .2s; }
.nav a:hover, .nav a.active { color: #fff; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 0; background: var(--ice); transition: width .2s; }
.nav a:hover::after, .nav a.active::after { width: 100%; }

.header-phone { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: #fff; background: var(--blue); padding: .55rem 1rem; border-radius: 999px; font-size: .92rem; white-space: nowrap; }
.header-phone:hover { background: var(--blue-dark); }
.header-phone svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; }
.menu-toggle span { display: block; height: 2px; width: 24px; background: var(--silver); margin: 0 auto; transition: .25s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden; padding: 4.5rem 0 5.5rem;
  background:
    radial-gradient(700px 420px at 88% 105%, rgba(26,127,212,.28), transparent 60%),
    radial-gradient(600px 380px at 5% 0%, rgba(92,184,255,.14), transparent 60%);
}
.hero-bg .flake { position: absolute; color: rgba(92,184,255,.05); font-size: 18rem; line-height: 1; user-select: none; }
.hero-bg .f1 { top: -4rem; left: -3rem; }
.hero-bg .f2 { display: none; }
.hero-bg .f3 { bottom: -6rem; right: 30%; font-size: 12rem; }

.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr 1fr; gap: 3.5rem; align-items: center; }
.hero-logo {
  width: 170px; height: auto; display: block; margin-bottom: 1.4rem;
  border-radius: 22px; border: 1px solid var(--border-strong);
  box-shadow: 0 18px 40px rgba(0,0,0,.5), 0 0 0 6px rgba(255,255,255,.03);
}
.pill { display: inline-block; padding: .4rem 1rem; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid var(--border-strong); color: var(--silver); font-size: .85rem; font-weight: 600; margin-bottom: 1.3rem; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: 1.3rem; }
.hero h1 .cool { color: var(--ice); }
.hero h1 .warm { color: var(--orange); }
.hero-text p { font-size: 1.08rem; color: var(--muted); max-width: 560px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-cards { display: grid; gap: 1rem; }
.hero-card {
  display: flex; align-items: center; gap: 1.1rem; padding: 1.25rem 1.4rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(6px);
  transition: transform .2s, border-color .2s;
}
.hero-card:hover { transform: translateX(6px); border-color: rgba(92,184,255,.45); }
.hero-card strong { display: block; font-size: 1.08rem; }
.hero-card small { color: var(--muted); font-size: .87rem; }
.hc-icon { flex: none; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; }
.hc-icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hc-cool .hc-icon { background: linear-gradient(135deg, #5cb8ff, var(--blue)); }
.hc-warm .hc-icon { background: linear-gradient(135deg, #ffb347, var(--orange-btn)); }

/* Avantaj şeridi */
.strip { background: rgba(255,255,255,.03); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-inner div { padding: 1.6rem 1.2rem; border-right: 1px solid var(--border); display: grid; }
.strip-inner div:last-child { border-right: 0; }
.strip-inner strong { font-size: 1.1rem; color: var(--ice); }
.strip-inner span { font-size: .88rem; color: var(--muted); }

/* Bölümler */
.section { padding: 5.5rem 0; position: relative; }
.section-alt { background: rgba(255,255,255,.025); }
.section-dark { background: rgba(0,0,0,.28); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 2.8rem; }
.section-head p { color: var(--muted); }

/* Sekmeler */
.tabs { display: flex; justify-content: center; gap: .6rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.tab {
  font: inherit; font-weight: 700; font-size: .95rem; padding: .8rem 1.4rem; border-radius: 999px;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--silver); cursor: pointer; transition: .2s;
}
.tab:hover { border-color: var(--ice); color: #fff; }
.tab.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.tab[data-tab="isitici"].active { background: var(--orange-btn); border-color: var(--orange-btn); }

.tab-panel { display: none; animation: fade .35s ease; }
.tab-panel.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.panel-intro { background: var(--ice-soft); border: 1px solid rgba(92,184,255,.22); border-left: 5px solid var(--ice); border-radius: var(--radius); padding: 1.5rem 1.8rem; margin-bottom: 1.6rem; }
.panel-intro.warm { background: var(--orange-soft); border-color: rgba(255,138,61,.25); border-left-color: var(--orange); }
.panel-intro h3 { font-size: 1.4rem; margin-bottom: .3rem; }
.panel-intro p { color: #cfd6dd; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.product {
  padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  backdrop-filter: blur(4px); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.product::before { content: ""; display: block; width: 34px; height: 4px; border-radius: 4px; background: var(--ice); margin-bottom: 1rem; }
.product.warm::before { background: var(--orange); }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(92,184,255,.35); }
.product.warm:hover { border-color: rgba(255,138,61,.4); }
.product h4 { font-size: 1.08rem; margin-bottom: .4rem; }
.product p { font-size: .9rem; color: var(--muted); }

/* Montaj & Servis */
.service { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3.5rem; align-items: center; }
.service-text p { color: var(--muted); margin-bottom: 1.4rem; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.service-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; backdrop-filter: blur(4px); transition: transform .2s, box-shadow .2s, border-color .2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.service-card h4 { font-size: 1.05rem; margin: .9rem 0 .3rem; }
.service-card p { font-size: .9rem; color: var(--muted); }
.sc-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; }
.sc-icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sc-icon.cool { background: linear-gradient(135deg, #5cb8ff, var(--blue)); }
.sc-icon.warm { background: linear-gradient(135deg, #ffb347, var(--orange-btn)); }

/* Kullanım alanları */
.use-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.use { text-align: center; padding: 1.8rem 1rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: .2s; }
.use:hover { border-color: var(--ice); transform: translateY(-4px); }
.use span { font-size: 2.4rem; display: block; margin-bottom: .6rem; }
.use h4 { font-size: .98rem; font-weight: 700; }

/* Hakkımızda */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text p { color: var(--muted); margin-bottom: 1rem; }
.about-text .btn { margin-top: .6rem; }
.steps { display: grid; gap: 1rem; }
.step { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.4rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.step > span { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; display: grid; place-items: center; }
.step h4 { font-size: 1.08rem; margin-bottom: .2rem; }
.step p { color: var(--muted); font-size: .92rem; }

/* Form */
.request-form { max-width: 820px; margin: 0 auto; background: rgba(35, 40, 44, .88); border: 1px solid var(--border); padding: 2.5rem; border-radius: 18px; box-shadow: var(--shadow); backdrop-filter: blur(6px); display: grid; gap: 1.1rem; }
.request-form label { display: grid; gap: .4rem; font-size: .87rem; font-weight: 700; color: #dfe4e9; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.request-form .btn { justify-self: start; }
input, select, textarea {
  width: 100%; padding: .85rem 1rem; border: 1px solid #454c54; border-radius: 10px;
  font: inherit; font-weight: 500; font-size: .95rem; background: #171a1d; color: var(--text); transition: border-color .2s, box-shadow .2s;
}
input::placeholder, textarea::placeholder { color: #8a939c; }
select option { background: #171a1d; color: var(--text); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ice); box-shadow: 0 0 0 3px rgba(92,184,255,.2); }

/* İletişim */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; }
.contact-list { list-style: none; margin-top: 1.6rem; display: grid; gap: 1.2rem; }
.contact-list li { display: grid; gap: .15rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--border); }
.ci-label { font-size: .75rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--silver-dark); }
.ci-value { font-size: 1.05rem; font-weight: 600; color: #fff; }
a.ci-value:hover { color: var(--ice); }
.map { border-radius: 18px; overflow: hidden; min-height: 380px; box-shadow: var(--shadow); background: var(--surface-solid); border: 1px solid var(--border); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

/* Footer */
.footer { background: rgba(0,0,0,.45); border-top: 1px solid var(--border); color: var(--muted); padding: 2rem 0; font-size: .88rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.4); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s, transform .6s; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .header-phone { display: none; }
  .use-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .menu-toggle { display: flex; margin-left: auto; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: #1a1d20;
    border-bottom: 1px solid var(--border); box-shadow: 0 14px 24px rgba(0,0,0,.4);
    max-height: 0; overflow: hidden; transition: max-height .3s;
  }
  .nav.open { max-height: 460px; }
  .nav a { padding: 1rem 4%; border-top: 1px solid var(--border); }
  .nav a::after { display: none; }
  .hero { padding: 3rem 0 4rem; }
  .hero-logo { width: 150px; }
  .hero-inner, .about, .contact, .service { grid-template-columns: 1fr; }
  .about, .service { gap: 2.5rem; }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .strip-inner div:nth-child(2) { border-right: 0; }
  .strip-inner div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

@media (max-width: 560px) {
  .product-grid, .form-row, .service-grid { grid-template-columns: 1fr; }
  .use-grid { grid-template-columns: repeat(2, 1fr); }
  .tab { flex: 1 1 100%; }
  .request-form { padding: 1.5rem; }
  .request-form .btn { justify-self: stretch; }
  .section { padding: 4rem 0; }
  .logo-img { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tab-panel { animation: none; }
}
