/* ============================================
   NEXR ARTS — TOP Page
   ============================================ */

/* --- KV (Key Visual) --- */

.kv {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.kv__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.kv__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kv__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.2) 40%,
    rgba(0, 0, 0, 0.5) 80%,
    rgba(255, 255, 255, 0.95) 100%
  );
  z-index: 1;
}

.kv__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* Logo text — will be replaced by img later */
.kv__logo {
  display: inline-block;
  margin-bottom: var(--space-md);
}

.kv__logo-text {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: clamp(2rem, 6vw, 4.5rem);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: #ffffff;
  animation: kv-fade-in 1.2s var(--ease-out-expo) 0.3s both;
}

/* Logo image variant */
.kv__logo-img {
  height: clamp(40px, 8vw, 80px);
  width: auto;
  animation: kv-fade-in 1.2s var(--ease-out-expo) 0.3s both;
}

.kv__line {
  width: 0;
  height: 1px;
  background-color: var(--color-accent);
  margin: var(--space-md) auto;
  animation: kv-line-expand 1s var(--ease-out-expo) 0.8s both;
}

.kv__copy {
  font-family: var(--font-heading);
  font-size: clamp(0.875rem, 1.5vw, 1.125rem);
  font-weight: var(--fw-light);
  letter-spacing: var(--ls-wider);
  color: rgba(255, 255, 255, 0.7);
  animation: kv-fade-in 1.2s var(--ease-out-expo) 1.2s both;
}

.kv__scroll {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.kv__scroll-text {
  font-family: var(--font-heading);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  writing-mode: vertical-rl;
}

/* Header on KV — force white text before scroll */
.header:not(.is-scrolled) .header__logo-text {
  color: #ffffff;
}

.header:not(.is-scrolled) .header__nav-link {
  color: rgba(255, 255, 255, 0.7);
}

.header:not(.is-scrolled) .header__nav-link:hover,
.header:not(.is-scrolled) .header__nav-link.is-active {
  color: #ffffff;
}

.header:not(.is-scrolled) .header__menu-toggle span {
  background-color: #ffffff;
}

/* Mobile menu open — restore dark text on white overlay */
@media (max-width: 768px) {
  .header:not(.is-scrolled) .header__nav.is-open .header__nav-link {
    color: var(--color-text-secondary);
  }

  .header:not(.is-scrolled) .header__nav.is-open .header__nav-link:hover,
  .header:not(.is-scrolled) .header__nav.is-open .header__nav-link.is-active {
    color: var(--color-text-primary);
  }

  .header:not(.is-scrolled) .header__menu-toggle.is-active span {
    background-color: var(--color-text-primary);
  }
}

.kv__scroll-line {
  width: 1px;
  height: 40px;
  background-color: var(--color-text-muted);
  position: relative;
  overflow: hidden;
}

.kv__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-accent);
  animation: scroll-indicator 2s ease-in-out infinite;
}

/* --- TOP Sections --- */

.top-news {
  background-color: var(--color-bg-primary);
}

.top-news .section__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.top-creator {
  background-color: var(--color-bg-secondary);
}

.top-works {
  background-color: var(--color-bg-primary);
}

.top-about {
  background-color: var(--color-bg-secondary);
  text-align: center;
}

.top-about__text {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: var(--fw-light);
  color: var(--color-text-secondary);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto var(--space-xl);
}

.top-contact {
  background-color: var(--color-bg-primary);
  text-align: center;
  padding: var(--space-4xl) 0;
}

.top-contact__heading {
  font-family: var(--font-heading);
  font-size: var(--fs-h1);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-md);
}

.top-contact__text {
  font-size: var(--fs-body);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
}
