/* ============================================================
   PROJEKT DETAIL — sdílené drobnosti (nav, scroll lock, Leaflet)
   Redakční šablona: css/projekt-editorial.css
   ============================================================ */

/* --- Nav scroll blur --- */
#nav {
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}
#nav.nav-scrolled {
  background-color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 0 rgba(10, 10, 10, 0.10);
}

/* --- Body scroll lock (lightbox / mobile nav) --- */
body.lightbox-open { overflow: hidden; }


/* --- Leaflet zoom control overrides --- */
.leaflet-control-zoom {
  border: none !important;
  box-shadow: none !important;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.leaflet-control-zoom a {
  width: 34px !important;
  height: 34px !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
  border: 1px solid #e5e5e5 !important;
  background: #fff !important;
  color: #262626 !important;
  font-size: 18px !important;
  font-weight: 300 !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: border-color 0.2s, background 0.2s;
}
.leaflet-control-zoom a:hover {
  background: #fafafa !important;
  border-color: #a3a3a3 !important;
  color: #262626 !important;
}

/* --- Hide Leaflet attribution --- */
.leaflet-control-attribution { display: none !important; }
