/* Footer Styles */
.site-footer {
  background-color: #000000;
  color: white;
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
  border-top: 3px solid #333333;
}

.site-info {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.site-info p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.site-info a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-info a:hover {
  color: #cccccc;
}

/* Footer Widgets */
.footer-widgets {
  background: #111111;
  padding: 3rem 0;
  margin-top: 3rem;
}

.footer-widgets .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-widget {
  color: #cccccc;
}

.footer-widget h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #333333;
  padding-bottom: 0.5rem;
}

.footer-widget p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-widget ul li {
  margin-bottom: 0.5rem;
}

.footer-widget ul li a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-widget ul li a:hover {
  color: #ffffff;
}

.footer-widget .social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-widget .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #333333;
  color: #ffffff;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-widget .social-links a:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-2px);
}

/* Footer Bottom */
.footer-bottom {
  background: #000000;
  padding: 1rem 0;
  border-top: 1px solid #333333;
}

.footer-bottom .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: #cccccc;
}

.footer-bottom .footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-bottom .footer-links a {
  color: #cccccc;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.3s ease;
}

.footer-bottom .footer-links a:hover {
  color: #ffffff;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: #000000;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-widgets .container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-widget {
    text-align: center;
  }

  .footer-widget .social-links {
    justify-content: center;
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }

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

  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .footer-widgets {
    padding: 2rem 0;
  }

  .footer-widget h3 {
    font-size: 1.1rem;
  }

  .footer-widget .social-links {
    gap: 0.5rem;
  }

  .footer-widget .social-links a {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .footer-bottom .footer-links {
    gap: 1rem;
  }

  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
}
