/* ============================================
   SALİH YILDIZ İNŞAAT — Ana Stil Dosyası
   Tema: Siyah mermer + Gold/Bakır vurgular
   ============================================ */

:root {
  /* Renk paleti */
  --c-bg: #0a0a0c;
  --c-surface: #1a1a1e;
  --c-surface-raised: #232327;
  --c-gold: #c89b5c;
  --c-gold-bright: #e0b97a;
  --c-copper: #8a6a3f;
  --c-cream: #e8d9b8;
  --c-text: #c9c9cd;
  --c-text-dim: #8a8a90;
  --c-line: rgba(200, 155, 92, 0.18);
  --c-line-bright: rgba(200, 155, 92, 0.4);

  /* Tipografi */
  --f-display: 'Archivo Expanded', 'Archivo', sans-serif;
  --f-body: 'Inter', -apple-system, sans-serif;
  --f-label: 'Inter', sans-serif;

  /* Boşluk ölçeği */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;

  --radius: 2px;
  --max-w: 1180px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* ============================================
   MERMER DOKU ARKA PLAN
   ============================================ */

.marble-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-color: var(--c-bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(40, 40, 46, 0.5), transparent),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(35, 35, 40, 0.4), transparent),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(30, 30, 35, 0.5), transparent),
    linear-gradient(125deg, transparent 48%, rgba(180, 180, 190, 0.025) 49%, rgba(180, 180, 190, 0.04) 49.3%, transparent 50%),
    linear-gradient(35deg, transparent 60%, rgba(180, 180, 190, 0.02) 61%, rgba(180, 180, 190, 0.03) 61.4%, transparent 62%),
    linear-gradient(95deg, transparent 30%, rgba(180, 180, 190, 0.018) 30.5%, transparent 31%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 600px 600px, 800px 800px, 400px 400px;
}

.marble-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 50% 0%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
}

/* ============================================
   TİPOGRAFİ
   ============================================ */

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--c-cream);
  line-height: 1.1;
}

.eyebrow {
  font-family: var(--f-label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}

.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--c-gold);
}

p {
  color: var(--c-text);
}

a {
  color: var(--c-gold-bright);
  text-decoration: none;
}

.text-dim {
  color: var(--c-text-dim);
}

/* ============================================
   LAYOUT YARDIMCILARI
   ============================================ */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (max-width: 640px) {
  .container { padding: 0 var(--space-sm); }
}

section {
  padding: var(--space-xl) 0;
  position: relative;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-line-bright), transparent);
  margin: 0 auto;
  max-width: var(--max-w);
}

/* ============================================
   NAVİGASYON
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-line);
}

.nav-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.1rem var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand-text {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-cream);
  letter-spacing: 0.03em;
  line-height: 1.15;
}

.brand-text span {
  display: block;
  font-family: var(--f-label);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--c-gold);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--c-text);
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--c-gold-bright);
}

.nav-links a.active {
  color: var(--c-gold-bright);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--c-gold);
}

.nav-cta {
  background: linear-gradient(135deg, var(--c-gold), var(--c-copper));
  color: #0a0a0c !important;
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: filter 0.25s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  filter: brightness(1.12);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--c-line-bright);
  color: var(--c-cream);
  width: 42px;
  height: 38px;
  border-radius: var(--radius);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--c-gold);
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: #0d0d10;
    border-bottom: 1px solid var(--c-line);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-sm) var(--space-md) var(--space-md);
    gap: var(--space-sm);
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--c-line);
  }

  .nav-cta {
    text-align: center;
  }

  .nav-toggle {
    display: flex;
  }
}

/* ============================================
   BUTONLAR
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, filter 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--c-gold), var(--c-copper));
  color: #0a0a0c;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--c-line-bright);
  color: var(--c-cream);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--c-gold);
  color: var(--c-gold-bright);
}

/* ============================================
   KARTLAR
   ============================================ */

.card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: var(--space-md);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.card:hover {
  border-color: var(--c-line-bright);
  transform: translateY(-3px);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  border-top: 1px solid var(--c-line);
  padding: var(--space-lg) 0 var(--space-md);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.3));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: var(--space-sm);
}

.footer-brand .brand-mark { width: 30px; height: 30px; }

.footer-col h4 {
  font-family: var(--f-label);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: var(--space-sm);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.6rem;
  color: var(--c-text-dim);
  font-size: 0.92rem;
}

.footer-col a {
  color: var(--c-text-dim);
  transition: color 0.25s ease;
}

.footer-col a:hover { color: var(--c-gold-bright); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--c-line);
  font-size: 0.82rem;
  color: var(--c-text-dim);
}

/* ============================================
   ORTAK BÖLÜM BAŞLIĞI
   ============================================ */

.section-head {
  max-width: 640px;
  margin-bottom: var(--space-lg);
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-top: var(--space-sm);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.center .eyebrow::before {
  display: none;
}

/* ============================================
   SAYFA İÇİ HERO (alt sayfalar)
   ============================================ */

.page-hero {
  padding: calc(var(--space-xl) * 0.65) 0 var(--space-lg);
  border-bottom: 1px solid var(--c-line);
  position: relative;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-top: var(--space-sm);
}

.page-hero .lede {
  max-width: 620px;
  margin-top: var(--space-sm);
  font-size: 1.05rem;
  color: var(--c-text-dim);
}

.breadcrumb {
  font-size: 0.82rem;
  color: var(--c-text-dim);
  margin-top: var(--space-sm);
}

.breadcrumb a { color: var(--c-text-dim); }
.breadcrumb a:hover { color: var(--c-gold-bright); }
.breadcrumb .sep { margin: 0 0.5em; color: var(--c-line-bright); }

/* ============================================
   GİRİŞ ANİMASYONU (scroll reveal)
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Focus görünürlüğü */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 2px;
}

/* ============================================
   WHATSAPP YÜZER BUTONU (tüm sayfalarda ortak)
   ============================================ */

.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #1fa855;
  color: #fff;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.88rem;
}

.wa-float:hover,
.wa-float:focus-visible {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 28px rgba(0,0,0,0.5);
}

.wa-float svg { width: 22px; height: 22px; flex-shrink: 0; }

.wa-float .wa-label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.35s ease;
}

.wa-float:hover .wa-label,
.wa-float:focus-visible .wa-label {
  max-width: 160px;
}

.wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #1fa855;
  opacity: 0.55;
  animation: wa-ping 2.4s ease-out infinite;
  z-index: -1;
}

@keyframes wa-ping {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-pulse { animation: none; display: none; }
}

@media (max-width: 600px) {
  .wa-float { bottom: 16px; right: 16px; padding: 0.75rem; }
  .wa-float .wa-label { display: none; }
}

/* ============================================
   MÜŞTERİ YORUMLARI (testimonials)
   ============================================ */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

@media (max-width: 920px) { .testimonial-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .testimonial-grid { grid-template-columns: 1fr; } }

.testimonial-card {
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: var(--space-sm);
}

.testimonial-stars svg { width: 15px; height: 15px; }

.testimonial-card p.quote {
  font-size: 0.95rem;
  color: var(--c-text);
  flex: 1;
  line-height: 1.65;
}

.testimonial-who {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--c-line);
}

.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-gold), var(--c-copper));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 700;
  color: #0a0a0c;
  font-size: 0.92rem;
  flex-shrink: 0;
}

.testimonial-who .name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-cream);
}

.testimonial-who .loc {
  font-size: 0.78rem;
  color: var(--c-text-dim);
}

.testimonial-note {
  margin-top: var(--space-md);
  font-size: 0.78rem;
  color: var(--c-text-dim);
  text-align: center;
}

/* ============================================
   KARŞILAŞTIRMA TABLOSU (Neden Biz)
   ============================================ */

.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.compare-table th,
.compare-table td {
  padding: 1rem 1.2rem;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--c-line);
}

.compare-table thead th {
  font-family: var(--f-label);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-dim);
  background: var(--c-surface);
}

.compare-table thead th.us {
  color: #0a0a0c;
  background: linear-gradient(135deg, var(--c-gold), var(--c-copper));
}

.compare-table tbody td:first-child {
  color: var(--c-cream);
  font-weight: 600;
  white-space: nowrap;
}

.compare-table tbody td.us-col {
  background: rgba(200, 155, 92, 0.06);
  font-weight: 600;
  color: var(--c-gold-bright);
}

.compare-table tbody tr:last-child td { border-bottom: none; }

.compare-table .ic-yes,
.compare-table .ic-no {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.compare-table .ic-yes svg { color: #8fc99a; }
.compare-table .ic-no svg { color: #b06a6a; }

/* ============================================
   SSS AKORDEON
   ============================================ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.faq-item {
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-surface);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 1.1rem 1.3rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--f-body);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--c-cream);
}

.faq-question .plus {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}

.faq-question .plus::before,
.faq-question .plus::after {
  content: '';
  position: absolute;
  background: var(--c-gold);
  transition: transform 0.3s ease;
}

.faq-question .plus::before {
  left: 0; top: 50%; width: 100%; height: 1.6px;
  transform: translateY(-50%);
}

.faq-question .plus::after {
  top: 0; left: 50%; width: 1.6px; height: 100%;
  transform: translateX(-50%);
}

.faq-item.open .plus::after {
  transform: translateX(-50%) scaleY(0);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 1.3rem 1.2rem;
  font-size: 0.92rem;
  color: var(--c-text-dim);
  max-width: 680px;
}

.faq-cta {
  margin-top: var(--space-lg);
  text-align: center;
}

/* ============================================
   PROJE SÜREÇ TAKİBİ (progress timeline)
   ============================================ */

.progress-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: var(--space-sm);
}

.progress-step {
  flex: 1;
  position: relative;
  text-align: center;
}

.progress-step .dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--c-bg);
  border: 2px solid var(--c-line-bright);
  margin: 0 auto 0.5rem;
  position: relative;
  z-index: 2;
}

.progress-step.done .dot {
  background: var(--c-gold);
  border-color: var(--c-gold);
}

.progress-step.current .dot {
  border-color: var(--c-gold);
  box-shadow: 0 0 0 4px rgba(200,155,92,0.18);
}

.progress-step .bar {
  position: absolute;
  top: 7px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--c-line);
  z-index: 1;
}

.progress-step:first-child .bar { display: none; }

.progress-step.done .bar,
.progress-step.current .bar {
  background: var(--c-gold);
}

.progress-step .label {
  font-size: 0.72rem;
  color: var(--c-text-dim);
  letter-spacing: 0.02em;
}

.progress-step.done .label,
.progress-step.current .label {
  color: var(--c-gold-bright);
  font-weight: 600;
}

.progress-pct {
  font-size: 0.78rem;
  color: var(--c-gold-bright);
  font-weight: 700;
  letter-spacing: 0.04em;
}