/* custom.css */

/* Base background behavior */
body {
  background-size: cover !important;
  background-position: center center !important;
  background-attachment: fixed !important;
}

/* Per-tab backgrounds */
body.tab-glance {
  background-image: url("/images/bg-glance.jpg") !important;
}

body.tab-pncharris {
  background-image: url("/images/pncharris-bg.png") !important;
}

body.tab-netgrimoire {
  background-image: url("/images/Netgrimoire-bg.png") !important;
}

body.tab-wasted-bandwidth {
  background-image: url("/images/Wasted-bandwidth-bg.png") !important;
}

body.tab-nucking-futz {
  background-image: url("/images/Nucking-futz-bg.png") !important;
}

/* ----------------------------- */
/* Readability / tone-down layer */
/* ----------------------------- */

/* Let more background show through (was 0.55) */
#page-wrapper {
  background-color: rgba(0, 0, 0, 0.40);
}

/* Soft blur + desaturate background only
body::before {
  content: "";
  position: fixed;
  inset: 0;
  backdrop-filter: blur(6px) saturate(0.8);
  z-index: -1;
}
*/

/* Make service cards and widgets pop (but more transparent than before) */
.service-card,
.widget {
  background: rgba(20, 20, 20, 0.70) !important; /* was 0.85 */
  backdrop-filter: blur(2px);
  border-radius: 10px;
}

/* ----------------------------- */
/* PNCHarris: narrow centered column */
/* ----------------------------- */

/* Constrain the real content container */
body.tab-pncharris main {
  max-width: 900px; /* adjust: 760px narrower, 1100px wider */
  margin: 0 auto !important;
  padding-left: 16px;
  padding-right: 16px;
}

/* Some builds wrap groups/sections full-width; constrain them too */
body.tab-pncharris section,
body.tab-pncharris .group {
  max-width: 900px;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* If cards are being forced to stretch, relax that on PNCHarris */
body.tab-pncharris .service-card,
body.tab-pncharris .widget {
  width: auto !important;
  max-width: 100% !important;
}
