/**
 * OFO Development Website - Hero Component Styles
 * Contains styles for the hero sections across pages
 */

/* Hero section with video background */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 20, 0.9),
    rgba(10, 10, 20, 0.7)
  );
  z-index: -1;
}

/* Particle animation canvas */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}

/* Premium badge */
.premium-badge {
  position: relative;
  display: inline-block;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  border-radius: 0.25rem;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  border: 1px solid rgba(255, 215, 0, 0.3);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.05em;
}

.premium-badge::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 0.3rem;
  background: linear-gradient(45deg, #ffd700, #ffa500);
  z-index: -1;
  opacity: 0.5;
}

/* Hero animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-slideIn {
  animation: slideIn 0.6s ease forwards;
}

/* Staggered animations */
.staggered-item {
  opacity: 0;
}

.staggered-item:nth-child(1) {
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.1s;
}

.staggered-item:nth-child(2) {
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.3s;
}

.staggered-item:nth-child(3) {
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.5s;
}

.staggered-item:nth-child(4) {
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.7s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-content {
    padding-top: 5rem;
    text-align: center;
  }

  .feature-list {
    display: inline-block;
    text-align: left;
  }
}
