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

/* ── Section ── */
#hero {
  min-height: 100vh;
  padding-top: 68px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 70% 60% at 0% 0%, rgba(253, 186, 116, 0.40) 0%, transparent 60%),
    radial-gradient(ellipse 55% 50% at 100% 100%, rgba(249, 115, 22, 0.12) 0%, transparent 60%),
    #fdf8f6;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(249, 115, 22, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* ── Container ── */
.hero-container {
  max-width: 1200px;
  margin-inline: auto;
  padding: var(--space-20) var(--space-6);
  width: 100%;
  position: relative;
  z-index: 1;
}

/* ── 3-column grid ── */
.hero-grid {
  display: grid;
  grid-template-columns: 240px 1fr 300px;
  gap: var(--space-8);
  align-items: center;
}

/* ─────────────────────────────────────────────
   LEFT — Photo card
───────────────────────────────────────────── */
.hero-photo-wrapper {
  display: flex;
  justify-content: center;
  animation: hero-fade-up 0.7s ease both;
  animation-delay: 0.1s;
}

.hero-photo-card {
  width: 210px;
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(249, 115, 22, 0.18),
    0 6px 20px rgba(0, 0, 0, 0.10);
  transform: rotate(-2.5deg);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  position: relative;
}

.hero-photo-card:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow:
    0 28px 70px rgba(249, 115, 22, 0.22),
    0 10px 28px rgba(0, 0, 0, 0.12);
}

.hero-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--orange-light) 0%, var(--orange) 50%, var(--orange-dark) 100%);
  gap: var(--space-2);
}

.hero-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-photo-initials {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 2px;
  line-height: 1;
}

.hero-photo-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ─────────────────────────────────────────────
   CENTER — Main content
───────────────────────────────────────────── */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  animation: hero-fade-up 0.7s ease both;
  animation-delay: 0.22s;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--orange-dark);
  background: rgba(249, 115, 22, 0.10);
  border: 1px solid rgba(249, 115, 22, 0.28);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  width: fit-content;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.25);
  animation: pulse-dot 2s ease infinite;
}

/* Name */
.hero-name {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.hero-name .name-highlight {
  color: var(--orange);
}

/* Description */
.hero-desc {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: #4b5563;
  line-height: 1.75;
  max-width: 520px;
}

/* Buttons */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: #ffffff;
  background: var(--orange);
  border: 2px solid var(--orange);
  border-radius: 10px;
  padding: 12px 24px;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.30);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: #374151;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 24px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-secondary:hover {
  border-color: var(--orange-light);
  color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* Social pills */
.hero-socials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: #374151;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-full);
  padding: 6px 14px;
  text-decoration: none;
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.social-pill:hover {
  border-color: var(--orange);
  color: var(--orange-dark);
  background: rgba(249, 115, 22, 0.04);
  transform: translateY(-2px);
}

.social-pill .pill-icon {
  font-size: 0.85rem;
}

/* ─────────────────────────────────────────────
   RIGHT — Skills card
───────────────────────────────────────────── */
.hero-skills-wrapper {
  animation: hero-fade-up 0.7s ease both;
  animation-delay: 0.34s;
}

.hero-skills-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 20px;
  padding: var(--space-6);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.07),
    0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.hero-skills-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 16px 48px rgba(249, 115, 22, 0.10),
    0 4px 16px rgba(0, 0, 0, 0.07);
}

.skills-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid rgba(249, 115, 22, 0.15);
}

.skill-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.skill-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.skill-row-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--orange-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.skill-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.skill-tag {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: #374151;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-full);
  padding: 3px 10px;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.skill-tag:hover {
  background: rgba(249, 115, 22, 0.08);
  color: var(--orange-dark);
  border-color: rgba(249, 115, 22, 0.30);
}

/* ─────────────────────────────────────────────
   Keyframes
───────────────────────────────────────────── */
@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.25); }
  50%       { box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.10); }
}

/* ─────────────────────────────────────────────
   Responsive — Tablet (≤ 960px)
───────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 200px 1fr;
    grid-template-rows: auto auto;
  }

  .hero-skills-wrapper {
    grid-column: 1 / -1;
  }
}

/* ─────────────────────────────────────────────
   Responsive — Mobile (≤ 640px)
───────────────────────────────────────────── */
@media (max-width: 640px) {
  .hero-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: var(--space-6);
  }

  .hero-photo-wrapper {
    order: -1;
  }

  .hero-photo-card {
    width: 160px;
    transform: rotate(0deg);
  }

  .hero-photo-card:hover {
    transform: translateY(-4px);
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-desc {
    text-align: center;
  }

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

  .hero-skills-wrapper {
    width: 100%;
  }
}
