/**
 * Hero Section Styles
 */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}

/* Wave Background - 3D Effect */
.wave-container {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #f8e8f2 0%, #e8d4e0 30%, #d8c0d0 60%, #c8b0c0 100%);
  perspective: 1000px;
  transform-style: preserve-3d;
  overflow: hidden;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  transform-style: preserve-3d;
}

/* Wave Layer 1 - Back (furthest) */
.wave-layer1 {
  z-index: 1;
  transform: translateZ(-100px) translateY(-30px) scale(1.1);
  filter: blur(1px);
  opacity: 0.9;
  animation: wave3d-float1 6s ease-in-out infinite;
}

/* Wave Layer 2 - Middle */
.wave-layer2 {
  z-index: 2;
  transform: translateZ(-50px) translateY(-15px) scale(1.05);
  filter: blur(0.5px);
  opacity: 0.95;
  animation: wave3d-float2 5s ease-in-out infinite;
}

/* Wave Layer 3 - Front (closest) */
.wave-layer3 {
  z-index: 3;
  transform: translateZ(0px);
  filter: none;
  opacity: 1;
  animation: wave3d-float3 4s ease-in-out infinite;
}

/* SVG Wave paths with shadow for 3D depth */
.wave-path {
  filter: drop-shadow(0 -5px 10px rgba(0, 0, 0, 0.1));
}

.wave-layer1 .wave-path {
  filter: drop-shadow(0 -8px 15px rgba(0, 0, 0, 0.15));
}

.wave-layer2 .wave-path {
  filter: drop-shadow(0 -6px 12px rgba(0, 0, 0, 0.12));
}

.wave-layer3 .wave-path {
  filter: drop-shadow(0 -4px 8px rgba(0, 0, 0, 0.1));
}

/* 3D Floating animations */
@keyframes wave3d-float1 {
  0%, 100% {
    transform: translateZ(-100px) translateY(-30px) scale(1.1) rotateX(2deg);
  }
  50% {
    transform: translateZ(-100px) translateY(-40px) scale(1.1) rotateX(-2deg);
  }
}

@keyframes wave3d-float2 {
  0%, 100% {
    transform: translateZ(-50px) translateY(-15px) scale(1.05) rotateX(1deg);
  }
  50% {
    transform: translateZ(-50px) translateY(-25px) scale(1.05) rotateX(-1deg);
  }
}

@keyframes wave3d-float3 {
  0%, 100% {
    transform: translateZ(0px) translateY(0) rotateX(0.5deg);
  }
  50% {
    transform: translateZ(0px) translateY(-10px) rotateX(-0.5deg);
  }
}

/* Floating particles for extra 3D depth */
.wave-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.wave-particles::before,
.wave-particles::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.3) 2px, transparent 2px),
    radial-gradient(circle at 40% 70%, rgba(255, 255, 255, 0.2) 3px, transparent 3px),
    radial-gradient(circle at 60% 85%, rgba(255, 255, 255, 0.25) 2px, transparent 2px),
    radial-gradient(circle at 80% 75%, rgba(255, 255, 255, 0.3) 2px, transparent 2px),
    radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.25) 2px, transparent 2px);
  animation: particles-float 8s ease-in-out infinite;
}

.wave-particles::after {
  background-image: 
    radial-gradient(circle at 25% 75%, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    radial-gradient(circle at 55% 82%, rgba(255, 255, 255, 0.3) 2px, transparent 2px),
    radial-gradient(circle at 75% 88%, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    radial-gradient(circle at 35% 90%, rgba(255, 255, 255, 0.25) 2px, transparent 2px);
  animation: particles-float 10s ease-in-out infinite reverse;
}

@keyframes particles-float {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0.6;
  }
  25% {
    transform: translateY(-15px) translateX(10px);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-5px) translateX(-5px);
    opacity: 0.7;
  }
  75% {
    transform: translateY(-20px) translateX(5px);
    opacity: 0.9;
  }
}

/* Subtle shimmer effect on waves */
.wave-layer1::after,
.wave-layer2::after,
.wave-layer3::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 100%
  );
  animation: wave-shimmer 4s ease-in-out infinite;
}

@keyframes wave-shimmer {
  0%, 100% {
    transform: translateX(-100%);
    opacity: 0;
  }
  50% {
    transform: translateX(100%);
    opacity: 1;
  }
}

/* Hero Logo */
.hero-logo {
  width: 450px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  margin: 0 auto 1.5rem auto;
  display: block;
  box-shadow: none;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.15));
  animation: scaleInBounce 0.8s var(--anim-easing-elastic) 0.5s both,
             float 4s ease-in-out 1.3s infinite;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: var(--space-xl);
}

.hero-title {
  font-size: var(--text-2xl);
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--color-dark);
  margin-bottom: var(--space-lg);
}

/* Logo */
.logo-container {
  margin: var(--space-2xl) 0;
}

.logo {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  position: relative;
}

.logo-outer {
  width: 200px;
  height: 200px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-primary);
  animation: pulse 3s ease-in-out infinite;
}

.logo-middle {
  width: 140px;
  height: 140px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-inner {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, var(--color-primary-light), var(--color-primary));
  box-shadow: 0 5px 15px rgba(194, 71, 159, 0.5);
}

/* Sparkle Effect */
.sparkle {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 40px;
}

.sparkle::before,
.sparkle::after {
  content: '';
  position: absolute;
  background: var(--color-primary-light);
  animation: sparkle 2s ease-in-out infinite;
}

.sparkle::before {
  width: 3px;
  height: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.sparkle::after {
  width: 20px;
  height: 3px;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes sparkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Brand Name */
.brand-name {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 300;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-top: var(--space-xl);
}

.brand-subtitle {
  font-size: var(--text-2xl);
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--color-primary-light);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Signature */
.signature {
  position: absolute;
  bottom: var(--space-3xl);
  right: var(--space-4xl);
  font-family: var(--font-signature);
  font-size: var(--text-3xl);
  color: var(--color-gold);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

/* Hero Signature Image */
.hero-signature {
  position: absolute;
  bottom: 30px;
  right: 40px;
  width: 250px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.3));
  z-index: 20;
  animation: fadeInUp 1s ease-out 1.2s both;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: var(--text-base);
  }
  
  .logo,
  .logo-outer {
    width: 150px;
    height: 150px;
  }
  
  .logo-middle {
    width: 105px;
    height: 105px;
  }
  
  .logo-inner {
    width: 60px;
    height: 60px;
  }
  
  .signature {
    position: relative;
    bottom: auto;
    right: auto;
    text-align: center;
    margin-top: var(--space-2xl);
  }

  .hero-signature {
    width: 180px;
    bottom: 20px;
    right: 20px;
  }

  .hero-logo {
    width: 180px;
  }

  .brand-name {
    font-size: var(--text-4xl);
    letter-spacing: 0.12em;
  }

  .brand-subtitle {
    font-size: var(--text-xl);
    letter-spacing: 0.15em;
  }
}

@media (max-width: 480px) {
  .hero-signature {
    width: 140px;
    bottom: 15px;
    right: 15px;
  }

  .hero-logo {
    width: 140px;
  }

  .brand-name {
    font-size: var(--text-3xl);
    letter-spacing: 0.1em;
  }

  .brand-subtitle {
    font-size: var(--text-lg);
    letter-spacing: 0.12em;
  }
}

