/**
 * The Lakehouse Pizza Bar & Grill — 3D Hero & Scroll Story Styles
 * File: website_assets/lakehouse/v2/css/hero.css
 */

/* ==========================================================================
   3D Viewport Hero Stage
   ========================================================================== */
.hero-stage {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: var(--perspective-stage);
  padding: var(--nav-height) var(--container-pad) 60px;
}

/* Layer 1: Deep Background Interior & High-Clarity Video */
.hero-layer-bg {
  position: absolute;
  inset: -2%;
  width: 104%;
  height: 104%;
  background: #101012;
  filter: brightness(0.82) contrast(1.06) saturate(1.08);
  transform: translate3d(0, 0, 0);
  will-change: transform;
  transition: transform 0.25s var(--ease-luxury);
  overflow: hidden;
  z-index: 1;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Layer 2: Subtle Ambient Glow & Light Vignette (Clear & Visible) */
.hero-layer-lighting {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 50% 40%, rgba(198, 154, 84, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, rgba(16, 16, 18, 0.22) 0%, rgba(16, 16, 18, 0.62) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Layer 3: Foreground Content Container with 3D Transform */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Floating 3D Logo Badge */
.hero-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(100px, 12vw, 136px);
  height: clamp(100px, 12vw, 136px);
  padding: 12px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 35px var(--gold-glow);
  margin: 0 auto var(--space-md);
  transform: translateZ(40px);
  transition: transform var(--transition-normal);
  animation: heroFloat 6s ease-in-out infinite alternate;
}

@keyframes heroFloat {
  0% { transform: translateZ(40px) translateY(0); }
  100% { transform: translateZ(40px) translateY(-8px); }
}

.hero-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: var(--fs-small);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
  margin: 0 auto var(--space-xs);
  transform: translateZ(25px);
  width: 100%;
}

.hero-title {
  font-size: var(--fs-hero);
  font-family: var(--font-serif);
  color: var(--text-primary);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
  transform: translateZ(35px);
}

.hero-title span {
  display: block;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--gold-light);
}

.hero-desc {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  color: var(--text-primary);
  line-height: 1.7;
  max-width: 740px;
  margin: 0 auto var(--space-lg);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  transform: translateZ(20px);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  transform: translateZ(30px);
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--gold-light);
  font-size: var(--fs-tiny);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.hero-scroll-indicator:hover {
  opacity: 1;
}

.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid var(--gold-primary);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 4px;
  height: 7px;
  background: var(--gold-primary);
  border-radius: 2px;
  animation: mouseWheel 1.8s infinite;
}

@keyframes mouseWheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ==========================================================================
   5-Scene 3D Scroll Journey
   ========================================================================== */
.scroll-journey-section {
  position: relative;
  background-color: var(--bg-secondary);
  padding: clamp(80px, 10vw, 140px) 0;
  overflow: hidden;
}

.scene-block {
  margin-bottom: clamp(60px, 8vw, 110px);
  position: relative;
}

.scene-block:last-child {
  margin-bottom: 0;
}

.scene-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.scene-grid.reversed {
  direction: rtl;
}

.scene-grid.reversed > * {
  direction: ltr;
}

.scene-img-stage {
  position: relative;
  perspective: 1000px;
}

.scene-img-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  border: 1px solid var(--border-subtle);
  transform-style: preserve-3d;
  transition: transform var(--transition-slow);
}

.scene-img-card img {
  width: 100%;
  height: clamp(300px, 35vw, 440px);
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.scene-img-card:hover img {
  transform: scale(1.05);
}

.scene-number-badge {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  color: rgba(198, 154, 84, 0.18);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.scene-title {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-sm);
}

.scene-text {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

@media (max-width: 900px) {
  .scene-grid,
  .scene-grid.reversed {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}
