.footer {
  background-image: url('../images/background/background-table-4.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
}

.footer-overlay {
  opacity: 0.5;
  height: 100%;
  width: 100%;
  background-color: rgb(0, 0, 0);
  position: absolute;
  z-index: 1;
}

.footer-bottom {
  padding: 2rem 0 2.5rem 0;
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
  gap: 1rem;
  z-index: 3;
  background-color: #333333;
  width: 100%;
}

.footer-bottom-copyright {
  font-size: 0.85rem;
  color: #fff;
  opacity: 0.55;
  text-align: center;
}

.footer-bottom-links {
  display: flex;
  justify-items: center;
  align-items: center;
  gap: 2rem;
}

.footer-bottom-links a {
  color: #fffaf7;
  font-size: 0.85rem;
  opacity: 0.8;
}

.footer-bottom-links a:hover {
  color: #fffaf7;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-bottom-links {
    flex-direction: column;
  }
}

.footer-social {
  z-index: 3;
  padding: 3rem 0;
  position: relative;
}

.footer-social-title {
  color: #fff;
  margin-bottom: 1rem;
}

.social-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
  justify-items: center;
}

.social-item {
  display: flex;
  justify-content: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  min-width: 150px;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.social-link,
.social-link:link,
.social-link:visited,
.social-link:hover,
.social-link:active,
.social-link:focus {
  color: white !important;
  text-decoration: none !important;
}

.social-content {
  color: inherit;
}

.social-content svg {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .social-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .social-link {
    padding: 0.6rem 1rem;
    min-width: 140px;
  }

  .social-content {
    gap: 0.5rem;
    font-size: 0.9rem;
  }

  .social-content svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .social-wrapper {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .social-link {
    padding: 0.75rem 1rem;
    min-width: auto;
  }

  .footer-social h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
}

.item-img {
  height: 32px;
  width: 32px;
}
