/* Simple, clean and attractive hero section */

.hero-simple {
  background: #000000; /* Pure black background */
  color: var(--white-color);
  padding: 130px 0 100px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Add subtle red noise texture overlay */
.hero-simple::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.015;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 2;
}

.hero-simple .container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.hero-simple .container.centered {
  flex-direction: column;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  animation: fadeIn 1.2s ease-out;
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.1;
  letter-spacing: -1px;
  color: #ffffff;
  animation: fadeIn 0.8s ease-out;
}

.hero-title .highlight {
  color: var(--primary-color);
  position: relative;
  z-index: 1;
  display: inline-block;
  position: relative;
}

.hero-title .highlight:after {
  content: '';
  position: absolute;
  height: 8px;
  width: 100%;
  bottom: 8px;
  left: 0;
  background-color: rgba(230, 57, 70, 0.2);
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.6rem;
  margin: 0 auto 40px;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  animation: fadeIn 0.8s ease-out 0.2s forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  justify-content: center;
}

.hero-buttons .btn {
  min-width: 180px;
}

/* Floating element animation */
.floating-element {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 220, 220, 0.6), rgba(255, 180, 180, 0.4), rgba(255, 150, 150, 0.3));
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  position: absolute;
  filter: blur(40px);
  opacity: 0.3;
  animation: float 8s ease-in-out infinite, morph 8s ease-in-out infinite, pulse 4s ease-in-out infinite;
  box-shadow: 0 0 120px rgba(230, 57, 70, 0.3), inset 0 0 80px rgba(230, 57, 70, 0.2);
  will-change: transform, border-radius, opacity, box-shadow;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.floating-element::before,
.floating-element::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  opacity: 0.4;
  z-index: -1;
  pointer-events: none;
}

.floating-element::before {
  background: radial-gradient(circle at 30% 40%, rgba(255, 100, 100, 0.5), rgba(255, 120, 120, 0.3), transparent 70%);
  filter: blur(50px) contrast(1.1);
  animation: pulse 5s ease-in-out infinite alternate, redPulse 7s ease-in-out infinite;
  transform: scale(1.2);
  mix-blend-mode: screen;
}

.floating-element::after {
  background: radial-gradient(circle at 70% 60%, rgba(230, 37, 57, 0.4), rgba(230, 57, 70, 0.2), transparent 60%);
  filter: blur(40px) saturate(1.2);
  animation: pulse 7s ease-in-out 0.5s infinite alternate-reverse, redPulse 10s ease-in-out 1s infinite alternate;
  transform: scale(1.4);
  mix-blend-mode: soft-light;
}

/* Red accent follow cursor */
.red-accent {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(230, 37, 57, 0.3), rgba(230, 57, 70, 0.1) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.4s ease-out;
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

/* Hero section animations */
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translate(-50%, -50%) translateY(0px); }
  50% { transform: translate(-50%, -50%) translateY(-20px); }
}

@keyframes morph {
  0%, 100% { 
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    box-shadow: 0 0 100px rgba(230, 57, 70, 0.3), inset 0 0 60px rgba(230, 57, 70, 0.2);
  }
  25% { 
    border-radius: 70% 30% 50% 50% / 30% 60% 40% 60%;
    box-shadow: 0 0 120px rgba(230, 57, 70, 0.35), inset 0 0 70px rgba(230, 57, 70, 0.25);  
  }
  50% { 
    border-radius: 60% 40% 30% 70% / 50% 60% 70% 40%;
    box-shadow: 0 0 100px rgba(230, 57, 70, 0.4), inset 0 0 60px rgba(230, 57, 70, 0.3);
  }
  75% { 
    border-radius: 40% 60% 50% 50% / 60% 30% 60% 40%;
    box-shadow: 0 0 120px rgba(230, 57, 70, 0.35), inset 0 0 70px rgba(230, 57, 70, 0.2);
  }
}

@keyframes pulse {
  0%, 100% { 
    opacity: 0.3;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 220, 220, 0.6), rgba(255, 180, 180, 0.4), rgba(255, 150, 150, 0.3));
    filter: saturate(1);
  }
  50% { 
    opacity: 0.4;
    background: linear-gradient(135deg, rgba(255, 245, 245, 0.8), rgba(255, 200, 200, 0.7), rgba(255, 150, 150, 0.5), rgba(255, 100, 100, 0.4));
    filter: saturate(1.3);
  }
}

@keyframes redPulse {
  0%, 100% { 
    opacity: 0.2;
    transform: scale(1.1);
  }
  50% { 
    opacity: 0.4;
    transform: scale(1.3);
  }
}

/* Add a subtle glow effect behind the hero content */
.hero-content:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(241, 42, 59, 0.2) 0%, rgba(230, 57, 70, 0) 70%);
  filter: blur(40px);
  z-index: -1;
  opacity: 0.7;
  animation: subtle-pulse 6s ease-in-out infinite;
}

@keyframes subtle-pulse {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(0.95); }
  50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.05); }
}

/* Add a subtle background pattern */
.hero-simple:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 20%, #000 20%, #000 21%, transparent 21%, transparent 24%, #000 24%, #000 25%, transparent 25%), 
              radial-gradient(circle, transparent 20%, #000 20%, #000 21%, transparent 21%, transparent 24%, #000 24%, #000 25%, transparent 25%);
  background-size: 60px 60px;
  background-position: 0 0, 30px 30px;
  opacity: 0.03;
}

/* Button hover animations */
.hero-buttons .btn {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-buttons .btn:hover {
  transform: translateY(-5px);
}

/* Entrance animation classes */
.hero-simple.loaded .hero-title {
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero-simple.loaded .hero-subtitle {
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}

.hero-simple.loaded .hero-buttons {
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}

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

/* Media Queries */
@media (max-width: 992px) {
  .hero-simple .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    margin-bottom: 60px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-image {
    width: 280px;
    height: 280px;
  }
  
  .floating-element {
    width: 200px;
    height: 200px;
    opacity: 0.4;
  }
  
  .floating-element::before,
  .floating-element::after {
    opacity: 0.5;
  }
}
