/* ===================== */
/*        GENEL          */
/* ===================== */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
}

/* ===================== */
/*     RENK PALETİ       */
/* ===================== */
:root {
  --accent: #e67e22; /* turuncu */
  --accent-dark: #b85b09;
  --dark: #020c3a;
  --light: #f9f9f9;
  --muted: #d4d4d4;
}

/* ===================== */
/*       BUTONLAR        */
/* ===================== */
.text-accent {
  color: var(--accent);
}

.btn-accent {
  background-color: var(--accent);
  border: none;
  color: #fff;
  transition: 0.3s;
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  color: #fff;
}

/* ===================== */
/*         HERO          */
/* ===================== */
.hero {
  background: url("images/hero-bg.webp") no-repeat center center/cover;
  min-height: 100vh;
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden; /* slider için */
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
}

.hero .container {
  position: relative;
  z-index: 2;
  /* Yazıları ortala (Bootstrap .text-start'ı bastırmak için) */
  text-align: center !important;
}

/* ✨ Hero giriş animasyonu */
.hero h1,
.hero p {
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 800ms ease forwards;
}

.hero p {
  animation-delay: 150ms; /* başlıktan sonra gelsin */
}

/* Hareket hassasiyeti olanlar için animasyonu kapat */
@media (prefers-reduced-motion: reduce) {
  .hero h1,
  .hero p {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Animasyon keyframe'i */
@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================== */
/*    HAKKIMIZDA İKONLAR */
/* ===================== */
.hakkimizda-icons i {
  color: var(--accent);
}

/* ===================== */
/*     HİZMETLER         */
/* ===================== */
/* Bu bölüm BİLEREK boş bırakıldı. 
   #hizmetler ile ilgili tüm kurallar hizmetler.css dosyasına taşındı. */

/* ===================== */
/*   BAŞARILARIMIZ       */
/* ===================== */
.istatistikler {
  background: linear-gradient(160deg, #0d0d0d, #1b1b1b);
  padding: 90px 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.istatistikler::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(230, 126, 34, 0.25), transparent 60%),
              radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.1), transparent 70%);
  z-index: 0;
}

.istatistikler .container {
  position: relative;
  z-index: 2;
}

.istatistikler h2 {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 5px;
  font-size: 2rem;
}

.istatistikler .subtitle {
  color: #ccc;
  font-size: 1rem;
  margin-bottom: 60px;
}

.stats-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 50px;
  flex-wrap: wrap;
}

.stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(230, 126, 34, 0.2);
  border-radius: 14px;
  padding: 35px 30px;
  width: 200px;
  height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.35s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  backdrop-filter: blur(8px);
}

.stat-card:hover {
  background: rgba(230, 126, 34, 0.12);
  border-color: rgba(230, 126, 34, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(230, 126, 34, 0.25);
}

.stat-card i {
  font-size: 1.7rem;
  color: var(--accent);
  margin-bottom: 10px;
  opacity: 0.9;
}

.stat-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 6px;
  line-height: 1;
}

.stat-card p {
  font-size: 0.9rem;
  color: #ddd;
  letter-spacing: 0.3px;
  margin: 0;
}

@media (max-width: 768px) {
  .istatistikler {
    padding: 70px 0;
  }

  .istatistikler h2 {
    font-size: 1.6rem;
  }

  .stats-grid {
    gap: 35px;
  }

  .stat-card {
    width: 160px;
    height: 150px;
    padding: 28px 20px;
  }

  .stat-card i {
    font-size: 1.5rem;
  }

  .stat-card h3 {
    font-size: 1.4rem;
  }
}

/* ===================== */
/* WhatsApp Floating Btn */
/* ===================== */
.whatsapp-float {
  position: fixed;
  bottom: 40px;
  left: 40px;
  background-color: #25D366;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: 0.3s;
}

.whatsapp-float img {
  width: 36px;
  height: 36px;
}

.whatsapp-float:hover {
  background-color: #1ebe57;
  text-decoration: none;
}

/* ===================== */
/*  HERO SLIDER EKLEMELER */
/* ===================== */

/* Slider kapsayıcıları */
.hero {
  min-height: 92vh; /* mobilde daha dolu görünsün */
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Her bir slayt */
.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease;
}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Arka plan görseli ve overlay */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.75);
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.55));
  z-index: 1;
}

/* İçerik (slider slaytları için) */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center !important;
  color: #fff;
  padding: 0 1rem;
  animation: heroFadeUp 800ms ease both;
}

/* YouTube video kutusu */
.hero-video-wrap {
  position: relative;
  z-index: 2;
  width: min(960px, 92vw);
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  background: #000;
  animation: heroFadeUp 800ms ease both;
}
.hero-video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Sol/Sağ gezinme okları */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.45);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  cursor: pointer;
  transition: transform .15s ease, background .2s ease;
  user-select: none;
}
.hero-nav:hover { background: rgba(0,0,0,.6); transform: translateY(-50%) scale(1.05); }
.hero-nav:active { transform: translateY(-50%) scale(.97); }
.hero-nav.left  { left: 16px; }
.hero-nav.right { right: 16px; }
.hero-nav i { font-size: 18px; line-height: 1; }

/* Slayt noktaları (dots) */
.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  gap: 8px;
  z-index: 5;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.45);
  border: 1px solid rgba(255,255,255,.35);
  cursor: pointer;
  transition: transform .15s ease, background .2s ease;
}
.hero-dot.active {
  background: var(--accent, #e67e22);
  transform: scale(1.15);
}

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
  .hero-content, .hero-video-wrap { animation: none !important; }
  .hero-slide { transition: none !important; }
}

/* Mobil optimizasyon */
@media (max-width: 768px) {
  .hero { min-height: 78vh; }
  .hero-nav { width: 40px; height: 40px; }
}
