/* Основные стили и переменные */
:root {
  --primary-color: #6b4f3e;
  --secondary-color: #ede7e1;
  --accent-color: #9c7a5f;
  --red-color: #ff3366;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

/* Анимации */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.9); }
  to { transform: scale(1); }
}

/* Шапка (уменьшенная в 2 раза) */
.hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  color: white;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1s ease-out;
}

.hero h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease-out;
}

.hero p {
  animation: fadeInUp 1s ease-out 0.3s forwards;
  opacity: 0;
}

.cta-buttons {
  margin-top: 30px;
  animation: fadeInUp 1s ease-out 0.6s forwards;
  opacity: 0;
}

/* Кнопки */
.btn {
  display: inline-block;
  padding: 12px 30px;
  margin: 10px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #ff3366;
  color: white;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Преимущества */
.features {
  padding: 60px 20px;
  background: var(--secondary-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  text-align: center;
  padding: 25px;
  background: white;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
  transition: transform 0.3s ease;
}

.feature-card:nth-child(1) { animation-delay: 0.2s; }
.feature-card:nth-child(2) { animation-delay: 0.4s; }
.feature-card:nth-child(3) { animation-delay: 0.6s; }

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Галерея */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 5px;
}

.gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.03);
  z-index: 1;
}

/* Цены */
.pricing {
  padding: 60px 20px;
  background: white;
}

.pricing h2 {
  text-align: center;
  margin-bottom: 30px;
}

table {
  width: 100%;
  max-width: 800px;
  margin: 20px auto;
  border-collapse: collapse;
}

th, td {
  padding: 15px;
  border: 1px solid #ddd;
  text-align: left;
}

th {
  background: var(--secondary-color);
}

tr {
  opacity: 0;
  transform: translateX(-20px);
  animation: fadeInUp 0.6s ease-out forwards;
}

tr:nth-child(1) { animation-delay: 0.1s; }
tr:nth-child(2) { animation-delay: 0.3s; }
tr:nth-child(3) { animation-delay: 0.5s; }
tr:nth-child(4) { animation-delay: 0.7s; }

/* Контакты с картой */
.contacts {
  padding: 60px 20px;
  background: var(--secondary-color);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact-info {
  text-align: left;
  animation: scaleIn 1s ease-out;
}

.contact-info h2 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.contact-info p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.contact-info i {
  margin-right: 10px;
  color: var(--accent-color);
  width: 20px;
  text-align: center;
}

.map-container {
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  animation: fadeIn 1s ease-out;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.social-links {
  margin-top: 15px;
}

.social-links a {
  font-size: 1.5em;
  margin-right: 15px;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--accent-color);
}

/* Футер */
footer {
  background: #000000;
  color: white;
  padding: 30px 20px;
  text-align: center;
  animation: fadeIn 1s ease-out;
}

/* Адаптивность */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2em;
  }
  
  .btn {
    display: block;
    margin: 10px auto;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .map-container {
    height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

        /* Плавающее меню */
        .floating-menu {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            z-index: 1000;
            padding: 15px 0;
            transition: all 0.3s ease;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }

        .floating-menu.scrolled {
            padding: 10px 0;
            background-color: rgba(0, 0, 0, 0.95);
        }

        .menu-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
        }

        .logo {
            color: white;
            font-weight: bold;
            font-size: 1.5em;
            text-decoration: none;
        }

        .logo span {
            color: var(--accent-color);
        }

        .nav-links {
            display: flex;
            gap: 25px;
        }

        .nav-links a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
            position: relative;
        }

        .nav-links a:hover {
            color: var(--accent-color);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--accent-color);
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .menu-btn {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.5em;
            cursor: pointer;
        }
		        body {
            padding-top: 70px;
        }

        @media (max-width: 768px) {
            .nav-links {
                position: fixed;
                top: 70px;
                left: -100%;
                width: 100%;
                height: calc(100vh - 70px);
                background-color: rgba(0, 0, 0, 0.95);
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 30px;
                transition: left 0.3s ease;
            }

            .nav-links.active {
                left: 0;
            }

            .menu-btn {
                display: block;
            }

            body {
                padding-top: 60px;
            }
        }
		
/* Похожие сауны */
.similar-saunas {
  background-color: #f9f9f9;
  padding: 60px 0;
  text-align: center;
}

.centered-title {
  text-align: center;
  margin-bottom: 40px;
}

.saunas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.sauna-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.sauna-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.sauna-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.sauna-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sauna-card h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.sauna-card p {
  color: var(--text-dark);
  margin-bottom: 8px;
}

.sauna-card i {
  color: var(--accent-color);
  width: 20px;
  text-align: center;
  margin-right: 8px;
}

.btn-container {
  margin-top: 15px;
  width: 100%;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  display: inline-block;
  width: auto;
  padding: 8px 20px;
}

.btn-outline:hover {
  background: var(--accent-color);
  color: white;
}

/* Похожие сауны - Рекомендуем */
.sauna-card.recommended {
  position: relative;
  border: 2px solid var(--red-color);
  box-shadow: 0 5px 20px rgba(156, 122, 95, 0.3);
}

.recommended-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--red-color);
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: bold;
  z-index: 2;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Дополнение к существующим стилям карточек */
.sauna-card.recommended .btn-outline {
  background-color: var(--red-color);
  color: white;
  border-color: var(--red-color);
}

.sauna-card.recommended .btn-outline:hover {
  background-color: transparent;
  color: var(--red-color);
}

@media (max-width: 768px) {
  .saunas-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  
  .sauna-image {
    height: 180px;
  }
}


/* ===== RATING STYLES ===== */
.rating {
  margin: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.star {
  font-size: 1.2em;
  color: #ccc;
  position: relative;
  margin: 0 2px;
}

.star.full {
  color: #FFD700; /* Золотой цвет для заполненных звёзд */
}

.star.half::before {
  content: '★';
  color: #FFD700;
  position: absolute;
  left: 0;
  width: 50%;
  overflow: hidden;
}

.rating-value {
  margin-left: 8px;
  font-weight: bold;
  color: var(--text-dark);
  font-size: 0.9em;
}

/* Адаптация для рекомендуемой карточки */
.sauna-card.recommended .star.full,
.sauna-card.recommended .star.half::before {
  color: #FFC107; /* Более яркий золотой для рекомендуемой */
}

.sauna-card.recommended .rating-value {
  color: var(--red-color);
  font-weight: bold;
}

/* FAQ */
	.faq-item {
      width: 90%; /* Ширина 90% от ширины страницы */
      margin: 0 auto 10px auto; /* Центрирование блока и отступ снизу */
    }

    .faq-question {
      background-color: var(--secondary-color);
      padding: 10px;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-radius: 7px; /* Добавление закругленных углов */
    }

    .faq-answer {
      display: none;
      padding: 10px;
    }

    .toggle-icon {
      font-size: 18px;
    }
	
/* Стили для секции "Преимущества" */
.features {
  background-color: #FFF8F0;
  padding: 80px 0;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

/* Блок с цифрами (центрирован) */
.stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 40px auto;
  max-width: 600px;
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 1px solid #eee;
  padding-top: 40px;
}

/* Остальные стили оставляем без изменений */
.feature-card {
  background: white;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  color: #8B4513;
  margin-bottom: 20px;
}

			.ts_11_1642255489 { align-items: start; background: transparent; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-evenly; margin: 15px auto; max-width: 660px; width: 100%; } .ts_11_1642255489 a { margin: 5px 5px 0; padding: 0; position: relative; text-decoration: none; } .ts_11_1642255489 img { height: 210px; object-fit: cover; width: 320px; } .ts_11_1642255489 .box_11 { background-color: rgba(255, 255, 255, 0.8); border-radius: 5px; bottom: 10px; box-sizing: border-box; left: 10px; max-width: 300px; overflow: hidden; padding: 10px; position: absolute; } .ts_11_1642255489 a:hover .box_11 {background-color: rgba(255, 255, 255, 1);} .ts_11_1642255489 .title_11 { color: #000000; font-size: 18px; font-weight: bold; line-height: 18px; margin: 0 0 5px; } .ts_11_1642255489 .desc_11 { color: #000000; font-size: 15px; line-height: 15px; }
