/* Funky Enhancements CSS */

/* 1. Animated Color Morphing Background */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(45deg, #FF85A2, #FFDE59, #56CCF2, #4CAF50);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  opacity: 0.08; /* Slightly more visible but still subtle */
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 2. Floating Shoe Silhouettes */
.floating-shoe {
  position: fixed;
  opacity: 0.15; /* More visible */
  pointer-events: none;
  z-index: -1;
  filter: drop-shadow(0 0 10px rgba(255, 133, 162, 0.5)); /* Pink glow */
  animation: float 20s ease-in-out infinite;
}

.floating-shoe:nth-child(1) {
  top: 15%;
  left: 5%;
  width: 80px;
  animation-delay: 0s;
}

.floating-shoe:nth-child(2) {
  top: 65%;
  right: 8%;
  width: 100px;
  animation-delay: -5s;
  filter: drop-shadow(0 0 10px rgba(86, 204, 242, 0.5)); /* Blue glow */
}

.floating-shoe:nth-child(3) {
  top: 40%;
  left: 80%;
  width: 70px;
  animation-delay: -10s;
  filter: drop-shadow(0 0 10px rgba(255, 222, 89, 0.5)); /* Yellow glow */
}

.floating-shoe:nth-child(4) {
  bottom: 10%;
  left: 15%;
  width: 90px;
  animation-delay: -15s;
  filter: drop-shadow(0 0 10px rgba(76, 175, 80, 0.5)); /* Green glow */
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/* 3. Interactive Product Cards */
.product-card {
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  perspective: 1000px;
}

.product-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
  overflow: hidden;
  transform-style: preserve-3d;
  transition: all 0.5s ease;
}

.product-image img {
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-card:hover .product-image img {
  transform: scale(1.08);
}

.product-card::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  transform: translateX(-100%);
  transition: transform 0.6s;
  pointer-events: none;
  z-index: 2;
}

.product-card:hover::before {
  transform: translateX(100%);
}

/* 4. Dynamic Typography */
.section-title {
  position: relative;
  overflow: hidden;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #ff9a9e, #fad0c4);
  bottom: -5px;
  left: 0;
  transform: translateX(-100%);
  opacity: 0;
  transition: all 0.5s ease;
}

.section-title.animate::after {
  transform: translateX(0);
  opacity: 1;
}

/* 5. Mouse Trail Effect */
.cursor-trail {
  position: fixed;
  width: 8px;
  height: 8px;
  background-color: rgba(255, 133, 162, 0.7); /* Brighter pink */
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-trail.active {
  width: 20px;
  height: 20px;
  background-color: rgba(255, 222, 89, 0.7); /* Yellow when active */
  transition: none;
}

/* 6. Enhanced 3D Model Viewer */
.shoe-model-container {
  position: relative;
}

.color-options {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.color-option {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}

.color-option:hover {
  transform: scale(1.2) rotate(10deg); /* Added rotation for playfulness */
}

.color-option.active {
  border-color: white;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

/* Media Queries */
@media (max-width: 768px) {
  .floating-shoe {
    opacity: 0.05;
  }
  
  .color-options {
    bottom: 10px;
  }
  
  .color-option {
    width: 20px;
    height: 20px;
  }
} 