/**
 * @file
 * Testimonial Card component styles.
 */

.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  min-height: 820px;
  border-radius: 20px;
  overflow: hidden;
  background-color: #87ceeb;
}

.testimonial-card__background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.testimonial-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: transparent;
  padding: 32px;
  z-index: 2;
  backdrop-filter: blur(24px);
}

.testimonial-card__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.testimonial-card__quote {
  font-family: 'Uni Neue Regular', sans-serif;
  font-size: 22px;
  line-height: 100%;
  margin: 0;
  color: #FDFDFD;
  font-style: normal;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.testimonial-card__quote::before,
.testimonial-card__quote::after {
  content: '"';
  color: #FDFDFD;
}

.testimonial-card__author-rating-wrapper {
  display: flex;
  justify-content: space-between;
}

.testimonial-card__author-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.testimonial-card__author-name {
  font-family: 'Uni Neue Regular', sans-serif;
  font-size: 30px;
  line-height: 100%;
  color: #FDFDFD;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  margin: 0;
}

.testimonial-card__author-role {
  font-family: 'Uni Neue Regular', sans-serif;
  font-size: 18px;
  margin: 0;
  color: #FDFDFD;
  font-weight: 400;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.testimonial-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.testimonial-card__star {
  display: none;
}

.testimonial-card__star--filled {
  display: block;
  background-image: url('./star.png');
  width: 20px;
  height: 20px;
}

/* Carousel wrapper styles */
.testimonial-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.testimonial-carousel__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.testimonial-carousel__slide {
  display: none;
  width: 100%;
  height: 100%;
}

.testimonial-carousel__slide--active {
  display: block;
}

/* Navigation buttons */
.testimonial-carousel__navigation {
  position: absolute;
  bottom: 32px;
  right: 32px;
  display: flex;
  gap: 12px;
  z-index: 10;
}

.testimonial-carousel__button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.testimonial-carousel__button:hover {
  background-color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
}

.testimonial-carousel__button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.testimonial-carousel__button svg {
  width: 24px;
  height: 24px;
  stroke: #FDFDFD;
  fill: none;
}