/* ============================================================
   ANIMATIONS — Bexley Fish & Raw Bar
   Generated by /b2b-web-overhaul-execution
   Animation Level: 3 / 5
   ============================================================ */

/* ── Initial GSAP hidden states ──
   GSAP will animate these in on scroll.
   Do not add transitions here — GSAP handles them. */

.reveal-up {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
}

.reveal-fade {
  opacity: 0;
}

/* ── Hero title inner text spans ── */
.hero-title-line1,
.hero-title-line2 {
  display: block;
  overflow: hidden;
}

/* ── Hero parallax container ── */
.hero-bg {
  will-change: transform;
}

/* ── Subtle image scale on hover for cards ── */
.prop-card-img-wrap {
  overflow: hidden;
}

/* ── Smooth tab panel transitions ── */
.tab-panel {
  transition: opacity 300ms ease, transform 300ms ease;
}

/* ── Stat number pulse on count-up ── */
@keyframes statPulse {
  0%   { color: var(--color-accent-warm); }
  100% { color: var(--color-accent); }
}

.stat-number.counting {
  animation: statPulse 1.6s ease forwards;
}

/* ── Accent line entrance ── */
@keyframes lineGrow {
  from { scaleX: 0; }
  to   { scaleX: 1; }
}

/* ── Footer reveal ── */
#footer {
  opacity: 1; /* Footer not GSAP-animated in level 3 */
}

/* ── Scroll indicator on hero ── */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 1;
}

.hero-scroll-hint span {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 0.9; transform: scaleY(1.15); }
}

/* ── Nav transition ── */
#nav {
  transition: background 400ms ease, box-shadow 400ms ease;
}

/* ── Image overlay cinematic blend ── */
.hero-overlay {
  mix-blend-mode: normal;
  transition: opacity 500ms ease;
}

/* ── Team card hover ── */
.team-card {
  transition: transform 300ms ease;
}

.team-card:hover {
  transform: translateY(-6px);
}

.team-card-img-wrap {
  transition: border-color 300ms ease;
}

.team-card:hover .team-card-img-wrap {
  border-color: var(--color-accent-warm);
}
