/* PJ INFRA — Cinematic hero video */

.hero-video-slider {
  position: relative;
  height: 68vh;
  height: 68dvh;
  min-height: 420px;
  max-height: 720px;
  overflow: hidden;
  background: #141210;
  isolation: isolate;
  padding-top: 0;
}

.hero-video-slider.hero-slider {
  min-height: 420px;
  max-height: 720px;
  height: 68vh;
  height: 68dvh;
}

/* Cinematic overlay stack */
.hero-cinematic-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20, 18, 16, 0.55) 0%, rgba(20, 18, 16, 0.25) 40%, rgba(20, 18, 16, 0.75) 100%),
    linear-gradient(90deg, rgba(20, 18, 16, 0.4) 0%, transparent 50%, rgba(20, 18, 16, 0.35) 100%);
}

.hero-cinematic-glow {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 50% at 50% 85%, rgba(255, 215, 0, 0.18) 0%, transparent 55%);
  animation: heroGlowPulse 5s ease-in-out infinite;
}

@keyframes heroGlowPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.hero-video-slider .hero-particles {
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

.hero-slide-video {
  position: absolute;
  inset: 0;
  opacity: 1 !important;
  z-index: 0;
}

.hero-slide-video .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(0.92) contrast(1.05);
  transform: scale(1.02);
}

.hero-video-content {
  position: relative;
  z-index: 10;
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 4.5rem 1.5rem 3.25rem;
  pointer-events: none;
}

.hero-copy {
  text-align: center;
  max-width: 42rem;
  width: 100%;
  pointer-events: auto;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffd700 !important;
  margin: 0 0 0.85rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.hero-title {
  font-size: clamp(2.25rem, 7vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  color: #ffffff;
  margin: 0 0 0.85rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.85);
  letter-spacing: -0.02em;
}

.hero-title span {
  color: #ffd700;
  background: linear-gradient(135deg, #ffd700, #d4af37, #fff8dc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.4));
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #f0ebe3;
  margin: 0 0 2rem;
  line-height: 1.6;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}

/* Hero text reveal */
.hero-reveal-item {
  opacity: 0;
  transform: translateY(28px);
}

.hero-reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #d4af37, #ffd700, #b8860b);
  color: #141210;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.35), 0 0 32px rgba(255, 215, 0, 0.25);
}

.btn-hero-primary i {
  color: #141210 !important;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.4), 0 0 48px rgba(255, 215, 0, 0.35);
}

.btn-hero-secondary {
  background: rgba(20, 18, 16, 0.65);
  color: #ffd700;
  border: 1px solid rgba(212, 175, 55, 0.55);
  backdrop-filter: blur(12px);
}

.btn-hero-secondary i {
  color: #ffd700 !important;
}

.btn-hero-secondary:hover {
  background: rgba(20, 18, 16, 0.85);
  border-color: #ffd700;
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.15);
}

.hero-sound-toggle {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(20, 18, 16, 0.65);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  pointer-events: auto;
}

.hero-sound-toggle i {
  color: #ffd700 !important;
}

.hero-sound-toggle.is-unmuted {
  background: linear-gradient(135deg, #d4af37, #ffd700);
  color: #141210;
  border-color: transparent;
}

.hero-sound-toggle.is-unmuted i {
  color: #141210 !important;
}

.hero-video-slider .hero-dots:has(button:only-child) {
  display: none;
}

/* Mobile: taller cinematic hero */
@media (max-width: 768px) {
  .hero-video-slider,
  .hero-video-slider.hero-slider {
    height: 82vh;
    height: 82dvh;
    min-height: 520px;
    max-height: none;
  }

  .hero-slide-video .hero-video {
    object-position: center 30%;
    transform: scale(1.05);
  }

  .hero-title {
    font-size: clamp(2.5rem, 11vw, 3.5rem);
  }

  .hero-video-content {
    padding: 5rem 1.25rem 3.5rem;
    align-items: flex-end;
  }

  .hero-cinematic-glow {
    background: radial-gradient(ellipse 100% 60% at 50% 90%, rgba(255, 215, 0, 0.22) 0%, transparent 60%);
  }
}

@media (max-width: 640px) {
  .hero-cta-row {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .btn-hero {
    width: 100%;
  }
}
