/* ============================================
   BLUSH BEAUTY BAR — Custom Styles
   ============================================ */

/* Base */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

/* Selection color */
::selection {
  background: #c5dfc5;
  color: #1e351e;
}

/* Scroll-reveal base: content always visible by default (progressive enhancement) */
.scroll-reveal {
  /* Default: fully visible, no animation */
}

/* When JS is enabled and prefers-reduced-motion is off, add the animation */
@media (prefers-reduced-motion: no-preference) {
  .js-enabled .scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .js-enabled .scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  /* Stagger delays */
  .js-enabled .scroll-reveal[data-delay="80"]  { transition-delay: 80ms; }
  .js-enabled .scroll-reveal[data-delay="160"] { transition-delay: 160ms; }
  .js-enabled .scroll-reveal[data-delay="240"] { transition-delay: 240ms; }
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid #6ba86b;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Navbar scroll state */
.navbar-scrolled {
  box-shadow: 0 1px 12px rgba(30, 53, 30, 0.08);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f2f7f2;
}
::-webkit-scrollbar-thumb {
  background: #98c498;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #6ba86b;
}

/* Print styles */
@media print {
  header, footer, #back-to-top, .scroll-reveal { display: none !important; }
  body { color: #000; background: #fff; }
  a { color: #000; }
}
