/* =====================================================================
   ANASAYFAYA ÖZEL BÖLÜMLER: Hero, SSS Akordeon, Blog Kartı, Bülten
   ===================================================================== */

/* ---------------------------------------------------------------------
   GERÇEK SLIDER (admin'den eklenen görsellerle) — hero'nun yerini alır
--------------------------------------------------------------------- */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.hero-slider__track {
  position: relative;
  height: clamp(360px, 56vw, 620px);
}
.hero-slider__slide {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 500ms ease;
}
.hero-slider__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slider__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-slider__overlay {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(90deg, rgba(11,22,38,0.86) 0%, rgba(11,22,38,0.55) 45%, rgba(11,22,38,0.15) 100%);
}
.hero-slider__content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding-bottom: var(--sp-10);
  color: #fff;
}
.hero-slider__content h1 {
  font-size: clamp(1.75rem, 4vw, var(--fs-3xl));
  font-size: clamp(1.75rem, 4vw, 3rem);
  max-width: 20ch;
}
.hero-slider__content p {
  margin-top: var(--sp-3);
  color: rgba(244,245,247,0.78);
  max-width: 50ch;
  font-size: var(--fs-md);
}
.hero-slider__content .btn { margin-top: var(--sp-5); }

.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px; height: 42px;
  border-radius: var(--radius-full);
  background: rgba(11,22,38,0.5);
  border: 1px solid var(--border-dark);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition-fast);
}
.hero-slider__arrow:hover { background: var(--accent); }
.hero-slider__arrow--prev { left: var(--sp-5); }
.hero-slider__arrow--next { right: var(--sp-5); }

.hero-slider__dots {
  position: absolute;
  bottom: var(--sp-5);
  right: var(--sp-5);
  z-index: 2;
  display: flex;
  gap: var(--sp-2);
}
.hero-slider__dots button {
  width: 9px; height: 9px;
  border-radius: var(--radius-full);
  background: rgba(244,245,247,0.35);
  transition: background var(--transition-fast), width var(--transition-fast);
}
.hero-slider__dots button.is-active { background: var(--accent); width: 22px; border-radius: var(--radius-full); }

@media (max-width: 700px) {
  .hero-slider__arrow { display: none; }
  .hero-slider__content { padding-bottom: var(--sp-6); }
}

.hero {
  background: var(--ink);
  color: var(--text-invert);
  position: relative;
  overflow: hidden;
  padding-block: var(--sp-10) var(--sp-12);
}
.hero::before {
  /* Zemine hafif "kanvas dokusu" hissi veren nokta deseni */
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background-image: radial-gradient(rgba(244,245,247,0.06) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.5;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-10);
  align-items: center;
}
@media (max-width: 959px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 320px; margin-inline: auto; }
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  border: 1px dashed var(--border-dark);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-5);
}
.hero__title {
  font-size: var(--fs-3xl); /* eski tarayıcılar için sabit yedek değer */
  font-size: clamp(2rem, 4.4vw, var(--fs-3xl)); /* modern tarayıcılarda akıcı boyutlandırma */
  color: #fff;
  max-width: 16ch;
}
.hero__title em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}
.hero__desc {
  margin-top: var(--sp-5);
  color: rgba(244,245,247,0.72);
  max-width: 52ch;
  font-size: var(--fs-md);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px dashed var(--border-dark);
}
.hero__stat b {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-lg);
  color: #fff;
}
.hero__stat span {
  font-size: var(--fs-xs);
  color: rgba(244,245,247,0.6);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__visual svg { width: 100%; height: auto; max-width: 380px; }

/* ---------------------------------------------------------------------
   "NEDEN BİZ" ROZETİ (ikon + başlık + açıklama)
--------------------------------------------------------------------- */
.why-item {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}
.why-item__icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: flex; align-items: center; justify-content: center;
}
.why-item h3 { font-size: var(--fs-base); color: var(--ink); margin-bottom: 4px; }
.why-item p { font-size: var(--fs-sm); color: var(--text-muted); }

/* ---------------------------------------------------------------------
   BLOG KARTI
--------------------------------------------------------------------- */
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.blog-card__media { aspect-ratio: 16/10; background: var(--bg-alt); overflow: hidden; }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2); flex: 1; }
.blog-card__date {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.blog-card__title { font-size: var(--fs-md); color: var(--ink); position: relative; }
.blog-card__title a::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.blog-card__excerpt { font-size: var(--fs-sm); color: var(--text-muted); }

/* ---------------------------------------------------------------------
   SSS AKORDEON
--------------------------------------------------------------------- */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  font-size: var(--fs-md);
}
.faq-item__q svg { flex-shrink: 0; transition: transform var(--transition-base); }
.faq-item.is-open .faq-item__q svg { transform: rotate(45deg); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
  color: var(--text-muted);
  font-size: var(--fs-sm);
}
.faq-item__a-inner { padding-bottom: var(--sp-5); max-width: 68ch; }
.faq-item.is-open .faq-item__a { max-height: 400px; }

/* ---------------------------------------------------------------------
   BÜLTEN / CTA ŞERİDİ
--------------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(120deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  flex-wrap: wrap;
}
.cta-band h3 { font-size: var(--fs-xl); max-width: 24ch; }
.cta-band p { color: rgba(244,245,247,0.7); margin-top: var(--sp-2); max-width: 46ch; }
.cta-band__actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

/* ---------------------------------------------------------------------
   REFERANS LOGO ŞERİDİ
--------------------------------------------------------------------- */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8);
  align-items: center;
  justify-content: space-between;
}
.logo-strip img {
  max-height: 42px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.55;
  transition: opacity var(--transition-fast), filter var(--transition-fast);
}
.logo-strip img:hover { filter: grayscale(0); opacity: 1; }
