/* ============================================
   HERO.CSS — Hero / Landing Section
   ============================================ */

#hero {
  min-height: 100vh;
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 70px 32px 48px;
}

/* Decorative background blobs */
#hero::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,107,204,0.10) 0%, transparent 70%);
  top: -200px; right: -200px;
  pointer-events: none;
}
#hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,200,160,0.12) 0%, transparent 70%);
  bottom: -100px; left: -80px;
  pointer-events: none;
}

.hero-container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ---- LEFT CONTENT ---- */
.hero-content {}

.hero-greeting {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: heroFadeUp 0.8s 0.1s var(--ease) forwards;
}
.hero-greeting::before {
  content: '';
  width: 32px; height: 2px;
  background: var(--grad-primary);
  border-radius: 2px;
}

.hero-hi {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 600;
  font-style: italic;
  color: var(--text-body);
  margin-bottom: 4px;
  opacity: 0;
  animation: heroFadeUp 0.8s 0.2s var(--ease) forwards;
}

.hero-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  opacity: 0;
  animation: heroFadeUp 0.8s 0.3s var(--ease) forwards;
}
.hero-name-first { color: var(--text); display: block; }
.hero-name-last {
  display: block;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-role-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  opacity: 0;
  animation: heroFadeUp 0.8s 0.4s var(--ease) forwards;
}
.hero-role-badge {
  background: var(--grad-btn);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(26,107,204,0.28);
  white-space: nowrap;
}
.hero-role-company {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-body);
}
.hero-role-at {
  color: var(--muted);
  font-size: 0.85rem;
}
.hero-role-company span {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 32px;
  opacity: 0;
  animation: heroFadeUp 0.8s 0.5s var(--ease) forwards;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  opacity: 0;
  animation: heroFadeUp 0.8s 0.6s var(--ease) forwards;
}

/* Stats Row */
.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: heroFadeUp 0.8s 0.7s var(--ease) forwards;
}
.hero-stat {}
.hero-stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 2px;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ---- RIGHT: PHOTO ---- */
.hero-photo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  opacity: 0;
  animation: heroFadeScale 0.9s 0.4s var(--ease) forwards;
  overflow: visible;
  padding: 20px 24px;
}

/* Decorative rings */
.hero-photo-wrap::before {
  content: '';
  position: absolute;
  width: 110%; height: 110%;
  border-radius: 50%;
  border: 2px dashed rgba(26,107,204,0.18);
  animation: rotateSlow 18s linear infinite;
  pointer-events: none;
}
.hero-photo-wrap::after {
  content: '';
  position: absolute;
  width: 88%; height: 88%;
  border-radius: 50%;
  border: 2px solid rgba(6,200,160,0.22);
  animation: rotateSlow 12s linear infinite reverse;
  pointer-events: none;
}
@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero-photo-frame {
  width: 300px; height: 300px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--grad-hero);
  border: 5px solid #fff;
  box-shadow:
    0 0 0 8px rgba(26,107,204,0.10),
    0 24px 80px rgba(26,107,204,0.22);
  position: relative;
  z-index: 1;
}

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

/* Placeholder avatar when no image */
.hero-avatar-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #e8f4ff, #dbeeff);
  color: var(--primary);
}
.hero-avatar-initials {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 5rem;
  line-height: 1;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-avatar-sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 8px;
}

/* Floating tags around photo */
.hero-badge-float {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(26,107,204,0.18);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  z-index: 10;
  animation: floatBadge 3s ease-in-out infinite;
  white-space: nowrap;
  border: 1px solid rgba(26,107,204,0.10);
}
.hero-badge-float .bf-icon { font-size: 1rem; }

/* Positioned INSIDE the photo-wrap boundaries */
.hero-badge-float.bf1 {
  top: 10%; left: 0px;
  animation-delay: 0s;
}
.hero-badge-float.bf2 {
  bottom: 18%; right: 0px;
  animation-delay: 1s;
}
.hero-badge-float.bf3 {
  bottom: 4%; left: 8%;
  animation-delay: 2s;
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  animation: heroFadeUp 0.8s 1.2s var(--ease) forwards;
  z-index: 2;
}
.hero-scroll-hint span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-mouse {
  width: 22px; height: 34px;
  border: 2px solid var(--border);
  border-radius: 11px;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 5px;
}
.scroll-mouse::after {
  content: '';
  width: 3px; height: 8px;
  background: var(--grad-primary);
  border-radius: 2px;
  animation: scrollWheel 1.8s ease-in-out infinite;
}
@keyframes scrollWheel {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

/* Animations */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeScale {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

/* Mobile badge row — hidden always */
.hero-mobile-badges { display: none !important; }

/* RESPONSIVE */
@media (max-width: 1000px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .hero-greeting, .hero-role-wrap { justify-content: center; }
  .hero-desc { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-photo-wrap {
    order: -1;
    align-items: center;
    justify-content: center;
    /* Controlled padding so badges stay tight around the circle */
    padding: 40px 60px;
    width: 320px;
    margin: 0 auto;
  }
  .hero-photo-frame { width: 200px; height: 200px; }

  /* Rings scale down with the photo */
  .hero-photo-wrap::before { width: 108%; height: 108%; }
  .hero-photo-wrap::after  { width: 86%;  height: 86%;  }

  /* Smaller badges */
  .hero-badge-float {
    padding: 6px 10px;
    font-size: 0.68rem;
    gap: 5px;
    border-radius: 9px;
    box-shadow: 0 4px 14px rgba(26,107,204,0.18);
  }
  .hero-badge-float .bf-icon { font-size: 0.85rem; }

  /* Tight positions around the 200px circle inside the padded wrap */
  .hero-badge-float.bf1 { top: 20px;    left: 10px;  }
  .hero-badge-float.bf2 { bottom: 50px; right: 10px; }
  .hero-badge-float.bf3 { bottom: 14px; left: 20px;  }
}

@media (max-width: 600px) {
  #hero { padding: 100px 0 80px; }
  .hero-container { padding: 0 20px; }
  .hero-photo-wrap {
    padding: 36px 54px;
    width: 280px;
  }
  .hero-photo-frame { width: 170px; height: 170px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-badge-float {
    padding: 5px 8px;
    font-size: 0.62rem;
    gap: 4px;
  }
  .hero-badge-float.bf1 { top: 16px;    left: 10px;  }
  .hero-badge-float.bf2 { bottom: 44px; right: 10px; }
  .hero-badge-float.bf3 { bottom: 10px; left: 16px;  }
}}
