@import url("/assets/css/base/tokens.css");

/* ===============================
      HERO
   =============================== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
}
.hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero .hero-bg__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 900ms ease, transform 5s ease;
  transform: scale(1.03);
}
.hero .hero-bg__slide.is-active {
  opacity: 1;
  transform: scale(1);
}
/* Üstte mavi glow */
/* Mavi glow'u kaldırdık; arka plan slider yeterli vurgu veriyor */
/* .hero::before { display: none; } */
.overlay {
  position: absolute;
  inset: 0;
  z-index: 1; /* overlay, bg slides'ın üstünde */
  background: linear-gradient(
    180deg,
    rgba(0, 10, 16, 0.35) 0%,
    rgba(0, 10, 16, 0.28) 45%,
    rgba(0, 10, 16, 0.15) 70%,
    rgba(0, 10, 16, 0) 100%
  );
  pointer-events: none;
}
.hero-center {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 26px;
  padding-top: 76px; /* nav offset */
}

/* HERO TICKER */
.hero-ticker {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  z-index: 2;
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(6px);
  overflow: hidden;
  width: 100%;
}
.hero-ticker__track {
  display: inline-flex;
  gap: 22px;
  padding-right: 22px;
  white-space: nowrap;
  will-change: transform;
  /* Sürekli kaymanın mesafesi JS ile --ticker-travel değişkenine yazılacak */
  animation: heroTickerMove var(--ticker-speed, 22s) linear infinite;
}
.hero-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.hero-ticker__item i {
  font-size: 6px;
  color: #fff; /* beyaz nokta */
}
@media (max-width: 720px) {
  .hero-ticker {
    bottom: 24px;
    padding: 8px 12px;
  }
  .hero-ticker__item {
    font-weight: 600;
  }
}

@keyframes heroTickerMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-1 * var(--ticker-travel, 50%)));
  }
}

/* Hareketi azalt tercihinde animasyonu kapat */
@media (prefers-reduced-motion: reduce) {
  .hero-ticker__track {
    animation: none;
  }
}

/* Başlıklar */
.title {
  font-weight: 700;
  line-height: 1.15;
  font-size: clamp(34px, 5.2vw, 60px);
  letter-spacing: 0.01em;
  color: #fff;
}
.title span {
  display: inline-block;
  margin-top: 10px;
  font-size: clamp(28px, 4.2vw, 52px);
  font-weight: 600;
  color: #fff;
}
.title #typing-title {
  color: #fff;
}

.subtitle {
  max-width: 920px;
  font-weight: 600;
  font-size: clamp(15px, 1.55vw, 20px);
  letter-spacing: 0.01em;
  color: #fff;
}

.neon-text {
  color: var(--accent);
  text-shadow: 0 0 10px rgba(200, 162, 77, 0.45),
    0 0 20px rgba(200, 162, 77, 0.35), 0 0 30px rgba(200, 162, 77, 0.25);
}
