/* Ghost Mannequin Transformation Display - STATIC VERSION */

/* Removed carousel scroll - now static display */

@keyframes flip-card {
  0%, 45% {
    transform: rotateY(0deg);
  }
  50%, 95% {
    transform: rotateY(180deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

/* Carousel container with overflow hidden */
.carousel-container {
  overflow: hidden;
  width: 100%;
}

/* Carousel wrapper - static display */
.transform-carousel {
  display: flex;
  width: 100%; /* Normal width */
  justify-content: center;
  gap: 16px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.transform-carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Each card - fixed dimensions */
.transform-card {
  position: relative;
  width: 160px;
  height: 200px;
  flex-shrink: 0;
  perspective: 1000px;
}

/* Card flip animation */
.transform-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  animation: flip-card 8s linear infinite;
}

/* Front and back of cards */
.transform-card-front,
.transform-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.transform-card-front {
  background: #f9fafb;
  border: 2px solid #e5e7eb;
}

.transform-card-back {
  background: white;
  transform: rotateY(180deg);
  border: 2px solid #10b981;
}

/* Labels */
.transform-label {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 10;
}

.transform-label-before {
  background: #fee2e2;
  color: #dc2626;
}

.transform-label-after {
  background: #d1fae5;
  color: #059669;
}

/* Images */
.transform-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Mobile responsive */
@media (max-width: 768px) {
  .transform-carousel {
    gap: 12px;
    justify-content: flex-start;
    padding-left: 16px;
  }
  .transform-card {
    width: 130px;
    height: 160px;
  }
}

@media (max-width: 480px) {
  .transform-card {
    width: 110px;
    height: 140px;
  }
  .transform-carousel {
    gap: 8px;
  }
}