:root {
  --color-footer: #000;
  --color-footer-text: #fff;
  --color-footer-accent: #ff4747;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 0px 16px;
  font-size: 16px;
  font-family: sans-serif;

  background-color: var(--color-footer);
  color: var(--color-footer-text);
}

/* ===============================
   Footer Top – Social Links
================================ */

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;

  width: 100%;
  padding: 32px 0px;
  gap: 16px;
}

.footer-follow {
  font-size: 18px;
  font-weight: 600;

  letter-spacing: 0.08em;
  color: var(--color-footer-text);
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  
  padding: 9px;
  border-top: 1px solid var(--color-footer-text);
}

.footer-social-links a {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  text-decoration: none;
  color: var(--color-footer-text);
}

/* Icon container (SVG) */
.footer-social-links a svg {
  width: 40px;
  height: 40px;

  padding: 4px;
  border-radius: 50%;

  background-color: var(--color-footer-text);
  color: var(--color-footer);

  transition:
    background-color 0.3s ease,
    transform 0.3s ease,
    color 0.3s ease;
}

.footer-social-links a svg {
  fill: currentColor;
}

/* Text label */
.footer-top .footer-social-links a span {
  transition: color 0.3s ease;
}

/* Hover, active behavior */
.footer-top .footer-social-links a:hover svg,
.footer-top .footer-social-links a:active svg {
  background-color: var(--color-footer-accent);
  color: var(--color-footer-text);
  transform: scale(1.2);
}

.footer-social-links a:hover span,
.footer-social-links a:active span {
  color: var(--color-footer-accent);
}

/* ===============================
   Language Switcher
================================ */

.footer-language-switcher {
  display: flex;
  align-items: center;

  padding: 0px 0px 32px 0px;
  gap: 8px;
}

.footer-language-switcher label {
  color: var(--color-footer-text);
}

.footer-language-switcher select {
  padding: 4px 8px;

  background-color: var(--color-footer);
  color: var(--color-footer-text);

  border: 1px solid var(--color-footer-text);
  border-radius: 4px;
}

.footer-language-switcher select:focus {
  border-color: var(--color-footer-accent);
}

/* ===============================
   Footer Bottom
================================ */

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

  width: 100%;
  border-top: 1px solid #ffffff;
  padding: 16px;
  gap:16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
}

.footer-links li a {
  text-decoration: none;
  color: var(--color-footer-text);
  transition: color 0.3s ease;
}

.footer-links li a:hover {
  color: var(--color-footer-accent);
}

/* ===============================
   Responsive
================================ */

@media (max-width: 600px) {
  .footer-social-links {
    justify-content: center;
  }

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

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

