/* ================================================================
   hero.css  –  Maies Beauty Salon | Hero Section Styles
   Theme: Black · White · Gold (#D4AF37)
   ================================================================ */

/* ─── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold:        #CBA135; /* Warm, muted gold */
  --gold-light:  #DFB956;
  --gold-dim:    #9B7923;
  --white:       #FFFFFF;
  --black:       #121212; /* Deep charcoal */
  --off-black:   #1A1A1A;
}

html, body {
  /* Scroll behavior enabled */
}

body {
  font-family: 'Jost', sans-serif;
  background: var(--black);
  color: var(--white);
}

/* ─── Hero Wrapper ─────────────────────────────────────── */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--black);
}

/* ─── Radial Glow Background ────────────────────────────── */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%,
      rgba(212, 175, 55, 0.10) 0%,
      rgba(212, 175, 55, 0.04) 45%,
      transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 80%,
      rgba(212, 175, 55, 0.06) 0%,
      transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ─── Vignette Overlay ──────────────────────────────────── */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center,
    transparent 30%,
    rgba(0,0,0,0.75) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ─── Particle Canvas ───────────────────────────────────── */
#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* ─── Thin horizontal rule (decorative) ─────────────────── */
.hero-rule {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(212,175,55,0.5) 30%,
    rgba(212,175,55,0.8) 50%,
    rgba(212,175,55,0.5) 70%,
    transparent 100%);
  z-index: 3;
  animation: shimmer-line 4s ease-in-out infinite;
}
.hero-rule.bottom {
  top: auto;
  bottom: 0;
}

@keyframes shimmer-line {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}

/* ─── Content Layer ─────────────────────────────────────── */
.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 140px 24px 0 24px;
  max-width: 900px;
  width: 100%;
}

/* ─── Overline Badge ────────────────────────────────────── */
.hero-overline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: clamp(0.65rem, 1.5vw, 0.78rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;

  opacity: 0;
  transform: translateY(16px);
  animation: fade-up 0.9s cubic-bezier(.22,1,.36,1) 0.2s forwards;
}
.hero-overline::before,
.hero-overline::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

/* ─── Main Headline ─────────────────────────────────────── */
.hero-headline {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 28px;

  opacity: 0;
  transform: translateY(24px);
  animation: fade-up 1.1s cubic-bezier(.22,1,.36,1) 0.45s forwards;
}

/* Gold shimmer on "beautiful." */
.hero-headline .gold-word {
  display: inline;
  background: linear-gradient(
    105deg,
    var(--gold-dim)   0%,
    var(--gold)       35%,
    var(--gold-light) 55%,
    var(--gold)       75%,
    var(--gold-dim)   100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gold-shimmer 4s linear 1.6s infinite;
}

@keyframes gold-shimmer {
  0%   { background-position: 0%   center; }
  100% { background-position: 200% center; }
}

/* ─── Subheading ────────────────────────────────────────── */
.hero-sub {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: clamp(0.75rem, 1.8vw, 0.95rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 64px;

  opacity: 0;
  transform: translateY(20px);
  animation: fade-up 1s cubic-bezier(.22,1,.36,1) 0.75s forwards;
}

/* ─── CTA Buttons ───────────────────────────────────────── */
.hero-cta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;

  opacity: 0;
  transform: translateY(20px);
  animation: fade-up 1s cubic-bezier(.22,1,.36,1) 1s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: clamp(0.72rem, 1.6vw, 0.82rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 40px;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(.22,1,.36,1);
  position: relative;
  overflow: hidden;
}

/* Shimmer sweep on hover */
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg,
    transparent 0%,
    rgba(255,255,255,0.12) 50%,
    transparent 100%);
  transition: left 0.5s ease;
}
.btn:hover::before { left: 140%; }

/* Primary – Solid Gold */
.btn-primary {
  background: var(--gold);
  color: var(--black);
  border: 1px solid var(--gold);
  box-shadow: 0 4px 15px rgba(203, 161, 53, 0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(203, 161, 53, 0.4);
  background: var(--gold-light);
  border-color: var(--gold-light);
}
.btn-primary:active { transform: translateY(0); }

/* Secondary – Ghost */
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(203, 161, 53, 0.05);
}
.btn-secondary:active { transform: translateY(0); }

/* Arrow icon */
.btn-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ─── Scroll Indicator ──────────────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;

  opacity: 0;
  animation: fade-up 1s ease 1.6s forwards;
}
.scroll-indicator span {
  font-family: 'Jost', sans-serif;
  font-size: 0.6rem;
  font-weight: 200;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(212,175,55,0.6);
}
.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 1px solid rgba(212,175,55,0.45);
  border-radius: 11px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}
.scroll-dot {
  width: 3px;
  height: 6px;
  background: var(--gold);
  border-radius: 2px;
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60%       { transform: translateY(8px); opacity: 0.2; }
}

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

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 600px) {
  .hero-cta { gap: 14px; }
  .btn { padding: 14px 30px; }
  .hero-sub { margin-bottom: 44px; letter-spacing: 0.18em; }
}
