/**
 * Product Anatomy Component Styles
 * Displays product media with numbered feature points matching the design
 */

/* Main Section Container */
.product-anatomy-section {
  padding: 30px 0;
  background: #ffffff;
}

.product-anatomy-section .container-fluid {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Header */
.product-anatomy-header {
  text-align: left;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
}

.product-anatomy-title {
    font-size: 2rem;
    font-weight: 500;
}

.product-anatomy-description {
  font-size: 1rem;
  line-height: 1.5;
  max-width: 600px;
  color: #000000;
}

/* Main Content Layout */
.product-anatomy-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  align-items: start;
}

/* Left Side - Media Content */
.product-anatomy-media {
  position: relative;
}

.product-media-container {
  position: relative;
  background: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.product-anatomy-style-2 .product-media-container {
  position: relative;
  border-radius: 15px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  overflow: unset;
  background: none;
  box-shadow: none;
}

.product-anatomy-style-2 .product-anatomy-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  border-radius: 50%;
  background: none;
  box-shadow: none;
  padding: 0;
  border: 0;
  backdrop-filter: none;
}

.product-anatomy-style-2 .product-image-center, .product-video-center {
  max-height: max-content;
}

.product-image {
  width: 90%;
  height: 90%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-media-container:hover .product-image {
  transform: scale(1.05);
}

/* Video Specific Styles */
.video-media {
  cursor: pointer;
}

.product-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 2;
}

.video-play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
  opacity: 0.9;
}

.video-play-button svg {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Right Side - Feature Points */
.product-anatomy-features {
  padding-left: 10px;
}

.feature-points-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-point-item {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 15px 20px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.feature-point-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  background: #ffffff;
}

/* Feature Point Left Side - Number and Title */
.feature-point-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  flex: 1;
  min-width: 0;
}

/* Feature Point Number */
.feature-point-number {
    flex-shrink: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--taevas-blue);
    background: linear-gradient(135deg, var(--taevas-blue), var(--taevas-purple));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.feature-point-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--taevas-blue);
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

/* Feature Point Right Side - Description */
.feature-point-right {
  flex: 1.2;
}

.feature-point-description {
  font-size: 0.8rem;
  color: var(--taevas-black);
  line-height: 1.5;
  margin: 0;
}

/* Hover Effects */
.feature-point-item:hover .feature-point-title {
  color: #6b46c1;
}

.feature-point-item:hover .feature-point-number {
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .product-anatomy-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .product-anatomy-features {
    padding-left: 0;
  }
  
  .product-anatomy-title {
    font-size: 2rem;
  }
  
  .feature-point-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
    gap: 12px;
  }
  
  .feature-point-left {
    width: 100%;
  }
  
  .feature-point-right {
    width: 100%;
    padding-left: 0;
    padding-top: 8px;
  }
  
  .feature-point-number {
    font-size: 1rem;
    min-width: 30px;
  }
  
  .feature-point-title {
    font-size: 1rem;
  }
  
  .feature-point-description {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .product-anatomy-section {
    padding: 30px 0;
  }
  .product-anatomy-style-2 .product-anatomy-center{
    position: static !important;
    transform: none !important;
  }
  .product-anatomy-section .container-fluid {
    padding: 0;
  }
  .feature-point-number-style2{
    display: none;
  }
  .product-anatomy-header {
      margin-bottom: 10px;
      justify-content: center;
      display: block;
      text-align: center;
  }
  .product-anatomy-description {
      font-size: 0.85rem;
      line-height: 1.2;
      color: #000000;
  }
  .product-anatomy-title {
    font-size: 1.75rem;
  }
  
  .feature-points-list {
    gap: 16px;
  }
  
  .feature-point-item {
    padding: 14px 16px;
  }
  
  .feature-point-item:hover {
    transform: translateY(-1px);
  }
}

/* Animation for feature points */
.feature-point-item {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.feature-point-item:nth-child(1) { animation-delay: 0.1s; }
.feature-point-item:nth-child(2) { animation-delay: 0.2s; }
.feature-point-item:nth-child(3) { animation-delay: 0.3s; }
.feature-point-item:nth-child(4) { animation-delay: 0.4s; }
.feature-point-item:nth-child(5) { animation-delay: 0.5s; }
.feature-point-item:nth-child(6) { animation-delay: 0.6s; }

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

/* Media Container Hover Effect */
.product-media-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(168, 85, 247, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.product-media-container:hover::after {
  opacity: 1;
}

/* ================================== */
/* STYLE 2: Centered Product with Features Around It */
/* ================================== */

.product-anatomy-style-2 {
  padding: 30px 0;
}

.product-anatomy-content-style2 {
  position: relative;
}

.product-anatomy-grid {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  min-height: 600px;
  padding: 40px;
}

/* Central Product Image */
.product-anatomy-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.product-image-center,
.product-video-center {
  max-width: 300px;
  max-height: 300px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

/* .product-anatomy-center:hover .product-image-center,
.product-anatomy-center:hover .product-video-center {
  transform: scale(1.05);
} */

/* Feature Points Positioned Around Product */
.product-anatomy-features-style2 {
  position: relative;
  width: 100%;
  height: 100%;
}

.feature-point-item-style2 {
  position: absolute;
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  max-width: 350px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  opacity: 0;
  animation: featureSlideIn 0.6s ease forwards;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.feature-point-item-style2:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(85, 25, 230, 0.15);
  border-color: rgba(85, 25, 230, 0.2);
}

.feature-point-number-style2 {
  flex-shrink: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--taevas-blue);
  background: linear-gradient(135deg, var(--taevas-blue), var(--taevas-purple));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.feature-point-content-style2 {
  flex: 1;
}

.feature-point-title-style2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--taevas-blue);
  margin: 0 0 5px 0;
  line-height: 1;
}

.feature-point-description-style2 {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #4a5568;
  margin: 0;
}

/* Positioning for up to 6 features */
.feature-position-1 {
  top: 0%;
  left: 0%;
  transform: translateX(-15%) translateY(0%) !important;
  animation-delay: 0.2s;
}

.feature-position-2 {
  top: 0%;
  right: 0%;
  transform: translateX(15%) translateY(0%) !important;
  animation-delay: 0.4s;
}

.feature-position-3 {
  top: 100%;
  left: 0%;
  transform: translateX(-15%) translateY(350%) !important;
  animation-delay: 0.6s;
}

.feature-position-4 {
  top: 100%;
  right: 0%;
  transform: translateX(15%) translateY(350%) !important;
  animation-delay: 0.8s;
}

.feature-position-5 {
  top: 50%;
  left: 0%;
  transform: translateY(-50%);
  animation-delay: 1.0s;
}

.feature-position-6 {
  top: 50%;
  right: 0%;
  transform: translateY(-50%);
  animation-delay: 1.2s;
}

/* Animation for features */
@keyframes featureSlideIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Special animations for positioned elements */
.feature-position-5 {
  animation: featureSlideInLeft 0.6s ease forwards;
}

.feature-position-6 {
  animation: featureSlideInRight 0.6s ease forwards;
}

@keyframes featureSlideInLeft {
  from {
    opacity: 0;
    transform: translateY(-50%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

@keyframes featureSlideInRight {
  from {
    opacity: 0;
    transform: translateY(-50%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

/* Responsive Design for Style 2 */
@media (max-width: 1024px) {
  .product-anatomy-grid {
    max-width: 800px;
    min-height: 500px;
    padding: 30px;
  }
  
  .product-anatomy-center {
    padding: 30px;
  }
  
  .product-image-center,
  .product-video-center {
    max-width: 250px;
    max-height: 250px;
  }
  
  .feature-point-item-style2 {
    max-width: 240px;
    padding: 16px;
  }
  
  .feature-position-1 {
    top: 0%;
    left: 5%;
  }
  
  .feature-position-2 {
    top: 0%;
    right: 5%;
  }
  
  .feature-position-3 {
    bottom: 0%;
    right: 5%;
  }
  
  .feature-position-4 {
    bottom: 0%;
    left: 5%;
  }
  
  .feature-position-5 {
    top: 50%;
    left: 0%;
    transform: translateY(-50%);
  }
  
  .feature-position-6 {
    top: 50%;
    right: 0%;
    transform: translateY(-50%);
  }
}

@media (max-width: 768px) {
  .product-anatomy-style-2 {
    padding: 20px 0;
  }
  
  .product-anatomy-grid {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    max-width: 100%;
    min-height: auto;
    padding: 20px;
    gap: 20px;
  }
  
  .product-anatomy-features-style2 {
    position: static;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    order: 1;
  }
  
  .product-anatomy-center {
    position: static;
    transform: none;
    order: 2;
    padding: 15px;
    flex-shrink: 0;
  }
  
  .product-image-center,
  .product-video-center {
    max-width: 150px;
    max-height: 150px;
  }
  
  .feature-point-item-style2 {
    position: static !important;
    max-width: 100%;
    width: 100%;
    padding: 12px;
    margin: 0;
    transform: none !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
  
  .feature-point-number-style2 {
    font-size: 1rem;
  }
  
  .feature-point-content-style2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .feature-point-title-style2 {
    font-size: 1rem;
    text-align: center;
  }
  
  .feature-point-description-style2 {
    font-size: 0.85rem;
    text-align: center;
  }
  
  /* Reset all positioning classes for mobile */
  .feature-position-1,
  .feature-position-2,
  .feature-position-3,
  .feature-position-4,
  .feature-position-5,
  .feature-position-6 {
    position: static !important;
    transform: none !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
  }
}

@media (max-width: 480px) {
  .product-anatomy-style-2 {
    padding: 15px 0;
  }
  
  .product-anatomy-grid {
    padding: 15px 0;
    min-height: auto;
    gap: 15px;
    flex-direction: column;
  }
  
  .product-anatomy-features-style2 {
    gap: 12px;
    order: 1;
  }
  
  .product-anatomy-center {
    padding: 10px;
    order: 2;
    margin: 0 auto;
  }
  
  .product-image-center,
  .product-video-center {
    max-width: 120px;
    max-height: 120px;
  }
  
  .feature-point-item-style2 {
    padding: 10px;
  }
  
  .feature-point-title-style2 {
    font-size: 0.9rem;
  }
  
  .feature-point-description-style2 {
    font-size: 0.8rem;
  }
}