/* =========================================
   Page Hero — assets/css/pages/hero.css
   Scope: all singular except home + contact
   (global main.css'e dokunmuyoruz)
========================================= */

.top-hero{
  position: relative;
  overflow: hidden;

  /* header sticky yüksekliğine göre içerik aşağı insin */
  padding: calc(var(--top-header-h) + clamp(18px, 3vw, 28px)) 0 clamp(22px, 4vw, 44px);

  /* arkaplan: hero image varsa kullan, yoksa clean gradient */
  background:
    radial-gradient(1200px 520px at 14% 18%, rgba(209,18,31,.20), transparent 55%),
    linear-gradient(180deg, rgba(11,11,15,.86), rgba(11,11,15,.64)),
    var(--top-hero-img, linear-gradient(135deg, #111118, #0b0b0f));
  background-size: cover;
  background-position: center;
  color: #fff;

  border-bottom: 1px solid rgba(255,255,255,.10);
}

.top-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 420px at 80% 25%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(90deg, rgba(0,0,0,.42), rgba(0,0,0,.08));
  pointer-events:none;
}

.top-hero .top-container{ position: relative; z-index: 1; }

.top-hero__inner{
  max-width: 980px;
}

.top-crumb{
  margin-bottom: 12px;
}

.top-crumb__list{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding:0;
  margin:0;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
}

.top-crumb__link{
  color: rgba(255,255,255,.82);
  text-decoration:none;
  border-bottom: 1px solid rgba(255,255,255,.18);
  padding-bottom: 2px;
}
.top-crumb__link:hover{
  color:#fff;
  border-bottom-color: rgba(255,255,255,.42);
}

.top-crumb__sep{ opacity:.55; margin-left:2px; }

.top-crumb__current{
  color: rgba(255,255,255,.92);
}

.top-hero__title{
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: .2px;
  line-height: 1.06;
  font-size: clamp(28px, 3.2vw, 52px);
}

.top-hero__desc{
  margin: 0 0 18px;
  max-width: 72ch;
  color: rgba(255,255,255,.86);
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.6;
}

.top-hero__btns{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* =========================================
   HERO: Ghost button fix (dark background)
   Target: "İletişim" button in page hero
========================================= */

.top-hero .top-btn--ghost{
  /* dark hero üzerinde görünür */
  color: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.24);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
}

.top-hero .top-btn--ghost:hover{
  color: #fff;
  border-color: rgba(255,255,255,.38);
  background: rgba(255,255,255,.14);
  box-shadow: 0 14px 40px rgba(0,0,0,.22);
}

/* focus görünürlüğü (erişilebilirlik) */
.top-hero .top-btn--ghost:focus-visible{
  outline: 3px solid rgba(255,255,255,.28);
  outline-offset: 3px;
}


/* Mobil optimize */
@media (max-width: 640px){
  .top-hero{
    padding-top: calc(var(--top-header-h) + 14px);
  }
  .top-crumb__list{
    letter-spacing: .10em;
  }
}
