/* === Общие секции === */
section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  text-align: center;
}

section h1 {
  font-size: calc(var(--index) * 1.2);
}

section h2 {
  font-size: calc(var(--index) * 1.2);
  margin-bottom: 20px;
  color: #c084fc;
}

section p {
  max-width: 700px;
  font-size: calc(var(--index) * 0.8);
  line-height: 1.6;
  margin-bottom: 10px;
}

/* === Карточки, галерея, цены === */
.cards,
.pricing-cards,
.schedule-table,
.schedule-table-by-location {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.card,
.price-card,
.location-block,
.schedule-table div,
.review {
  background: #111;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.05);
  text-align: center;
  padding: 10px;
}

.card img,
.about-gallery img {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s;
}

.card:hover,
.about-gallery img:hover {
  transform: scale(1.03);
}

.card h3,
.price-card h3,
.location-block h3 {
  font-size: 20px;
  color: #c084fc;
  margin-bottom: 10px;
}

.card h4 {
  color: #c084fc;
}

.card p {
  padding: 0 15px;
  font-size: 16px;
}

.price-card p {
  font-size: 24px;
  font-weight: bold;
}

/* === Слайдер в секции "Обо мне" === */
.about-gallery-slider {
  position: relative;
  overflow: hidden;
  margin: 30px auto;
  border-radius: 12px;
  max-width: 1000px;
  width: 100%;
}

.gallery-track {
  display: flex;
  transition: transform 0.4s ease;
  touch-action: pan-y;
}

.gallery-slide {
  flex: 0 0 100%;
  box-sizing: border-box;
  padding: 0 5px;
}

.gallery-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* Планшет — 2 фото */
@media (min-width: 600px) {
  .gallery-slide {
    flex: 0 0 50%;
  }
}

/* Десктоп — 3 фото */
@media (min-width: 1024px) {
  .gallery-slide {
    flex: 0 0 33.33%;
  }
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(192, 132, 252, 0.8);
  border: none;
  color: #fff;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}

.gallery-btn.prev {
  left: 10px;
}

.gallery-btn.next {
  right: 10px;
}





/* === Расписание === */
.schedule-table {
  margin-top: 30px;
}

.schedule-table div {
  min-width: 200px;
}

.schedule-table strong {
  color: #c084fc;
  font-size: 18px;
}

/* === Отзывы === */
.review-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 700px;
}

.review p {
  font-size: 16px;
  margin-bottom: 10px;
}

.review span {
  font-size: 14px;
  color: #888;
}
