/* Общий стиль подвала */
.footer {
    /* убираем margin-top, чтобы он не мешал */
  padding: 15px;
  background-color: #f9f9f9;
  border-top: 1px solid #ddd;
  /* Можно добавить min-height или max-height при необходимости */
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
/* Логи и ссылки */
.footer-logo {
    display: flex;
    align-items: center;
}
.footer-logo svg {
    width: 28px;
    height: 28px;
    margin-right: 10px;
}
/* Ссылки */
.footer-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.footer-links a {
    text-decoration: none;
    color: #555; /* Цвет "dimmed" */
    font-size: 14px;
    line-height: 1;
}
/* Иконки соцсетей */
.social-icons {
    display: flex;
    gap: 10px;
}
/* Иконки соцсетей, пример с SVG: */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ccc; /* или для варианта default */
    cursor: pointer;
    transition: all 0.2s ease;
}
.social-icon:hover {
    background-color: #eee;
}
/* Для адаптивности */
@media (max-width: 600px) {
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    .footer-links {
        margin-top: 20px;
    }
}
/* шапка сайта*/
html,body {
    height: 100%;
    margin: 0;
  }
  body {
      font-family: Arial, sans-serif;
      display: flex;
      flex-direction: column;
      min-height: 100vh; /* чтобы занимать всю высоту окна */
  }
  .header {
    /* убираем жесткую высоту, чтобы она подстраивалась */
  padding: 10px 10px;
  background-color: var(--mantine-color-body);
  border-bottom: 1px solid lightgray;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Можно задать max-height или min-height, если нужно */
  }
  .inner {
    height: 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  /* Бургер меню для мобильных */
  .burger {
    display: none;
    cursor: pointer;
    width: 24px;
    height: 18px;
    flex-direction: column;
    justify-content: space-between;
  }
  .burger div {
    width: 100%;
    height: 3px;
    background-color: #333;
  }
  
  /* Логотип */
  .logo {
    display: flex;
    align-items: center;
  }
  .logo img {
    width: 48px;
    height: 48px;
  }
  /* Навигационные ссылки */
  .links {
    display: flex;
    gap: 10px;
  }
  .link {
    display: block;
    line-height: 1;
    padding: 8px 12px;
    border-radius: var(--mantine-radius-sm);
    text-decoration: none;
    color: light-dark(var(--mantine-color-gray-7), var(--mantine-color-dark-0));
    font-size: var(--mantine-font-size-sm);
    font-weight: 500;
  }
  /* hover — использую CSS-псевдокласс */
  .link:hover {
    background-color: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-6));
  }
  /* Адаптивность */
  @media (max-width: 768px) {
    .burger {
      display: flex;
    }
    .links {
      position: absolute;
      top: 56px; /* высота header */
      left: 0;
      right: 0;
      background-color: #f9f9f9;
      flex-direction: column;
      display: none;
      padding: var(--mantine-spacing-md);
      z-index: 999;
    }
    .links.show {
      display: flex;
    }
  }
   /* Переведенные стили из вашего CSS */
        .card {
            background-color: #ffffff; /* светлый фон, заменяет light-dark */
            border: 1px solid #dee2e6; /* светлая граница, как указано */
            border-radius: 8px; /* радиус скругления */
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            max-width: 300px;
            margin: 10px auto;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }
        .section {
            border-bottom: 1px solid #dee2e6;
            padding: 16px; /* эквивалент переменных */
        }
        .image-container img {width: 100%;
            height: auto;
            display: block;
        }
        .header-group {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }
        .title {
            font-size: 1.25em;
            font-weight: 500;
            margin: 0;
        }
        .country-badge {
            background-color: #f0f0f0;
            font-size: 0.75em;
            padding: 2px 8px;
            border-radius: 4px;
            font-weight: 600;
        }
        .description {
            font-size: 0.875em;
            margin-top: 8px;
            color: #555;
        }
        .label {
            text-transform: uppercase;
            font-size: 0.625em; /* xs font-size */
            font-weight: 700;
            color: #6c757d; /* dimmed */
            margin-bottom: 8px;
        }
        .badges-group {
            display: flex;
            flex-wrap: wrap;
            gap: 7px;
        }
        .badge {
            display: inline-flex;
            align-items: center;
            background-color: #f9f9f9;
            border: 1px solid #dee2e6;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 0.75em;
        }
        .badge svg {
            width: 16px;
            height: 16px;
            margin-right: 4px;
        }
        .buttons-group {
            display: flex;
            align-items: center;
            margin-top: 8px;
        }
        .btn {
            flex: 1;
            padding: 8px 16px;
            border: none;
            border-radius: 4px;
            background-color: #007bff;
            color: white;
            cursor: pointer;
            font-size: 1em;
            transition: background-color 0.2s;
        }
        .btn:hover {
            background-color: #0069d9;
        }
        .like {
            width: 20px;
            height: 20px;
            fill: #e03131; /* красный цвет (вариват светленький) */
            cursor: pointer;
        }
        /* Обертка для блока с иконкой */
        .action-icon {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 36px;
            height: 36px;
            background-color: transparent;
            border: none;
            cursor: pointer;
            border-radius: 4px;
            transition: background-color 0.2s;
        }
        .action-icon:hover {
            background-color: #e0e0e0;
        }        
/* Обертка для центрирования всего блока */
.card-wrapper {
  display: flex;
  justify-content: center;       /* Центрируем по горизонтали */
  padding: 40px 0;                 /* Можно подстроить по высоте */
}
/* Контейнер для карточек - чтобы в ряду было максимум 3 */
.card-container {
  display: flex;
  justify-content: space-between; /* Распределяет карточки по ширине */
  flex-wrap: wrap;                 /* Перенос по строкам */
  gap: 10px;                       /* Расстояние между карточками */
  max-width: 1000px;                /* Максимальная ширина, чтобы влезли 3 карточки */
}
/* Основной стиль контейнера для центрирования */
.wrapper {
  display: flex;
  justify-content: center;
  max-width: 900px; /* Максимальная ширина, чтобы было удобно */
  width: 90%;
  padding: 32px 16px; /* внутренние отступы */
  box-sizing: border-box;
}
.title {
  margin-bottom: 16px;
  padding-left: 16px;
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  text-align: left;
  color: #000; /* Или используйте переменные */
}
/* Разметка контента: изображение слева, FAQ справа */
.faq-grid {
  display: flex;
  flex-wrap: nowrap; /* чтобы блоки шли в одну линию */
  gap: 50px; /* Между колонками */
  align-items: flex-start; /* по верхней линии */
}
/* Фото слева */
.faq-image {
  flex: 0 0 50%; /* фиксированная ширина половина контейнера */
  max-width: 50%;
}
.faq-image img {
  width: 100%;
  height: auto;
}
/* Вопросы справа */
.faq-form {
  flex: 1 1 50%; /* занимает остальное пространство */
  max-width: 50%;
}
/* Адаптивность для маленьких экранов */
@media(max-width: 768px) {
  .faq-grid {
    flex-direction: column; /* вертикально при малых ширинах */
  }
  .faq-image, .faq-form {
    max-width: 100%;
    flex: 1 1 100%;
  }
}
/* Стиль аккордеона */
.accordion {
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
  background-color: #fff;
}
.accordion-item {
  border-bottom: 1px solid #ccc;
}
.accordion-header {
  padding: 12px 16px;
  cursor: pointer;
  background-color: #f0f0f0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accordion-body {
  padding: 12px 16px;
  display: none; /* по умолчанию скрыто */
  background-color: #fff;
}
.accordion-item.active .accordion-body {
  display: block;
}
/* Сам блок */
/* Контейнер, отвечающий за центрирование */
.container {
    flex: 1; /* растягивается по высоте, заполняя всё пространство между шапкой и подвалом */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}
.info-block {
    background-color: #ffffff;
    padding: 20px;
    max-width: 1000px;
    width: 80%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 3 колонки */
    gap: 15px; /* расстояние между картинками */
}
.card {
    background-color: rgba(255,255,255,0.8); /* полупрозрачный фон */
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}
   .card img {
        width: 100%;
        height: auto;
        border-radius: 4px;
    }
.caption {
    margin-top: 8px;
    font-size: 1em;
    color: #333;
}
/* Адаптивность на меньших экранах */
@media(max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media(max-width: 480px) {
    .gallery {
        grid-template-columns: 1fr;
    }
}
.faq {
    max-width: 1200px;
    margin: 0 auto;
}
.question {
    background-color: #ffffff;
    padding: 15px;
    cursor: pointer;
    margin-bottom: 5px;
    border-radius: 4px;
    transition: background-color 0.3s;
}
    .question:hover {
        background-color: #D3D3D3;
    }
.answer {
    display: none;
    padding: 10px 15px;
    background-color: #f8f9fa;
    border-left: 4px solid #007BFF;
    border-radius: 4px;
    margin-bottom: 10px;
}
    /* Для открытия ответа */
    .answer.show {
        display: block;
    }
a {
    color: #007BFF;
    text-decoration: none;
}
    a:hover,
    a:focus,
    a:active {
        color: #007BFF;
        text-decoration: underline;
    }
  /* Стиль кнопки поиска */
.open-search {
  background: #fff; /* светлый фон */
  border: 1px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
  padding: 1px;
  transition: background 0.3s;
}
.open-search:hover {
  background: #e0e0e0;
}
/* Картинка внутри кнопки - чуть уменьшить отступ для эстетики */
.open-search img {
  display: block;
}
/* Оверлей для затемнения фона при открытии поиска */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* легкое затемнение */
  display: none; /* изначально скрыт */
  z-index: 998;
}
/* Контейнер поиска */
#search-container {
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  background-color: #fff; /* светлый фон */
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: none; /* по умолчанию скрыт */
  z-index: 999; /* поверх overlay */
}
/* Кнопка закрытия */
#close-search {
  background: transparent;
  border: none;
  font-size: 24px;
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  color: #666;
  transition: color 0.2s;
}
#close-search:hover {
  color: #000;
}
/* Поле поиска */
#search {
  width: 90%;
  padding: 10px 20px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s;
}
#search:focus {
  border-color: #999;
}
/* Результаты поиска (чисто для демонстрации) */
#results {
  margin-top: 15px;
  max-height: 200px;
  overflow-y: auto;
}
.block {
  margin-bottom: 40px;
}
.block h2 {
  margin-bottom: 10px;
}
/* Галерея картинок */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
/* Новые классы для контейнеров изображений */
.pic-container {
  flex: 0 0 calc(25% - 10px); /* 25% минус/плюс отступ, чтобы получилось 4 в строке */
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  padding: 5px;
  border-radius: 4px;
  transition: transform 0.2s;
  box-sizing: border-box; /* учитывать паддинги и границы в расчетах ширины */
}
/* Ховер для новых классов */
.pic-container:hover {
  transform: scale(1.02);
}
.pic-container img {
  width: 100%;
  width: 200px;
  height: auto;
  display: block;
  border-radius: 4px;
}
.caption {
  margin-top: 5px;
  font-size: 14px;
  text-align: center;
}

@media (max-width: 600px) {
  .gallery {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }

  .pic-container {
    flex: 1 1 calc(50% - 10px); /* или 33% для 3 элементов */
    max-width: calc(50% - 10px);
  }

  .pic-container img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 400px) {
  .pic-container {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
/* Модальное окно */
#lightboxOverlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
#lightboxImage {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.8);
  cursor: zoom-out;




