/* ═══════════════════════════════════════════════════════════
   DF YAPI — Ana Sayfa Modern Beyaz Tema Override v2.0
   Katmanlı krem paleti + belirgin modül geçişleri
═══════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────
   01 — HERO SLIDER (Swiper)
──────────────────────────────────────────────────────────── */
.home-hero-light.home-hero-slider {
  background: var(--ivory);
  border-bottom: 1px solid rgba(13, 18, 32, .08);
  position: relative;
}
.home-hero-light.home-hero-slider::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--orange) 30%,
    var(--orange-dk) 50%,
    var(--orange) 70%,
    transparent 100%);
  z-index: 10;
  opacity: .6;
}
.home-hero-light .hero-swiper { background: var(--ivory); }

/* SPLIT LAYOUT — Asimetrik, editorial */
.home-hero-light .hero-slide {
  background: linear-gradient(120deg, var(--ivory) 0%, var(--cream) 100%);
  position: relative;
  overflow: hidden;
}

/* Sol yarıda editorial dev "01" numarası — dekoratif */
.home-hero-light .hero-slide::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 52%;
  background-image:
    radial-gradient(circle, rgba(13, 18, 32, .04) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: .6;
  z-index: 1;
  pointer-events: none;
}

/* Sağ görsel paneli — kart gibi, daha belirgin padding'li, shadow'lu */
.home-hero-light .hero-slide-bg {
  position: absolute;
  top: 140px;
  bottom: 140px;
  right: 4rem;
  left: 50%;
  z-index: 3;
  overflow: hidden;
  border-radius: var(--r-sm);
  box-shadow:
    0 30px 60px rgba(13, 18, 32, .2),
    0 10px 24px rgba(13, 18, 32, .1);
}
.home-hero-light .hero-slide-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.05) brightness(.98) contrast(1.04);
  transform: scale(1.02);
  transition: transform 8s var(--ease-out);
}
.home-hero-light .swiper-slide-active .hero-slide-bg img {
  transform: scale(1);
}

/* Görsel üstüne cinematic vignette + hafif turuncu alt glow */
.home-hero-light .hero-slide-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 50%, rgba(13, 18, 32, .25) 100%),
    linear-gradient(0deg, rgba(241, 90, 36, .1) 0%, transparent 30%);
  z-index: 3;
  pointer-events: none;
}

/* Görselin sol-üst köşesinde küçük turuncu accent kare (endüstriyel detay) */
.home-hero-light .hero-slide-bg::after {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  width: 80px;
  height: 80px;
  border-top: 3px solid var(--orange);
  border-left: 3px solid var(--orange);
  z-index: 4;
  pointer-events: none;
}

/* Sol metin alanı — görsel üstünde dev silik numara dekorasyonu */
.home-hero-light .hero-slide-content {
  position: relative;
  z-index: 5;
  padding-left: 3rem !important;
}

/* Dev dekoratif slide numarası — metnin arkasında */
.home-hero-light .hero-slide-content::after {
  content: attr(data-slide-num);
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(14rem, 22vw, 22rem);
  line-height: 1;
  color: var(--orange);
  opacity: .06;
  letter-spacing: -.02em;
  z-index: -1;
  pointer-events: none;
  user-select: none;
  font-weight: 900;
}

/* Metin kolonu — sol %50'ye sınırlı */
.home-hero-light .hero-slide-content > .row > .col-lg-9 {
  max-width: 50%;
  padding-right: 2.5rem;
  position: relative;
}

/* Metin kolonunun solunda dikey turuncu accent bar */
.home-hero-light .hero-slide-content > .row > .col-lg-9::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 1rem;
  bottom: 4rem;
  width: 3px;
  background: linear-gradient(180deg,
    var(--orange) 0%,
    var(--orange-dk) 50%,
    transparent 100%);
  z-index: 2;
}

/* Overlay eski kullanımı gereksiz — tümünü sıfırla */
.home-hero-light .hero-slide-overlay {
  background: none;
}
.home-hero-light .hero-slide-overlay::before,
.home-hero-light .hero-slide-overlay::after {
  display: none;
}

/* İçerik dekor çizgisi (daha önce sol kenardaydı) artık gereksiz */
.home-hero-light .hero-slide-content::before {
  display: none;
}

/* Başlık ve metinler — düz krem zemin, gölgesiz */
.home-hero-light .home-hero-title {
  color: var(--ink);
  text-shadow: none;
  letter-spacing: -.02em;
}
.home-hero-light .home-hero-title .accent {
  color: var(--orange);
  text-shadow: none;
}
.home-hero-light .home-hero-desc {
  color: var(--gray-600);
  font-weight: 400;
  text-shadow: none;
}
.home-hero-light .eyebrow,
.home-hero-light .eyebrow.inverse { color: var(--orange); }
.home-hero-light .eyebrow::before { background: var(--orange); }

.home-hero-light .hero-bullet-num { color: rgba(13, 18, 32, .4); }
.home-hero-light .hero-bullet-line { background: rgba(13, 18, 32, .12); }
.home-hero-light .hero-swiper-pagination .swiper-pagination-bullet-active .hero-bullet-num {
  color: var(--orange);
}
.home-hero-light .hero-swiper-pagination .swiper-pagination-bullet-active .hero-bullet-line {
  background: rgba(13, 18, 32, .1);
}
.home-hero-light .hero-swiper-pagination .swiper-pagination-bullet:hover .hero-bullet-num {
  color: var(--ink);
}

.home-hero-light .hero-swiper-prev,
.home-hero-light .hero-swiper-next {
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(13, 18, 32, .1);
  color: var(--ink);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(13, 18, 32, .08);
  transition: all var(--t);
}
.home-hero-light .hero-swiper-prev:hover,
.home-hero-light .hero-swiper-next:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  box-shadow: var(--glow-orange);
}

.home-hero-light .hero-meta-bar {
  background: rgba(251, 248, 241, .95);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-top: 1px solid rgba(13, 18, 32, .1);
  box-shadow: 0 -4px 24px rgba(13, 18, 32, .06);
}
.home-hero-light .hero-meta-cell {
  border-right: 1px solid rgba(13, 18, 32, .08);
}
.home-hero-light .hero-meta-cell:last-child { border-right: none; }
.home-hero-light .hero-meta-cell .lbl {
  color: var(--gray-500);
  font-weight: 700;
}
.home-hero-light .hero-meta-cell .val { color: var(--ink); }
.home-hero-light .hero-meta-cell .val .sml { color: var(--orange); }
.home-hero-light .hero-meta-fraction .current { color: var(--ink); }
.home-hero-light .hero-meta-fraction .sep { color: var(--orange); }
.home-hero-light .hero-meta-fraction .total { color: var(--gray-400); }

@media (max-width: 991.98px) {
  .home-hero-light .hero-meta-cell {
    border-right: none;
    border-bottom: 1px solid rgba(13, 18, 32, .08);
  }
  .home-hero-light .hero-meta-cell:last-child { border-bottom: none; }

  /* Mobil: split'i stack layout'a geç (görsel üstte, metin altta) */
  .home-hero-light .hero-slide {
    display: flex;
    flex-direction: column;
  }
  .home-hero-light .hero-slide::before {
    width: 100%;
    top: 300px;
    height: auto;
    bottom: 0;
  }

  /* Görsel kart mobilde üstte ve tam genişlikte */
  .home-hero-light .hero-slide-bg {
    position: relative;
    top: 1.5rem;
    bottom: auto;
    left: 1.5rem;
    right: 1.5rem;
    height: 260px;
    order: -1;
    margin-bottom: 1.5rem;
  }
  .home-hero-light .hero-slide-bg::after {
    width: 50px;
    height: 50px;
  }

  /* İçerik alanı mobilde tam genişlik */
  .home-hero-light .hero-slide-content {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    padding-top: 1rem !important;
  }
  .home-hero-light .hero-slide-content > .row > .col-lg-9 {
    max-width: 100%;
    padding-right: 0;
  }
  .home-hero-light .hero-slide-content > .row > .col-lg-9::before {
    left: -1rem;
    bottom: 2rem;
  }

  /* Dev dekoratif numara mobilde daha küçük ve kenarda */
  .home-hero-light .hero-slide-content::after {
    font-size: 10rem;
    top: auto;
    bottom: -2rem;
    right: -2rem;
    left: auto;
    transform: none;
    opacity: .04;
  }
}

@media (max-width: 575.98px) {
  .home-hero-light .hero-slide-bg {
    height: 200px;
    left: 1rem;
    right: 1rem;
    top: 1rem;
  }
  .home-hero-light .hero-slide::before { top: 220px; }
  .home-hero-light .hero-slide-content {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* ─────────────────────────────────────────────────────────
   Section Beyaz (modül 02, 04, 08)
──────────────────────────────────────────────────────────── */
.section-white {
  background: #fff;
  padding: var(--sec-py) 0;
  position: relative;
}

/* ─────────────────────────────────────────────────────────
   03 — STATS Bant
──────────────────────────────────────────────────────────── */
.section-light-stats {
  background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
  color: var(--gray-700);
  border-top: 1px solid rgba(13, 18, 32, .1);
  border-bottom: 1px solid rgba(13, 18, 32, .1);
  position: relative;
}
.section-light-stats::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--orange) 30%,
    var(--orange-dk) 50%,
    var(--orange) 70%,
    transparent 100%);
  opacity: .4;
}
.section-light-stats h2,
.section-light-stats h3 { color: var(--ink); }
.section-light-stats .eyebrow { color: var(--orange); }

.section-light-stats .light-stats-decor {
  position: absolute;
  top: 0; right: 0;
  width: 280px; height: 100%;
  background:
    linear-gradient(180deg, rgba(241, 90, 36, .08) 0%, transparent 80%),
    repeating-linear-gradient(-45deg, transparent, transparent 14px, rgba(241, 90, 36, .05) 14px, rgba(241, 90, 36, .05) 15px);
  pointer-events: none;
  z-index: 1;
}

.bg-grid-lines-light {
  background-image:
    linear-gradient(rgba(13, 18, 32, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 18, 32, .05) 1px, transparent 1px);
  background-size: 48px 48px;
}

.stats-row-light {
  background: #fff;
  border-radius: var(--r-sm);
  border: 1px solid rgba(13, 18, 32, .08);
  box-shadow: 0 20px 48px rgba(13, 18, 32, .08), 0 4px 12px rgba(13, 18, 32, .04);
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stats-row-light .stat-block {
  border-right: 1px solid rgba(13, 18, 32, .08);
  padding: 3rem 1.5rem;
  position: relative;
  text-align: center;
  transition: background var(--t);
}
.stats-row-light .stat-block:last-child { border-right: none; }
.stats-row-light .stat-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .5s var(--ease);
}
.stats-row-light .stat-block:hover { background: var(--ivory); }
.stats-row-light .stat-block:hover::before { transform: scaleX(1); }
.stats-row-light .stat-block .stat-num {
  color: var(--orange);
  font-weight: 400;
}
.stats-row-light .stat-block .stat-plus { color: var(--orange); }
.stats-row-light .stat-block .stat-label {
  color: var(--gray-500);
  margin-top: .75rem;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}

@media (max-width: 991.98px) {
  .stats-row-light { grid-template-columns: repeat(2, 1fr); }
  .stats-row-light .stat-block:nth-child(1),
  .stats-row-light .stat-block:nth-child(2) {
    border-bottom: 1px solid rgba(13, 18, 32, .08);
  }
  .stats-row-light .stat-block:nth-child(even) { border-right: none; }
}

@media (max-width: 575.98px) {
  .stats-row-light { grid-template-columns: 1fr; }
  .stats-row-light .stat-block {
    border-right: none !important;
    border-bottom: 1px solid rgba(13, 18, 32, .08);
  }
  .stats-row-light .stat-block:last-child { border-bottom: none; }
  .section-light-stats .light-stats-decor { display: none; }
}

/* ─────────────────────────────────────────────────────────
   07 — CTA BANNER
──────────────────────────────────────────────────────────── */
.section-light-cta {
  background: linear-gradient(135deg, var(--paper) 0%, var(--cream) 50%, var(--ivory) 100%);
  border-top: 1px solid rgba(13, 18, 32, .1);
  border-bottom: 1px solid rgba(13, 18, 32, .1);
  position: relative;
  overflow: hidden;
}
.section-light-cta .cta-accent-bar {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 8px;
  height: 70%;
  background: linear-gradient(180deg,
    transparent 0%,
    var(--orange) 20%,
    var(--orange-dk) 50%,
    var(--orange) 80%,
    transparent 100%);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  box-shadow: 10px 0 40px rgba(241, 90, 36, .35);
  z-index: 2;
}
.section-light-cta::before {
  content: '';
  position: absolute;
  right: -100px; bottom: -100px;
  width: 400px; height: 400px;
  border: 2px solid rgba(241, 90, 36, .08);
  border-radius: 50%;
  pointer-events: none;
}
.section-light-cta::after {
  content: '';
  position: absolute;
  right: -50px; bottom: -50px;
  width: 200px; height: 200px;
  border: 2px solid rgba(241, 90, 36, .12);
  border-radius: 50%;
  pointer-events: none;
}
.section-light-cta h2 { color: var(--ink); }
.section-light-cta .eyebrow { color: var(--orange); }

/* ─────────────────────────────────────────────────────────
   Service Card — section-white içinde
──────────────────────────────────────────────────────────── */
.section-white .service-card {
  background: #fff;
  border: 1px solid rgba(13, 18, 32, .08);
  box-shadow: 0 1px 3px rgba(13, 18, 32, .04);
}
.section-white .service-card:hover {
  border-color: var(--ink);
  box-shadow: 0 20px 48px rgba(13, 18, 32, .12);
}

/* ─────────────────────────────────────────────────────────
   Responsive
──────────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .section-light-stats .light-stats-decor {
    width: 140px;
    opacity: .5;
  }
  .section-light-cta .cta-accent-bar {
    width: 5px;
    height: 50%;
  }
}

@media (max-width: 575.98px) {
  .section-light-cta::before,
  .section-light-cta::after { display: none; }
  .section-light-cta .cta-accent-bar {
    width: 4px;
    height: 40%;
  }
}
