/* ============================================================
   HERO — Fitness Garage
   ============================================================ */

#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  /* Real gym photo used as hero bg — owner to replace 1.jpg */
  background:
    linear-gradient(110deg, rgba(7,7,7,.95) 0%, rgba(7,7,7,.65) 52%, rgba(7,7,7,.2) 100%),
    url('../images/1.jpg') center / cover no-repeat,
    url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?w=1900&q=85') center / cover no-repeat;
  filter: grayscale(100%);
  transform: scale(1.05);
  animation: bgZoom 14s ease-in-out infinite alternate;
}
@keyframes bgZoom { from{transform:scale(1.05);} to{transform:scale(1);} }

/* Grain texture */
.hero-bg::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: .5;
}

/* Editorial vertical line */
.hero-vline {
  position: absolute; right: 80px; top: 0; bottom: 0;
  width: 1px; background: var(--border2); z-index: 1; pointer-events: none;
}

.hero-content {
  position: relative; z-index: 2;
  padding: 0 80px; padding-top: 80px; max-width: 880px;
}

@keyframes fInD { from{opacity:0;transform:translateY(-18px);} to{opacity:1;transform:none;} }
@keyframes fInU { from{opacity:0;transform:translateY(28px);}  to{opacity:1;transform:none;} }

/* Tag pill */
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--border2); padding: 6px 16px; margin-bottom: 24px;
  font-family: var(--ff-con); font-weight: 600;
  font-size: 10px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--silver);
  animation: fInD .9s cubic-bezier(.16,1,.3,1) both;
}
.hero-tag .dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--white);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:.15;} }

/* Headline */
.hero-h1 {
  font-family: var(--ff-bb);
  font-size: clamp(68px, 10.5vw, 138px);
  line-height: .88; letter-spacing: 2px;
  animation: fInU .9s .12s cubic-bezier(.16,1,.3,1) both;
}
.hero-h1 .dim { color: rgba(255,255,255,.28); }

/* Sub tagline */
.hero-sub {
  font-size: clamp(14px, 1.4vw, 16px); line-height: 1.85;
  color: var(--gray); max-width: 480px; margin-top: 22px;
  font-style: italic;
  animation: fInU .9s .28s cubic-bezier(.16,1,.3,1) both;
}

/* CTAs */
.hero-btns {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px;
  animation: fInU .9s .42s cubic-bezier(.16,1,.3,1) both;
}

/* Stats column on right */
.hero-stats {
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%); z-index: 2;
  width: 80px;
  display: flex; flex-direction: column; align-items: center; gap: 32px;
  animation: fInU .9s .62s cubic-bezier(.16,1,.3,1) both;
}
.hstat .n {
  font-family: var(--ff-bb); font-size: 28px; line-height: 1;
  text-align: center;
}
.hstat .l {
  font-family: var(--ff-con); font-size: 8px;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--gray); text-align: center; line-height: 1.5; margin-top: 4px;
}
.hstat-sep { width: 1px; height: 28px; background: var(--border2); }

/* Scroll cue */
.scroll-cue {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  opacity: .3; animation: fInU 1s 1.1s both;
}
.scroll-cue span {
  font-family: var(--ff-con); font-size: 9px;
  letter-spacing: 3px; text-transform: uppercase;
}
.sc-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--white), transparent);
  animation: scAnim 1.8s ease-in-out infinite;
}
@keyframes scAnim {
  0%{transform:scaleY(0);transform-origin:top;}
  50%{transform:scaleY(1);transform-origin:top;}
  51%{transform-origin:bottom;}
  100%{transform:scaleY(0);transform-origin:bottom;}
}

@media (max-width: 900px) {
  .hero-content { padding: 0 20px; padding-top: 80px; max-width: 100%; }
  .hero-stats, .hero-vline { display: none; }
}
