/* ШАПКА */
.split-text-container {
  display: flex;
  font-size: 3rem;
  text-transform: uppercase;
  color: #000;
  overflow: hidden;
  justify-content: center;
  letter-spacing: 3px;
}

@media (max-width: 768px) {
  .split-text-container {
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 0.5px;
  }
}

.text-part {
  display: inline-block;
  position: relative;
  transform: translateX(0);
  animation-duration: 1s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

.text-part.left {
  transform: translateX(-200%);
  animation-name: slide-in-left;
}

.text-part.right {
  transform: translateX(200%);
  animation-name: slide-in-right;
}

@keyframes slide-in-left {
  0% {
    transform: translateX(-200%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes slide-in-right {
  0% {
    transform: translateX(200%);
  }
  100% {
    transform: translateX(0);
  }
}

.navbar {
  display: flex; /* Использование Flexbox для горизонтального расположения */
  background-color: #0d0d0d; /* Темный фон для самой панели навигации */
  /*! padding: 0px; */
  justify-content: center; /* Центрирование пунктов меню */
  padding-top: 8px;
  padding-bottom: 8px;
  background-color: #024170;
}

.navbar a {
  float: left;
  /*! font-size: 16px; */
  color: white;
  text-align: center;
  padding: 5px 0px;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 5px;
}

.nav-item {
  border: 1px solid #fff;
  /*! color: #fff; */ /* Белый цвет текста */
  /*! text-decoration: none; */ /* Убрать подчеркивание ссылок */
  /*! padding: 10px 20px; */ /* Отступы внутри кнопок */
  margin: 10px 6px; /* Небольшой отступ между кнопками */
  transition: background-color 0.3s, color 0.3s;
  /*! display: flex; */
  /*! align-items: center; */
  border-radius: 10px;
  /*! height: 26px; */
  width: 251px;
  /*! display: block; */
  /*! flex-direction: column; */
  justify-content: center;
}

.navbar a:hover,
.subnav:hover .subnavbtn {
  background-color: rgba(229, 84, 27, 0.96);
}

/* Базовый стиль для иконки выпадающего списка (можно заменить на SVG или шрифт иконок) */
.dropdown-toggle::after {
  content: "▼"; /* Пример символа для стрелки */
  margin-left: 5px;
  font-size: 0.6em;
}

.subnav {
  float: left;
  overflow: hidden;
}

.subnav .subnavbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .navbar a {
    /* float: left; */
    font-size: 20px;
    /* color: white; */
    /* text-align: center; */
    padding: 0px 50px;
    /* text-decoration: none; */
  }
}

.name-site {
  font-size: 45px;
  width: 100%;
  text-align: center;
  background: #2c3e50;
  color: white;
  padding-right: 20px;
  padding-left: 20px;
  display: flex;
  justify-content: center;
}

.site-header {
  width: 100%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
}

/* --- Верхняя черная полоса --- */
.header-top {
  background-color: #000;
  color: #fff;
  padding: 13px 35%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
}

/* .service-name {
  /*! font-size: 18px; */
/*! font-weight: bold; */
/* } */

/* --- Нижняя белая полоса (Навигация) --- */
.menu {
  /*! background-color: #fff; */
  color: #333;
  padding: 10px 5%;
  display: flex;
  /*! justify-content: space-evenly; */
  /*! align-items: center; */
  /*! position: fixed; */
}

/* .menu .bottom-left,
.bottom-right,
.top-left,
.top-right {
  display: flex;
  align-items: center;
} */

.logo {
  font-size: 20px;
  font-weight: bold;
  margin-right: 30px;
  color: #333; /* Цвет логотипа на белом фоне */
}

.menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.menu ul li a {
  text-decoration: none;
  color: #ffffff;
  margin-right: 20px;
  font-size: 14px;
  transition: color 0.3s;
}

.menu ul li a:hover {
  color: #bd2d2d;
}

/* --- Контакты и кнопки (используются в обеих полосах) --- */
.contact-info {
  display: flex;
  flex-direction: column;
  /*! text-align: right; */
  margin-right: 15px;
  font-size: 13px;
}

.date {
  color: red;
}

.contact-label {
  color: #aaa; /* Светлый серый текст */
}

.phone-number {
  font-weight: bold;
  color: inherit; /* Наследует цвет родителя (#fff для топа, #333 для низа) */
}

.cta-button {
  background-color: #5b42f3; /* Фиолетовый цвет кнопки */
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap; /* Предотвращает перенос текста кнопки */
}

.cta-button:hover {
  background-color: #6c54e6;
}

/* Кнопка выпадающего списка */
.dropbtn {
  background-color: #4caf50;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
}

/* Контейнер <div> - необходим для размещения выпадающего содержимого */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Выпадающее содержимое (скрыто по умолчанию) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Ссылки внутри выпадающего списка */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Изменение цвета выпадающих ссылок при наведении курсора */
.dropdown-content a:hover {
  background-color: #ddd;
}

/* Показать выпадающее меню при наведении курсора */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Изменение цвета фона кнопки раскрывающегося списка при отображении содержимого раскрывающегося списка */
.dropdown:hover .dropbtn {
  background-color: #3e8e41;
}

.services-list li {
  margin-bottom: 10px;
}
.price {
  font-weight: bold;
  color: green;
}

.services-container {
  font-family: Arial, sans-serif;
  max-width: 91%;
  margin: 20px auto;
  padding: 20px;
  background-color: #ffffff;
  color: #333;
  /*! border-radius: 10px; */
}

/* Заголовок основного блока */
.main-title {
  font-size: 26px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
  color: #f55f08;
}

/* Подзаголовок (описание) */
.subtitle {
  font-size: 16px;
  text-align: center;
  margin-bottom: 30px;
  color: #666;
}

/* Стили для самого списка */
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Стили для отдельного элемента списка (услуга + цена) */
.service-item {
  display: flex; /* Используем Flexbox */
  justify-content: space-between; /* Распределяем пространство между элементами */
  align-items: center;
  padding: 11px 10px;
  /*! border-bottom: 2px solid #726ef2a1; */ /* Разделительная линия */
  font-weight: bold;
  font-family: sans-serif;
  border-radius: 15px;
  /*! border: darkolivegreen; */
  /*! background: #f2f2f2; */
  box-shadow: 0px 5px 14px rgba(0, 0, 0, 0.1);
}

/* Стиль для последнего элемента, чтобы убрать нижнюю границу, если нужно */
.service-item:last-child {
  border-bottom: none;
}

/* Стили для текста услуги */
.service-name {
  font-size: 17px;
  margin-right: 26px; /* Небольшой отступ перед ценой */
  color: #333;
}

/* Стили для цены */
.service-price {
  font-size: 19px;
  font-weight: bold;
  color: #0c43e8; /* Цвет как на изображении */
  white-space: nowrap; /* Чтобы цена не переносилась */
}

body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f6f6f6;
  line-height: 1.6;
  display: block;
  /*! justify-content: center; */
  /*! align-items: center; */
  /*! min-height: 100vh; */
}

.container-contacts {
  max-width: 1000px;
  margin: 0 auto;
  /*! padding: 18px 20px; */
  /*! justify-content: center; */
  text-align: center;
  padding-top: 22px;
  font-weight: bold;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Шапка сайта (пример) */
/* header {
  background-color: #000;
  color: #fff;
  padding: 10px 0;
  text-align: center;
} */

/* Основное содержимое страницы */
/* main {
  padding: 40px 0;
} */

.contact-layout {
  display: flex;
  gap: 15px;
  /*! padding: 29px; */
}

.contact-info-block {
  flex: 1; /* Занимает 1 часть пространства */
  background-color: #ffffff;
  padding: 50px;
  border-radius: 10px;
  /*! box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
  height: fit-content;
}

.map-container {
  /*! flex: 1.7; */ /* Занимает 2 части пространства */
  /*! background-color: #2c3e50; */
  border-radius: 10px;
  overflow: hidden;
  /* Placeholder для карты (например, iframe от Яндекс.Карт или Google Maps) */
  /*! min-height: 400px; */
  display: flex;
  justify-content: center;
  /*! align-items: center; */
  margin-bottom: 20px;
  /*! flex-direction: column; */
  /*! display: flex; */
  /*! border-bottom-color: #b5864a; */
}

/* Стили для элементов внутри блока контактов (как на изображении) */
.contact-title {
  font-size: 28px;
  color: #000;
  margin-top: 0;
  margin-bottom: 25px;
  font-weight: bold;
}

.contact-details {
  margin-bottom: 32px;
  font-weight: bold;
}

.phone-number {
  display: block;
  font-size: 18px;
  color: #333;
  margin-bottom: 10px;
  font-weight: bold;
}

.email-address {
  display: block;
  font-size: 16px;
  color: #6a0dad; /* Фиолетовый цвет ссылки */
  text-decoration: none;
}

.email-address:hover {
  text-decoration: underline;
}

.address-info p {
  font-size: 16px;
  color: #333;
  line-height: 1.4;
  margin: 0 0 30px 0;
  font-weight: bold;
}

.whatsapp-button {
  display: block;
  width: 100%;
  padding: 12px 0;
  background-color: #5cb85c; /* Зеленый цвет для WhatsApp */
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.whatsapp-button:hover {
  background-color: #4cae4c;
}

/* Подвал сайта (пример) */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  /* padding: 20px 0; */
  /* margin-top: 20px; */
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .contact-layout {
    flex-direction: column;
  }
  .map-container {
    min-height: 300px;
  }
}

/* Общие стили для футера */
.site-footer {
  background-color: #024170; /* Темно-синий/черный фон */
  color: #fff; /* Светлый текст */
  padding: 28px;
  font-family: Arial, sans-serif;
  border-top: 5px solid #435dac; /* Небольшая полоса сверху */
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap; /* Позволяет секциям переноситься на мобильных */
  justify-content: space-between;
  gap: 20px;
}

.footer-section {
  flex: 1;
  min-width: 250px; /* Минимальная ширина секции до переноса */
  margin-bottom: 20px;
}

.footer-section h3 {
  color: #ecf0f1;
  margin-bottom: 15px;
  border-bottom: 1px solid #fff;
  padding-bottom: 10px;
}

.footer-section p {
  font-size: 14px;
  line-height: 1.5;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li a {
  color: #ecf0f1;
  font-size: 14px;
  line-height: 1.6;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #3498db; /* Яркий цвет при наведении */
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #d2d2d2;
  padding-top: 20px;
  margin-top: 20px;
  font-size: 12px;
  color: #fff;
}

/* Адаптивность: на маленьких экранах выравниваем текст по центру */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-section h3 {
    border-bottom: none;
  }
  .site-footer {
    display: none;
  }
}

.container-main {
  /*! padding: 217px; */
  /*! padding-top: 5px; */
  display: flex;
  justify-content: center;
  /*! text-align: center; */
  flex-direction: column;
  /*! display: initial; */
  width: 97%;
  /*! height: 237px; */
  padding-left: 300px;
}

.layout-card {
  background-color: #fff;
  display: flex;
  border-radius: 10px;
  box-shadow: 0 12px 11px rgba(0, 0, 0, 0.1);
  overflow: hidden; /* Чтобы изображение внутри не выходило за границы скругленных углов */
  /*! padding: 19px; */
  margin: 7px;
  width: 70%;
  flex-direction: unset;
  justify-content: center;
}

.image-section {
  flex: 1;
  min-width: 300px; /* Примерная ширина изображения */
}

.image-section img {
  width: 550px;
  /* height: 300px; */
  object-fit: cover; /* Чтобы изображение покрывало всю область без искажений */
  display: block;
}

.content-section {
  flex: 1;
  /*! padding: 40px; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding-right: 60px;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px; */
}

.content-section h1 {
  /*! display: ruby; */
  font-size: 30px;
  color: #2e43d4;
  /*! margin-top: 40px; */
  /*! margin-bottom: 31px; */
  /*! line-height: 0.2; */
  /*! font-weight: bold; */
}

.content-section h2 {
  font-size: 25px;
  color: #f55f08;
  /*! margin-top: 40px; */
  /*! margin-bottom: 31px; */
  line-height: 0.2;
  /*! font-weight: bold; */
}

.content-section h2 p {
  font-size: 18px;
  /* color: #f55f08; */
  /*! margin-top: 40px; */
  /*! margin-bottom: 31px; */
  line-height: 0.2;
  /*! font-weight: bold; */
}

.content-section p {
  font-size: 24px;
  color: #2c3e50;
  /*! margin-bottom: 30px; */
  line-height: 1;
  /*! text-align: initial; */
  font-weight: bold;
}

.button {
  background-color: #6a5acd; /* Фиолетовый цвет, как на изображении */
  color: #ffffff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
  font-weight: bold;
  text-align: center;
}

.bg {
  /* Используемое изображение */
  background-image: url("/img/1q23.webp");
  width: 100%;
  padding: 1px;
}

@media (max-width: 768px) {
  .container-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
  }
  .content-section h1 {
    font-size: 20px;
  }
  .content-section h2 {
    font-size: 24px;
  }
  .content-section {
    display: flex;
    flex-direction: column;
    padding: 0;
  }
  .content-section p {
    font-size: 18px;
    font-weight: normal;
  }
  .content-section h2 p {
    font-size: 17px;
    /*! margin-top: 40px; */
    margin-bottom: 31px;
    line-height: 1;
  }
  .image-section {
    display: none;
  }
  .layout-card {
    /* background-color: #ffffff; */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 6px;
    width: 100%;
  }
}

/* АНИМАЦИИ */

.wow {
  opacity: 0;
  transition: all 0.5s 0.5s ease-out;
}

.animated {
  opacity: 1;
}

.gallery-container {
  display: flex;
  flex-wrap: wrap; /* Позволяет карточкам переноситься на новую строку на маленьких экранах */
  gap: 20px; /* Расстояние между карточками */
  justify-content: center; /* Центрирует карточки */
  margin-top: 10px;
  margin-bottom: 10px;
}

.gallery-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden; /* Обрезает содержимое по скругленным углам */
  width: 250px; /* Фиксированная ширина карточки */
  transition: transform 0.2s;
}

.gallery-item:hover {
  transform: translateY(-5px); /* Легкий эффект при наведении */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.content-media {
  width: 100%;
  height: 180px; /* Фиксированная высота для единообразия */
  object-fit: cover; /* Изображения будут обрезаны, но заполнят весь блок */
  display: block;
}

.document-placeholder {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e9e9e9;
  font-size: 48px;
  color: #555;
  text-align: center;
}

.content-details {
  padding: 15px;
  text-align: center;
}

.content-details h3 {
  margin-top: 0;
  font-size: 1.1em;
}

.content-details p {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 15px;
}

.content-details a {
  display: inline-block;
  padding: 8px 15px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}
