/* ============================================
   New Footer Styles
   ============================================ */

/* Reset for new footer */
footer.new-footer {
  background: url(../images/footer/footer-bg.png) no-repeat center / cover;
  padding-inline: 45px;
  padding-block: 50px 15px;
}

footer.new-footer * {
  box-sizing: border-box;
}

/* Footer Container */
footer.new-footer .footer-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 100px;
}

/* Footer Logo */
footer.new-footer .footer-container .f-logo img {
  width: 397px;
  height: auto;
}

/* Footer Content */
footer.new-footer .footer-container .footer-content {
  display: flex;
  gap: 50px;
}

/* Footer Nav */
footer.new-footer .footer-container .footer-nav {
  display: flex;
  flex-direction: column;
  gap: 19px;
}

footer.new-footer .footer-container .footer-nav .links {
  width: 120px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

footer.new-footer .footer-container .footer-nav .links a {
  width: fit-content;
  font-size: 10px;
  font-weight: 700;
  color: #000000;
  position: relative;
  text-decoration: none;
  display: inline-block;
  padding-bottom: 2px;
}

footer.new-footer .footer-container .footer-nav .links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #000000;
  transform: scaleX(0);
  transform-origin: right top;
  transition: transform 0.3s ease;
}

footer.new-footer .footer-container .footer-nav .links a:hover::after {
  transform: scaleX(1);
  transform-origin: left top;
}

/* SNS Group */
footer.new-footer .footer-container .footer-nav .sns-group {
  display: flex;
  gap: 20px;
}

footer.new-footer .footer-container .footer-nav .sns-group a img {
  width: auto;
  height: 17px;
}

/* Newsletter */
footer.new-footer .footer-container .newsletter {
  display: flex;
  flex-direction: column;
}

footer.new-footer .footer-container .newsletter .newsletter-title {
  font-size: 12px;
  font-weight: bold;
  color: #000000;
  margin: 0;
  padding: 0;
}

footer.new-footer .footer-container .newsletter .newsletter-submit {
  display: inline-block;
  border: 1px solid #000000;
  background: transparent;
  font-size: 14px;
  font-weight: bold;
  padding: 10px 40px;
  cursor: pointer;
  border-radius: 6px;
  margin-top: 20px;
  transition: background-color 0.2s, color 0.2s;
  text-decoration: none;
  color: #000000;
  font-family: inherit;
}

footer.new-footer .footer-container .newsletter .newsletter-submit:hover {
  background: #000000;
  color: #ffffff;
}

/* Copyright */
footer.new-footer .copyright {
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  margin: 0;
}

footer.new-footer .copyright p {
  margin: 0;
}

/* Responsive */
@media (max-width: 950px) {
  footer.new-footer .footer-container {
    flex-direction: column;
    gap: 30px;
    width: fit-content;
    margin: auto;
    margin-bottom: 50px;
  }
}

@media (max-width: 500px) {
  footer.new-footer {
    padding-block: 30px 10px;
    padding-inline: 22px;
  }

  footer.new-footer .footer-container .footer-content {
    width: 100%;
    flex-direction: column;
    gap: 30px;
  }

  footer.new-footer .footer-container .footer-nav .sns-group {
    width: fit-content;
  }

  footer.new-footer .footer-container .footer-nav {
    align-items: flex-end;
  }

  footer.new-footer .footer-container .f-logo img {
    width: 100%;
    max-width: 357px;
  }
}
