/* =========================
   CUSTOM.CSS – FINAL CLEAN (SAFE)
========================= */


/* =========================
   BASE TYPOGRAFIE
========================= */

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #222;
  font-weight: 400;
}

::selection {
  background: #000;
  color: #fff;
}

a {
  transition: color .2s ease;
  text-decoration: none;
}


/* =========================
   NEVIDITELNÝ H1
========================= */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* =========================
   LOGO + SLOGAN
========================= */

.site-navbar a img {
  display: block;
}

.col-6.col-xl-2 {
  text-align: left;
}

.site-tagline {
  margin-top: 6px;
  font-size: clamp(11px, 1.8vw, 13px);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.25;
  opacity: 0.7;
  text-align: left;
}

.site-tagline span {
  display: block;
}


/* =========================
   MENU
========================= */

.site-menu a,
.site-menu a:visited {
  text-decoration: none;
  outline: none;
}

.site-navbar .site-navigation .site-menu > li > a {
  color: #333;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 500;
}

.site-navbar .site-menu li a:hover {
  color: #5a88c9 !important;
}

.site-navbar .site-menu .active > a {
  color: #333 !important;
}

.site-navbar .site-menu .active > a:hover {
  color: #5a88c9 !important;
}

.site-menu .dropdown a {
  color: #333;
  background: transparent;
}

.site-navbar .site-menu .dropdown li a:hover {
  color: #5a88c9 !important;
}

.site-navbar .site-menu li.has-children:hover > a {
  color: #5a88c9 !important;
}

.site-mobile-menu .site-nav-wrap a {
  color: #333;
}

.site-mobile-menu .site-nav-wrap a:hover,
.site-mobile-menu .site-nav-wrap a:focus {
  color: #5a88c9;
}

.site-mobile-menu .site-nav-wrap .active > a {
  color: #5fae7a;
}

/* jemné optické vycentrování menu – pouze desktop */
@media (min-width: 1200px) {
  .site-navbar .site-navigation {
    transform: translateX(-18px);
  }
}


/* =========================
   SLIDER (MEZERA OD MENU)
========================= */

.container-fluid[data-aos] {
  margin-top: 40px;
}


/* =========================
   IKONY
========================= */

.site-navbar .site-menu[data-class="social"] a,
.footer a,
.social-icons a {
  color: #333;
}

.site-navbar .site-menu[data-class="social"] a:hover,
.footer a:hover,
.social-icons a:hover {
  color: #5a88c9 !important;
}

.site-menu[data-class="social"] a,
.social-icons a {
  margin-right: 12px;
}

.site-menu[data-class="social"] a:last-child,
.social-icons a:last-child {
  margin-right: 0;
}


/* =========================
   NADPISY
========================= */

h1, h2, h3,
.site-section-heading {
  color: #111;
}

.site-section-heading {
  position: relative;
  text-align: center;
  padding-bottom: 15px;
}

.site-section-heading:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: #000;
  opacity: 0.8;
}


/* =========================
   MEZERA POD H2
========================= */

.site-section + .row {
  margin-top: -10px;
}

/* =========================
   GALERIE – podnadpis pod H2
========================= */

.gallery-subtitle {
  text-align: center !important;
  display: block;
  width: 100%;
}


/* =========================
   CONTENT SPACING FIX
========================= */

#lightgallery {
  margin-bottom: 0 !important;
}

#lightgallery img,
.image-wrap img,
.swiper-slide img {
  display: block;
  margin-bottom: 0;
}


/* =========================
   FOOTER – VARIANTA A
========================= */

.container-fluid:last-of-type {
  margin-bottom: 0;
}

.footer {
  margin-top: 50px;
  padding-top: 20px;
  padding-bottom: 30px;
}

.footer p {
  margin-bottom: 1px;
}

.footer p img {
  display: inline;
  vertical-align: middle;
}

.footer .mt-3 {
  margin-top: 15px !important;
}

.footer .container-fluid {
  padding-left: 0;
  padding-right: 0;
}

/* FLEX FOOTER (hlavní logika varianty A) */
.site-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-wrap > .footer {
  margin-top: auto;
}


/* =========================
   INDEX – SLIDER
========================= */

.images-carousel {
  margin-bottom: 0;
}


/* =========================
   INDEX – NADPISY FOTO
========================= */

.image-info h2 {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin-bottom: 10px;
  white-space: nowrap;
}


/* =========================
   INDEX – MEZERA FOOTER ve verzi FULL
========================= */

.home-page .footer {
  margin-top: 30px; /* nebo 15px podle oka */
}


/* =========================
   TEXTY
========================= */

.text,
.post-entry p {
  color: #444;
}

.container-fluid .col-md-7 p {
  text-align: justify;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}


/* =========================
   POPISY FOTEK A VIDEÍ (HTML STRÁNKY)
========================= */

.image-caption {
  font-size: 12px;
  color: #777;
  margin-top: 8px;
  margin-bottom: 8px;
  text-align: justify;
}

.videoWrapper iframe {
  border: none;
}


/* =========================
   CITACE U TEXTŮ V UVOZOVKÁCH
========================= */

blockquote {
  font-style: italic;
  border-left: 3px solid #ccc;
  padding-left: 15px;
  margin: 20px 0;
  color: #555;
  text-align: justify;
}

blockquote footer {
  margin-top: 10px;
  font-size: 0.9rem;
  opacity: 0.7;
  text-align: left;
  letter-spacing: 0.3px;
}

blockquote p {
  margin-bottom: 0;
}


/* =========================
   ODKAZY
========================= */

.text a,
.post-entry a,
.footer p a {
  color: #5fae7a;
}

.text a:hover,
.post-entry a:hover,
.footer p a:hover {
  color: #3f7f5f;
}


/* =========================
   MEZERY
========================= */

.site-section {
  padding-top: 30px;
  padding-bottom: 1.5em !important;
}

.site-section:first-of-type {
  padding-top: 15px;
}

.footer h3 {
  margin-top: -15px;
}


/* =========================
   LIGHTGALLERY – TEXTY POD FOTO
========================= */

.lg-sub-html h4 {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #fff;
  opacity: 0.95;
  margin-bottom: 6px;
}

.lg-sub-html p {
  color: rgba(255,255,255,0.78);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 4px;
}

.lg-sub-html .photo-info {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.03em;
}


/* =========================
   IMAGE LOOK
========================= */

.image-wrap img,
.swiper-slide img {
  filter: contrast(1.06) brightness(0.95) saturate(0.92);
}


/* =========================
   NO HOVER
========================= */

.image-wrap::before,
.image-wrap::after,
.swiper-slide .image-wrap::before,
.swiper-slide .image-wrap::after {
  content: none !important;
  display: none !important;
}

.image-wrap:hover img,
.swiper-slide:hover img,
.swiper-slide-active img {
  filter: contrast(1.08) brightness(0.94) saturate(0.95) !important;
  opacity: 1 !important;
  transform: none !important;
}

.hover-bg-enlarge > div,
.hover-bg-enlarge:hover > div {
  transform: none !important;
}

.image-wrap,
.image-wrap img,
.swiper-slide,
.swiper-slide img {
  transition: none !important;
}


/* =========================
   RESET
========================= */

.site-menu a:hover,
.site-menu a:focus,
.site-menu a:active {
  outline: none;
}