/* ============================================
   FOOTER - Just Track It
   ============================================ */

/* ============================================
   MAIN FOOTER
   ============================================ */
.footer {
  background: var(--color-black);
  color: var(--color-gray-300);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
}

/* Footer Columns */
.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.9375rem;
  color: var(--color-gray-300);
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer-links a:hover {
  color: var(--color-white);
}

/* Footer Social */
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

@media (max-width: 600px) {
  .footer-social {
    justify-content: center;
  }
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--color-gray-300);
  transition: all 0.2s;
}

.footer-social a:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ============================================
   FOOTER BOTTOM
   ============================================ */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--color-gray-300);
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer-legal a:hover {
  color: var(--color-white);
}

/* ============================================
   SIMPLIFIED FOOTER (for secondary pages)
   ============================================ */
.footer--simple {
  padding: 2rem 0;
}

.footer--simple .footer-bottom {
  padding: 0;
}
