:root {
  --orange: #FF6B35;
  --blue: #2E86AB;         
  --day-accent: #f2873aef;
  --cream: #FFF9F0;
  --light-cream: #FAF3E0;
  --text: #333333;
  --brown: #5C4B37;
  --purple: #A29BFE;
  --gold: #FEC107;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Bebas Neue', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 🎇 Hero Section */
.hero {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('./1758182613.png') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  background: var(--orange);
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.6);
}

/* 📅 Quick Info */
.quick-info {
  padding: 80px 0;
  background: var(--light-cream);
  text-align: center;
}

.quick-info h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--orange);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.info-item {
  padding: 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.info-item:hover {
  transform: translateY(-10px);
}

.info-item div {
  font-size: 2.5rem;
  color: var(--blue);
  margin-bottom: 15px;
}

/* 🗺 Route Map */
.route-section {
  padding: 80px 0;
  text-align: center;
}

.route-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--blue);
}

#likian-map {
  height: 500px;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Кастомные стили для Leaflet */
.custom-marker {
  background: var(--orange);
  color: white;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: bold;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
  border: 3px solid white;
  font-size: 14px;
}

.custom-marker.halloween {
  background: var(--purple);
}

.leaflet-container {
  border-radius: 15px;
}

.leaflet-popup-content-wrapper {
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.leaflet-popup-content {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
}

.halloween-popup {
  background: #fff9f0;
  padding: 15px;
  border-left: 5px solid var(--orange);
  border-radius: 10px;
}

.halloween-popup h4 {
  margin: 0 0 10px 0;
  color: var(--orange);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
}

.halloween-popup p {
  margin: 5px 0;
  font-size: 0.9rem;
}

/* 📖 Days Accordion */
.days-section {
  padding: 80px 0;
  background: white;
}

.days-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--orange);
}

.day-card {
  background: var(--light-cream);
  border-radius: 15px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.day-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: var(--day-accent);
  color: white;
  cursor: pointer;
}

.day-header h3 {
  font-size: 1.5rem;
  margin: 0;
}

.day-header .toggle {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.day-header.active .toggle {
  transform: rotate(45deg);
}

.day-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
  background: white;
}

.day-content.show {
  padding: 20px;
  max-height: 1000px;
}

.stats {
  list-style: none;
  margin: 20px 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.stats li {
  background: var(--cream);
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.halloween-badge {
  display: inline-block;
  background: var(--purple);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-family: 'Creepster', cursive;
  font-size: 1.1rem;
  margin-top: 15px;
}

/* 📍 Accommodation */
.stay-section {
  padding: 80px 0;
  background: var(--light-cream);
  text-align: center;
}

.stay-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--blue);
}

.stay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.stay-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stay-card div {
  font-size: 3rem;
  color: var(--orange);
  margin-bottom: 20px;
}

/* 🧳 Checklist */
.checklist-section {
  padding: 80px 0;
  background: white;
  text-align: center;
}

.checklist-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--orange);
}

.checklist {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.checklist label {
  display: block;
  margin: 15px 0;
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
  transition: background 0.3s ease;
}

.checklist input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.3);
}

.checklist label:hover {
  background: var(--light-cream);
}

/* 📸 Gallery */
.gallery-section {
  padding: 80px 0;
  background: var(--light-cream);
  text-align: center;
}

.gallery-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--blue);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 30px;
}

.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* ✍️ Form */
.form-section {
  padding: 100px 0;
  background: linear-gradient(to right, var(--orange), var(--blue));
  color: white;
  text-align: center;
}

.form-section h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.form-section p {
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 1.2rem;
}

.form-container {
  max-width: 500px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #eee;
  border-radius: 10px;
  font-size: 1rem;
  transition: border 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  outline: none;
}

.form-group.checkbox {
  display: flex;
  align-items: center;
  /* gap: 5px;  */               /* расстояние между чекбоксом и текстом */
  /* white-space: nowrap; */     /* запрет переносов */
  margin: 4px 0;           /* 🔹 небольшой вертикальный отступ */
  padding: 0;              /* 🔹 убрал внутренние отступы */
  justify-content: flex-start; /* 🔹 прижали к левому краю */
}

.checkbox-input {
  width: 18px;
  height: 18px;
  accent-color: var(--orange);
  cursor: pointer;
}

.form-group.checkbox:hover {
  background: var(--light-cream); /* 🔹 подсветка при наведении */
}

.checkbox-label {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
  cursor: pointer;
}





.btn-form {
  width: 100%;
  padding: 15px;
  background: var(--orange);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.btn-form:hover {
  background: #e55a2b;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

/* 📞 Footer */
footer {
  background: var(--text);
  color: white;
  padding: 40px 0;
  text-align: center;
}

footer a {
  color: var(--gold);
  text-decoration: none;
  font-weight: bold;
}

footer a:hover {
  text-decoration: underline;
}

.bat-divider {
  margin: 20px 0;
  font-size: 2rem;
}

/* Анимации при скролле */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}
/* 🍂 Стили для Фиксированного Мобильного Меню */
.mobile-menu {
  display: none; /* Скрыто на десктопе */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
  padding: 10px 0;
  border-top: 2px solid var(--orange);
}

.mobile-menu-container {
  display: flex;
  /* 🔧 ИЗМЕНЕНО: space-around -> space-between для лучшего распределения */
  justify-content: space-between;
  align-items: center; /* 🔧 ДОБАВЛЕНО: для выравнивания по вертикали */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

.mobile-menu-item {
  color: var(--text);
  text-decoration: none;
  /* 🔧 ИЗМЕНЕНО: уменьшен размер шрифта для экономии места */
  font-size: 0.7rem;
  font-weight: 600;
  text-align: center;
  padding: 8px 5px;
  border-radius: 8px;
  transition: all 0.3s ease;
  /* 🔧 ДОБАВЛЕНО: позволяет элементам занимать минимум места */
  flex-shrink: 1;
}

.mobile-menu-item:hover,
.mobile-menu-item.active {
  color: var(--orange);
  background: var(--light-cream);
  transform: translateY(-2px);
}

/* 🎯 Стиль для кнопки "Забронировать" в фиксированном меню */
.mobile-menu-btn {
  display: inline-block;
  background: var(--orange);
  color: white;
  text-decoration: none;
  /* 🔧 ИЗМЕНЕНО: уменьшен размер шрифта */
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  /* 🔧 ИЗМЕНЕНО: уменьшены отступы для компактности */
  padding: 8px 12px;
  border-radius: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
  /* 🔧 ДОБАВЛЕНО: предотвращает сжатие кнопки */
  flex-shrink: 0;
  white-space: nowrap;
}

.mobile-menu-btn:hover {
  background: #e55a2b;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.5);
}

/* Показываем фиксированное меню на всех устройствах */
.mobile-menu {
  display: block;
}
/* Мобильная адаптация */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero h2 {
    font-size: 1.5rem;
  }
  .info-grid,
  .stay-grid,
  .gallery {
    grid-template-columns: 1fr;
  }
  .day-header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .stats {
    justify-content: center;
  }
  #likian-map {
    height: 350px;
  }
}

/* 💰 Стили для раздела "Стоимость тура" */
.price-section {
  padding: 80px 0;
  background: white;
  text-align: center;
}

.price-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--orange);
}

.price-header {
  margin-bottom: 40px;
}

.price-amount {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4rem;
  color: var(--orange);
  margin: 20px 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.price-note {
  font-size: 1.1rem;
  color: var(--brown);
  max-width: 600px;
  margin: 0 auto;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.price-card {
  background: var(--light-cream);
  padding: 30px;
  border-radius: 15px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.price-card h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--orange);
}

.price-card.included h3 {
  color: #27ae60; /* зелёный — включено */
}

.price-card.not-included h3 {
  color: #e74c3c; /* красный — не включено */
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.price-card li {
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}

.price-card.included li:before {
  content: "✓";
  color: #27ae60;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.price-card.not-included li:before {
  content: "✗";
  color: #e74c3c;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.price-card strong {
  color: var(--text);
}

/* 🧳 Стили для аккордеона "Что взять с собой" */
.gear-section {
  padding: 80px 0;
  background: white;
  text-align: center;
}

.gear-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--orange);
}

.section-intro {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: var(--brown);
}

.gear-item {
  background: var(--light-cream);
  border-radius: 15px;
  margin: 15px 0;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  overflow: hidden;
}

.gear-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: var(--blue);
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}

.gear-header:hover {
  background: #257a9c;
}

.gear-header h3 {
  font-size: 1.3rem;
  margin: 0;
  font-weight: 600;
}

.gear-toggle {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.gear-content {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  background: white;
  transition: max-height 0.5s ease, padding 0.5s ease;
}

.gear-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.gear-content li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.gear-content li:before {
  content: "•";
  color: var(--orange);
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}

.gear-content li:last-child {
  border-bottom: none;
}

/* 🇷🇺 Флаг России в правом нижнем углу карты */
#russian-flag {
  position: absolute;
  bottom: 145px;
  right: 180px;
  font-size: 3rem;
  z-index: 1000;
  background: rgba(255, 255, 255, 250);
  padding: 4px 8px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  pointer-events: none;
}

/* 🔧 ИЗМЕНЕНО: Позиция тыквы для мобильных устройств */
@media (max-width: 768px) {
  #russian-flag {
    right: 20px; /* Смещаем тыкву ближе к правому краю */
    bottom: 170px; /* Опционально: можно немного поднять, если она перекрывает контролы карты */
    font-size: 2.5rem; /* Опционально: немного уменьшаем размер для пропорций */
  }
}

/* 🔧 Глобальные исправления для мобильной версии */
html {
  overflow-x: hidden;
  width: 100%;
  scroll-behavior: smooth; /* Плавный скролл к якорям */
}

body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Фикс для чекбоксов в форме */
.form-group.checkbox {
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  white-space: nowrap !important;
  margin: 15px 0 !important;
  padding: 10px !important;
}

.checkbox-input {
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
}

.checkbox-label {
  margin: 0 !important;
  font-size: 1rem !important;
}

/* Фикс для заголовков на герое */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
    padding: 0 20px;
    word-wrap: break-word;
    hyphens: auto;
  }

  .hero h2 {
    font-size: 1.5rem;
    padding: 0 20px;
    word-wrap: break-word;
    hyphens: auto;
  }

  .hero p {
    font-size: 1.1rem;
    padding: 0 20px;
    word-wrap: break-word;
  }

  /* Уменьшаем заголовки до размера h1 в мобильной версии */
.quick-info h2,
.days-section h2,
.price-section h2 {
  font-size: 2.2rem !important;
  padding: 0 15px;
}
}

/* 🎇 Стили для Hero-секции — правильная иерархия */
.hero .hero-subtitle {
  font-size: 0.9rem; /* Меньше — это уточнение */
  margin-bottom: 0.3rem;
  font-weight: 500;
  letter-spacing: 1px;
  /* color: #FFD700; /* Золотой — для акцента на бренде */ */
  text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.hero h1 {
  font-size: 3.5rem; /* Крупный заголовок тура */
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.hero .hero-slogan {
  font-size: 2rem; /* Самый крупный — главный слоган! */
  /* font-family: 'Creepster', cursive; */
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: white;
  text-shadow: 3px 3px 10px rgba(0,0,0,0.8);
}

/* Адаптация под мобильные устройства */
@media (max-width: 768px) {
  .hero .hero-subtitle {
  font-size: 0.7rem !important;
  padding: 0 15px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
  text-align: center !important;
}
  .hero h1 {
    font-size: 2.0rem;
    padding: 0 15px;
  }
  .hero .hero-slogan {
    font-size: 1rem;
    padding: 0 15px;
  }
}
/* Скрываем "Что взять" в мобильном меню */
@media (max-width: 768px) {
  .mobile-menu .gear-menu-item {
    display: none;
  }
}




