/**
 * API.DevWharf - Footer Styles
 * Footer layout and components
 */

/* ===============================
   SITE FOOTER
   =============================== */

.site-footer {
  background: linear-gradient(
    180deg,
    var(--bg-secondary) 0%,
    var(--bg-primary) 100%
  );
  border-top: 1px solid rgba(0, 255, 249, 0.2);
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
  position: relative;
  z-index: 1;
}

/* ===============================
   FOOTER CONTENT GRID
   =============================== */

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 3rem;
}

/* ===============================
   FOOTER BRAND
   =============================== */

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  width: 115px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(0, 255, 249, 0.4));
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-style: italic;
}

/* ===============================
   FOOTER LINKS
   =============================== */

.footer-links {
  display: flex;
  gap: 3rem;
}

.footer-section h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-cyan);
}

/* ===============================
   METHODS LIST (Footer)
   =============================== */

.methods-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.methods-list li {
  margin-bottom: 0;
}

/* ===============================
   FOOTER TERMINAL
   =============================== */

.footer-terminal {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 8px;
  overflow: hidden;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  background: rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-dot.red {
  background: #ff5f56;
}

.terminal-dot.yellow {
  background: #ffbd2e;
}

.terminal-dot.green {
  background: #27ca40;
}

.terminal-title {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.terminal-body {
  padding: 15px;
  font-size: 0.8rem;
}

.terminal-body p {
  margin-bottom: 0.5rem;
}

.prompt {
  color: var(--accent-green);
  margin-right: 8px;
}

.response {
  color: var(--accent-purple);
}

/* ===============================
   FOOTER BOTTOM
   =============================== */

.footer-bottom {
  max-width: 1400px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===============================
   RESPONSIVE
   =============================== */

@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}
