/* ========================================
   HERO SECTION - VIDEO BACKGROUND
   RRMasters Style Implementation
   ======================================== */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Video Background */
.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 1;
  object-fit: cover;
}

/* Dark Overlay */
.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-dark);
  z-index: 2;
}

/* Content Container */
.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--text-white);
  padding: var(--spacing-md);
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out;
}

/* Headline */
.hero__headline {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--gold-primary);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  letter-spacing: -1px;
}

/* Subheadline */
.hero__subheadline {
  font-family: var(--font-primary);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: var(--spacing-lg);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
  color: rgba(255, 255, 255, 0.95);
}

/* CTA Button */
.hero__cta {
  display: inline-block;
  padding: 18px 45px;
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-white);
  background: var(--gold-primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid transparent;
}

.hero__cta:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gold-accent);
}

.hero__cta:active {
  transform: translateY(-1px);
}

/* Scroll Indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce 2s infinite;
}

.hero__scroll-arrow {
  width: 30px;
  height: 30px;
  border-left: 2px solid var(--text-white);
  border-bottom: 2px solid var(--text-white);
  transform: rotate(-45deg);
  opacity: 0.7;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .hero {
    min-height: 500px;
    height: 90vh;
  }
  
  .hero__headline {
    font-size: 2.2rem;
  }
  
  .hero__subheadline {
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
  }
  
  .hero__cta {
    padding: 15px 35px;
    font-size: 1rem;
  }
  
  .hero__scroll-indicator {
    bottom: 20px;
  }
}

/* Tablet Optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero__headline {
    font-size: 3.5rem;
  }
  
  .hero__subheadline {
    font-size: 1.3rem;
  }
}

/* Video Background Fallback for Mobile */
@media (max-width: 768px) {
  .hero__video {
    /* On mobile, show poster image instead if bandwidth is concern */
    display: block;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .hero__content {
    animation: none;
  }
  
  .hero__scroll-indicator {
    animation: none;
  }
  
  .hero__cta {
    transition: none;
  }
}
