/* Footer Styles */
.site-footer {
  background-color: var(--dark-surface);
  color: var(--dark-text-secondary);
  padding-top: 60px;
}

/* Footer Widgets Area */
.footer-widgets {
  padding-bottom: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
  gap: 15px;
}

/* Footer Column Styles */
.footer-column {
  margin-bottom: 20px;
}

/* Footer Branding */
.footer-branding {
  display: flex;
  flex-direction: column;
}

.footer-logo img {
    max-height: 60px;
    width: 75%;
    object-fit: contain;
}

.footer-site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-text-primary);
  margin-bottom: 15px;
}

.footer-description {
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Social Media Links */
.social-links {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 10px;
}

.social-links li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--dark-text-primary);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links li a:hover {
  background-color: var(--dark-primary);
  transform: translateY(-3px);
  text-decoration: none;
}

/* Footer Titles */
.footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-text-primary);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  display: block; /* Забезпечує блоковий елемент, як у h3 */
  margin-top: 0; /* Скидає верхній відступ */
  line-height: 1.2; /* Типовий line-height для заголовків */
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--dark-primary);
}

/* Footer Menus */
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 12px;
}

.footer-menu li a {
  color: var(--dark-text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
}

.footer-menu li a:hover {
  color: var(--dark-text-primary);
  padding-left: 5px;
}

/* Contact Info */
.contact-info {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.contact-info i {
  margin-right: 10px;
  color: var(--dark-primary);
  min-width: 16px;
  margin-top: 4px;
}

.contact-info a {
  color: var(--dark-text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--dark-text-primary);
}

/* Footer Button */
.footer-btn {
  margin-top: 20px;
  display: inline-block;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}

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

.copyright {
  font-size: 0.9rem;
}

/* Footer Bottom Menu */
.footer-bottom-links {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-bottom-links li {
  margin-left: 20px;
}

.footer-bottom-links li a {
  color: var(--dark-text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-bottom-links li a:hover {
  color: var(--dark-text-primary);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-branding {
    grid-column: span 3;
    margin-bottom: 30px;
  }

  .footer-contact {
    grid-column: span 3;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .footer-branding {
    grid-column: span 2;
  }

  .footer-contact {
    grid-column: span 2;
  }

  .footer-bottom-content {
    flex-direction: column;
    align-items: center;
  }

  .copyright {
    margin-bottom: 15px;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .footer-bottom-links li {
    margin: 0 10px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-branding,
  .footer-contact {
    grid-column: span 1;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
  }

  .footer-bottom-links li {
    margin: 5px 10px;
  }
}
