/* ===================================
   TESTIMONIALS SECTION - PREMIUM DESIGN
   =================================== */

.testimonials-section {
  padding: 8rem 0;
  background: linear-gradient(135deg, 
    var(--bg-color) 0%, 
    rgba(26, 26, 26, 0.95) 50%, 
    var(--bg-color) 100%);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/topography-pattern.svg') repeat;
  opacity: 0.03;
  z-index: 1;
}

.testimonials-section .container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.testimonials-section .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.testimonials-section .section-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1rem;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}

.testimonials-section .section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  border-radius: 2px;
}

.testimonials-section .section-subtitle {
  font-size: 1.3rem;
  color: var(--text-color);
  opacity: 0.8;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* ===================================
   TESTIMONIALS SLIDER
   =================================== */

.testimonials-slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-container {
  overflow: hidden;
  border-radius: 20px;
  padding: 0 10px;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  gap: 2rem;
}

/* ===================================
   TESTIMONIAL CARDS
   =================================== */

.testimonial-card {
  min-width: calc(100% / 3 - 1.5rem);
  background: linear-gradient(145deg, 
    rgba(255, 255, 255, 0.08) 0%, 
    rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  backdrop-filter: blur(10px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 8px 16px rgba(212, 175, 55, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.4),
    0 12px 24px rgba(212, 175, 55, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(212, 175, 55, 0.4);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 30px;
  font-size: 8rem;
  font-family: 'Playfair Display', serif;
  color: var(--accent-color);
  opacity: 0.3;
  line-height: 1;
  z-index: 1;
}

.testimonial-content {
  position: relative;
  z-index: 2;
}

/* ===================================
   STARS RATING
   =================================== */

.stars-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.stars-rating .star {
  font-size: 1.5rem;
  color: var(--accent-color);
  text-shadow: 0 2px 4px rgba(212, 175, 55, 0.3);
  transition: all 0.3s ease;
  animation: sparkle 2s infinite;
}

.stars-rating .star:nth-child(1) { animation-delay: 0s; }
.stars-rating .star:nth-child(2) { animation-delay: 0.2s; }
.stars-rating .star:nth-child(3) { animation-delay: 0.4s; }
.stars-rating .star:nth-child(4) { animation-delay: 0.6s; }
.stars-rating .star:nth-child(5) { animation-delay: 0.8s; }

@keyframes sparkle {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

/* ===================================
   TESTIMONIAL TEXT
   =================================== */

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 2rem;
  font-style: italic;
  text-align: center;
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* ===================================
   TESTIMONIAL AUTHOR
   =================================== */

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.author-photo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-color);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
  transition: all 0.3s ease;
}

.testimonial-card:hover .author-photo {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
}

.author-info {
  flex: 1;
}

.author-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.3rem;
  font-family: 'Inter', sans-serif;
}

.author-location {
  font-size: 0.95rem;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.product-mentioned {
  font-size: 0.85rem;
  color: var(--text-color);
  opacity: 0.7;
  font-style: italic;
}

/* ===================================
   SLIDER CONTROLS
   =================================== */

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0 2rem;
}

.slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(145deg, 
    rgba(212, 175, 55, 0.1), 
    rgba(212, 175, 55, 0.05));
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--accent-color);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.slider-btn:hover {
  background: linear-gradient(145deg, 
    rgba(212, 175, 55, 0.2), 
    rgba(212, 175, 55, 0.1));
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
  border-color: rgba(212, 175, 55, 0.5);
}

.slider-btn:active {
  transform: translateY(0) scale(0.95);
}

.slider-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ===================================
   SLIDER DOTS
   =================================== */

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.3);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.dot.active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.dot:hover {
  border-color: var(--accent-color);
  transform: scale(1.2);
}

.dot.active::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1200px) {
  .testimonial-card {
    min-width: calc(100% / 2 - 1rem);
  }
}

@media (max-width: 768px) {
  .testimonials-section {
    padding: 6rem 0;
  }
  
  .testimonials-section .section-title {
    font-size: 2.5rem;
  }
  
  .testimonial-card {
    min-width: calc(100% - 2rem);
    padding: 2rem;
    margin: 0 1rem;
  }
  
  .testimonial-card::before {
    font-size: 6rem;
    top: -5px;
    left: 20px;
  }
  
  .testimonial-author {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .author-photo {
    width: 60px;
    height: 60px;
  }
  
  .slider-controls {
    margin: 2rem 0 1.5rem;
  }
  
  .slider-btn {
    width: 45px;
    height: 45px;
  }
  
  .slider-btn svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .testimonials-section .container {
    padding: 0 1rem;
  }
  
  .testimonials-section .section-title {
    font-size: 2rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
    margin: 0 0.5rem;
  }
  
  .testimonial-text {
    font-size: 1rem;
  }
  
  .stars-rating .star {
    font-size: 1.3rem;
  }
}

/* ===================================
   DARK/LIGHT THEME ADJUSTMENTS
   =================================== */

body.light-theme .testimonial-card {
  background: linear-gradient(145deg, 
    rgba(255, 255, 255, 0.95) 0%, 
    rgba(248, 248, 248, 0.9) 100%);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 8px 16px rgba(212, 175, 55, 0.1);
}

body.light-theme .testimonial-card:hover {
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.15),
    0 12px 24px rgba(212, 175, 55, 0.2);
}

body.light-theme .testimonial-card::before {
  color: rgba(212, 175, 55, 0.6);
}

body.light-theme .slider-btn {
  background: linear-gradient(145deg, 
    rgba(255, 255, 255, 0.9), 
    rgba(248, 248, 248, 0.8));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body.light-theme .slider-btn:hover {
  background: linear-gradient(145deg, 
    rgba(212, 175, 55, 0.1), 
    rgba(255, 255, 255, 0.9));
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
} 