/* ============================================================
   PROJEKT DETAIL — v5 Tailwind neutral + Inter
   Minimal custom CSS: hero zoom, lightbox, map, floor plan tabs
   ============================================================ */

/* --- Tiny font --- */
@font-face { font-family: 'Tiny'; src: url('../fonts/tiny/Tiny-Thin.woff2') format('woff2'); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: 'Tiny'; src: url('../fonts/tiny/Tiny-ExtraLight.woff2') format('woff2'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'Tiny'; src: url('../fonts/tiny/Tiny-Light.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Tiny'; src: url('../fonts/tiny/Tiny-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Tiny'; src: url('../fonts/tiny/Tiny-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Tiny'; src: url('../fonts/tiny/Tiny-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Tiny'; src: url('../fonts/tiny/Tiny-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Tiny'; src: url('../fonts/tiny/Tiny-ExtraBold.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }

/* --- 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; }

/* --- Sticky sidebar: hidden scrollbar, reveals on hover --- */
.sidebar-scroll {
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}
.sidebar-scroll:hover {
  scrollbar-color: #e5e5e5 transparent;
}
.sidebar-scroll::-webkit-scrollbar {
  width: 4px;
}
.sidebar-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.sidebar-scroll::-webkit-scrollbar-thumb {
  background-color: transparent;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}
.sidebar-scroll:hover::-webkit-scrollbar-thumb {
  background-color: #d4d4d4;
}
