/* Fixed glass header (site-wide). Requires body.theme-3d + header.default-header.header-3d. Load after main.css. */
body.theme-3d {
  padding-top: var(--header-3d-h, 76px);
}

.default-header.header-3d,
.header-3d.default-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1050 !important;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  backdrop-filter: blur(16px) saturate(1.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 18px 48px rgba(15, 23, 42, 0.12);
}

.default-header.header-3d.header-scrolled,
.header-3d.default-header.header-scrolled {
  background: rgba(255, 255, 255, 0.92) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 8px 32px rgba(15, 23, 42, 0.1),
    0 1px 0 rgba(15, 23, 42, 0.06);
}

body.theme-3d .default-header.header-3d .navbar-nav a,
body.theme-3d .header-3d.default-header .navbar-nav a {
  text-decoration: none !important;
  color: #334155 !important;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
}

body.theme-3d .default-header.header-3d .navbar-nav a:hover,
body.theme-3d .header-3d.default-header .navbar-nav a:hover {
  color: #0f172a !important;
}
