/* ============================================
   HERO SECTION — Full-Screen Typographic Hero
   ============================================ */

/* ---------- Hero Header (Hamburger + Signature + Toggle) ---------- */
.hero-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.5rem;
}

.hero-header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1536px;
  margin: 0 auto;
}

/* Hamburger Button */
.hero-menu-btn {
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #737373;
  transition: color 0.3s ease;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-menu-btn:hover {
  color: #ffffff;
}

.hero-menu-btn svg {
  width: 32px;
  height: 32px;
  stroke-width: 2;
  transition: color 0.3s ease;
}

/* Light theme hover for menu */
html:not(.dark) .hero-menu-btn:hover {
  color: #1a1a1a;
}

/* Dropdown Menu */
.hero-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 220px;
  margin-top: 0.5rem;
  margin-left: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  z-index: 100;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  background-color: hsl(0 0% 0%);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.hero-dropdown.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

html:not(.dark) .hero-dropdown {
  background-color: hsl(0 0% 98%);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
  .hero-dropdown {
    width: 240px;
  }
}

.hero-dropdown a {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  padding: 0.375rem 0.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
  text-decoration: none;
  color: #ffffff;
}

html:not(.dark) .hero-dropdown a {
  color: #1a1a1a;
}

.hero-dropdown a:hover,
.hero-dropdown a.active-menu {
  color: #C3E41D !important;
}

@media (min-width: 768px) {
  .hero-dropdown a {
    font-size: 1.25rem;
  }
}

/* Signature */
.hero-signature {
  font-family: 'Brush Script MT', 'Lucida Handwriting', cursive;
  font-size: 2.25rem;
  color: #ffffff;
  user-select: none;
  transition: color 0.3s ease;
}

html:not(.dark) .hero-signature {
  color: #1a1a1a;
}

/* Theme Toggle Switch */
.theme-toggle {
  position: relative;
  width: 4rem;
  height: 2rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  background-color: hsl(0 0% 15%);
  transition: opacity 0.2s ease, background-color 0.3s ease;
}

.theme-toggle:hover {
  opacity: 0.8;
}

html:not(.dark) .theme-toggle {
  background-color: hsl(0 0% 90%);
}

.theme-toggle-knob {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background-color: #ffffff;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

html.dark .theme-toggle-knob {
  transform: translateX(2rem);
}

html:not(.dark) .theme-toggle-knob {
  background-color: #1a1a1a;
  transform: translateX(0);
}

/* ---------- Hero Section ---------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow: hidden;
}

html.dark .hero-section {
  background-color: hsl(0 0% 0%);
  color: hsl(0 0% 100%);
}

html:not(.dark) .hero-section {
  background-color: hsl(0 0% 98%);
  color: hsl(0 0% 10%);
}

/* ---------- Centered Name ---------- */
.hero-name-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  padding: 0 1rem;
}

.hero-name-inner {
  position: relative;
  text-align: center;
}

.hero-name-line {
  display: block;
}

.hero-name-text {
  font-family: 'Fira Code', monospace;
  font-weight: 700;
  color: #C3E41D;
  line-height: 0.75;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  white-space: nowrap;
  /* Responsive sizing */
  font-size: 80px;
}

@media (min-width: 420px) {
  .hero-name-text {
    font-size: 100px;
  }
}

@media (min-width: 640px) {
  .hero-name-text {
    font-size: 140px;
  }
}

@media (min-width: 768px) {
  .hero-name-text {
    font-size: 180px;
  }
}

@media (min-width: 1024px) {
  .hero-name-text {
    font-size: 210px;
  }
}

/* ---------- Profile Picture Overlay ---------- */
.hero-profile-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.hero-profile-frame {
  border-radius: 9999px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
  cursor: pointer;
  /* Responsive sizing */
  width: 65px;
  height: 110px;
}

@media (min-width: 420px) {
  .hero-profile-frame {
    width: 75px;
    height: 127px;
  }
}

@media (min-width: 640px) {
  .hero-profile-frame {
    width: 90px;
    height: 152px;
  }
}

@media (min-width: 768px) {
  .hero-profile-frame {
    width: 110px;
    height: 185px;
  }
}

@media (min-width: 1024px) {
  .hero-profile-frame {
    width: 129px;
    height: 218px;
  }
}

.hero-profile-frame:hover {
  transform: scale(1.1);
}

.hero-profile-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Tagline ---------- */
.hero-tagline-wrapper {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  padding: 0 1.5rem;
  /* Responsive bottom positioning */
  bottom: 2.5rem;
}

@media (min-width: 640px) {
  .hero-tagline-wrapper {
    bottom: 3rem;
  }
}

@media (min-width: 768px) {
  .hero-tagline-wrapper {
    bottom: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-tagline-wrapper {
    bottom: 4rem;
  }
}

@media (min-width: 1280px) {
  .hero-tagline-wrapper {
    bottom: 4.5rem;
  }
}

.hero-tagline {
  display: flex;
  justify-content: center;
}

.hero-tagline-text {
  font-family: 'Antic', sans-serif;
  text-align: center;
  color: #737373;
  transition: color 0.3s ease;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  /* Responsive font size */
  font-size: 15px;
}

@media (min-width: 640px) {
  .hero-tagline-text {
    font-size: 18px;
  }
}

@media (min-width: 768px) {
  .hero-tagline-text {
    font-size: 20px;
  }
}

@media (min-width: 1024px) {
  .hero-tagline-text {
    font-size: 22px;
  }
}

.hero-tagline-text:hover {
  color: #ffffff;
}

html:not(.dark) .hero-tagline-text:hover {
  color: #1a1a1a;
}

/* ---------- Scroll Indicator ---------- */
.hero-scroll-indicator {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: none;
  border: none;
  cursor: pointer;
  bottom: 1.5rem;
  transition: color 0.3s ease;
  animation: hero-bounce 2s infinite;
}

@media (min-width: 768px) {
  .hero-scroll-indicator {
    bottom: 2.5rem;
  }
}

.hero-scroll-indicator svg {
  color: #737373;
  transition: color 0.3s ease;
  width: 20px;
  height: 20px;
}

@media (min-width: 768px) {
  .hero-scroll-indicator svg {
    width: 32px;
    height: 32px;
  }
}

.hero-scroll-indicator:hover svg {
  color: #ffffff;
}

html:not(.dark) .hero-scroll-indicator:hover svg {
  color: #1a1a1a;
}

@keyframes hero-bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-8px);
  }
  60% {
    transform: translateX(-50%) translateY(-4px);
  }
}

/* ---------- Blur Text Animation ---------- */
.blur-letter {
  display: inline-block;
  filter: blur(10px);
  opacity: 0;
  transition: all 0.5s ease-out;
}

.blur-letter.animate-in {
  filter: blur(0px);
  opacity: 1;
  transform: translateY(0) !important;
}

.blur-word {
  display: inline-block;
  filter: blur(10px);
  opacity: 0;
  transition: all 0.5s ease-out;
}

.blur-word.animate-in {
  filter: blur(0px);
  opacity: 1;
  transform: translateY(0) !important;
}
