/* ==========================================================================
   Footer Component
   ADVANCE v2 Theme
   ========================================================================== */

/* --------------------------------------------------------------------------
   Footer Base
   -------------------------------------------------------------------------- */
.l-footer {
  background-color: #1a1a2e;
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 0;
}

.l-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.l-footer a:hover {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Footer Inner Container
   -------------------------------------------------------------------------- */
.l-footer__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* --------------------------------------------------------------------------
   Footer Top: Logo + Info
   -------------------------------------------------------------------------- */
.l-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.l-footer__logo {
  flex-shrink: 0;
}

.l-footer__logo img {
  max-height: 50px;
  width: auto;
}

.l-footer__info {
  line-height: 1.8;
  font-size: 0.85rem;
}

.l-footer__info p {
  margin-bottom: 0.3em;
}

/* --------------------------------------------------------------------------
   Footer Navigation
   -------------------------------------------------------------------------- */
.l-footer__nav {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.l-footer__nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
}

.l-footer__nav-list li a {
  font-size: 0.85rem;
  padding: 0.3em 0;
  position: relative;
}

.l-footer__nav-list li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #ffffff;
  transition: width var(--transition-normal);
}

.l-footer__nav-list li a:hover::after {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Footer SNS Links
   -------------------------------------------------------------------------- */
.l-footer__sns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 0;
}

.l-footer__sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  font-size: 1.1rem;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast);
}

.l-footer__sns a:hover {
  background-color: var(--color-primary);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Footer Copyright
   -------------------------------------------------------------------------- */
.l-footer__copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Footer CTA Band
   -------------------------------------------------------------------------- */
.l-footer-cta {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 2.5rem var(--container-padding);
  text-align: center;
}

.l-footer-cta__inner {
  max-width: var(--container-width);
  margin: 0 auto;
}

.l-footer-cta__heading {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: var(--font-weight-heading);
  margin-bottom: 0.5em;
  color: #ffffff;
}

.l-footer-cta__text {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.l-footer-cta__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Responsive: Tablet and below
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .l-footer__top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .l-footer__nav-list {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .l-footer-cta {
    padding: 2rem var(--container-padding);
  }
}
