/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

.site-navbar {
  background-color: #1c1917;
  transition:
    transform 700ms ease-in-out,
    opacity 700ms ease-in-out,
    background-color 300ms ease,
    box-shadow 300ms ease;
}

.site-navbar--scrolled {
  background-color: rgb(41 37 36 / 95%);
  box-shadow: 0 10px 30px rgb(0 0 0 / 20%);
  backdrop-filter: blur(12px);
}

.site-navbar.site-navbar--home {
  position: fixed;
  inset: 0 0 auto;
}

.site-navbar--home:not(.site-navbar--scrolled) {
  border-color: transparent;
  background-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.site-navbar--hidden {
  transform: translateY(-100%);
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .site-navbar {
    transition: none;
  }
}
