/**
 * BOMAtlas Unified Footer Component
 * Consistent footer styling across all pages
 */

/* ===========================================
   STANDARD FOOTER (Static pages)
   =========================================== */
.bomatlas-footer-static {
  padding: 40px 24px;
  border-top: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.06));
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted, #6e767d);
  max-width: 1200px;
  margin: 0 auto;
}

.bomatlas-footer-static .footer-brand {
  color: var(--text-muted, #6e767d);
}

.bomatlas-footer-static .footer-links {
  display: flex;
  gap: 32px;
}

.bomatlas-footer-static .footer-links a {
  color: var(--text-secondary, #9ca3af);
  text-decoration: none;
  transition: color 0.2s;
}

.bomatlas-footer-static .footer-links a:hover {
  color: var(--color-primary, #d4a012);
}

.bomatlas-footer-static .footer-usa {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bomatlas-footer-static .footer-usa a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary, #9ca3af);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s;
}

.bomatlas-footer-static .footer-usa a:hover {
  color: #3b82f6;
}

.bomatlas-footer-static .footer-usa img {
  height: 18px;
}

/* ===========================================
   FIXED FOOTER (Map pages)
   =========================================== */
.bomatlas-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 14, 20, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(212, 160, 18, 0.1);
  padding: 10px 24px;
  z-index: 999;
  font-size: 12px;
}

.bomatlas-footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.bomatlas-footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.bomatlas-footer-nav a {
  color: #8899a6;
  text-decoration: none;
  transition: color 0.2s;
}

.bomatlas-footer-nav a:hover {
  color: #d4a012;
}

.bomatlas-footer-brand {
  color: #64748b;
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 768px) {
  .bomatlas-footer-static {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 32px 20px;
  }

  .bomatlas-footer-static .footer-links {
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .bomatlas-footer-static .footer-usa {
    order: -1;
  }

  .bomatlas-footer {
    padding: 8px 16px;
  }

  .bomatlas-footer-nav {
    gap: 12px;
  }

  .bomatlas-footer-container {
    flex-wrap: wrap;
    justify-content: center;
  }
}
