/* ========================================
   FILE: /css/footer.css
   Complete CSS for Footer with Light & Dark Mode Support
   ======================================== */

/* ======================================== */
/* BASE STYLES - Light Mode Default         */
/* ======================================== */

:root {
  --footer-bg: #ffffff;
  --footer-border: #e2e8f0;
  --footer-text: #64748b;
  --footer-text-hover: #2563eb;
  --footer-link-color: #64748b;
  --footer-link-hover: #2563eb;
  --footer-divider: #e2e8f0;
}

/* ======================================== */
/* DARK MODE OVERRIDES                      */
/* ======================================== */

[data-theme="dark"] {
  --footer-bg: #0f0f0f;
  --footer-border: #2a2a2a;
  --footer-text: #888888;
  --footer-text-hover: #ffffff;
  --footer-link-color: #888888;
  --footer-link-hover: #ffffff;
  --footer-divider: #2a2a2a;
}

/* ======================================== */
/* FOOTER MAIN STYLES                       */
/* ======================================== */

.app-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
  padding: 1.5rem 0;
  margin-top: auto;
  transition: all 0.3s ease;
}

.app-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Footer Links */
.app-footer a {
  color: var(--footer-link-color);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.app-footer a:hover {
  color: var(--footer-link-hover);
  text-decoration: none;
}

.app-footer a i {
  margin-right: 0.35rem;
  font-size: 0.85rem;
}

/* Footer Text */
.app-footer .text-muted {
  color: var(--footer-text) !important;
  font-size: 0.85rem;
}

/* Footer Divider */
.app-footer .footer-divider {
  color: var(--footer-divider);
}

/* Responsive Design */
@media (max-width: 768px) {
  .app-footer {
    padding: 1.25rem 0;
  }
  
  .app-footer .container {
    padding: 0 1rem;
  }
  
  .app-footer a,
  .app-footer .text-muted {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .app-footer {
    padding: 1rem 0;
  }
  
  .app-footer .row {
    gap: 0.75rem;
  }
  
  .app-footer .col-md-4 {
    text-align: center !important;
  }
}

/* Animation for theme transition */
.app-footer,
.app-footer a,
.app-footer .text-muted {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}