/* ============================================
   FOOTER COMPONENT - Exact Talgildu.fo Match
   ============================================ */

.footer {
  background-color: #000000;
  color: #ffffff;
  padding: 0;
  font-family: "Source Sans Pro", Arial, sans-serif;
  font-size: 16px;
  position: relative;
  z-index: 10;
}

.footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 50px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
}

.footer__logo {
  display: flex;
  flex: 0 0 auto;
  margin-right: 120px;
  align-items: flex-start;
}

.footer__logo-image {
  height: 65px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  margin-top: 0;
}

.footer__info {
  flex: 0 0 auto;
  margin: 0;
  margin-right: 120px;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.7;
  vertical-align: top;
}

.footer__info strong {
  display: inline;
  font-weight: 700;
}

.footer__link {
  color: #1de9b6;
  text-decoration: none;
}

.footer__link:hover {
  text-decoration: underline;
}

.footer__social {
  flex: 0 0 auto;
  margin-left: auto;
  text-align: left;
  align-self: flex-start;
}

.footer__social-title {
  margin: 0 0 10px 0;
  font-weight: 400;
  font-size: 13px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__social-links {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: #000000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  transition: opacity 0.2s ease;
}

.footer__social-link:hover {
  opacity: 0.7;
  border-color: rgba(255, 255, 255, 0.4);
}

/* Respect user's motion preferences for accessibility */
@media (prefers-reduced-motion: reduce) {
  .footer__social-link {
    transition: none;
  }
}

/* Icon placeholders */
.icon-facebook::before {
  content: "f";
  font-weight: bold;
  font-size: 16px;
}

.icon-linkedin::before {
  content: "in";
  font-weight: bold;
  font-size: 14px;
}

.icon-youtube::before {
  content: "▶";
  font-size: 12px;
}

.icon-instagram {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.icon-instagram::before {
  content: "";
}

/* Footer Bottom - Copyright Bar */
.footer__bottom {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 18px;
  background-color: #000000;
}

.footer__copyright {
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(0.9375rem, 1.5vw, 1rem); /* Minimum 15px, prefer 16px */
  color: rgba(255, 255, 255, 0.9); /* Higher contrast for accessibility */
  line-height: 1.6; /* Improved line height */
  margin-bottom: 0;
  font-weight: 400;
}

/* Responsive */
@media (max-width: 768px) {
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
  
  .footer__logo {
    margin-right: 0;
  }
  
  .footer__info {
    margin-right: 0;
  }
  
  .footer__social {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .footer__inner {
    padding: 40px 18px;
  }
  
  .footer__logo-image {
    height: 50px;
  }
  
  .footer__bottom {
    padding: 16px 18px;
  }
  
  .footer__copyright {
    font-size: 12px;
  }
}
