/* Home Page Hero: Stunning, Graceful Animations */

/* Base Hero Styles */

.hero {
  min-height: 80vh;
  background: var(--light-bg);
}

/* Parallax Background */

.hero-bg-parallax {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  will-change: transform;
}

.hero-bg-img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  transform: translateY(0);
  transition: transform 0.5s ease-out;
}

/* Gradient Overlay for Depth */

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
  z-index: 0;
}

/* Z-Index for Content */

.z-index-1 {
  z-index: 1;
}

/* Fade-In Animations */

.hero-headline, .hero-paragraph, .hero-button {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.hero-headline.visible, .hero-paragraph.visible, .hero-button.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Rotating Text Animation */

.hero-rotating-text {
  display: inline-block;
  min-width: 200px;
  animation: fadeText 1s ease;
}

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

/* Button Hover: Glossy Shine */

.hero-button {
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.hero-button:hover {
  box-shadow: 0 4px 8px rgba(74, 144, 226, 0.3);
}

.hero-button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-button:hover::before {
  opacity: 1;
  transform: translate(25%, 25%);
}

/* Particles Canvas */

#hero-particles {
  opacity: 0.3;
  pointer-events: none;
}

