/* Enhanced Wow Factor Section Styles */

/* Animated Background Gradient */
.wow-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  overflow: hidden;
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Enhanced Floating Elements */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-element {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
  filter: blur(5px);
  animation: float 20s infinite ease-in-out;
}

.floating-element:nth-child(1) {
  width: 150px;
  height: 150px;
  top: 10%;
  left: 10%;
  background: rgba(255, 255, 255, 0.2);
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  width: 200px;
  height: 200px;
  top: 20%;
  right: 10%;
  background: rgba(255, 255, 255, 0.15);
  animation-delay: 2s;
}

.floating-element:nth-child(3) {
  width: 120px;
  height: 120px;
  bottom: 30%;
  left: 20%;
  background: rgba(255, 255, 255, 0.25);
  animation-delay: 4s;
}

.floating-element:nth-child(4) {
  width: 180px;
  height: 180px;
  bottom: 10%;
  right: 15%;
  background: rgba(255, 255, 255, 0.2);
  animation-delay: 6s;
}

.floating-element:nth-child(5) {
  width: 100px;
  height: 100px;
  top: 40%;
  left: 30%;
  background: rgba(255, 255, 255, 0.3);
  animation-delay: 8s;
}

.floating-element:nth-child(6) {
  width: 160px;
  height: 160px;
  top: 60%;
  right: 25%;
  background: rgba(255, 255, 255, 0.15);
  animation-delay: 10s;
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(-30px) translateX(20px) rotate(90deg) scale(1.1);
  }
  50% {
    transform: translateY(0) translateX(40px) rotate(180deg) scale(1);
  }
  75% {
    transform: translateY(30px) translateX(20px) rotate(270deg) scale(0.9);
  }
  100% {
    transform: translateY(0) translateX(0) rotate(360deg) scale(1);
  }
}

/* Enhanced Content Styles */
.wow-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
  padding: 0 20px;
}

.wow-title {
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  background: linear-gradient(to right, #ffffff, #f0f0f0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1),
              transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.wow-title.active {
  opacity: 1;
  transform: translateY(0);
}

.wow-subtitle {
  font-size: 1.5rem;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1) 0.2s,
              transform 1.5s cubic-bezier(0.19, 1, 0.22, 1) 0.2s;
}

.wow-subtitle.active {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced Button Styles */
.wow-button {
  position: relative;
  padding: 18px 45px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1) 0.4s,
              transform 1.5s cubic-bezier(0.19, 1, 0.22, 1) 0.4s,
              background 0.4s cubic-bezier(0.19, 1, 0.22, 1),
              border 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.wow-button.active {
  opacity: 1;
  transform: translateY(0);
}

.wow-button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.wow-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
}

.wow-button:hover::before {
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

/* 3D Rotating Cube */
.cube-container {
  position: absolute;
  width: 200px;
  height: 200px;
  perspective: 1000px;
  z-index: 3;
}

.cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: rotate 20s infinite linear;
}

.cube-face {
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  backdrop-filter: blur(5px);
}

.cube-face.front {
  transform: translateZ(100px);
}

.cube-face.back {
  transform: rotateY(180deg) translateZ(100px);
}

.cube-face.right {
  transform: rotateY(90deg) translateZ(100px);
}

.cube-face.left {
  transform: rotateY(-90deg) translateZ(100px);
}

.cube-face.top {
  transform: rotateX(90deg) translateZ(100px);
}

.cube-face.bottom {
  transform: rotateX(-90deg) translateZ(100px);
}

@keyframes rotate {
  0% {
    transform: rotateX(0) rotateY(0) rotateZ(0);
  }
  100% {
    transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
  }
}

/* Particle Effect */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 5px;
  height: 5px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: particleAnimation 15s infinite linear;
}

@keyframes particleAnimation {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-1000px) translateX(100px);
    opacity: 0;
  }
}

/* Mouse Trailer Effect */
.mouse-trailer {
  position: fixed;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background 0.3s;
}

/* Wave Animation */
.wave-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 2;
}

.wave {
  position: relative;
  display: block;
  width: 100%;
  height: 100px;
}

.wave path {
  fill: rgba(255, 255, 255, 0.1);
  animation: wave 10s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
}

.wave:nth-of-type(2) path {
  animation-delay: -5s;
  opacity: 0.5;
}

@keyframes wave {
  0% {
    d: path("M0,64 C300,84 400,64 512,64 C614,64 714,84 1024,64 L1024,128 L0,128 Z");
  }
  50% {
    d: path("M0,64 C200,44 300,84 412,64 C514,44 614,84 1024,64 L1024,128 L0,128 Z");
  }
  100% {
    d: path("M0,64 C300,84 400,64 512,64 C614,64 714,84 1024,64 L1024,128 L0,128 Z");
  }
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
  .wow-title {
    font-size: 3rem;
  }
  
  .wow-subtitle {
    font-size: 1.2rem;
  }
  
  .cube-container {
    width: 150px;
    height: 150px;
  }
  
  .cube-face {
    width: 150px;
    height: 150px;
  }
  
  .cube-face.front {
    transform: translateZ(75px);
  }
  
  .cube-face.back {
    transform: rotateY(180deg) translateZ(75px);
  }
  
  .cube-face.right {
    transform: rotateY(90deg) translateZ(75px);
  }
  
  .cube-face.left {
    transform: rotateY(-90deg) translateZ(75px);
  }
  
  .cube-face.top {
    transform: rotateX(90deg) translateZ(75px);
  }
  
  .cube-face.bottom {
    transform: rotateX(-90deg) translateZ(75px);
  }
  
  .wave {
    height: 60px;
  }
}
