/* Стили для секции цитат */

.quotes-section {
  padding: var(--section-padding);
  background-color: var(--section-bg-light);
  position: relative;
  overflow: hidden;
}

.quotes-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/pattern-bg.png");
  background-size: 300px;
  opacity: 0.05;
  z-index: 1;
}

.quotes-container {
  position: relative;
  z-index: 2;
}

.quotes-slider {
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
}

.quote-slide {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: var(--white);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
}

.quote-image {
  width: 100%;
  height: 100%;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.quote-image img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--primary-light);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quote-card {
  padding: 30px;
  width: 90%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-content {
  position: relative;
}

.quote-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  position: relative;
  font-weight: 500;
  padding: 0 40px;
}

.quote-text::before,
.quote-text::after {
  content: '"';
  font-size: 4rem;
  line-height: 0;
  position: absolute;
  color: var(--primary-color);
  opacity: 0.5;
  font-family: Georgia, serif;
}

.quote-text::before {
  top: 0.5rem;
  left: 0;
}

.quote-text::after {
  bottom: -0.5rem;
  right: 0;
}

.quote-author-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.quote-author-title {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* Стили для стрелок слайдера */
.quotes-slider .swiper-button-next,
.quotes-slider .swiper-button-prev {
  color: var(--primary-color);
  background: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.quotes-slider .swiper-button-next:after,
.quotes-slider .swiper-button-prev:after {
  font-size: 1rem;
  font-weight: bold;
}

.quotes-slider .swiper-pagination-bullet {
  background: var(--primary-color);
  opacity: 0.5;
}

.quotes-slider .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--primary-color);
}

/* Адаптивные стили */
@media (max-width: 992px) {
  .quote-slide {
    flex-direction: column;
  }

  .quote-image {
    width: 100%;
    padding: 20px 20px 0 20px;
  }

  .quote-card {
    width: 100%;
    padding: 20px;
  }

  .quote-text {
    font-size: 1.2rem;
    padding: 0 30px;
  }
}

@media (max-width: 768px) {
  .quote-image img {
    width: 120px;
    height: 120px;
  }

  .quote-text {
    font-size: 1.1rem;
    padding: 0 25px;
  }

  .quote-text::before,
  .quote-text::after {
    font-size: 3rem;
  }

  .quote-author-name {
    font-size: 1.1rem;
  }

  .quote-author-title {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .quote-image img {
    width: 100px;
    height: 100px;
  }

  .quote-text {
    font-size: 1rem;
    padding: 0 20px;
    line-height: 1.6;
  }

  .quote-text::before,
  .quote-text::after {
    font-size: 2.5rem;
  }

  .quote-author-name {
    font-size: 1rem;
  }

  .quote-author-title {
    font-size: 0.85rem;
  }
}
