/* ==========================================================================
   hero.css — Hero Section Styles
   Styles for: hero section layout, name, title, description, CTAs, avatar,
   social media icons, resume download button
   Last updated: —
   ========================================================================== */

/* Hero section — full viewport height centered layout */
#hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#hero h1 {
  margin-bottom: 0.75rem;
}

/* Subtitle line (role titles) */
.hero-title {
  color: var(--amber);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
  letter-spacing: 0.3px;
}

/* Description paragraph */
.hero-desc {
  color: var(--text2);
  font-size: 1rem;
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* CTA buttons container */
.hero-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-ctas a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition);
  font-family: var(--font);
}

/* Resume download button icon animation */
.btn-resume svg {
  transition: transform var(--transition);
}

.btn-resume:hover svg {
  transform: translateY(2px);
}

/* ── Hero Avatar ── */
.hero-avatar-wrapper {
  margin-bottom: 1.5rem;
}

/* Circular profile image with amber border */
.hero-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid var(--amber-border);
  object-fit: cover;
  transition: box-shadow var(--transition);
}

.hero-avatar:hover {
  box-shadow: 0 0 20px var(--amber-glow);
}

/* Fallback initials circle when image fails to load */
.hero-avatar-fallback {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid var(--amber-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--amber);
  background: var(--glass);
  transition: box-shadow var(--transition);
}

.hero-avatar-fallback:hover {
  box-shadow: 0 0 20px var(--amber-glow);
}

/* ── Social Media Icons Row ── */
.hero-socials {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.hero-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  color: var(--text2);
  transition: all var(--transition);
}

.hero-socials a svg {
  width: 18px;
  height: 18px;
}

.hero-socials a:hover {
  color: var(--amber);
  border-color: var(--amber);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--amber-glow);
}

/* ── Responsive: avatar and layout alignment ── */
@media (max-width: 768px) {
  /* Center the avatar on mobile */
  .hero-avatar-wrapper {
    display: flex;
    justify-content: center;
  }

  #hero {
    text-align: center;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-socials {
    justify-content: center;
  }
}

@media (min-width: 769px) {
  /* Left-align avatar with text on desktop */
  .hero-avatar-wrapper {
    display: flex;
    justify-content: flex-start;
  }
}
