/* Footer Section */
.footer {
  background: var(--bgDark);
  padding: 60px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__logo {
  font-size: 24px;
  font-weight: 700;
}

.footer__copy {
  color: var(--textMedium);
  font-size: 14px;
}

.footer__nav {
  display: flex;
  gap: 30px;
}

.footer__link {
  font-size: 16px;
  color: var(--textDark);
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: var(--colorAccent);
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--colorAccent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(53, 49, 46, 0.18);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  background: var(--textDark);
}

@media screen and (max-width: 768px) {
  .footer {
    padding: 40px 0;
  }

  .footer__content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .footer__nav {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}
