/* ==========================================================================
   OTO ELEKTRİK & KLİMA SERVİSİ — TEMPLATE STİL DOSYASI
   Renk paletini değiştirmek için yalnızca aşağıdaki :root değişkenlerini
   düzenlemeniz yeterlidir.
   ========================================================================== */

:root {
  /* Sarı + siyah paleti */
  --ink: #0a0a0a;          /* en koyu zemin */
  --deep: #141414;         /* koyu bloklar */
  --brand: #1a1a1a;        /* koyu metin / blok rengi */
  --brand-soft: #8a6d00;   /* altın tonlu vurgu yazısı */
  --accent: #ffc400;       /* sarı vurgu / CTA */
  --accent-dark: #e6b000;
  --accent-ink: #0a0a0a;   /* sarı üstündeki yazı */
  --tint: #f7f5ef;         /* açık bölüm zemini */
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --line: rgba(10, 10, 10, 0.12);

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -22px rgba(10, 10, 10, 0.45);
  --container: 1180px;
  --header-h: 152px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0 0 1em; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn svg { font-size: 1.1em; }
.btn:hover { transform: translateY(-2px); }

.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--accent-ink); }
.btn--accent:hover { background: var(--accent-dark); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .45);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.btn--lg { padding: 16px 32px; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, .92), rgba(10, 10, 10, .55));
  backdrop-filter: blur(8px);
  transition: opacity .25s ease;
}
.site-header.is-scrolled::before { opacity: 1; background: var(--ink); }
.site-header.is-scrolled { box-shadow: 0 12px 30px -20px rgba(0, 0, 0, .8); }

.topbar {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-size: .82rem;
  color: rgba(255, 255, 255, .78);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 42px;
}
.topbar__list { display: flex; flex-wrap: wrap; gap: 22px; }
.topbar__list li { display: flex; align-items: center; gap: 8px; }
.topbar__list svg { color: var(--accent); font-size: 1.05rem; }
.topbar__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #fff;
}
.topbar__phone svg { color: var(--accent); }

.navbar { position: relative; }
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--ink);
  border: 2px solid var(--accent);
  color: var(--accent);
  flex: 0 0 auto;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .35) inset;
}
.brand__mark svg {
  width: 29px;
  height: 29px;
  fill: var(--accent);
  stroke: var(--accent);
  stroke-width: 1.1;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-size: 1.06rem; letter-spacing: .06em; }
.brand__text small { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav a:not(.btn) {
  display: block;
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .84);
  font-size: .9rem;
  font-weight: 600;
  transition: color .18s ease, background .18s ease;
}
.main-nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .1); }
.main-nav a.is-active { color: var(--accent); }
.nav-cta { padding: 11px 22px; font-size: .88rem; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  padding: 12px 11px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 780px);
  background: var(--ink);
  overflow: hidden;
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease, visibility .7s ease;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 6s ease;
}
.hero__slide.is-active .hero__img { transform: scale(1); }

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, .95) 0%, rgba(10, 10, 10, .78) 45%, rgba(10, 10, 10, .35) 100%),
    linear-gradient(0deg, rgba(10, 10, 10, .95) 0%, rgba(10, 10, 10, 0) 45%);
}

.hero__content {
  position: relative;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 110px;
  max-width: 720px;
  color: #fff;
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero__kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--accent);
}
.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  margin-bottom: .3em;
}
.hero__text {
  max-width: 540px;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero__controls {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 3;
}
.hero__arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.hero__arrow svg { width: 20px; height: 20px; }
.hero__arrow:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.hero__dots { display: flex; align-items: center; gap: 10px; }
.hero__dots button {
  width: 28px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .35);
  cursor: pointer;
  transition: background .2s ease, width .2s ease;
}
.hero__dots button.is-active { background: var(--accent); width: 46px; }

/* ---------- Banner ---------- */
.banner {
  background: var(--deep);
  color: #fff;
  padding: 52px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.banner::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), transparent 65%);
}
.banner__eyebrow {
  margin: 0 0 10px;
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
}
.banner h2 {
  margin: 0 auto;
  max-width: 900px;
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, .95);
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section--tint { background: var(--tint); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand-soft);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--accent); }

.section__head { max-width: 720px; margin: 0 auto clamp(34px, 4vw, 54px); text-align: center; }
.section__head--left { margin-inline: 0; text-align: left; }
.section__title { font-size: clamp(1.65rem, 3.2vw, 2.5rem); }
.section__lead { color: var(--muted); font-size: 1rem; margin: 0; }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.card {
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }

.card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 15px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--brand);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.12rem; margin-bottom: .4em; }
.card p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------- Split / Hakkımızda ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
}
.split__media { position: relative; }
.split__media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.split__badge {
  position: absolute;
  right: -14px;
  bottom: -18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow);
}
.split__badge strong { font-size: 1.7rem; line-height: 1; color: var(--accent); }
.split__badge span { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }

.split__body p { color: var(--muted); }

.checklist { display: grid; gap: 12px; margin: 0 0 30px; }
.checklist li {
  position: relative;
  padding-left: 34px;
  font-size: .95rem;
  font-weight: 600;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304241f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 13px;
  background-position: center;
  background-repeat: no-repeat;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.stats div { display: flex; flex-direction: column; }
.stats strong { font-size: clamp(1.25rem, 2vw, 1.6rem); color: var(--brand); }
.stats span { font-size: .8rem; color: var(--muted); }

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.feature {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--tint);
  border: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.feature:hover { background: var(--surface); border-color: var(--line); transform: translateY(-4px); }
.feature__no {
  display: block;
  margin-bottom: 14px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-dark);
  letter-spacing: -.02em;
}
.feature h3 { font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); font-size: .9rem; }

.features__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.features__foot p { margin: 0; color: var(--muted); max-width: 720px; font-size: .95rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--brand);
  white-space: nowrap;
}
.link-arrow span { transition: transform .2s ease; }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: clamp(64px, 8vw, 100px) 0;
  color: #fff;
  overflow: hidden;
}
.cta__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(10, 10, 10, .96) 25%, rgba(70, 56, 0, .82) 100%),
    url("../img/hero.jpg") center/cover no-repeat;
}
.cta__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta__inner > div:first-child { max-width: 600px; }
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
.cta__text { margin: 0; color: rgba(255, 255, 255, .8); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer üstü bant ---------- */
.band {
  background: var(--ink);
  color: #fff;
  padding: 30px 0;
  border-top: 3px solid var(--accent);
}
.band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.band__inner p {
  margin: 0;
  max-width: 780px;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .9);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .72);
  padding: 62px 0 0;
  font-size: .92rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer__brand p { margin: 18px 0 0; max-width: 340px; color: rgba(255, 255, 255, .6); }
.footer__col h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; margin-bottom: 16px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a:hover { color: var(--accent); }
/* Harita sütunu */
.footer__col--map h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; margin-bottom: 16px; }
.map-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, .14);
  background: #1d1d1d;
  aspect-ratio: 4 / 3;
  min-height: 170px;
}
.map-card__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  filter: grayscale(.25) contrast(1.05);
}
.map-card__link {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0) 45%, rgba(10, 10, 10, .78) 100%);
  transition: background .2s ease;
}
.map-card__link:hover { background: linear-gradient(180deg, rgba(10, 10, 10, .1) 40%, rgba(10, 10, 10, .88) 100%); }
.map-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: .85rem;
  font-weight: 800;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .9);
  transition: transform .18s ease, background .18s ease;
}
.map-card__btn svg { width: 18px; height: 18px; }
.map-card__link:hover .map-card__btn { transform: translateY(-2px); background: var(--accent-dark); }
.map-card__hint { margin: 10px 0 0; font-size: .8rem; color: rgba(255, 255, 255, .55); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 20px;
  padding-bottom: 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .84rem;
  color: rgba(255, 255, 255, .55);
}
.footer__bottom p { margin: 0; }

/* ---------- Floating ---------- */
.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(34, 197, 94, .9);
  transition: transform .2s ease;
}
.whatsapp svg { width: 28px; height: 28px; stroke-width: 1.6; }
.whatsapp:hover { transform: scale(1.07); }

.to-top {
  position: fixed;
  right: 22px;
  bottom: 88px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.to-top svg { width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root { --header-h: 130px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .split__media img { min-height: 300px; }
  .split__badge { right: 16px; bottom: -16px; }
}

@media (max-width: 900px) {
  :root { --header-h: 74px; }

  .topbar { display: none; }

  .nav-toggle { display: block; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 18px 22px 24px;
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .9);
  }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a:not(.btn) { padding: 12px 4px; border-radius: 0; }
  .nav-cta { margin-top: 8px; }

  .hero__content { padding-top: calc(var(--header-h) + 56px); padding-bottom: 120px; }
  .hero__controls { bottom: 22px; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .map-card { aspect-ratio: 16 / 9; }
}

@media (max-width: 620px) {
  .cards { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 10px; }
  .stats div { flex-direction: row; align-items: baseline; gap: 10px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .map-card { aspect-ratio: 4 / 3; }
  .hero__actions .btn { width: 100%; }
  .cta__actions .btn { width: 100%; }
  .whatsapp { right: 16px; bottom: 16px; }
  .to-top { right: 16px; bottom: 82px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
