/* For every cafe. Only what Bootstrap cannot do: use its classes first.
   Colours and fonts belong in themes/, and one cafe's own rules in its theme.css. */

/* Sticky header, only where it leaves enough room: not on phones, short screens or when
   zoomed in. Bootstrap's sticky classes cannot check the height. */
@media (min-width: 768px) and (min-height: 600px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1020;
  }
  /* Jump links and keyboard focus stop below the header, not behind it. */
  html { scroll-padding-top: 8rem; }
}

/* Photos zoom slightly: only with a mouse, and not for people who ask for less motion. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .photo img { transition: transform 0.3s ease; }
  .photo:hover img { transform: scale(1.06); }
}
