/* ==========================================================
   Yüksel Garage — Ana Sayfa | Tam ekran scroll-scrub hero sahnesi ve merkez başlıklar
   ========================================================== */

/* PURE FULLSCREEN HERO STAGE */
.hero-container {
  position: relative;
  height: 500vh;
  width: 100%;
}

.hero-stage {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--canvas);
  z-index: 10;
}

.hero-poster,
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-poster {
  background-size: cover;
  background-position: center;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.8s ease;
}

.hero-video {
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.hero-stage.video-ready .hero-video {
  opacity: 1;
}

/* Cinematic Edge Vignette */
.hero-vignette {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at center, transparent 35%, rgba(5, 6, 8, 0.7) 85%),
    linear-gradient(to top, rgba(5, 6, 8, 0.95) 0%, transparent 18%),
    linear-gradient(to bottom, rgba(5, 6, 8, 0.8) 0%, transparent 15%);
  z-index: 3;
  pointer-events: none;
}

/* MINIMALIST HERO CENTER OVERLAY (MINH PHAM / SPLINE AESTHETIC) */
.hero-screen-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 100px 5% 36px;
  pointer-events: none;
}

.hero-center-box {
  margin: auto;
  text-align: center;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: opacity, transform;
}

.hero-author-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
  transition: color 0.3s;
}

.hero-center-title {
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 24px;
  text-shadow: 0 4px 35px rgba(0, 0, 0, 0.95);
  display: inline-block;
  text-align: center;
}

.garage-red {
  color: #ff2247 !important;
  text-shadow: 0 0 35px rgba(255, 34, 71, 0.65);
  font-weight: 900;
  display: inline-block;
}

.hero-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 36px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(5, 6, 8, 0.45);
  backdrop-filter: blur(10px);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-pill-btn:hover {
  background: #ffffff;
  color: #050608;
  border-color: #ffffff;
  transform: scale(1.06);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

.hero-corner-item {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  font-weight: 600;
  pointer-events: none;
}

.hero-corner-item.left {
  position: absolute;
  bottom: 34px;
  left: 6%;
}

.hero-corner-item.right {
  position: absolute;
  bottom: 34px;
  right: 6%;
}

/* SOFT BOTTOM TRANSITION GRADIENT FROM 3D HERO TO CLEAN WHITE CONTENT */
.hero-fade-to-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 360px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 25%,
    rgba(255, 255, 255, 0.55) 60%,
    rgba(255, 255, 255, 0.95) 90%,
    #ffffff 100%
  );
  z-index: 7;
  pointer-events: none;
}
