/**
 * Header Section - Hero
 * Title + Name + Scroll to Explore indicator
 */

.hero-header {
  position: relative;
  background-color: var(--color-bg-dark);
  color: var(--color-text-white);
}

.hero-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.hero-header__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.hero-header__content {
  padding: 2.5rem var(--header-padding-x) 2rem;
}

.hero-title-wrap {
  position: relative;
  margin-bottom: 1.5rem;
  width: 75vw;
  max-width: 100%;
  font-size: clamp(4rem, 18vw, 9rem);
}

.hero-title {
  font-family: var(--font-hero-title);
  font-size: 1em;
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--color-text-white);
  margin: 0;
  letter-spacing: 0.02em;
}

.hero-title span {
  display: block;
}

/* Name overlays title - di ujung bawah DEVELOPER, memotong huruf */
.hero-name {
  position: absolute;
  top: 1.6em;
  left: 18%;
  font-family: var(--font-hero-name);
  font-size: 0.7em;
  font-weight: 400;
  color: var(--color-accent-gold);
  margin: 0;
  z-index: 1;
  white-space: nowrap;
}

/* Scroll to Explore indicator */
.scroll-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 25vh;
  padding: 3rem 0;
  position: relative;
}

.scroll-indicator__circle {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.05s linear;
  opacity: 0.4;
}

.scroll-indicator__svg {
  position: absolute;
  width: 100%;
  height: 100%;
  fill: var(--color-text-white);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: var(--weight-regular);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-anchor: middle;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  shape-rendering: geometricPrecision;
}

.scroll-indicator__ring-outer {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid var(--color-text-white);
  border-radius: 50%;
  pointer-events: none;
}

.scroll-indicator__ring-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70%;
  height: 70%;
  transform: translate(-50%, -50%);
  border: 1px solid var(--color-text-white);
  border-radius: 50%;
  pointer-events: none;
}

.scroll-indicator__arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 28px;
  color: var(--color-text-white);
  pointer-events: none;
  opacity: 0.4;
}

.scroll-indicator__arrow svg {
  width: 100%;
  height: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-header__content {
    padding: 2rem var(--header-padding-x);
  }

  .hero-title-wrap {
    width: 90vw;
  }

  .hero-name {
    left: 15%;
  }
}
