/* Десктопные стили для футера (ширина экрана >= 768px) */

/* Основные стили футера для десктопных устройств */
.site-footer {
  display: block;
  padding: 0;
}

/* Верхняя часть футера */
.footer-top {
  padding: 60px 0 40px;
}

/* Контейнер футера */
.footer-top .container {
  max-width: 1200px;
}

/* Стили для колонок футера */
.footer-top .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.footer-top .col-md-4 {
  padding: 0 15px;
}

/* Стили для блока информации о компании */
.footer-company {
  padding-right: 20px;
}

.footer-company p {
  line-height: 1.7;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
}

/* Стили для логотипа в футере */
.footer-logo {
  margin-top: 25px;
}

.footer-logo img {
  max-width: 150px;
  transition: opacity 0.2s ease;
}

.footer-logo img:hover {
  opacity: 0.9;
}

/* Заголовки в футере */
.footer-heading {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 25px;
}

.footer-heading:after {
  width: 40px;
}

/* Контактная информация */
.footer-contact-list li {
  margin-bottom: 15px;
  font-size: 15px;
  line-height: 1.6;
}

.footer-contact-list i {
  font-size: 16px;
  margin-top: 3px;
}

.footer-contact-list a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-list a:hover {
  color: #4F8DF9;
  text-decoration: none;
}

/* Навигационные ссылки */
.footer-nav-list li {
  margin-bottom: 12px;
}

.footer-nav-list a {
  font-size: 15px;
  position: relative;
  padding-left: 0;
  transition: padding-left 0.2s ease, color 0.2s ease;
}

.footer-nav-list a:hover {
  padding-left: 5px;
}

/* Нижняя часть футера */
.footer-bottom {
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.copyright {
  font-size: 14px;
}

/* Социальные ссылки */
.social-links {
  display: flex;
  justify-content: flex-end;
}

.social-link {
  width: 34px;
  height: 34px;
  margin-left: 12px;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-3px);
}

/* Эффект ховера для всех интерактивных элементов */
.footer-contact-list a,
.footer-nav-list a,
.social-link {
  position: relative;
  overflow: hidden;
}

.footer-contact-list a:after,
.footer-nav-list a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #4F8DF9;
  transition: width 0.3s ease;
}

.footer-contact-list a:hover:after,
.footer-nav-list a:hover:after {
  width: 100%;
}

/* Скрываем мобильный футер на десктопах */
.mobile-footer {
  display: none;
}

/* Адаптивные настройки для различных десктопных разрешений */
@media (min-width: 768px) and (max-width: 991px) {
  .footer-top {
    padding: 50px 0 30px;
  }
  
  .footer-company p {
    font-size: 14px;
  }
  
  .footer-contact-list li,
  .footer-nav-list a {
    font-size: 14px;
  }
}

@media (min-width: 992px) {
  .footer-top .container {
    display: flex;
    flex-wrap: wrap;
  }
  
  .footer-top .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

@media (min-width: 768px) {
  .site-footer {
    padding: 25px 0 0 !important;
  }
  
  .footer-top {
    padding: 10px 0 15px !important;
  }
  
  .footer-heading {
    font-size: 16px !important;
    margin-bottom: 10px !important;
  }
  
  .footer-heading:after {
    margin-top: 6px !important;
  }
  
  .footer-company {
    padding-right: 20px;
  }
  
  .footer-company p {
    margin-bottom: 10px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
  }
  
  .footer-logo img {
    max-width: 110px !important;
  }
  
  .footer-contact-list li {
    margin-bottom: 6px !important;
    font-size: 13px !important;
  }
  
  .footer-nav-list {
    column-count: 2;
    column-gap: 30px;
  }
  
  .footer-nav-list li {
    margin-bottom: 5px !important;
  }
  
  .footer-nav-list a {
    font-size: 13px !important;
  }
  
  .footer-bottom {
    padding: 10px 0 !important;
    margin-top: 15px !important;
  }
  
  .copyright {
    font-size: 14px;
  }
  
  .social-link {
    width: 30px !important;
    height: 30px !important;
    margin-left: 5px !important;
  }
  
  /* Анимации ссылок для десктопной версии */
  .footer-nav-list a:hover,
  .footer-contact-list a:hover {
    transform: translateX(5px);
    transition: transform 0.2s ease;
  }
  
  /* Анимации для социальных иконок */
  .social-link:hover {
    transform: translateY(-3px);
    transition: transform 0.3s ease;
  }
  
  /* Дополнительное уменьшение промежутка между footer-top и footer-bottom для десктопной версии */
  .footer-bottom {
    margin-top: 0 !important; /* Убираем отступ сверху */
    padding-top: 5px !important; /* Минимальный отступ для разделительной линии */
    border-top-width: 1px !important;
  }
}
