
/*footer*/
.footer {
  padding: 0.5rem 0;
}

.footer a:not(.btn) {
  color: #a7a7a7;
}

.footer .title{
  color: #ededed;
}

.footer_top.dark{
  background-color: #293340 !important;
}

.footer_top.dark .site-logo img{
  max-height: 40px;
}

.footer_top.dark .quick-link li a:hover{
  color: #ff6f61;
}

.footer_bottom.dark{
  background-color: #293340 !important;
}
.footer_bottom.dark .container{
  padding: 20px;
  border-top: 2px solid #a7a7a7;
}

.footer-lang-selector {
  margin-top: 4px;
  margin-left: 20px;
  padding: 3px;
  display: inline-block;
  border: 1px solid #6D7784;
  outline: none;
  background-color: transparent;
  color: #a7a7a7;
  font-size: 14px;
  line-height: 24px;
}

@media (max-width: 576px){
  section.banner .content{
    text-align: center;
  }
  section.banner .content h1{
    font-size: 30px;
  }

  .header-top .navbar-nav.list-inline{
    display: none;
  }

  nav.header-top .link{
    margin-left: auto;
  }

  footer {
    border-top: none;
  }

  footer .col-auto {
    -ms-flex: 0 0 auto;
    width: 100%; 
    text-align: center;
  }

}



/* ============================================
   FOOTER STYLING v2 (21.12.2025)
   ============================================ */

/* 1. Градиентный фон - перебиваем solid color */
.footer.footer_top.dark {
    background: linear-gradient(135deg, #1a1f25 0%, #2d3748 50%, #1a1f25 100%) !important;
    background-color: transparent !important;
    border-top: 3px solid #ff6b00 !important;
    position: relative;
}

/* 2. Разделители между колонками (desktop) */
@media (min-width: 992px) {
    .footer .col-lg-3,
    .footer .col-lg-4,
    .footer .col-lg-5 {
        position: relative;
    }
    
    .footer .col-lg-3::after,
    .footer .col-lg-5::after {
        content: "";
        position: absolute;
        right: 0;
        top: 10%;
        height: 80%;
        width: 1px;
        background: linear-gradient(180deg, transparent 0%, rgba(255, 107, 0, 0.3) 50%, transparent 100%);
    }
    
    .footer .col-lg-4:last-child::after {
        display: none;
    }
}

/* 3. Hover эффекты для ссылок */
.footer.footer_top.dark a:not(.btn) {
    transition: all 0.3s ease !important;
    position: relative;
}

.footer.footer_top.dark a:not(.btn):hover {
    color: #ff6b00 !important;
    transform: translateX(3px);
    text-shadow: 0 0 8px rgba(255, 107, 0, 0.3);
}

.footer.footer_top.dark .quick-link li a:hover {
    color: #ff6b00 !important;
    transform: translateX(5px);
}

/* 4. Подсветка счётчиков - зелёное свечение */
.footer [id="ordersCounter"],
.footer [id="clientsCounter"] {
    text-shadow: 0 0 15px rgba(74, 222, 128, 0.5), 0 0 30px rgba(74, 222, 128, 0.3) !important;
    animation: counterGlow 2s ease-in-out infinite alternate;
}

@keyframes counterGlow {
    from {
        text-shadow: 0 0 10px rgba(74, 222, 128, 0.4), 0 0 20px rgba(74, 222, 128, 0.2);
    }
    to {
        text-shadow: 0 0 20px rgba(74, 222, 128, 0.6), 0 0 40px rgba(74, 222, 128, 0.4);
    }
}

/* 5. Подчёркивание заголовков - оранжевый градиент */
.footer.footer_top.dark .title,
.footer.footer_top.dark h4 {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.footer.footer_top.dark .title::after,
.footer.footer_top.dark h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b00, #ffa500);
    border-radius: 2px;
}

/* 6. Mobile адаптация */
@media (max-width: 991px) {
    .footer.footer_top.dark .row > div {
        border-bottom: 1px solid rgba(255, 107, 0, 0.15);
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    
    .footer.footer_top.dark .row > div:last-child {
        border-bottom: none;
    }
    
    .footer.footer_top.dark .title::after,
    .footer.footer_top.dark h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* 7. Copyright стиль */
.footer_bottom.dark {
    background: linear-gradient(135deg, #151a1e 0%, #1a2028 100%) !important;
    border-top: 1px solid rgba(255, 107, 0, 0.2) !important;
}

/* 8. Логотип в футере - стиль */
.footer .site-logo span,
.footer a[href*="smm-hub"] span {
    transition: all 0.3s ease;
}

.footer a[href*="smm-hub"]:hover span {
    text-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
}
