/* ==========================================================================
   Onarco Isı Sistemleri - style.css
   ========================================================================== */

:root{
  --navy:#0F2C4C;
  --navy-dark:#0A1F38;
  --navy-soft:#16406B;
  --amber:#E8871E;
  --amber-dark:#C96F12;
  --bg-light:#F5F8FB;
  --bg-white:#FFFFFF;
  --text:#1B222C;
  --text-light:#5B6472;
  --border:#E1E7EE;
  --radius:14px;
  --shadow:0 10px 30px rgba(15,44,76,0.08);
  --shadow-lg:0 20px 45px rgba(15,44,76,0.16);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
html, body{
  max-width:100%;
  overflow-x:hidden;
}
body{
  margin:0;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  color:var(--text);
  background:var(--bg-white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  -webkit-text-size-adjust:100%;
  position:relative;
  overflow-wrap:break-word;
  word-wrap:break-word;
}
svg{ max-width:100%; }
iframe{ max-width:100%; }
h1,h2,h3,h4{
  font-family:'Poppins','Inter',sans-serif;
  margin:0 0 .5em;
  line-height:1.25;
  color:var(--navy);
}
p{ margin:0 0 1em; color:var(--text-light); }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }
.container{ max-width:1180px; margin:0 auto; padding:0 24px; }
.section{ padding:88px 0; }
.section-tight{ padding:56px 0; }
.section-alt{ background:var(--bg-light); }
.eyebrow{
  display:inline-block;
  font-size:13px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--amber-dark);
  background:rgba(232,135,30,0.1);
  padding:6px 14px;
  border-radius:99px;
  margin-bottom:14px;
}
.section-head{ max-width:640px; margin-bottom:48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:clamp(26px,3.2vw,38px); }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:14px 28px;
  border-radius:99px;
  font-weight:600;
  font-size:15px;
  border:2px solid transparent;
  cursor:pointer;
  transition:all .2s ease;
  white-space:nowrap;
}
.btn-primary{ background:var(--amber); color:#fff; }
.btn-primary:hover{ background:var(--amber-dark); transform:translateY(-2px); }
.btn-outline{ background:transparent; border-color:rgba(255,255,255,0.5); color:#fff; }
.btn-outline:hover{ border-color:#fff; background:rgba(255,255,255,0.08); }
.btn-navy{ background:var(--navy); color:#fff; }
.btn-navy:hover{ background:var(--navy-dark); transform:translateY(-2px); }
.btn-block{ width:100%; justify-content:center; }

/* ---------------------------------------------------------------- Header */
.site-header{
  position:sticky; top:0; z-index:200;
  background:rgba(255,255,255,0.96);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 24px; max-width:1180px; margin:0 auto; gap:12px;
}
.logo{ display:flex; align-items:center; gap:10px; min-width:0; flex-shrink:1; }
.logo img{ height:40px; width:40px; border-radius:10px; flex:none; }
.logo-text{ display:flex; flex-direction:column; line-height:1.1; min-width:0; }
.logo-text strong{ font-family:'Poppins',sans-serif; font-size:19px; color:var(--navy); letter-spacing:.02em; white-space:nowrap; }
.logo-text span{ font-size:11px; color:var(--amber-dark); font-weight:600; letter-spacing:.06em; text-transform:uppercase; white-space:nowrap; }

.main-nav ul{ display:flex; gap:6px; align-items:center; }
.main-nav a{
  padding:10px 16px; border-radius:99px; font-weight:600; font-size:15px; color:var(--navy);
  transition:background .2s ease;
}
.main-nav a:hover, .main-nav a.active{ background:var(--bg-light); color:var(--amber-dark); }

.header-cta{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.header-phone{ display:flex; align-items:center; gap:8px; font-weight:700; color:var(--navy); font-size:15px; flex-shrink:0; }
.header-phone svg{ width:18px; height:18px; flex:none; }

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

@media (max-width: 920px){
  .main-nav{
    position:fixed; top:0; right:0; bottom:0; width:78%; max-width:320px; height:100vh;
    background:#fff; box-shadow:-10px 0 30px rgba(0,0,0,0.15);
    transform:translateX(100%); transition:transform .3s ease; padding:90px 28px 28px; z-index:199;
    visibility:hidden;
  }
  .main-nav.open{ transform:translateX(0); visibility:visible; }
  .main-nav ul{ flex-direction:column; align-items:flex-start; gap:4px; }
  .main-nav a{ display:block; width:100%; padding:12px 14px; }
  .header-phone span.phone-text{ display:none; }
  .nav-toggle{ display:block; }
  .nav-scrim{ display:none; position:fixed; inset:0; background:rgba(10,20,35,.4); z-index:198; }
  .nav-scrim.open{ display:block; }
}

@media (max-width: 480px){
  .header-inner{ padding:12px 16px; gap:8px; }
  .logo-text span{ display:none; }
  .header-cta{ gap:6px; }
}

@media (max-width: 340px){
  .header-phone span.phone-text{ font-size:13px; }
}

/* ----------------------------------------------------------------- Hero */
.hero{
  position:relative;
  background:linear-gradient(135deg,var(--navy-dark) 0%, var(--navy) 55%, var(--navy-soft) 100%);
  color:#fff;
  overflow:hidden;
  padding:110px 0 90px;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background-image:radial-gradient(circle at 82% 18%, rgba(232,135,30,0.25), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(255,255,255,0.08), transparent 40%);
  pointer-events:none;
}
.hero-inner{ position:relative; z-index:1; }
.hero-badges{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:22px; }
.hero-badge{
  display:flex; align-items:center; gap:8px;
  background:rgba(255,255,255,0.1); border:1px solid rgba(255,255,255,0.18);
  padding:8px 16px; border-radius:99px; font-size:13px; font-weight:600;
}
.hero h1{ color:#fff; font-size:clamp(32px,5vw,54px); max-width:720px; margin-bottom:20px; }
.hero h1 em{ font-style:normal; color:var(--amber); }
.hero p.lead{ color:rgba(255,255,255,0.78); font-size:18px; max-width:560px; margin-bottom:32px; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; }

.hero-block{
  display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center;
}
.hero-visual{
  background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.14);
  border-radius:20px; padding:32px; backdrop-filter:blur(4px);
}
.hero-visual-grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.hero-stat{ background:rgba(255,255,255,0.08); border-radius:14px; padding:20px; }
.hero-stat strong{ display:block; font-size:26px; font-family:'Poppins',sans-serif; color:var(--amber); }
.hero-stat span{ font-size:13px; color:rgba(255,255,255,0.72); }

@media (max-width:920px){
  .hero-block{ grid-template-columns:1fr; }
}

/* ------------------------------------------------------------- Services */
.services-strip{
  display:grid; grid-template-columns:repeat(4,1fr); gap:20px;
}
.service-card{
  background:#fff; border:1px solid var(--border); border-radius:var(--radius);
  padding:30px 26px; box-shadow:var(--shadow); transition:transform .2s ease, box-shadow .2s ease;
}
.service-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.icon-badge{
  width:52px; height:52px; border-radius:14px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--amber),var(--amber-dark)); color:#fff; margin-bottom:18px;
}
.icon-badge svg{ width:26px; height:26px; }
.service-card h3{ font-size:18px; margin-bottom:8px; }
.service-card p{ font-size:14.5px; margin-bottom:14px; }
.service-card a.link{ font-weight:700; font-size:14px; color:var(--amber-dark); display:inline-flex; align-items:center; gap:6px; }

@media (max-width:920px){ .services-strip{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .services-strip{ grid-template-columns:1fr; } }

/* ------------------------------------------------------------- About row */
.about-row{ display:grid; grid-template-columns:.9fr 1.1fr; gap:64px; align-items:center; }
.about-visual{
  position:relative; border-radius:22px; overflow:hidden; min-height:380px;
  background:linear-gradient(155deg,var(--navy) 0%, var(--navy-soft) 100%);
  display:flex; align-items:center; justify-content:center;
}
.about-visual svg{ width:62%; height:auto; opacity:.92; }
.about-badge{
  position:absolute; left:24px; bottom:24px; background:#fff; border-radius:16px;
  padding:18px 22px; box-shadow:var(--shadow-lg); display:flex; gap:14px; align-items:center;
}
.about-badge strong{ font-family:'Poppins',sans-serif; font-size:24px; color:var(--navy); display:block; }
.about-badge span{ font-size:13px; color:var(--text-light); }
.check-list{ margin-top:22px; display:flex; flex-direction:column; gap:12px; }
.check-list li{ display:flex; gap:12px; align-items:flex-start; color:var(--text); font-weight:500; font-size:15px; }
.check-list svg{ flex:none; width:20px; height:20px; color:var(--amber-dark); margin-top:2px; }

@media (max-width:920px){ .about-row{ grid-template-columns:1fr; } }

/* --------------------------------------------------------------- Why us */
.why-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.why-card{ text-align:left; }
.why-card .icon-badge{ background:var(--navy); }
.why-card h3{ font-size:17px; }
.why-card p{ font-size:14.5px; }
@media (max-width:920px){ .why-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .why-grid{ grid-template-columns:1fr; } }

/* -------------------------------------------------------------------FAQ */
.faq-list{ max-width:820px; margin:0 auto; }
.faq-item{ border-bottom:1px solid var(--border); }
.faq-q{
  width:100%; text-align:left; background:none; border:none; cursor:pointer;
  padding:22px 4px; display:flex; justify-content:space-between; align-items:center; gap:16px;
  font-family:'Poppins',sans-serif; font-size:16.5px; font-weight:600; color:var(--navy);
}
.faq-q svg{ flex:none; width:20px; height:20px; transition:transform .25s ease; color:var(--amber-dark); }
.faq-item.open .faq-q svg{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .3s ease; }
.faq-item.open .faq-a{ max-height:240px; }
.faq-a p{ padding:0 4px 22px; font-size:15px; }

/* --------------------------------------------------------------- CTA band */
.cta-band{
  background:linear-gradient(120deg,var(--navy-dark),var(--navy));
  color:#fff; border-radius:24px; padding:56px; display:flex; justify-content:space-between; align-items:center; gap:30px; flex-wrap:wrap;
}
.cta-band h2{ color:#fff; margin-bottom:8px; font-size:28px; }
.cta-band p{ color:rgba(255,255,255,0.75); margin:0; }
.cta-actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* ----------------------------------------------------------------- Cards (Services page) */
.service-block{ display:grid; grid-template-columns:.9fr 1.1fr; gap:56px; align-items:center; padding:64px 0; border-bottom:1px solid var(--border); }
.service-block:last-of-type{ border-bottom:none; }
.service-block.reverse{ direction:rtl; }
.service-block.reverse > *{ direction:ltr; }
.service-visual{
  border-radius:20px; min-height:300px; display:flex; align-items:center; justify-content:center;
  background:var(--bg-light); border:1px solid var(--border);
}
.service-visual svg{ width:46%; height:auto; }
.service-index{ font-family:'Poppins',sans-serif; font-weight:700; color:var(--amber); font-size:15px; letter-spacing:.1em; margin-bottom:10px; }
.service-block h2{ font-size:26px; }
.service-features{ margin-top:18px; display:grid; grid-template-columns:1fr 1fr; gap:10px 20px; }
.service-features li{ display:flex; gap:10px; align-items:flex-start; font-size:14.5px; font-weight:500; }
.service-features svg{ flex:none; width:18px; height:18px; color:var(--amber-dark); margin-top:2px; }
@media (max-width:820px){
  .service-block, .service-block.reverse{ grid-template-columns:1fr; direction:ltr; }
  .service-features{ grid-template-columns:1fr; }
}

/* ------------------------------------------------------------- Page hero (inner pages) */
.page-hero{
  background:linear-gradient(135deg,var(--navy-dark),var(--navy));
  color:#fff; padding:70px 0 64px;
}
.page-hero h1{ color:#fff; font-size:clamp(28px,4vw,42px); max-width:640px; }
.page-hero p{ color:rgba(255,255,255,0.75); max-width:560px; font-size:16.5px; }
.breadcrumb{ font-size:13px; color:rgba(255,255,255,0.6); margin-bottom:16px; }
.breadcrumb a{ color:rgba(255,255,255,0.85); font-weight:600; }

/* ----------------------------------------------------------------- Stats */
.stat-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:36px; }
.stat-box{ background:#fff; border:1px solid var(--border); border-radius:16px; padding:26px; text-align:center; box-shadow:var(--shadow); }
.stat-box strong{ font-family:'Poppins',sans-serif; font-size:30px; color:var(--navy); display:block; }
.stat-box span{ font-size:13.5px; color:var(--text-light); }
@media (max-width:700px){ .stat-row{ grid-template-columns:1fr; } }

/* --------------------------------------------------------------- Values */
.values-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.value-card{ background:var(--bg-light); border-radius:18px; padding:30px; }
.value-card h3{ font-size:18px; }
@media (max-width:820px){ .values-grid{ grid-template-columns:1fr; } }

/* ----------------------------------------------------------------- Blog */
.blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.blog-card{
  background:#fff; border:1px solid var(--border); border-radius:var(--radius); overflow:hidden;
  box-shadow:var(--shadow); transition:transform .2s ease, box-shadow .2s ease; display:flex; flex-direction:column;
}
.blog-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.blog-thumb{
  height:170px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--navy),var(--navy-soft));
}
.blog-thumb svg{ width:44%; height:auto; opacity:.9; }
.blog-body{ padding:24px; display:flex; flex-direction:column; gap:10px; flex:1; }
.blog-meta{ font-size:12.5px; color:var(--amber-dark); font-weight:700; text-transform:uppercase; letter-spacing:.04em; display:flex; gap:10px; align-items:center; }
.blog-body h3{ font-size:18px; }
.blog-body p{ font-size:14.5px; flex:1; }
.blog-body .link{ font-weight:700; font-size:14px; color:var(--navy); }
@media (max-width:920px){ .blog-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:620px){ .blog-grid{ grid-template-columns:1fr; } }

.article{ max-width:760px; margin:0 auto; }
.article h2{ font-size:22px; margin-top:32px; }
.article p{ color:var(--text); font-size:16px; }
.article ul{ margin:0 0 20px; padding-left:0; }
.article ul li{ display:flex; gap:10px; margin-bottom:10px; font-size:15.5px; color:var(--text); }
.article ul li svg{ flex:none; width:18px; height:18px; color:var(--amber-dark); margin-top:3px; }
.article-hero-thumb{ border-radius:18px; overflow:hidden; margin-bottom:8px; height:260px; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,var(--navy),var(--navy-soft)); }
.article-hero-thumb svg{ width:30%; }

/* ------------------------------------------------------------- Contact */
.contact-grid{ display:grid; grid-template-columns:.85fr 1.15fr; gap:48px; align-items:start; }
.contact-card{ background:#fff; border:1px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow); padding:34px; }
.contact-info-item{ display:flex; gap:16px; padding:18px 0; border-bottom:1px solid var(--border); }
.contact-info-item > div{ min-width:0; }
.contact-info-item:last-child{ border-bottom:none; }
.contact-info-item .icon-badge{ margin-bottom:0; width:44px; height:44px; border-radius:12px; }
.contact-info-item h4{ font-size:15px; margin-bottom:4px; }
.contact-info-item p{ font-size:14.5px; margin:0; }
.contact-info-item a{ color:var(--navy); font-weight:600; }
.social-row{ display:flex; gap:10px; margin-top:20px; }
.social-row a{
  width:40px; height:40px; border-radius:10px; background:var(--bg-light); display:flex; align-items:center; justify-content:center;
  color:var(--navy); transition:.2s;
}
.social-row a:hover{ background:var(--amber); color:#fff; }

.form-card{ background:#fff; border:1px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow); padding:36px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:18px; }
.field{ display:flex; flex-direction:column; gap:6px; }
.field label{ font-size:13.5px; font-weight:600; color:var(--navy); }
.field input, .field select, .field textarea{
  border:1px solid var(--border); border-radius:10px; padding:13px 14px; font-size:16px; font-family:inherit;
  background:var(--bg-light); color:var(--text); transition:border .2s ease; width:100%; max-width:100%;
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--amber); background:#fff; }
.field textarea{ resize:vertical; min-height:120px; }
.form-note{ font-size:12.5px; color:var(--text-light); margin-top:10px; }
@media (max-width:820px){ .contact-grid{ grid-template-columns:1fr; } .form-row{ grid-template-columns:1fr; } }

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

/* ---------------------------------------------------------------- Footer */
.site-footer{ background:var(--navy-dark); color:rgba(255,255,255,0.8); padding-top:64px; padding-bottom:110px; overflow:hidden; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.1fr; gap:36px; padding-bottom:44px; border-bottom:1px solid rgba(255,255,255,0.1); }
.footer-col{ min-width:0; }
.footer-col p{ overflow-wrap:break-word; }
.footer-logo{ display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.footer-logo img{ height:40px; width:40px; border-radius:10px; }
.footer-logo strong{ color:#fff; font-family:'Poppins',sans-serif; font-size:19px; }
.footer-col h4{ color:#fff; font-size:14px; text-transform:uppercase; letter-spacing:.05em; margin-bottom:16px; }
.footer-col ul li{ margin-bottom:10px; }
.footer-col a{ color:rgba(255,255,255,0.72); font-size:14.5px; transition:color .2s ease; }
.footer-col a:hover{ color:var(--amber); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding:22px 0; font-size:13px; color:rgba(255,255,255,0.55); flex-wrap:wrap; gap:10px; }
.footer-bottom a{ color:rgba(255,255,255,0.55); }
.footer-social{ display:flex; gap:10px; }
.footer-social a{ width:36px; height:36px; border-radius:9px; background:rgba(255,255,255,0.08); display:flex; align-items:center; justify-content:center; }
.footer-social a:hover{ background:var(--amber); }

@media (max-width:820px){
  .footer-grid{ grid-template-columns:1fr 1fr; gap:28px 24px; }
}
@media (max-width:560px){
  .footer-grid{ grid-template-columns:1fr; gap:32px; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
  .site-footer{ padding-bottom:170px; }
}

/* -------------------------------------------------------------- Sticky WA */
.float-actions{ position:fixed; right:22px; bottom:22px; display:flex; flex-direction:column; gap:12px; z-index:150; }
.float-btn{
  width:56px; height:56px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 24px rgba(0,0,0,0.22); color:#fff;
}
.float-btn.wa{ background:#25D366; }
.float-btn.call{ background:var(--amber); }
.float-btn svg{ width:26px; height:26px; }

/* ---------------------------------------------------------------- Utils */
.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.mt-40{ margin-top:40px; }
.text-center{ text-align:center; margin-left:auto; margin-right:auto; }
