footer {
  background-color: var(--color-bg-alt);
  color: var(--color-text-soft);
}

footer .container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* =========================
   Footer Layout
========================= */

.footer-top {
  padding: 60px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-column {
  min-width: 200px;
}

.footer-column h4 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--color-brand);
}

/* =========================
   Footer Links
========================= */

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: var(--color-text-soft);
  text-decoration: none;
  font-size: 16px;
  transition: color var(--transition-fast);
}

.footer-column ul li a:hover {
  color: var(--color-brand);
}

/* =========================
   Newsletter Section
========================= */

.new-products {
  max-width: 450px;
}

.new-products h4 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--color-brand);
}

.new-products p {
  font-size: 16px;
  margin-bottom: 15px;
}

.new-products form {
  display: flex;
  flex-direction: column;
}

.new-products input {
  padding: 10px;
  margin-bottom: 10px;
  border: none;
  border-radius: var(--radius-sm);
}

.new-products button {
  padding: 10px;
  border: none;
  background-color: var(--color-brand);
  color: #111;
  border-radius: var(--radius-sm);
  font-size: 16px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.new-products button:hover {
  background-color: var(--color-brand-hover);
}

/* =========================
   Footer Bottom
========================= */

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid var(--color-border);
}

.social-media {
  margin-bottom: 20px;
}

.social-media a {
  color: var(--color-text-soft);
  font-size: 30px;
  margin: 0 10px;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* Instagram gradient hover */

.social-media a:hover .fa-instagram {
  border-radius: 8px;
  padding: -1.3px;
  background: radial-gradient(circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%);
}

/* Facebook hover */

.social-media a:hover .fa-facebook-f {
  color: rgb(50, 50, 177);
}

/* =========================
   Mobile
========================= */

@media (max-width: 768px) {

  .footer-top {
    flex-direction: column;
    align-items: center;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
  }

  .new-products {
    max-width: 100%;
  }

}