/* Custom layer over main.min.css — drobná vylepšení, aby web vypadal o trochu lépe,
   ale stálý návštěvník hned rozeznal "to samé". Žádné velké zásahy. */

html { scroll-behavior: smooth; }

/* Plynulejší hover na ikonách v navigaci */
#navs .col .link {
  transition: transform .18s ease, opacity .18s ease, color .18s ease;
}
#navs .col .link:hover,
#navs .col .link:focus {
  transform: translateY(-2px);
  opacity: .92;
}

/* Galerie — jemný hover zoom místo náhlého opacity skoku */
.gallery .photo { display: block; overflow: hidden; position: relative; border-radius: 2px; }
.gallery .photo img {
  transition: transform .35s ease, filter .35s ease, opacity .35s ease;
  will-change: transform;
}
.gallery .photo:hover img,
.gallery .photo:focus img {
  transform: scale(1.04);
  filter: brightness(1.05);
}

/* Tlačítka "více info" — jemnější hover */
.btn.modalBtn {
  transition: background-color .15s ease, color .15s ease, transform .1s ease;
}
.btn.modalBtn:hover { transform: translateY(-1px); }
.btn.modalBtn:active { transform: translateY(0); }

/* Lepší focus state (accessibility) */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.modalBtn:focus-visible {
  outline: 2px solid #ea2658;
  outline-offset: 2px;
}

/* Modaly — jemné zaoblení, mírný stín */
.modal-box {
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(13, 24, 48, .45);
}

/* Sekce — víc vzduchu na desktopu, žádná změna na mobilu */
@media (min-width: 992px) {
  .line { padding-top: 80px; padding-bottom: 60px; }
  .line h2 { letter-spacing: .03em; }
}

/* Iframe videa — responzivní fix, kdyby originál neměl */
#video iframe { max-width: 100%; }

/* Aby šel lazy obrázek z PHP renderu vidět i bez JS hookování */
img.lazy[data-src] { background: #f3f3f3; min-height: 60px; }
img[src]:not([data-src]) { background: transparent; }

/* Drobné typografické vyhlazení */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Top spacing pod fixed/sticky elementem na anchor scroll */
[id].line { scroll-margin-top: 20px; }
