/* Hero Section - Subtle Animated Gradient */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--gap-3xl) 0;
}

/* Subtle gradient background with soft animation */
.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-light) 30%,
    var(--color-primary) 60%,
    var(--color-primary-hover) 100%
  );
  background-size: 400% 400%;
  animation: subtleGradient 20s ease-in-out infinite;
}

/* Hero background image (optional - add hero-image.jpg to assets/images/) */
/* The image will automatically appear when you add hero-image.jpg to assets/images/ */
.hero-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/hero-image.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.25;
  z-index: 0;
  transition: opacity var(--transition-base);
}

/* Fallback: if image doesn't exist, it won't show (browser handles 404 gracefully) */

/* Very subtle gradient animation */
@keyframes subtleGradient {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Optional: Add texture overlay for depth */
.hero-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 20% 80%,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 50%
  ),
  radial-gradient(
    circle at 80% 20%,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 50%
  );
  pointer-events: none;
}

/* Disable animation for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .hero-background {
    animation: none;
    background: var(--color-primary);
    background-size: 100% 100%;
  }
  
  .hero-background::after {
    display: none;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-inverse);
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.hero-title {
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  color: var(--color-inverse);
  margin-bottom: var(--gap-lg);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--color-inverse);
  margin-bottom: var(--gap-xl);
  line-height: var(--leading-relaxed);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
  opacity: 0.95;
}

.hero-bullets {
  list-style: none;
  margin: var(--gap-xl) 0;
  display: flex;
  flex-direction: column;
  gap: var(--gap-base);
  align-items: center;
}

.hero-bullets li {
  font-size: var(--text-lg);
  color: var(--color-inverse);
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  font-weight: var(--font-medium);
}

.hero-bullets li::before {
  content: "●";
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
  margin-top: var(--gap-2xl);
}

.hero .btn-primary {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-hover) 100%);
  font-size: var(--text-xl);
  padding: var(--gap-lg) var(--gap-2xl);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.15);
  font-weight: var(--font-bold);
}

.hero .btn-primary:hover {
  background: linear-gradient(135deg, var(--color-secondary-hover) 0%, var(--color-secondary) 100%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Responsive Hero */
@media (min-width: 640px) {
  .hero-title {
    font-size: var(--text-5xl);
  }
  
  .hero-subtitle {
    font-size: var(--text-2xl);
  }
  
  .hero-bullets {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .hero-bullets li {
    font-size: var(--text-xl);
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: var(--text-6xl);
  }
  
  .hero {
    min-height: 90vh;
  }
}

/* Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

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

.hero-scroll svg {
  width: 32px;
  height: 32px;
  fill: var(--text-inverse);
  opacity: 0.8;
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll {
    animation: none;
  }
}

