@import url('https://fonts.googleapis.com/css2?family=Muli:wght@300;400;600;700&family=Quicksand:wght@400;500;600;700&display=swap');
@import "classicatwo.css";
@import "solena.css";

:root {
  --accent-pink: #fd99bd;
  --accent-pink-glow: rgba(253, 153, 189, 0.35);
  --bg-dark: #1e1e24;
  --card-bg: rgba(40, 41, 45, 0.85);
  --text-main: #ffffff;
  --text-muted: #d0d0d0;
}

* {
  box-sizing: border-box;
}

body {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px 40px;
  background-color: #212124;
  background-image: radial-gradient(circle at top center, #2e2f36 0%, #17171a 100%);
  color: var(--text-main);
  font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
}

/* Заголовок страницы */
.block1 {
  color: #ffffff;
  font-family: 'Classica Two', 'Times New Roman', serif;
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  text-shadow: 0 0 15px var(--accent-pink-glow), 1px 1px 2px var(--accent-pink);
  text-align: center;
  margin: 35px auto 20px;
  width: 100%;
}

.block2 {
  color: var(--accent-pink);
  font-family: 'Quicksand', sans-serif;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  text-align: center;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 25px;
}

/* Разделительная линия */
.divider {
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--accent-pink), transparent);
  margin: 20px 0;
  position: relative;
}

/* ---------------------------------------------------- */
/* ГЛАВНЫЙ СЛАЙДЕР / КАРУСЕЛЬ (Без прыжков высоты)       */
/* ---------------------------------------------------- */

.carousel-section {
  width: 100%;
  margin: 0 auto 20px;
  position: relative;
}

/* Главный контейнер слайдов с фиксированными пропорциями */
.swiper-main-container {
  width: 100%;
  max-width: 650px;
  aspect-ratio: 3 / 4;
  max-height: 70vh;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(253, 153, 189, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--accent-pink-glow);
  background: #111;
  position: relative;
}

.swiper-main-container .swiper-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.swiper-main-container .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #121214;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.swiper-main-container .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.4s ease;
}

.swiper-main-container .swiper-slide:hover img {
  transform: scale(1.02);
}

/* Кнопки навигации карусели */
.swiper-button-next,
.swiper-button-prev {
  color: var(--accent-pink) !important;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  width: 44px !important;
  height: 44px !important;
  border-radius: 50%;
  border: 1px solid rgba(253, 153, 189, 0.3);
  transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px !important;
  font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--accent-pink);
  color: #000 !important;
  box-shadow: 0 0 12px var(--accent-pink);
}

/* Пагинация */
.swiper-pagination-bullet {
  background: #ffffff !important;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background: var(--accent-pink) !important;
  opacity: 1;
  width: 20px !important;
  border-radius: 10px !important;
  box-shadow: 0 0 8px var(--accent-pink);
}

/* Тер печать/печать TER в углу */
.ter-badge-link {
  position: absolute;
  bottom: 15px;
  right: 15px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.6);
  padding: 6px;
  border-radius: 10px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(253, 153, 189, 0.3);
  transition: transform 0.2s ease;
}

.ter-badge-link:hover {
  transform: scale(1.08);
}

.ter-badge-link img {
  display: block;
  width: 70px;
  height: auto;
  border: none;
}

/* ---------------------------------------------------- */
/* МИНИАТЮРЫ (Thumbnails Swiper)                        */
/* ---------------------------------------------------- */

.swiper-thumbs-container {
  width: 100%;
  max-width: 750px;
  margin: 15px auto 0;
  padding: 5px 0;
}

.swiper-thumbs-container .swiper-slide {
  width: 90px;
  height: 115px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.55;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.swiper-thumbs-container .swiper-slide-thumb-active {
  opacity: 1;
  border-color: var(--accent-pink);
  box-shadow: 0 0 12px var(--accent-pink-glow);
  transform: translateY(-2px);
}

.swiper-thumbs-container .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

/* ---------------------------------------------------- */
/* БЛОКИ КОНТЕНТА И СТИЛИ ТЕКСТА                        */
/* ---------------------------------------------------- */

.text-block {
  max-width: 800px;
  margin: 24px auto 0;
  padding: 24px 28px;
  border-radius: 16px;
  border: 1px solid rgba(253, 153, 189, 0.25);
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
}

.circle-container {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fd99bd, #f76b9e);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 10px var(--accent-pink-glow);
  flex-shrink: 0;
}

.i-letter {
  font-size: 13px;
  font-weight: 700;
  color: #121214;
}

.about-me {
  margin-left: 12px;
  font-size: 24px;
  color: #ffffff;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  text-shadow: 0 0 10px var(--accent-pink-glow);
  letter-spacing: 0.5px;
}

.text-block p {
  color: #e0e0e0;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 0;
  text-shadow: none;
}

/* ---------------------------------------------------- */
/* АДАПТИВНЫЙ СПИСОК ХАРАКТЕРИСТИК (SPEC LIST)          */
/* ---------------------------------------------------- */

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.spec-item {
  display: flex;
  align-items: baseline;
  width: 100%;
  font-size: 15px;
}

.spec-label {
  color: var(--accent-pink);
  font-weight: 600;
  white-space: nowrap;
}

.spec-dots {
  flex: 1;
  border-bottom: 1px dotted rgba(253, 153, 189, 0.4);
  margin: 0 8px;
  min-width: 15px;
}

.spec-value {
  color: #ffffff;
  font-weight: 500;
  text-align: right;
}

/* ---------------------------------------------------- */
/* КАРТОЧКИ СТАВОК И КОНТАКТОВ (PRICING & CONTACTS)     */
/* ---------------------------------------------------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 15px;
  margin: 15px 0;
}

.price-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(253, 153, 189, 0.2);
  border-radius: 12px;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.3s ease;
}

.price-card:hover {
  border-color: var(--accent-pink);
}

.price-title {
  color: #fff;
  font-weight: 500;
  font-size: 15px;
}

.price-amount {
  color: var(--accent-pink);
  font-weight: 700;
  font-size: 18px;
  text-shadow: 0 0 8px var(--accent-pink-glow);
}

/* Контактные кнопки */
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.contact-btn {
  flex: 1;
  min-width: 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(253, 153, 189, 0.15), rgba(253, 153, 189, 0.05));
  border: 1px solid var(--accent-pink);
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background: var(--accent-pink);
  color: #121214;
  box-shadow: 0 0 15px var(--accent-pink-glow);
  transform: translateY(-2px);
}

.contact-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Ссылки */
a {
  color: var(--accent-pink);
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.85;
}

/* ---------------------------------------------------- */
/* МОБИЛЬНАЯ АДАПТИВНОСТЬ                               */
/* ---------------------------------------------------- */

@media screen and (max-width: 768px) {
  body {
    padding: 0 12px 30px;
  }

  .block1 {
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .text-block {
    padding: 18px 16px;
    border-radius: 14px;
    margin-top: 18px;
  }

  .swiper-main-container {
    aspect-ratio: 3 / 4;
    max-height: 65vh;
    border-radius: 12px;
  }

  .swiper-thumbs-container .swiper-slide {
    width: 70px;
    height: 90px;
  }

  .about-me {
    font-size: 20px;
  }

  .spec-item {
    font-size: 14px;
  }

  .contact-btn {
    width: 100%;
    min-width: 100%;
  }

  .ter-badge-link {
    bottom: 10px;
    right: 10px;
    padding: 4px;
  }
  .ter-badge-link img {
    width: 55px;
  }
}
