/*-- -------------------------- -->
<---           Footer           -->
<--- -------------------------- -*/

/* Mobile - Base Styles */
#footer {
  background: #1a1a1a;
  padding: 0;
  font-size: 1rem;
}

#footer .footer-container {
  width: 92%;
  max-width: 75rem;
  margin: 0 auto;
}

/* Footer Top Section */
#footer .footer-top {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 4rem 0 3rem;
}

/* Logo Section */
#footer .footer-logo {
  text-align: center;
}

#footer .footer-logo .logo {
  display: inline-block;
  margin-bottom: 1.25rem;
}

#footer .footer-logo .logo img {
  width: auto;
  height: 4.5rem;
  display: block;
}

#footer .footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 20rem;
  margin: 0 auto;
}

/* Links Section */
#footer .footer-links {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  text-align: center;
}

#footer .footer-column h3 {
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

#footer .footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 2px;
  background: var(--primary);
}

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

#footer .footer-column ul li {
  margin-bottom: 0.75rem;
}

#footer .footer-column ul li:last-child {
  margin-bottom: 0;
}

#footer .footer-column ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.6;
  transition: color 0.3s ease;
}

#footer .footer-column ul li a:hover {
  color: var(--primary);
}

/* Credit Section */
#footer .credit {
  color: #fff;
  width: 96%;
  margin: auto;
  text-align: center;
  margin-top: 4rem;
  padding-bottom: 1.5rem;
  line-height: 2.25rem;
  font-size: 1rem;
}

#footer .credit a {
  color: var(--primary);
  text-decoration: none;
  font-size: 1rem;
}

#footer .credit a:hover {
  text-decoration: underline;
}

#footer .credit .copyright {
  display: block;
  font-size: 1rem;
}

/* Tablet - 600px */
@media only screen and (min-width: 37.5em) {
  #footer .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 3rem;
  }

  #footer .footer-column {
    text-align: left;
    min-width: 10rem;
  }

  #footer .footer-column h3::after {
    left: 0;
    transform: none;
  }
}

/* Desktop - 1024px */
@media only screen and (min-width: 64em) {
  #footer .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 4.5rem 0 3.5rem;
  }

  #footer .footer-logo {
    text-align: left;
    flex-shrink: 0;
  }

  #footer .footer-logo .logo img {
    height: 5rem;
  }

  #footer .footer-tagline {
    margin: 0;
  }

  #footer .footer-links {
    flex-direction: row;
    gap: 4rem;
    flex-wrap: nowrap;
  }

  #footer .footer-column {
    text-align: left;
  }

  #footer .footer-column h3::after {
    left: 0;
    transform: none;
  }
}

/* Large Desktop - 1300px */
@media only screen and (min-width: 81.25em) {
  #footer .footer-links {
    gap: 5rem;
  }
}

/* Dark Mode */
body.dark-mode #footer {
  background: #0a0a0a;
}
