/* ============================================================
   PORTFOLIO THEME — hero.css
   Hero / Banner section styles
   ============================================================ */

/* ─── Hero Section ───────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px;
}

/* Background layers */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 80% at 75% 55%, rgba(201,169,110,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 45% 55% at 15% 85%, rgba(232,112,90,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 30% 40% at 50% 10%, rgba(201,169,110,0.04) 0%, transparent 60%);
}
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* Content layout */
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 60px;
}
.hero__content { max-width: 720px; }

/* Eyebrow */
.hero__eyebrow {
  opacity: 0;
  animation: heroFadeUp 0.8s 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  margin-bottom: 30px;
}

/* Title */
.hero__title {
  margin-bottom: 30px;
  opacity: 0;
  animation: heroFadeUp 0.9s 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Description */
.hero__desc {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--color-muted);
  max-width: 500px;
  margin-bottom: 48px;
  opacity: 0;
  animation: heroFadeUp 0.9s 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* CTA row */
.hero__cta {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp 0.9s 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Badge / available tag */
.hero__available {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  opacity: 0;
  animation: heroFadeUp 0.7s 0.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.available-dot {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(74,222,128,0.25);
  animation: pulse 2s ease-in-out infinite;
}
.available-text {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(74,222,128,0.8);
  font-weight: 500;
}

/* Floating visual */
.hero__visual {
  position: relative;
  flex-shrink: 0;
  opacity: 0;
  animation: heroFadeIn 1.2s 1.2s ease forwards;
}
.hero__orbit {
  position: relative;
  width: 360px; height: 360px;
}
.orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.18);
  transform: translate(-50%, -50%);
}
.orbit-ring-1 {
  width: 360px; height: 360px;
  animation: rotateCW 24s linear infinite;
}
.orbit-ring-2 {
  width: 270px; height: 270px;
  border-color: rgba(232,112,90,0.14);
  animation: rotateCCW 16s linear infinite;
}
.orbit-ring-3 {
  width: 180px; height: 180px;
  animation: rotateCW 10s linear infinite;
}
.orbit-dot {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
  top: -4px; left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(201,169,110,0.6);
}
.hero__card {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 200px; height: 260px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  animation: floatY 6s ease-in-out infinite;
}
.hero__card-icon {
  font-size: 3rem;
  color: rgba(201,169,110,0.25);
  font-family: var(--font-display);
}
.hero__card-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 44px;
  left: var(--gutter);
  display: flex;
  align-items: flex-end;
  gap: 14px;
  opacity: 0;
  animation: heroFadeIn 1s 1.6s ease forwards;
}
.scroll-track {
  width: 1px; height: 70px;
  background: linear-gradient(to bottom, transparent, var(--color-gold));
  animation: scrollTrack 2.2s ease-in-out infinite;
  transform-origin: top;
}
.scroll-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-bottom: 8px;
}

/* Stats strip */
.hero__stats {
  position: absolute;
  bottom: 44px;
  right: var(--gutter);
  display: flex;
  gap: 44px;
  opacity: 0;
  animation: heroFadeIn 1s 1.8s ease forwards;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  margin-top: 4px;
}

/* ─── Keyframes ─────────────────────────────────────────── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes rotateCW  { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes rotateCCW { to { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes floatY {
  0%, 100% { transform: translate(-50%, -50%); }
  50%       { transform: translate(-50%, calc(-50% - 12px)); }
}
@keyframes scrollTrack {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.2); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74,222,128,0.2); }
  50%       { box-shadow: 0 0 0 6px rgba(74,222,128,0.1); }
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .hero__stats  { display: none; }
}
@media (max-width: 768px) {
  .hero__scroll { display: none; }
}
