/* SUTRA - Hero V2 with SVG Path Backgrounds */

.hero-v2 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: url('../img/hero/hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-block: var(--space-16);
}

/* Dark overlay for better text readability */
.hero-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(31, 67, 54, 0.6), rgba(31, 67, 54, 0.4), rgba(31, 67, 54, 0.5));
  z-index: 1;
}

.hero-v2__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  mix-blend-mode: overlay;
  opacity: 0.7;
}

.hero-v2__svg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

/* Animated SVG Paths */
.hero-v2__path {
  animation: pathFloat 20s ease-in-out infinite;
  transform-origin: center;
}

.hero-v2__path--1 {
  animation-delay: 0s;
  animation-duration: 25s;
}

.hero-v2__path--2 {
  animation-delay: -5s;
  animation-duration: 30s;
}

.hero-v2__path--3 {
  animation-delay: -10s;
  animation-duration: 28s;
}

@keyframes pathFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-20px) scale(1.05);
    opacity: 0.9;
  }
}

/* Animated Circles */
.hero-v2__circle {
  animation: circlePulse 15s ease-in-out infinite;
  transform-origin: center;
}

.hero-v2__circle--1 {
  animation-delay: 0s;
  animation-duration: 12s;
}

.hero-v2__circle--2 {
  animation-delay: -4s;
  animation-duration: 18s;
}

.hero-v2__circle--3 {
  animation-delay: -8s;
  animation-duration: 14s;
}

@keyframes circlePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.15;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.3;
  }
}

/* Hero Content */
.hero-v2__content {
  position: relative;
  z-index: 3;
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
  padding-block: var(--space-12);
}

.lang-ar .hero-v2__content {
  direction: rtl;
}

.lang-en .hero-v2__content {
  direction: ltr;
}

/* Support for hero__inner structure (matching index.html) */
.hero-v2 .hero__inner {
  position: relative;
  z-index: 3;
}

.hero-v2__title {
  font-size: var(--font-size-h1);
  font-weight: 800;
  margin-block-end: var(--space-6);
  color: #ffffff;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4), 0 4px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-v2__subtitle {
  font-size: 1.3rem;
  margin-block-end: var(--space-10);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.8;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-v2__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-v2__cta-secondary {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity var(--transition-base);
  font-size: 1.1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-v2__cta-secondary:hover {
  opacity: 0.8;
}

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

/* Responsive Adjustments */
@media (max-width: 767px) {
  .hero-v2 {
    min-height: 90vh;
    padding-block: var(--space-12);
  }
  
  .hero-v2__title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  
  .hero-v2__subtitle {
    font-size: 1.1rem;
  }
  
  .hero-v2__actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-v2__actions .btn-primary {
    width: 100%;
    max-width: 300px;
  }
}

/* Additional decorative elements on larger screens */
@media (min-width: 1024px) {
  .hero-v2__svg {
    transform: scale(1.1);
  }
  
  .hero-v2__content {
    max-width: 800px;
  }
}

