/* ==========================================================================
   GaanKotha - Modular Site Bottom/Footer Styles (bottom.css)
   ========================================================================== */

/* Site Footer Base */
.site-footer {
  background: var(--bg-surface, #ffffff);
  border-top: 1px solid var(--border-subtle, #e2e8f0);
  padding: 48px 0 28px;
  margin-top: auto;
  transition: background-color 0.25s ease, border-color 0.25s ease;
  width: 100%;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.8fr 1.2fr 1.2fr;
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
  }
}

.footer-col h4 {
  font-family: var(--font-heading, inherit);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary, #0f172a);
}

/* Col 1: Brand & Desc */
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary, #0f172a);
  margin-bottom: 14px;
}

.footer-brand-icon {
  width: 32px;
  height: 32px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-brand-title {
  font-family: var(--font-heading, inherit);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-secondary, #475569);
  margin-bottom: 18px;
  max-width: 440px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-full, 9999px);
  background: var(--bg-secondary, #f1f5f9);
  color: var(--text-secondary, #475569);
  border: 1px solid var(--border-subtle, #e2e8f0);
}

.footer-badge-pill svg {
  color: var(--accent, #0d9488);
}

/* Footer Navigation Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  color: var(--text-secondary, #475569);
  font-size: 0.92rem;
  text-decoration: none;
  transition: var(--transition, all 0.2s ease);
  display: inline-block;
  cursor: pointer;
}

.footer-links li a:hover {
  color: var(--accent, #0d9488);
  transform: translateX(3px);
}

[data-theme="dark"] .footer-links li a:hover {
  color: var(--accent, #14b8a6);
}

/* Footer Bottom Bar */
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle, #e2e8f0);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom-left {
    text-align: left;
  }
}

.footer-copyright {
  font-size: 0.88rem;
  color: var(--text-secondary, #475569);
  font-weight: 500;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-muted, #64748b);
}

/* Back To Top Button */
.btn-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-full, 9999px);
  background: var(--bg-surface, #ffffff);
  border: 1px solid var(--border-subtle, #e2e8f0);
  color: var(--text-secondary, #475569);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition, all 0.2s ease);
  flex-shrink: 0;
}

.btn-back-to-top:hover {
  color: var(--accent, #0d9488);
  border-color: var(--accent, #0d9488);
  background: var(--bg-secondary, #f1f5f9);
  transform: translateY(-2px);
}

.btn-back-to-top svg {
  transition: transform 0.2s ease;
}

.btn-back-to-top:hover svg {
  transform: translateY(-2px);
}
