/* ========================================
   FOOTER.CSS - Footer Layout Styles
   ======================================== */

.footer {
  background-color: var(--color-bg-card);
  border-top: var(--border-width) solid var(--color-border);
  padding: var(--spacing-2xl) var(--container-padding);
  margin-top: var(--spacing-3xl);
}

.footer .container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  text-align: center;
}

/* ===== FOOTER NAVIGATION ===== */
.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.footer-link {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-primary);
}

.footer-separator {
  color: var(--color-text-muted);
  user-select: none;
}

/* ===== FOOTER SOCIAL ===== */
.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(74, 198, 255, 0.1);
  border: var(--border-width) solid rgba(74, 198, 255, 0.3);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.footer-social a:hover {
  background-color: rgba(74, 198, 255, 0.3);
  transform: scale(1.1);
}

.footer-social-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

/* ===== FOOTER COPYRIGHT ===== */
.footer-copyright {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  margin: 0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 767px) {
  .footer {
    padding: 0;
    margin-top: 0;
  }

  .footer .container {
    max-width: 100%;
    padding: 0;
  }

  .footer-nav {
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
  }

  .footer-link {
    width: 100%;
    padding: var(--spacing-xl);
    font-size: var(--font-size-lg);
    text-align: left;
    background-color: var(--color-bg-card);
    border-bottom: 2px solid var(--color-border);
    color: var(--color-text);
    display: block;
    margin: 0;
  }

  .footer-link:hover {
    background-color: var(--color-bg-elevated);
    color: var(--color-primary);
  }

  .footer-separator {
    display: none;
  }

  .footer-social {
    gap: var(--spacing-md);
    padding: var(--spacing-xl);
    background-color: var(--color-bg-card);
    border-bottom: 2px solid var(--color-border);
  }

  .footer-copyright {
    padding: var(--spacing-xl);
    background-color: var(--color-bg-card);
  }
}
