:root {
  --dark-green: #2d5016;
  --dark-yellow: #d4a574;
  --extra-light-brown: #f5f0e8;
  --light-brown: #d4a574;
  --dark-brown: #6f4e37;
  --light-yellow: #f4e4bc;
  --light-red: #c7956d;
  --coffee-dark: #3c2414;
  --coffee-medium: #8b4513;
  --coffee-light: #deb887;
  --theme-color2: #6f4e37;
}

.testimonials {
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
}

/* Testimonials Intro */
.testimonials-intro {
  padding: 80px 20px;
  text-align: center;
  background: url('../../../assets/images/shoprepeat-1.png');
}

.testimonials-intro-content {
  max-width: 800px;
  margin: 0 auto;
}

.testimonials-intro-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--coffee-dark);
  margin-bottom: 24px;
  font-family: 'Bellefair', serif;
}

.testimonials-intro-description {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--theme-color2);
  font-family: 'Barlow', sans-serif;
  margin: 0;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100vh;
  gap: 0;
}

/* Carousel Section */
.carousel-section {
  position: relative;
  background: linear-gradient(to bottom right, #f5e6d3, #e8d4bb);
  overflow: hidden;
}

/* Decorative Bubbles */
.bubble {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
}

.bubble-1 {
  top: 15%;
  left: 8%;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
}

.bubble-2 {
  top: 25%;
  right: 12%;
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.05);
}

.bubble-3 {
  bottom: 20%;
  left: 10%;
  width: 96px;
  height: 96px;
  background: rgba(255, 255, 255, 0.08);
}

.bubble-4 {
  bottom: 35%;
  left: 15%;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.06);
}

.bubble-5 {
  top: 45%;
  right: 8%;
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.07);
}

.bubble-6 {
  bottom: 60%;
  right: 20%;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
}

.bubble-7 {
  top: 70%;
  left: 5%;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
}

.bubble-8 {
  bottom: 10%;
  right: 15%;
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.06);
}

/* Carousel */
.carousel {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-card {
  position: absolute;
  transition: all 0.5s ease;
}

.carousel-card-prev {
  left: 25%;
  transform: translateX(-50%) scale(0.75);
  opacity: 0.4;
  z-index: 1;
}

.carousel-card-current {
  left: 50%;
  transform: translateX(-50%) scale(1);
  z-index: 10;
}

.carousel-card-current.animating {
  transform: translateX(-50%) scale(0.95);
}

.carousel-card-next {
  right: 25%;
  transform: translateX(50%) scale(0.75);
  opacity: 0.4;
  z-index: 1;
}

.product-card {
  width: 300px;
  height: 420px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.product-card-main {
  width: 380px;
  height: 500px;
  background: linear-gradient(to bottom right, #ea580c, #c2410c);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
}

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

/* Carousel Buttons */
.carousel-btn {
  position: absolute;
  z-index: 20;
  padding: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #374151;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.carousel-btn-prev {
  left: 32px;
}

.carousel-btn-next {
  right: 32px;
}

/* Carousel Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  z-index: 20;
}

.indicator-dot {
  width: 12px;
  height: 12px;
  border-radius: 6px;
  background: rgba(101, 67, 33, 0.6);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.indicator-dot.active {
  width: 36px;
  background: #654321;
  box-shadow: 0 2px 8px rgba(101, 67, 33, 0.3);
}

/* Testimonial Section */
.testimonial-section {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--coffee-dark) 0%,
    var(--theme-color2) 50%,
    var(--coffee-medium) 100%
  );
  overflow: hidden;
}

.testimonial-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 48px;
  max-width: 768px;
  margin: 0;
  text-align: center;
}

.quote-icon {
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 48px;
}

.testimonial-quote {
  margin-bottom: 48px;
}

.testimonial-quote p {
  color: white;
  font-size: 28px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  transition: all 0.5s ease;
}

.testimonial-author {
  color: white;
  transition: all 0.5s ease;
}

.author-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.author-role {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  .carousel-section,
  .testimonial-section {
    min-height: 100vh;
  }

  .carousel-card-prev,
  .carousel-card-next {
    display: none;
  }

  .carousel-btn-prev {
    left: 16px;
  }

  .carousel-btn-next {
    right: 16px;
  }
}

@media (max-width: 768px) {
  .testimonials-intro {
    padding: 60px 16px;
  }

  .testimonials-intro-title {
    font-size: 2.5rem;
  }

  .testimonials-intro-description {
    font-size: 1.1rem;
  }

  .testimonial-quote p {
    font-size: 20px;
  }

  .testimonial-content {
    padding: 32px;
  }

  .product-card-main {
    width: 280px;
    height: 440px;
  }
}
