:root {
    --font-tilda: "TildaSans", sans-serif; 
    --text-color: #FF5039;
  }

body {
  margin: 0;
  font-family: var(--font-tilda);
  line-height: 1.6;
  color: #333;
}
@font-face {
    font-family: 'TildaSans';
    src: url('/bitrix/fonts/TildaSans-Regular.woff2') format('woff2'),
         url('/bitrix/fonts/TildaSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* Шапка */
.header {
  background: #ffffff;
  color: black;
  padding: 10px 0;
  font-family: var(--font-tilda);
}
.nav ul {
    display: flex; 
    justify-content: space-between; /* Равномерное распределение пунктов */
    list-style: none; /* Убирает маркеры списка */
    padding: 0; /* Убирает отступы */
    margin: 0; /* Убирает поля */
    text-align: center;
    align-items: stretch; /* Растягивает элементы по высоте */
    flex-wrap: nowrap; /* По умолчанию элементы не переносятся */
}
.nav ul li {
    display: flex;
    align-items: center; /* Выравнивание по вертикали */
    padding: 5px; 
}
.nav ul li a {
  color: black;
  text-decoration: none;
  font-weight: bold;
  line-height: 1;
}
@media (max-width: 768px) {
    .nav ul {
        flex-wrap: wrap; /* Разрешает перенос элементов на новую строку */
    }

    .nav ul li {
        box-sizing: border-box; /* Учитывает отступы и границы в расчете ширины */
    }
}

.contact-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4cbfeb;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
}
.contact-button:hover {
    background-color: #4cbfeb;
}
/* Общий стиль для хлебных крошек */
.breadcrumb {
    font-family: var(--font-tilda);
    font-size: 14px;
    color: #555;
    margin: 20px 0;
    padding: 0;
}
.breadcrumb ul {
    list-style: none; /* Убираем маркеры списка */
    padding: 0;
    margin: 0;
    display: flex; /* Распределяем элементы в ряд */
}
.breadcrumb ul li {
    margin-right: 8px; /* Отступ между элементами */
    position: relative; /* Для стрелочек */
}
.breadcrumb ul li::after {
    content: "/"; /* Разделитель между элементами */
    margin-left: 8px;
    color: #ccc;
}
.breadcrumb ul li:last-child::after {
    content: ""; /* Убираем разделитель у последнего элемента */
}
.breadcrumb ul li a {
    text-decoration: none; /* Убираем подчеркивание */
    color: #007bff; /* Синий цвет для ссылок */
    transition: color 0.3s; /* Анимация смены цвета при наведении */
}
.breadcrumb ul li a:hover {
    color: #0056b3; /* Цвет при наведении */
}
.breadcrumb ul li.active {
    color: #333; /* Цвет для текущей страницы */
    font-weight: bold; /* Выделяем текст */
}
.breadcrumb ul li.active a {
    pointer-events: none; /* Убираем кликабельность для текущей страницы */
}
/* Герой */
.hero {
   position: relative; /* Для позиционирования текста */
    height: 150px; /* Высота секции */
    background-image: url('/upload/medialibrary/d3f/ijzid2c6zwi8t17s2ietdjpz2osno241.jpg'); 
    background-size: cover; /* Масштабирование картинки */
    background-position: center; /* Центровка картинки */
    display: flex; /* Для центрирования текста */
    justify-content: center; /* Горизонтальное центрирование */
    align-items: center; /* Вертикальное центрирование */
    color: white; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Тень для читаемости текста */
}
.hero h1 {
  font-size: 2.5em;
}
.hero .button {
  background: var(—-text-color);
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 20px;
  display: inline-block;
}
/* Рабочая зона */
.work-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.work-area h1,
.work-area h2,
.work-area p {
    margin-bottom: 20px;
    color: #333;
    font-family: var(--font-tilda);
    line-height: 1.6;
}
.work-area a {
    color: #007bff;
    text-decoration: none;
}
.work-area a:hover {
    text-decoration: underline;
}
/* Подвал */
footer {
    background-color: #f4f4f4;
    padding: 20px 0;
    font-family: var(--font-tilda);
}
.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.footer-section {
    flex: 1;
    min-width: 200px;
    margin: 10px;
}
.footer-section h3 {
    font-size: 1.2em;
    margin-bottom: 10px;  
}
.footer-section ul {
    list-style: none;
    padding: 0;
}
.footer-section ul li {
    margin: 5px 0;
}
.footer-section ul li a {
    text-decoration: none;
    color: #333;
    font-size: 1em;
}
.footer-section ul li a:hover {
    text-decoration: underline;
}
.footer-bottom {
    text-align: center;
    font-size: 0.8em;
    color: #777;
}
