/* =====================================================================
   DocClix — Navbar & Footer UI refresh
   Loaded AFTER navbar-foote.css to restyle the shared header/footer to
   match the homepage redesign reference. Structure & content untouched —
   this only overrides visual styling (colours, spacing, radius, hovers).
   Brand teal: #23939E   Ink/dark: #111215
   ===================================================================== */

/* ───────────────────────── NAVBAR ───────────────────────── */
.navbar {
  max-width: 100%;
  padding: 0 40px;
  height: 68px;
  background: rgba(248, 246, 241, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #E5E2DB;
  box-shadow: none;
}

.logo-container img { width: 150px; }

.menu-container { gap: 26px; }

.menu-item {
  font-family: 'Bricolage Grotesque', 'Lexend', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  text-transform: none;          /* reference uses sentence case, content unchanged */
  color: #3D3D39;
}
.menu-item:hover { color: #23939E; }

/* Primary nav CTA (Login / Register) — pill button per reference */
.login-btn {
  background-color: #23939E;
  border-radius: 9px;
  padding: 10px 18px;
  font-family: 'Bricolage Grotesque', 'Lexend', sans-serif;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 1px 2px rgba(15, 15, 13, 0.06);
  transition: background-color .18s ease, transform .18s ease;
}
.login-btn:hover { background-color: #1A6E77; transform: translateY(-1px); }

/* User dropdown trigger keeps same teal language */
.user-dropdown .user-btn { background-color: #23939E; }

/* Hamburger lines -> brand ink */
.hamburger span { background-color: #23939E; }
.mobile-menu-header { border-bottom: 1px solid rgba(35, 147, 158, 0.15); }
.close-btn svg { fill: #23939E; }
.mobile-menu .menu-item:hover,
.hamburger:hover, .close-btn:hover { background: rgba(35, 147, 158, 0.10); }

/* push page content below the now-fixed 68px bar consistently
   (navbar is position:fixed; ensure first frontend section isn't hidden) */
.dc-home { padding-top: 68px; }

/* keep logo crisp on small screens but aligned with new padding */
@media screen and (max-width: 768px) {
  .navbar { padding: 0 20px; height: 64px; }
  .logo-container img { width: 124px; }
  .dc-home { padding-top: 64px; }
}
@media screen and (max-width: 480px) {
  .navbar { padding: 0 16px; }
  .logo-container img { width: 108px; }
}

/* ───────────────────────── FOOTER ───────────────────────── */
.blackback, .custom-footer { background-color: #111215; }
.custom-footer {
  max-width: 100%;
  font-family: 'Bricolage Grotesque', 'Lexend', sans-serif;
}

.footer-top {
  max-width: 1140px;
  margin: 0 auto;
  padding: 56px 40px 36px;
  gap: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.footer-col h3 a { color: #fff; }
/* Make the brand (first column heading) read as the wordmark */
.footer-col:first-child h3 a { font-size: 22px; font-weight: 700; letter-spacing: -0.3px; }

.footer-col a {
  font-size: 14px;
  color: #8A8A84;
  line-height: 1.7;
}
.footer-col a:hover { color: #fff; text-decoration: none; }

/* Newsletter block */
.footer-col.newsletter p { color: #8A8A84; font-size: 14px; }
.newsletter-form {
  height: 46px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
}
.newsletter-form button { background: #23939E; min-width: 50px; }
.newsletter-form button:hover { background: #1A6E77; }

.footer-social a { background: rgba(255, 255, 255, 0.08); width: 38px; height: 38px; }
.footer-social a:hover { background: #23939E; }

/* Footer bottom bar */
.footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px 40px;
  font-size: 13px;
  color: #8A8A84;
}
.footer-policy-links a, .footer-policy-links .separator { color: #8A8A84; }
.footer-policy-links a:hover { color: #fff; }

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    padding: 40px 24px 28px;
    gap: 28px;
  }
  .footer-bottom { padding: 18px 24px; }
}
@media (max-width: 480px) {
  .footer-top { padding: 32px 18px 24px; }
  .footer-bottom { padding: 16px 18px; }
}
