/* ==========================================================
   Viessmann Kombi & Klima Servisi — Premium CSS
   Design: Split Heat/Cool, Two-tone palette, Luxury feel
   ========================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* === CSS Variables === */
:root {
  --heat: #f97316;       /* Kombi / ısıtma tonu */
  --heat-dark: #c2410c;
  --cool: #06b6d4;       /* Klima / soğutma tonu */
  --cool-dark: #0e7490;
  --bg-dark: #0c0f14;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.08);
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #475569;
  --border: rgba(255,255,255,0.07);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --shadow: 0 20px 60px rgba(0,0,0,0.4);
  --glow-heat: 0 0 40px rgba(249,115,22,0.3);
  --glow-cool: 0 0 40px rgba(6,182,212,0.3);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* === Utility === */
.container { width: min(90%, 1200px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.badge-heat { background: rgba(249,115,22,0.15); color: var(--heat); border: 1px solid rgba(249,115,22,0.3); }
.badge-cool { background: rgba(6,182,212,0.15); color: var(--cool); border: 1px solid rgba(6,182,212,0.3); }
.badge-white { background: rgba(255,255,255,0.08); color: var(--text-muted); border: 1px solid var(--border); }

/* === Announcement Bar === */
.announce-bar {
  background: linear-gradient(90deg, var(--heat-dark) 0%, var(--cool-dark) 100%);
  text-align: center;
  padding: 10px 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.announce-bar strong { color: #fff; }
.announce-bar span { color: rgba(255,255,255,0.8); }

/* === Header === */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(12,15,20,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
}
.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--heat), var(--cool));
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}
.logo-text span:first-child { color: var(--heat); }
.logo-text span:last-child { color: var(--cool); }

/* Navigation */
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--text-main);
  background: var(--bg-card-hover);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--heat), var(--cool));
  color: #fff;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: var(--glow-heat); }
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg-card-hover); color: var(--text-main); }
.btn-heat { background: var(--heat); color: #fff; }
.btn-heat:hover { background: var(--heat-dark); transform: translateY(-1px); box-shadow: var(--glow-heat); }
.btn-cool { background: var(--cool); color: #fff; }
.btn-cool:hover { background: var(--cool-dark); transform: translateY(-1px); box-shadow: var(--glow-cool); }
.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: var(--radius); }
.btn-full { width: 100%; justify-content: center; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

/* === Hero Section === */
.hero {
  position: relative;
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

/* Left: Heat Side */
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem 5rem 2rem;
  position: relative;
  z-index: 2;
}
.hero-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(249,115,22,0.15) 0%, transparent 60%);
  z-index: -1;
}

/* Right: Cool Side */
.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 5rem 2rem 5rem 4rem;
  position: relative;
  z-index: 2;
}
.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(6,182,212,0.15) 0%, transparent 60%);
  z-index: -1;
}

/* Center Divider */
.hero::after {
  content: '';
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border), transparent);
  z-index: 3;
}

/* Hero Background */
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../img/hero-bg.png') center/cover no-repeat;
  opacity: 0.15;
  z-index: 0;
}

.hero-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-label .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.dot-heat { background: var(--heat); }
.dot-cool { background: var(--cool); }

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero-title .heat { color: var(--heat); }
.hero-title .cool { color: var(--cool); }

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 380px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
}
.hero-stat .num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  display: block;
}
.hero-stat .lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero-stat.heat .num { color: var(--heat); }
.hero-stat.cool .num { color: var(--cool); }

/* === Section Base === */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-dark { background: rgba(255,255,255,0.02); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.section-desc { color: var(--text-muted); font-size: 1rem; line-height: 1.7; }

/* === Cards === */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
}
.card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}
.card-icon-heat { background: rgba(249,115,22,0.12); color: var(--heat); }
.card-icon-cool { background: rgba(6,182,212,0.12); color: var(--cool); }
.card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
}
.card-link.heat { color: var(--heat); }
.card-link.heat:hover { gap: 10px; }
.card-link.cool { color: var(--cool); }
.card-link.cool:hover { gap: 10px; }

/* Bordered cards */
.card-heat { border-top: 3px solid var(--heat); }
.card-cool { border-top: 3px solid var(--cool); }

/* === Services Split Layout === */
.services-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border-radius: var(--radius);
  overflow: hidden;
}
.services-side {
  padding: 3rem;
  position: relative;
}
.services-side-heat { background: rgba(249,115,22,0.05); border: 1px solid rgba(249,115,22,0.15); }
.services-side-cool { background: rgba(6,182,212,0.05); border: 1px solid rgba(6,182,212,0.15); }
.services-side h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.services-side p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2rem; }
.service-list { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.service-item:hover { background: rgba(255,255,255,0.07); }
.service-item i { width: 20px; text-align: center; }
.service-item.heat i { color: var(--heat); }
.service-item.cool i { color: var(--cool); }

/* === Steps / How It Works === */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.step { padding: 2.5rem 2rem; position: relative; }
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 3.5rem;
  right: -1px;
  width: 1px;
  height: 40px;
  background: var(--border);
}
.step-num {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0.12;
  margin-bottom: 0.5rem;
}
.step-heat .step-num { color: var(--heat); }
.step-cool .step-num { color: var(--cool); }
.step h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.step p { font-size: 0.875rem; color: var(--text-muted); }

/* === Testimonials === */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testi {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
}
.testi:hover { background: var(--bg-card-hover); transform: translateY(-3px); }
.testi-stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: 1rem; }
.testi blockquote {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.25rem;
}
.testi-author { font-weight: 600; font-size: 0.875rem; color: var(--text-main); }
.testi-area { font-size: 0.8rem; color: var(--text-dim); }

/* === Stats Bar === */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-item {
  background: var(--bg-dark);
  padding: 2rem;
  text-align: center;
}
.stat-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  display: block;
  margin-bottom: 0.25rem;
}
.stat-num.heat { color: var(--heat); }
.stat-num.cool { color: var(--cool); }
.stat-num.white { color: var(--text-main); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* === FAQ === */
.faq-list { display: flex; flex-direction: column; gap: 1px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.975rem;
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 1rem;
}
.faq-question .icon { color: var(--text-dim); transition: var(--transition); flex-shrink: 0; }
.faq-item.open .faq-question .icon { transform: rotate(45deg); color: var(--cool); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 1.5rem 1.25rem; font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* === Contact Section === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-block { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.ci-heat { background: rgba(249,115,22,0.12); color: var(--heat); }
.ci-cool { background: rgba(6,182,212,0.12); color: var(--cool); }
.ci-white { background: rgba(255,255,255,0.05); color: var(--text-main); }
.contact-info-text strong { display: block; font-weight: 600; margin-bottom: 2px; }
.contact-info-text span { font-size: 0.875rem; color: var(--text-muted); }

/* Form */
.form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 0.825rem; font-weight: 600; color: var(--text-muted); }
.form-input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
  width: 100%;
}
.form-input:focus {
  outline: none;
  border-color: var(--cool);
  box-shadow: 0 0 0 3px rgba(6,182,212,0.1);
}
.form-input::placeholder { color: var(--text-dim); }
select.form-input { cursor: pointer; appearance: none; }
textarea.form-input { resize: vertical; min-height: 120px; }

/* Warranty Widget */
.warranty-widget {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(249,115,22,0.05);
  border: 1px solid rgba(249,115,22,0.2);
  border-radius: var(--radius);
}
.warranty-widget h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.warranty-widget h4 i { color: var(--heat); }
.warranty-widget p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; }
.warranty-row { display: flex; gap: 0.75rem; }
.warranty-row input { flex: 1; }

/* === Footer === */
.footer {
  background: #080a0d;
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p { font-size: 0.875rem; color: var(--text-dim); margin-top: 1rem; line-height: 1.7; }
.footer-social { display: flex; gap: 0.5rem; margin-top: 1.25rem; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-social a:hover { background: var(--bg-card-hover); color: var(--text-main); }
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.9rem; color: var(--text-dim); transition: var(--transition); }
.footer-links a:hover { color: var(--text-main); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* === Floating Buttons === */
.float-wa {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
}
.float-wa:hover { transform: scale(1.1); }
.float-phone {
  position: fixed;
  bottom: 30px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--heat), var(--cool));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 999;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.float-phone:hover { transform: scale(1.1); }

/* === Animations === */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease forwards; }
.fade-up-1 { animation-delay: 0.1s; opacity: 0; }
.fade-up-2 { animation-delay: 0.2s; opacity: 0; }
.fade-up-3 { animation-delay: 0.3s; opacity: 0; }

/* === Mobile Nav Overlay === */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(12,15,20,0.97);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav .nav-link { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; }
.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testimonials { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .header-cta .btn-ghost { display: none; }
  .hamburger { display: flex; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero::after { display: none; }
  .hero-left, .hero-right {
    padding: 3rem 1.5rem;
    align-items: center;
    text-align: center;
  }
  .hero-right::before, .hero-left::before { opacity: 0.6; }
  .hero-desc { max-width: 100%; }
  .hero-stats { justify-content: center; }

  .services-split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .testimonials { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .services-side { padding: 2rem 1.5rem; }
}
