/* Shared minimal styles for Sky Photography LLC site */

/* Improve focus visibility against dark backgrounds */
:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* Smooth scrolling for in-page anchors */
html {
  scroll-behavior: smooth;
}

/* Prefer crisp image rendering */
img {
  image-rendering: -webkit-optimize-contrast;
}

/* Selection color for monochrome palette */
::selection {
  background: #333333;
  color: #ffffff;
}

/* === Particles.js global background setup === */
/* Place per-page container: <div id="particles-js" class="fixed inset-0"></div> */
#particles-js,
.particles-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Ensure particles canvas sits behind content and blends on dark backgrounds */
.particles-js-canvas-el {
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  opacity: 0.65;
  mix-blend-mode: screen; /* white/light particles look good on dark backgrounds */
}

/* Content wrappers above particles */
.particles-content,
.particles-card,
.main-content {
  position: relative;
  z-index: 10;
}

/* Page-level flag to disable particles when needed (e.g., game.html, weather.html) */
.no-particles #particles-js,
.no-particles .particles-js-canvas-el {
  display: none !important;
}