/* ═══════════════════════════════════════════════════════════
   Shared nav + footer styles — businessedified.com
   Loaded by every page via <link rel="stylesheet" href="/shared/nav-footer.css">
   Do NOT duplicate these rules in page-level stylesheets.
═══════════════════════════════════════════════════════════ */

/* ─── NAVBAR ─────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(253, 251, 247, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 225, 219, 0.6);
  transition: box-shadow 0.3s ease;
}
#navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.be-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  flex-shrink: 0;
}
.be-logo-icon { width: 32px; height: auto; }
.be-logotext {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--navy);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.nav-link:hover { color: var(--navy); background: rgba(26, 43, 76, 0.04); }
.nav-link.active { color: var(--navy); font-weight: 600; }

.nav-cta {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-btn-primary {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 24px;
  background: var(--bronze);
  color: #FFFFFF;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-btn-primary:hover { background: var(--bronze-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.nav-btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}
.nav-btn-primary:hover .nav-btn-arrow { transform: translateX(2px); }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--navy);
  cursor: pointer;
  padding: 8px;
}

#mobile-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--pearl);
  z-index: 1001;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
}
.mobile-close {
  position: absolute;
  top: 20px; right: 24px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--navy);
  cursor: pointer;
}
.mobile-link {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.mobile-link:hover, .mobile-active {
  color: var(--navy);
  font-weight: 600;
  background: rgba(26, 43, 76, 0.04);
}

/* ─── FOOTER ──────────────────────────────────────────────── */
#be-footer {
  background: var(--navy-dark);
  padding: clamp(3rem, 6vw, 5rem) 0 0;
  color: rgba(255, 255, 255, 0.6);
}
.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 12px;
}
.footer-logo-icon { width: 36px; height: auto; }
.footer-wordmark { display: flex; flex-direction: column; line-height: 1.1; }
.footer-business {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--bronze-light);
}
.footer-edified {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--bronze-light);
}
.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}
.footer-heading {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze-light);
  display: block;
  margin-bottom: 16px;
}
.footer-nav-col { display: flex; flex-direction: column; gap: 8px; }
.footer-nav-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; }
.footer-nav-subcol { display: flex; flex-direction: column; gap: 8px; }
.footer-link {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
  padding: 4px 0;
}
.footer-link:hover { color: #FFFFFF; }
.footer-link-accent { color: var(--bronze-light); }
.footer-link-accent:hover { color: var(--bronze); }
.footer-sdg {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px 0;
}
.footer-sdg-icon { flex-shrink: 0; margin-top: 2px; }
.footer-sdg-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--bronze-light);
  display: block;
  margin-bottom: 10px;
}
.footer-sdg-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}
.footer-bottom-link {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-link:hover { color: rgba(255, 255, 255, 0.6); }

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .nav-links, .nav-cta { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-nav-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
