/* ============================================================
   Güneş Elektrik – Ana Sayfa Stilleri (Premium)
   Palet: logodan türetildi → siyah, şampanya altını, krem
   Fontlar: Playfair Display (başlık) + Montserrat (metin)
   ============================================================ */

:root {
  --ink: #14120E;            /* derin siyah-kahve */
  --ink-soft: #262219;
  --gold: #C9A96E;           /* şampanya altını */
  --gold-strong: #B8934E;
  --gold-soft: rgba(201, 169, 110, 0.14);
  --cream: #F6F1E7;          /* logo kremi */
  --cream-deep: #EFE7D7;
  --paper: #FDFBF7;          /* sayfa zemini */
  --text: #2A251C;
  --text-muted: #6E6455;
  --line: #E4DAC8;
  --radius: 16px;
  --shadow: 0 10px 34px rgba(20, 18, 14, 0.10);
  --shadow-gold: 0 8px 30px rgba(201, 169, 110, 0.35);
  --container: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, iframe { max-width: 100%; display: block; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); border: 0;
}

/* ---------- Tipografi ---------- */
h1, h2 {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
}

h1 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2.1rem); margin-bottom: 14px; color: var(--ink); font-weight: 800; letter-spacing: -0.015em; }
h3 { font-size: 1.08rem; margin-bottom: 8px; font-weight: 700; }
p  { margin-bottom: 12px; }

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold-strong);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 5px 16px;
  margin-bottom: 14px;
}

.section-tag.gold { color: var(--gold); border-color: rgba(201, 169, 110, 0.5); }

.section-lead {
  max-width: 740px;
  color: var(--text-muted);
  margin-bottom: 34px;
  font-size: 1.02rem;
}

/* ---------- Üst bilgi çubuğu ---------- */
.topbar {
  background: var(--ink);
  color: #CBC2B2;
  font-size: 0.82rem;
  letter-spacing: 0.4px;
  padding: 7px 0;
}

.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; }

.topbar-phone {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 1px;
}

.topbar-phone:hover { color: #E4C88F; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 241, 231, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}

.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo img { height: 44px; width: auto; }

.main-nav ul { display: flex; align-items: center; gap: 24px; list-style: none; }

.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.6px;
  padding: 6px 2px;
  position: relative;
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transition: right 0.28s ease;
}

.main-nav a:not(.nav-cta):hover::after { right: 0; }
.main-nav a:hover { color: var(--gold-strong); }

.nav-cta {
  background: var(--ink);
  color: var(--gold) !important;
  padding: 10px 22px !important;
  border-radius: 999px;
  letter-spacing: 1px;
  transition: background 0.2s, box-shadow 0.2s;
}

.nav-cta:hover { background: #000; box-shadow: var(--shadow-gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (koyu, premium) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 500px at 80% -20%, rgba(201, 169, 110, 0.14), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(201, 169, 110, 0.08), transparent 60%),
    linear-gradient(165deg, #17140F 0%, #12100C 55%, #0D0B08 100%);
  color: #EFE9DC;
  padding: 84px 0 76px;
}

.hero h1 { color: #F8F4EA; }

.hero h1 em {
  font-style: normal;
  color: var(--gold);
  position: relative;
  white-space: nowrap;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 8px;
  background: rgba(201, 169, 110, 0.22);
  z-index: -1;
}

/* İmleçle hareket eden ışık küreleri */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  will-change: transform;
}

.orb-1 { width: 340px; height: 340px; top: -80px; right: 6%; background: rgba(201, 169, 110, 0.28); }
.orb-2 { width: 220px; height: 220px; bottom: -60px; left: 4%; background: rgba(201, 169, 110, 0.16); }
.orb-3 { width: 140px; height: 140px; top: 38%; left: 44%; background: rgba(230, 200, 143, 0.12); }

.hero-bolt {
  position: absolute;
  width: 420px; height: 420px;
  right: -60px; bottom: -90px;
  color: rgba(201, 169, 110, 0.06);
  pointer-events: none;
  will-change: transform;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(201, 169, 110, 0.4);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px 2px rgba(201, 169, 110, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero-text {
  color: #B9AF9D;
  margin: 20px 0 30px;
  max-width: 620px;
  font-size: 0.99rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  list-style: none;
  color: #CBC2B2;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.hero-trust li { position: relative; padding-left: 18px; }

.hero-trust li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 8px;
  background: var(--gold);
  transform-origin: center;
  rotate: 45deg;
  translate: 0 -4px;
}

.hero-visual { position: relative; }

.hero-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(201, 169, 110, 0.45);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  will-change: transform;
}

.hero-photo img { width: 100%; height: 430px; object-fit: cover; }

.hero-card {
  position: absolute;
  left: -34px; bottom: -26px;
  background: linear-gradient(150deg, #1E1A13, #14120E);
  border: 1px solid rgba(201, 169, 110, 0.5);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
  will-change: transform;
}

.hero-card-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #9A8F7B;
  margin-bottom: 4px;
}

.hero-card-phone { margin-bottom: 6px; }

.hero-card-phone a {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.hero-card-phone a:hover { color: #E4C88F; }

.hero-card-note { font-size: 0.8rem; color: #9A8F7B; margin: 0; max-width: 230px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.25s, background 0.25s, color 0.25s;
}

.btn:active { transform: scale(0.98); }

/* Altın buton + parlama süpürmesi */
.btn-gold {
  background: linear-gradient(120deg, #D8BC82, var(--gold) 45%, #B8934E);
  color: #14120E;
}

.btn-gold::before {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-24deg);
  transition: left 0.55s ease;
}

.btn-gold:hover::before { left: 130%; }
.btn-gold:hover { box-shadow: var(--shadow-gold); }

.btn-ghost {
  border-color: rgba(201, 169, 110, 0.55);
  color: var(--gold);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(201, 169, 110, 0.12);
  box-shadow: 0 0 24px rgba(201, 169, 110, 0.25) inset;
}

.btn-block { width: 100%; text-align: center; }

/* ---------- Bölümler ---------- */
.section { padding: 78px 0; }

.section-cream { background: var(--cream); }

.section-dark {
  background:
    radial-gradient(900px 400px at 15% 0%, rgba(201, 169, 110, 0.10), transparent 55%),
    linear-gradient(170deg, #17140F, #12100C 70%);
  color: #D9D0C0;
}

.section-dark h2 { color: #F8F4EA; }
.section-dark .section-lead { color: #9A8F7B; }

/* ---------- İmleç parlamalı kartlar (glow-card) ---------- */
.glow-card { position: relative; }

.glow-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%),
              rgba(201, 169, 110, 0.22), transparent 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.glow-card:hover::after { opacity: 1; }

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

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  color: var(--gold-strong);
  background: var(--gold-soft);
  border: 1px solid rgba(201, 169, 110, 0.35);
  border-radius: 14px;
  margin-bottom: 16px;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}

.service-card:hover .service-icon {
  background: var(--ink);
  color: var(--gold);
  transform: scale(1.06);
}

.service-card p { font-size: 0.92rem; color: var(--text-muted); }

/* ---------- Galeri ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(201, 169, 110, 0.25);
  background: #1B1712;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.4s ease;
}

.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 34px 18px 14px;
  background: linear-gradient(180deg, transparent, rgba(10, 8, 6, 0.9));
  color: #F1EADB;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.8px;
}

.gallery-item:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(201, 169, 110, 0.4);
}

.gallery-item:hover img { transform: scale(1.07); filter: brightness(1.08); }

/* ---------- Alıntı kutusu ---------- */
.quote {
  border-left: 4px solid var(--gold);
  background: var(--cream);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
  margin: 30px 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 1.04rem;
  font-style: normal;
  font-weight: 500;
  color: var(--ink-soft);
}

/* ---------- Listeler ---------- */
.check-list { list-style: none; margin: 6px 0 28px; }

.check-list li { padding: 9px 0 9px 32px; position: relative; }

.check-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 16px;
  width: 9px; height: 9px;
  background: var(--gold);
  rotate: 45deg;
}

/* ---------- CTA şeridi ---------- */
.cta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--ink);
  color: #E9E2D2;
  border-radius: var(--radius);
  padding: 26px 30px;
  border: 1px solid rgba(201, 169, 110, 0.4);
}

.cta-strip p { margin: 0; font-size: 1.02rem; }
.cta-strip strong { color: var(--gold); }

/* ---------- Neden biz ---------- */
.why-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 28px;
  margin-bottom: 40px;
  align-items: stretch;
}

.why-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gold);
  box-shadow: var(--shadow);
}

.why-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }

.why-content { display: grid; gap: 22px; align-content: start; }

.why-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 28px;
  border: 1px solid var(--line);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.why-item:hover { border-color: var(--gold); box-shadow: var(--shadow); }

.why-item h3 { color: var(--gold-strong); }
.why-item p { color: var(--text-muted); font-size: 0.94rem; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat {
  background: var(--ink);
  border: 1px solid rgba(201, 169, 110, 0.35);
  border-radius: var(--radius);
  padding: 26px 12px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.stat:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.stat-num {
  display: block;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gold);
  line-height: 1.1;
}

.stat-label { font-size: 0.8rem; color: #B9AF9D; letter-spacing: 0.5px; }

/* ---------- Tablo ---------- */
.table-wrap { overflow-x: auto; margin: 22px 0 32px; }

.area-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-width: 520px;
}

.area-table th, .area-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
}

.area-table thead th {
  background: var(--ink);
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.area-table tbody tr { transition: background 0.2s; }
.area-table tbody tr:hover { background: var(--gold-soft); }
.area-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- SSS ---------- */
.faq-list { max-width: 840px; }

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-item:hover { border-color: var(--gold); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 52px 18px 22px;
  position: relative;
  font-weight: 600;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary h3 { display: inline; font-size: 0.98rem; margin: 0; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold-strong);
  transition: transform 0.25s;
}

.faq-item[open] { border-color: var(--gold); box-shadow: var(--shadow); }
.faq-item[open] summary::after { content: "−"; }

.faq-item p { padding: 0 22px 18px; color: var(--text-muted); font-size: 0.93rem; }

/* ---------- İletişim ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 34px;
  align-items: start;
}

.contact-form {
  background: #FDFBF7;
  border-radius: var(--radius);
  padding: 30px;
  color: var(--text);
  border: 1px solid rgba(201, 169, 110, 0.5);
}

.form-row { margin-bottom: 15px; }

.form-row label {
  display: block;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.2);
}

.form-status { margin: 12px 0 0; font-size: 0.9rem; font-weight: 600; color: var(--gold-strong); }

.contact-info h3 {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.contact-list { list-style: none; margin-bottom: 22px; }

.contact-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
  font-size: 0.95rem;
}

.contact-list a { color: #EFE9DC; text-decoration: none; font-weight: 600; transition: color 0.2s; }
.contact-list a:hover { color: var(--gold); }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(201, 169, 110, 0.45);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0D0B08;
  color: #9A8F7B;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
  padding: 54px 22px 38px;
}

.footer-logo-img { height: 46px; width: auto; margin-bottom: 14px; }

.footer-title {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.site-footer ul { list-style: none; }
.site-footer li { padding: 5px 0; }

.site-footer a { color: #9A8F7B; text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(201, 169, 110, 0.14);
  padding: 16px 0;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

.footer-bottom p { margin: 0; }

/* ---------- Mobil arama çubuğu ---------- */
.mobile-call-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 120;
  background: linear-gradient(120deg, #D8BC82, var(--gold) 45%, #B8934E);
  color: #14120E;
  text-align: center;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  padding: 15px 10px;
  text-decoration: none;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.35);
}

/* ---------- Yukarı dön ---------- */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 110;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, 0.5);
  background: var(--ink);
  color: var(--gold);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s, box-shadow 0.25s;
}

.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { box-shadow: var(--shadow-gold); }

/* ---------- Görünürlük animasyonu ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb, .hero-bolt, .hero-photo, .hero-card { transform: none !important; }
  .badge-dot { animation: none; }
}

/* ============================================================
   Duyarlı tasarım
   ============================================================ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { max-width: 460px; }
  .hero-card { left: 16px; }
  .services-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .why-wrap { grid-template-columns: 1fr; }
  .why-photo img { min-height: 300px; max-height: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .topbar-inner { justify-content: center; }
  .topbar-item:first-child { display: none; }

  .nav-toggle { display: flex; }

  .main-nav {
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .main-nav.open { max-height: 480px; }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 22px 22px;
  }

  .main-nav li a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .main-nav a:not(.nav-cta)::after { display: none; }

  .nav-cta { text-align: center; margin-top: 12px; }

  .services-grid, .gallery-grid { grid-template-columns: 1fr; }

  .hero { padding: 56px 0 64px; }
  .hero-photo img { height: 340px; }
  .hero-card { position: static; margin-top: 16px; }

  .mobile-call-bar { display: block; }
  body { padding-bottom: 54px; }
  .back-to-top { bottom: 78px; }

  .section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   BLOG SAYFALARI
   ============================================================ */

/* ---------- Sayfa hero (blog + yazı başlığı) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 400px at 80% -20%, rgba(201, 169, 110, 0.14), transparent 60%),
    linear-gradient(165deg, #17140F 0%, #12100C 60%, #0D0B08 100%);
  color: #EFE9DC;
  padding: 58px 0 54px;
}

.page-hero h1 {
  color: #F8F4EA;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  max-width: 820px;
}

.page-hero-text {
  color: #B9AF9D;
  max-width: 680px;
  margin-top: 16px;
  font-size: 0.99rem;
}

.breadcrumb {
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  color: #9A8F7B;
  margin-bottom: 18px;
}

.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-hidden] { margin: 0 6px; }

.nav-active { color: var(--gold-strong) !important; }
.main-nav a.nav-active::after { right: 0 !important; }

/* ---------- Yazı meta ---------- */
.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.post-meta.on-dark { color: #9A8F7B; margin-bottom: 16px; }

.post-chip {
  background: var(--gold-soft);
  border: 1px solid rgba(201, 169, 110, 0.45);
  color: var(--gold-strong);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}

.post-meta.on-dark .post-chip { color: var(--gold); background: rgba(201, 169, 110, 0.12); }

/* ---------- Öne çıkan yazı ---------- */
.featured-post {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.featured-post:hover { border-color: var(--gold); box-shadow: var(--shadow); }

.featured-media { display: block; overflow: hidden; }

.featured-media img {
  width: 100%; height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.featured-post:hover .featured-media img { transform: scale(1.05); }

.featured-body { padding: 34px 36px; align-self: center; }

.featured-title { margin-bottom: 12px; }

.featured-title a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}

.featured-title a:hover { color: var(--gold-strong); }

.featured-body > p:not(.post-meta) { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; }

/* ---------- Yazı kartları ---------- */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.post-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.post-media { display: block; overflow: hidden; }

.post-media img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-media img { transform: scale(1.06); }

.post-body { padding: 20px 22px 24px; }

.post-body h3 { font-size: 1.02rem; line-height: 1.4; margin-bottom: 8px; }

.post-body h3 a { color: var(--ink); text-decoration: none; transition: color 0.2s; }
.post-body h3 a:hover { color: var(--gold-strong); }

.post-body > p:not(.post-meta) { color: var(--text-muted); font-size: 0.88rem; margin: 0; }

/* ---------- Yazı gövdesi ---------- */
.article-container { max-width: 780px; }

.article-cover {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-bottom: 34px;
}

.article-cover img { width: 100%; height: auto; }

.article-cover figcaption {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 10px 16px;
  background: var(--cream);
  font-style: italic;
}

.article-body p { font-size: 1.0rem; }

.article-body h2 {
  margin-top: 42px;
  padding-top: 10px;
  position: relative;
}

.article-body h2::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 52px; height: 3px;
  background: var(--gold);
}

.article-body h3 { margin-top: 26px; color: var(--gold-strong); }

.article-body .cta-strip { margin: 40px 0; }

/* ---------- Yazar kutusu (EEAT) ---------- */
.author-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 34px 0;
}

.author-box img { flex-shrink: 0; margin-top: 4px; }

.author-name { font-weight: 800; margin-bottom: 4px; color: var(--ink); }

.author-bio { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* ---------- İlgili yazılar ---------- */
.related-posts {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.related-posts ul { list-style: none; }

.related-posts li { padding: 7px 0; }

.related-posts a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.related-posts a:hover { color: var(--gold-strong); }

.related-posts em { color: var(--text-muted); font-weight: 400; font-size: 0.85rem; }

/* ---------- Blog duyarlı ---------- */
@media (max-width: 980px) {
  .featured-post { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .posts-grid { grid-template-columns: 1fr; }
  .featured-body { padding: 24px 22px; }
  .author-box { flex-direction: column; gap: 10px; }
}

/* ============================================================
   İLETİŞİM SAYFASI
   ============================================================ */

.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.contact-card-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.contact-card-value {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.contact-card-value a { color: var(--gold-strong); text-decoration: none; }
.contact-card-value a:hover { color: var(--ink); }

.contact-card-note { font-size: 0.84rem; color: var(--text-muted); margin: 0; }

@media (max-width: 980px) {
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .contact-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   GOOGLE YORUMLARI BÖLÜMÜ
   ============================================================ */

.reviews-wrap {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  align-items: start;
}

.reviews-summary {
  background: var(--ink);
  border: 1px solid rgba(201, 169, 110, 0.4);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  color: #E9E2D2;
  position: sticky;
  top: 100px;
}

.reviews-score {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.reviews-stars {
  color: var(--gold);
  font-size: 1.3rem;
  letter-spacing: 4px;
  margin-bottom: 4px;
}

.reviews-count {
  font-size: 0.82rem;
  color: #9A8F7B;
  margin-bottom: 18px;
}

.reviews-actions { display: grid; gap: 10px; }

.reviews-actions .btn { padding: 12px 18px; font-size: 0.84rem; text-align: center; }

.btn-ghost-dark {
  border: 1px solid rgba(201, 169, 110, 0.55);
  color: var(--gold);
  background: transparent;
}

.btn-ghost-dark:hover { background: rgba(201, 169, 110, 0.12); }

.review-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  margin: 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.review-stars { color: var(--gold-strong); letter-spacing: 3px; margin-bottom: 10px; font-size: 0.95rem; }

.review-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 14px;
}

.review-author {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.review-author span { color: var(--text-muted); font-weight: 500; }

@media (max-width: 980px) {
  .reviews-wrap { grid-template-columns: 1fr; }
  .reviews-summary { position: static; }
  .review-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   BLOG YAZI İÇERİĞİ (WordPress editöründen gelen bloklar)
   Editörde ek sınıf gerekmez; liste, tablo ve alıntı
   otomatik olarak site tasarımına bürünür.
   ============================================================ */

.article-body .article-container > ul,
.article-body .article-container > .wp-block-list {
  list-style: none;
  margin: 6px 0 28px;
  padding: 0;
}

.article-body .article-container > ul li {
  padding: 9px 0 9px 32px;
  position: relative;
}

.article-body .article-container > ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: 16px;
  width: 9px; height: 9px;
  background: var(--gold);
  rotate: 45deg;
}

.article-body .article-container > ol {
  margin: 6px 0 28px;
  padding-left: 22px;
}

.article-body .article-container > ol li { padding: 6px 0; }

.article-body .article-container > figure.wp-block-table {
  overflow-x: auto;
  margin: 22px 0 32px;
}

.article-body .article-container table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.article-body .article-container table th,
.article-body .article-container table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
}

.article-body .article-container table thead th {
  background: var(--ink);
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.article-body .article-container table tbody tr:hover { background: var(--gold-soft); }

.article-body .article-container > blockquote,
.article-body .article-container > .wp-block-quote {
  border-left: 4px solid var(--gold);
  background: var(--cream);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
  margin: 30px 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 1.04rem;
  font-style: normal;
  font-weight: 500;
  color: var(--ink-soft);
}

.article-body .article-container > .wp-block-quote p { margin-bottom: 0; }

.article-body .article-container > .wp-block-image,
.article-body .article-container > figure.wp-block-image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin: 26px 0;
}

/* Trustindex vb. yorum eklentisi gömüldüğünde sarmalayıcı */
.review-embed {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: block;
}

/* ============================================================
   CANLI ATÖLYE – animasyonlu hizmet vitrini
   Altın çizgi animasyonları + imleçle eğilen kartlar.
   Tüm süreler --spd değişkenine bağlıdır; kartın üzerine
   gelince --spd küçülür ve sahne hızlanır.
   ============================================================ */

.atelier {
  position: relative;
  overflow: hidden;
  color: #EFE9DC;
  background:
    radial-gradient(900px 420px at 15% -10%, rgba(201, 169, 110, 0.12), transparent 60%),
    radial-gradient(700px 420px at 95% 115%, rgba(201, 169, 110, 0.08), transparent 60%),
    linear-gradient(160deg, #17140F 0%, #12100C 55%, #0D0B08 100%);
}

.atelier-title { color: #F8F4EA; }
.atelier-lead { color: #B7AC99; }

.atelier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  perspective: 900px;
}

.anim-card {
  --spd: 1.55;
  --rx: 0deg;
  --ry: 0deg;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 252, 245, 0.035);
  border: 1px solid rgba(201, 169, 110, 0.22);
  border-radius: var(--radius);
  padding: 16px 16px 15px;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, transform 0.16s ease-out;
  will-change: transform;
}

.anim-card:hover,
.anim-card:focus-visible {
  --spd: 0.5;
  border-color: rgba(201, 169, 110, 0.6);
  background: rgba(255, 252, 245, 0.06);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(201, 169, 110, 0.15);
}

.anim-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.anim-card h3 { color: #F3EDDF; margin-top: 12px; font-size: 0.94rem; }

.anim-card p {
  color: #A99F8C;
  font-size: 0.82rem;
  line-height: 1.55;
  margin-bottom: 10px;
  flex: 1;
}

.anim-more {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--gold);
  text-transform: uppercase;
}

.anim-card:hover .anim-more { color: #E4C88F; }

/* Sahne alanı */
.anim-stage {
  display: block;
  border-radius: 12px;
  background:
    radial-gradient(180px 120px at 50% 40%, rgba(201, 169, 110, 0.08), transparent 70%),
    rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(201, 169, 110, 0.14);
  transform: translateZ(22px);
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.anim-svg { width: auto; height: 100%; display: block; margin: 0 auto; }

/* Ortak çizgi stilleri */
.anim-svg .ln {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.anim-svg .thin { stroke-width: 1.5; opacity: 0.55; }
.anim-svg .fill-dot { fill: var(--gold); opacity: 0.55; stroke: none; }
.anim-svg [data-depth] { will-change: transform; }

/* ---------- Sahne 1: PRİZ ---------- */
.scene-priz .plug { animation: plug-move calc(5.2s * var(--spd)) ease-in-out infinite; }

@keyframes plug-move {
  0%, 100% { transform: translateX(30px); }
  26%      { transform: translateX(0); }
  30%      { transform: translateX(1.5px); }
  64%      { transform: translateX(0); }
  90%      { transform: translateX(30px); }
}

.scene-priz .spark {
  opacity: 0;
  animation: spark-flash calc(5.2s * var(--spd)) linear infinite;
}

@keyframes spark-flash {
  0%, 24%, 38%, 100% { opacity: 0; }
  27%, 33% { opacity: 1; }
  30% { opacity: 0.4; }
}

.scene-priz .spark-ln { stroke: #F0D9A8; stroke-width: 2; }

.scene-priz .socket-glow {
  fill: rgba(240, 217, 168, 0.28);
  stroke: none;
  opacity: 0;
  animation: socket-on calc(5.2s * var(--spd)) ease-in-out infinite;
}

@keyframes socket-on {
  0%, 26%, 72%, 100% { opacity: 0; }
  32%, 62% { opacity: 1; }
}

/* ---------- Sahne 2: KLİMA ---------- */
.scene-klima .pipe {
  stroke-dasharray: 270;
  stroke-dashoffset: 270;
  animation: pipe-draw calc(6.4s * var(--spd)) ease-in-out infinite;
}

@keyframes pipe-draw {
  0%       { stroke-dashoffset: 270; opacity: 1; }
  52%      { stroke-dashoffset: 0;   opacity: 1; }
  86%      { stroke-dashoffset: 0;   opacity: 1; }
  94%      { stroke-dashoffset: 0;   opacity: 0; }
  95%, 100%{ stroke-dashoffset: 270; opacity: 0; }
}

.scene-klima .pipe-end {
  opacity: 0;
  animation: pipe-end-pop calc(6.4s * var(--spd)) ease-in-out infinite;
}

@keyframes pipe-end-pop {
  0%, 48%, 94%, 100% { opacity: 0; }
  54%, 86% { opacity: 0.8; }
}

.scene-klima .louver {
  transform-origin: 100px 60px;
  animation: louver-swing calc(2.6s * var(--spd)) ease-in-out infinite alternate;
}

@keyframes louver-swing {
  from { transform: rotate(-5deg); }
  to   { transform: rotate(5deg); }
}

.scene-klima .wave {
  opacity: 0;
  animation: wave-fall calc(2.6s * var(--spd)) ease-in infinite;
}

.scene-klima .w2 { animation-delay: calc(0.45s * var(--spd)); }
.scene-klima .w3 { animation-delay: calc(0.9s * var(--spd)); }

@keyframes wave-fall {
  0%   { opacity: 0; transform: translateY(-4px); }
  35%  { opacity: 0.75; }
  100% { opacity: 0; transform: translateY(14px); }
}

.scene-klima .led { animation: led-blink calc(1.6s * var(--spd)) steps(1) infinite; }

@keyframes led-blink {
  0%, 100% { opacity: 0.9; }
  50%      { opacity: 0.25; }
}

/* ---------- Sahne 3: AYDINLATMA ---------- */
.scene-lamba .pendant { animation: pendant-drop calc(6s * var(--spd)) ease-in-out infinite; }

@keyframes pendant-drop {
  0%        { transform: translateY(-62px); }
  26%       { transform: translateY(2px); }
  31%       { transform: translateY(0); }
  82%       { transform: translateY(0); }
  100%      { transform: translateY(-62px); }
}

.scene-lamba .bulb-halo {
  fill: rgba(240, 217, 168, 0.22);
  stroke: none;
  opacity: 0;
  animation: bulb-lit calc(6s * var(--spd)) ease-in-out infinite;
}

.scene-lamba .filament {
  stroke: #F0D9A8;
  opacity: 0.25;
  animation: bulb-lit calc(6s * var(--spd)) ease-in-out infinite;
}

@keyframes bulb-lit {
  0%, 33%, 86%, 100% { opacity: 0; }
  38% { opacity: 1; }
  46% { opacity: 0.55; }
  52%, 80% { opacity: 1; }
}

.scene-lamba .rays {
  opacity: 0;
  transform-origin: 100px 96px;
  animation: rays-pulse calc(6s * var(--spd)) ease-in-out infinite;
}

.scene-lamba .ray { stroke: #E4C88F; }

@keyframes rays-pulse {
  0%, 34%, 84%, 100% { opacity: 0; transform: scale(0.85); }
  40% { opacity: 1; transform: scale(1); }
  60% { opacity: 0.6; transform: scale(0.96); }
  78% { opacity: 1; transform: scale(1); }
}

/* ---------- Sahne 4: ŞALTER ---------- */
.scene-salter .lever-group {
  transform-origin: 100px 98px;
  animation: lever-flip calc(5.6s * var(--spd)) ease-in-out infinite;
}

@keyframes lever-flip {
  0%, 12%  { transform: rotate(42deg); }
  20%      { transform: rotate(-7deg); }
  25%      { transform: rotate(0deg); }
  70%      { transform: rotate(0deg); }
  78%      { transform: rotate(46deg); }
  84%, 100%{ transform: rotate(42deg); }
}

.scene-salter .indicator {
  fill: var(--gold);
  stroke: none;
  opacity: 0.15;
  animation: indicator-on calc(5.6s * var(--spd)) ease-in-out infinite;
}

@keyframes indicator-on {
  0%, 22%, 80%, 100% { opacity: 0.15; }
  27%, 72% { opacity: 1; }
}

.scene-salter .bolt {
  stroke: #F0D9A8;
  opacity: 0;
  animation: bolt-flicker calc(5.6s * var(--spd)) linear infinite;
}

.scene-salter .bolt-2 { animation-delay: calc(0.3s * var(--spd)); }

@keyframes bolt-flicker {
  0%, 25%, 76%, 100% { opacity: 0; }
  29%, 34% { opacity: 1; }
  32% { opacity: 0.2; }
  45%, 52% { opacity: 0.8; }
  48% { opacity: 0.15; }
  62%, 68% { opacity: 1; }
}

/* ---------- Duyarlılık ---------- */
@media (max-width: 1020px) {
  .atelier-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .atelier-grid { grid-template-columns: 1fr; }
}

/* Hareketi azalt tercihi: sahneler durağan, kol açık ve ışık yanık kalır */
@media (prefers-reduced-motion: reduce) {
  .anim-svg *, .anim-card { animation: none !important; transform: none !important; }
  .scene-lamba .bulb-halo, .scene-lamba .rays,
  .scene-salter .indicator, .scene-priz .socket-glow { opacity: 1; }
}


/* Performans: kart görünür alanda değilse animasyonlar durur (JS .in-stage ekler) */
.anim-card:not(.in-stage) .anim-svg * { animation-play-state: paused !important; }


/* Hizmetler artık atölye kartları: 6 kart, 3 sütun */
.atelier-grid { grid-template-columns: repeat(3, 1fr); }

/* ---------- Sahne 5: ÖLÇÜM (arıza tespiti) ---------- */
.scene-olcum .needle {
  transform-box: view-box;
  transform-origin: 100px 66px;
  animation: needle-sweep calc(3.6s * var(--spd)) ease-in-out infinite;
}
@keyframes needle-sweep {
  0%, 100% { transform: rotate(-16deg); }
  40%      { transform: rotate(54deg); }
  60%      { transform: rotate(38deg); }
}
.scene-olcum .probe-spark { animation: probe-flick calc(2.6s * var(--spd)) steps(1) infinite; }
@keyframes probe-flick {
  0%, 68% { opacity: 0; }
  69%, 84% { opacity: 1; }
  85%, 100% { opacity: 0; }
}

/* ---------- Sahne 6: KAMERA ---------- */
.scene-kamera .cam {
  transform-box: view-box;
  transform-origin: 60px 50px;
  animation: cam-pan calc(6.5s * var(--spd)) ease-in-out infinite;
}
@keyframes cam-pan {
  0%, 100% { transform: rotate(-4deg); }
  50%      { transform: rotate(5deg); }
}
.scene-kamera .cam-led { animation: cam-led calc(1.8s * var(--spd)) steps(1) infinite; }
@keyframes cam-led {
  0%, 55% { opacity: 0.9; }
  56%, 100% { opacity: 0.15; }
}
.scene-kamera .cone path,
.scene-kamera .wifi path { animation: cone-pulse calc(3s * var(--spd)) ease-in-out infinite; }
.scene-kamera .w2 { animation-delay: 0.45s; }
@keyframes cone-pulse {
  0%, 100% { opacity: 0.22; }
  50%      { opacity: 0.75; }
}

/* ---------- Hizmetler bölümü: açık zemin varyantı ----------
   Sayfa ritmi: koyu hero -> AÇIK hizmetler -> koyu galeri ... */
.atelier--light {
  background: var(--paper);
  color: var(--text);
}

.atelier--light .atelier-title { color: var(--ink); }
.atelier--light .atelier-lead { color: var(--text-muted); }

.atelier--light .anim-card {
  background: #fff;
  border-color: var(--line);
}

.atelier--light .anim-card:hover,
.atelier--light .anim-card:focus-visible {
  background: #fff;
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.atelier--light .anim-card h3 { color: var(--ink); }
.atelier--light .anim-card p { color: var(--text-muted); }
.atelier--light .anim-more { color: var(--gold-strong); }
.atelier--light .anim-card:hover .anim-more { color: var(--ink); }

/* Sahne koyu kalır: altın çizgiler en iyi koyuda parlar */
.atelier--light .anim-stage {
  background:
    radial-gradient(180px 120px at 50% 40%, rgba(201, 169, 110, 0.10), transparent 70%),
    #17140F;
  border-color: rgba(201, 169, 110, 0.3);
}

/* Ölçüm sahnesi: ekran ledi */
.scene-olcum .led-dot { animation: cam-led calc(1.4s * var(--spd)) steps(1) infinite; }

/* Perspektif kart bazına alındı: kenar kartların sahneleri artık yana kaymaz */
.atelier-grid { perspective: none; }
.anim-card { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); }

/* Duyarlı düzeltme: hizmet kartları tablet 2, telefon 1 sütun
   (yukarıdaki 3 sütun kuralından SONRA gelmeli ki mobilde geçerli olsun) */
@media (max-width: 980px) {
  .atelier-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .atelier-grid { grid-template-columns: 1fr; }
  .anim-stage { height: 130px; }
}
