/**
 * Footer - Menü, sosyal medya, iletişim, copyright
 *
 * @package Alpaya_x_Retodi
 */

/* ==========================================================================
   Base
   ========================================================================== */
.site-footer {
  color: #fff;
  padding: calc(var(--spacing) * 2) 0;
  margin-top: auto;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

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

/* ==========================================================================
   Menü
   ========================================================================== */
.footer-nav {
  text-align: center;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu a {
  opacity: 0.95;
}

.footer-menu a:hover {
  opacity: 1;
}

/* ==========================================================================
   Ayraç
   ========================================================================== */
.footer-sep {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: calc(var(--spacing) * 1.5) 0;
}

/* ==========================================================================
   Sosyal Medya
   ========================================================================== */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.footer-social__label {
  font-size: 0.9375rem;
}

.footer-social__icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.footer-social__link:hover {
  opacity: 1;
  text-decoration: none;
}

.footer-social__alerts {
  font-size: 0.9375rem;
  opacity: 0.95;
}

/* ==========================================================================
   İletişim
   ========================================================================== */
.footer-contact {
  text-align: center;
}

.footer-contact__title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
}

.footer-contact-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact-menu a {
  opacity: 0.95;
}

/* ==========================================================================
   Copyright
   ========================================================================== */
.footer-copyright {
  text-align: center;
}

.footer-copyright__text {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.95;
}

.footer-copyright__extra {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  opacity: 0.85;
}

.footer-copyright__credit {
  margin: 0.5rem 0 0;
  font-size: 0.7125rem;
  opacity: 0.8;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 767px) {
  .footer-menu {
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-social {
    flex-direction: column;
  }

  .footer-contact-menu {
    flex-direction: column;
    gap: 0.5rem;
  }
}
