/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #000;
  color: white;
  overflow-x: hidden;
  font-family: "Nunito", sans-serif;
}

/* NAVBAR STUFF ---------------------------------------------------------------------*/
.site-header {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  height: 80px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 60px;

  z-index: 100;

  background: transparent;
  transition:
    background-color 0.4s ease,
    backdrop-filter 0.4s ease;
}

.site-header.scrolled {
  background: #071426;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 60px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-socials {
  display: flex;
  gap: 30px;
}

.nav-socials a {
  color: white;
  text-decoration: none;

  transition:
    color 0.3s ease,
    transform 0.3s ease,
    text-shadow 0.3s ease;
}

.nav-socials i {
  font-size: 1.8rem;
}

.nav-socials a:hover {
  color: #8eeeff;

  transform: scale(1.2);

  text-shadow:
    0 0 8px rgba(142, 238, 255, 0.7),
    0 0 16px rgba(142, 238, 255, 0.4);
}

.logo {
  text-decoration: none;
}

.logo-text {
  position: relative;
  font-size: 1.8rem;
  font-weight: 600;
  color: white;
}

.logo-mark {
  position: absolute;

  width: 10px;
  height: 10px;
  border-radius: 50%;

  background: #8eeeff;

  right: -12px;
  bottom: 6px;

  box-shadow:
    0 0 6px #8eeeff,
    0 0 12px rgba(142, 238, 255, 0.8);
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: white;
}

.nav-links a:hover {
  color: #8eeeff;
  text-shadow: 0 0 8px rgba(142, 238, 255, 0.6);
}

.hamburger,
.mobile-menu {
  display: none;
}

@media (max-width: 900px) {
  .nav-links,
  .nav-socials {
    display: none;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;

    background: transparent;
    border: none;
    cursor: pointer;

    z-index: 1001;
  }

  .hamburger span {
    width: 28px;
    height: 2px;

    background: #8eeeff;
    border-radius: 999px;

    transition:
      transform 0.3s ease,
      opacity 0.3s ease;
  }

  .hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    right: 0;

    width: 100%;
    height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 35px;

    background: #071426;

    transform: translateX(100%);
    opacity: 1;
    pointer-events: none;

    transition: transform 0.35s ease;

    z-index: 1000;
  }

  .mobile-menu.open {
    transform: translateX(0);
    pointer-events: auto;
  }

  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .mobile-nav-links a,
  .mobile-socials a {
    color: #dbe7ff;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 700;
  }

  .mobile-nav-links a:hover,
  .mobile-socials a:hover {
    color: #8eeeff;
  }

  .mobile-socials {
    display: flex;
    gap: 28px;

    padding-top: 30px;
    border-top: 1px solid rgba(142, 238, 255, 0.2);
  }

  .mobile-socials a {
    font-size: 1.8rem;
  }

  .hamburger {
    z-index: 1001;
  }
}

/* HERO STUFF ----------------------------------------------------------------------*/
.hero {
  position: relative;
  min-height: 100vh;
  background: #000;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* CANVAS LAYER */
#star-map {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* DARK CENTER GLOW SO TEXT STAYS READABLE */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;

  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.35),
    transparent 65%
  );

  pointer-events: none;
}

/* HERO TEXT */
.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 0 24px;
  pointer-events: none;
  height: 50vh;
}

.hero-intro {
  color: white;

  font-size: clamp(1rem, 2vw, 2rem);

  letter-spacing: 4px;
  margin-bottom: 12px;

  opacity: 0.9;
}

.hero-content h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 700;

  color: #8eeeff;
}

.hero-tagline {
  margin-top: 28px;
  font-size: clamp(0.85rem, 1.6vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 8px;
  text-transform: uppercase;
}

.hero-tagline span {
  color: #5aa8ff;
  margin: 0 20px;
}
/* DRAG ME HINT */
.drag-hint {
  margin-top: 40px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;

  color: rgba(255, 255, 255, 0.75);

  animation: floatHint 0.5s ease-in-out infinite;
  transition: opacity 1s ease;

  pointer-events: none;
}

.drag-icon {
  font-size: 2rem;
  color: #8eeeff;
}

.drag-hint.hide {
  opacity: 0;
}

@keyframes floatHint {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

/* SAY HI BUTTON */
.say-hi-btn {
  margin-top: 42px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 14px 24px;
  border: 1px solid rgba(142, 238, 255, 0.65);
  border-radius: 14px;
  color: white;
  text-decoration: none;
  font-size: 1.15rem;
  background: rgba(0, 0, 0, 0.25);
  box-shadow:
    0 0 22px rgba(90, 168, 255, 0.25),
    inset 0 0 18px rgba(142, 238, 255, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  pointer-events: auto;
}

.say-hi-btn i {
  font-size: 1.4rem;
  color: #8eeeff;
}

.say-hi-btn:hover {
  transform: translateY(-3px);
  border-color: #a78bfa;
  box-shadow:
    0 0 28px rgba(167, 139, 250, 0.45),
    inset 0 0 20px rgba(142, 238, 255, 0.12);
}

.email-icon {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
}

/* MOBILE */
@media (max-width: 900px) {
  .site-header {
    padding: 0 24px;
  }

  .nav-links {
    display: none;
  }

  .logo-text {
    font-size: 1rem;
  }

  .hero-content h1 {
    letter-spacing: -2px;
  }

  .hero-tagline {
    letter-spacing: 4px;
    line-height: 1.8;
  }

  .hero-tagline span {
    display: block;
    margin: 6px 0;
  }
}
