/* Testimonials Section - Ultra Modern Airbnb Style */
.modern-testimonials-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  position: relative;
  overflow: hidden;
}

.modern-testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 158, 142, 0.1) 50%, transparent 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 20px 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-description {
  font-size: 1.25rem;
  color: #6b7280;
  margin: 0;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

.testimonials-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 64px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  align-items: stretch;
}

.testimonial-card-home {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-card-home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--tt-color-main) 0%, #00a896 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.testimonial-card-home:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 158, 142, 0.2);
}

.testimonial-card-home:hover::before {
  transform: scaleX(1);
}

.testimonial-header {
  margin-bottom: 24px;
}

.author-info {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tt-color-main) 0%, #00a896 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: 600;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 158, 142, 0.2);
  transition: all 0.3s ease;
}

.author-avatar::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tt-color-main) 0%, #00a896 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.testimonial-card-home:hover .author-avatar::before {
  opacity: 1;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid white;
}

.author-details {
  flex: 1;
}

.author-name {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 8px 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.rating {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 8px;
}

.rating span {
  color: #fbbf24;
  font-size: 16px;
  letter-spacing: 2px;
  text-shadow: 0 1px 2px rgba(251, 191, 36, 0.3);
  filter: drop-shadow(0 1px 2px rgba(251, 191, 36, 0.2));
}

.author-location {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
}

.author-location svg {
  width: 14px;
  height: 14px;
  opacity: 0.8;
  color: var(--tt-color-main);
}

.review-content {
  margin-bottom: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.review-text {
  font-size: 16px;
  line-height: 1.7;
  color: #4b5563;
  margin: 0 0 12px 0;
  font-weight: 400;
  letter-spacing: -0.005em;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.3s ease;
}

.review-text.expanded {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  -webkit-box-orient: unset;
  overflow: visible;
}

.show-all-btn {
  background: transparent;
  border: none;
  color: var(--tt-color-main);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 0;
  margin-top: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: -0.01em;
}

.show-all-btn:hover {
  color: #00a896;
  transform: translateY(-1px);
}

.show-all-btn::after {
  content: '↓';
  font-size: 12px;
  transition: transform 0.3s ease;
}

.show-all-btn.expanded::after {
  transform: rotate(180deg);
}

.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.tour-link {
  color: var(--tt-color-main);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(0, 158, 142, 0.08);
  transition: all 0.3s ease;
  letter-spacing: -0.01em;
}

.tour-link:hover {
  background: rgba(0, 158, 142, 0.15);
  transform: translateY(-1px);
}

.review-date {
  font-size: 14px;
  color: #9ca3af;
  font-weight: 400;
}

.testimonials-actions {
  text-align: center;
}

.testimonials-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 0.75rem;
  text-decoration: none;
  border: none;
  background: linear-gradient(135deg, var(--tt-color-main) 0%, var(--tt-color-sub) 100%);
  color: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: -0.01em;
  box-shadow: 0 4px 15px rgba(0, 114, 95, 0.2);
  cursor: pointer;
}

.testimonials-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 114, 95, 0.4);
  background: linear-gradient(135deg, #005a4a 0%, #007a6b 100%);
}

.testimonials-actions .btn::after {
  content: '';
  font-size: 18px;
  transition: transform 0.3s ease;
}

.testimonials-actions .btn:hover::after {
  transform: translateX(4px);
}

.no-testimonials {
  text-align: center;
  padding: 64px 32px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 20px;
  border: 2px dashed rgba(0, 158, 142, 0.2);
  max-width: 600px;
  margin: 0 auto;
}

.no-testimonials p {
  font-size: 18px;
  color: #6b7280;
  margin: 0;
  font-weight: 400;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .testimonials-grid-home {
    max-width: 1000px;
    gap: 28px;
  }
}

@media (max-width: 1024px) {
  .modern-testimonials-section {
    padding: 80px 0;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .section-description {
    font-size: 1.125rem;
  }
  
  .testimonials-grid-home {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
  }
  
  .testimonial-card-home {
    padding: 28px;
  }
}

@media (max-width: 768px) {
  .modern-testimonials-section {
    padding: 60px 0;
  }
  
  .section-header {
    margin-bottom: 48px;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .section-description {
    font-size: 1rem;
  }
  
  .testimonials-grid-home {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 16px;
    max-width: 500px;
  }
  
  .testimonial-card-home {
    padding: 24px;
    border-radius: 16px;
  }
  
  .author-avatar {
    width: 48px;
    height: 48px;
    font-size: 16px;
  }
  
  .author-name {
    font-size: 16px;
  }
  
  .review-text {
    font-size: 15px;
    -webkit-line-clamp: 5;
    line-clamp: 5;
  }
  
  .show-all-btn {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .modern-testimonials-section {
    padding: 40px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .testimonial-card-home {
    padding: 20px;
    border-radius: 12px;
  }
  
  .testimonial-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
  }
  
  .author-info {
    width: 100%;
  }
  
  .rating {
    align-self: flex-end;
  }
  
  .review-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .tour-link {
    align-self: flex-start;
  }
  
  .testimonials-actions .btn {
    padding: 14px 24px;
    font-size: 15px;
  }
}
