/* ============================================================
   TunaGrow CBO — Footer Styles (Themed)
   File: css/footer.css
   ============================================================ */

footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 5% 30px;
  color: var(--text);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--text);
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

.footer-col a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.footer-col a i {
  transition: transform 0.3s ease, color 0.3s ease;
  margin-right: 6px;
  color: var(--muted);
}

.footer-col a:hover {
  color: var(--leaf);
  transform: translateX(4px);
}

.footer-col a:hover i {
  color: var(--leaf);
  transform: scale(1.15) rotate(4deg);
}

.footer-social-icons {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.footer-social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.2s;
  margin-bottom: 0;
}

.footer-social-icons a:hover {
  background: var(--leaf);
  color: #ffffff;
  border-color: var(--leaf);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-updated {
  color: var(--muted);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-updated i {
  color: var(--leaf);
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Mobile responsive */
@media (max-width: 968px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
