/**
 * WEBSITE: https://themefisher.com
 * TWITTER: https://twitter.com/themefisher
 * FACEBOOK: https://www.facebook.com/themefisher
 * GITHUB: https://github.com/themefisher/
 */

/*=== MEDIA QUERY ===*/
@import url("https://fonts.googleapis.com/css?family=Barlow+Condensed:400,500,600,700|Montserrat|Poppins:400,500,600,700");
body {
  line-height: 1.8;
  font-family: "Montserrat", sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.6);
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  color: #232323;
  letter-spacing: 0.5px;
}

h1, .h1 {
  font-size: 48px;
  text-transform: uppercase;
}

h2, .h2 {
  font-size: 38px;
  text-transform: uppercase;
}

h3, .h3 {
  font-size: 28px;
  line-height: 38px;
  text-transform: uppercase;
}

h4, .h4 {
  font-size: 22px;
  line-height: 30px;
}

h5, .h5 {
  font-size: 18px;
  line-height: 24px;
}

h6, .h6 {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 400;
}

.font-primary {
  font-family: "Barlow Condensed", sans-serif;
}

.font-secondary {
  font-family: "Montserrat", sans-serif;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* hlavní wrapper – zrušit background, jen průhledný kontejner */
.main-wrapper {
  min-height: 50vh;
  background: transparent;
}

/* Navigation improvements: smooth background transition and better mobile stacking */
.navigation {
  background-color: transparent;
  transition: background-color 300ms ease, box-shadow 300ms ease;
}

.navigation.fixed-nav {
  background-color: #16282D; /* keep existing scheme */
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.navbar-toggle .icon-bar {
  background: rgb(31, 160, 63);
}

input[type=email], input[type=password], input[type=text], input[type=tel] {
  box-shadow: none;
  height: 50px;
  outline: none;
  font-size: 14px;
}
input[type=email]:focus, input[type=password]:focus, input[type=text]:focus, input[type=tel]:focus {
  box-shadow: none;
  border: 1px solid rgb(31, 160, 63);
}

.form-control {
  box-shadow: none;
  border-radius: 0;
}
.form-control:focus {
  box-shadow: none;
  border: 1px solid rgb(31, 160, 63);
}

.btn {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 18px 35px;
  text-transform: uppercase;
  border-radius: 0;
  font-weight: 700;
  transition: all 0.5s ease-in-out;
  border: 0px solid transparent;
}

.btn-main, .btn-small, .btn-transparent {
  background: linear-gradient(90deg, rgb(31, 160, 63) 0%, #5bbb63 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-main::before, .btn-small::before, .btn-transparent::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #5bbb63 0%, rgb(31, 160, 63) 100%);
  z-index: -1;
  transition: left 0.8s ease-in-out;
  filter: blur(10px); /* Add blur effect */
}

.btn-main:hover::before, .btn-small:hover::before, .btn-transparent:hover::before {
  left: 0;
  filter: blur(10px); /* Remove blur effect on hover */
}

.btn-main:hover, .btn-small:hover, .btn-transparent:hover {
  color: #fff !important;
  transform: translateY(-10px);
  transition: transform 0.8s ease-in-out, color 0.8s ease-in-out;
}

.btn-solid-border {
  border: 2px solid rgb(31, 160, 63);
  background: transparent;
  color: #fff;
}
.btn-solid-border:hover {
  border: 2px solid rgb(31, 160, 63);
  background: rgb(31, 160, 63);
}

.btn-white {
  border: 2px solid #fff;
  background: #fff;
  color: black;
}
.btn-white:hover {
  border: 1px solid rgb(31, 160, 63);
  background: rgb(31, 160, 63);
  color: #fff !important;
}

.btn-transparent {
  background: transparent;
  padding: 0;
  color: rgb(31, 160, 63);
}
.btn-transparent:hover {
  background: transparent;
  color: rgb(31, 160, 63);
}

.btn-large {
  padding: 20px 45px;
}
.btn-large.btn-icon i {
  font-size: 16px;
  vertical-align: middle;
  margin-right: 5px;
}

.btn-small {
  padding: 10px 25px;
  font-size: 12px;
}

.btn-round {
  border-radius: 4px;
}

.btn-round-full {
  border-radius: 50px;
}

.btn.active:focus, .btn:active:focus, .btn:focus {
  outline: 0;
}

.bg-shadow {
  background-color: #fff;
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.08);
  padding: 20px;
}

.bg-gray {
  background: #fff;
}

.bg-primary {
  background: rgb(31, 160, 63) !important;
}

.section {
  padding: 100px 0;
}

.section-title {
  margin-bottom: 70px;
}
.section-title .title {
  font-size: 50px;
  line-height: 50px;
}
.section-title p {
  color: #666;
  font-family: "Montserrat", sans-serif;
}

.page-title {
  padding: 155px 0 100px;
}

.overly, .bg-4 {
  position: relative;
}
.overly:before, .bg-4:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #232323;
  opacity: 0.35; /* sníženo z 0.8 */
}

.overly-2, .textimonial, .cta, .slider, .page-title {
  position: relative;
}
.overly-2:before, .cta:before, .slider:before, .page-title:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0.25; /* sníženo z 0.5 */
}

.textimonial:before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0.35; /* existing default overlay */
}

/* Make the "Proč jet na náš adapťák?" (testimonial) section noticeably darker so white text is always readable */
.section.textimonial::before,
.textimonial::before {
  /* stronger dark overlay specifically for the testimonial section */
  background: rgba(0,0,0,0.72) !important;
  opacity: 1 !important;
  z-index: 0;
}

/* Ensure testimonial content sits above the overlay and stays readable */
.section.textimonial,
.section.textimonial .container,
.section.textimonial .testimonial-slider,
.section.textimonial .testimonial-slider .text-center {
  position: relative;
  z-index: 1;
}

/* Slight typographic tweak to improve contrast/readability on darker background */
.section.textimonial .testimonial-slider .text-center h3,
.section.textimonial .testimonial-slider .text-center p,
.section.textimonial .testimonial-slider .text-center span,
.section.textimonial .testimonial-slider .text-center i {
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.45);
}

#success, #error {
  display: none;
}

.text-color {
  color: rgb(31, 160, 63);
}

.text-black {
  color: #232323;
}

.text-sm {
  font-size: 14px;
}

.text-md {
  font-size: 26px;
  line-height: 36px;
}

.text-lg {
  font-size: 56px;
  line-height: 66px;
}

.no-spacing {
  letter-spacing: 0px;
}

a {
  transition: all 0.35s ease;
}

a:hover, a:focus {
  color: rgb(31, 160, 63) !important;
  text-decoration: none !important;
  outline: 0;
}

.font-size-13 {
  font-size: 13px;
}

.letter-spacing {
  letter-spacing: 1px;
}

.bg-black-50 {
  background: #16282D;
}

.navbar-nav li {
  padding: 0px 10px;
}
.navbar-nav .nav-link {
  font-family: "Montserrat", sans-serif;
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  transition: color 180ms ease, background-color 180ms ease;
  position: relative;
  border-radius: 4px;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus {
  color: rgb(31, 160, 63);
  background-color: rgba(31,160,63,0.12);
}

/* Smooth underline highlight on hover */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, rgb(31,160,63) 0%, #5bbb63 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease-in-out;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after {
  transform: scaleX(1);
}

.top-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 14px;
}
.top-header ul li {
  padding: 0px 25px;
  border-left: 1px solid #dedede;
}

.dropdown {
  height: 100%;
}

.dropdown-menu {
  background: #16282D;
  border-radius: 0px;
  box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.03);
  padding: 24px 0 26px;
  min-width: 280px;
  left: 0px;
  top: 100%;
  transform: translateY(10%);
  visibility: hidden;
  opacity: 0;
  z-index: 10;
  transition: all 0.3s ease 0s;
  display: block;
}

.dropdown-item {
  color: #c8c8c8;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  padding: 0.55rem 2rem;
}

.dropdown-toggle::after {
  display: none;
}

.dropdown:hover .dropdown-menu {
  visibility: visible;
  opacity: 1;
  z-index: 20;
  transform: translateY(0%);
}

.dropdown-item:hover {
  background: transparent;
  color: rgb(31, 160, 63);
}

ul.dropdown-menu li {
  padding-left: 0px !important;
}

.fixed-nav {
  background: #16282D;
}

.navbar-toggler {
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 0px;
  padding: 5px 10px;
}

.navbar-collapse.collapse.show {
  background: #16282D;
}

/* Mobile navbar stacking and spacing */
@media (max-width: 991.98px) {
  /* NAVBAR: vždy fixed, s plnou barvou */
  .navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background-color: #16282D;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  }

  /* posuň obsah dolů, aby nebyl pod lištou */
  body {
    padding-top: 70px; /* případně doladíš výšku dle skutečné výšky navbaru */
  }

  .navigation .navbar-collapse {
    text-align: left !important;
  }
  .navigation .navbar-nav {
    align-items: flex-start !important;
  }
  .navigation .navbar-nav .nav-item {
    width: 100%;
    padding: 0.25rem 0;
  }
  .navigation .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
  }
  /* Dropdowns inside collapsed menu */
  .navigation .dropdown-menu {
    position: static;
    float: none;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: #16282D;
    padding: 0.25rem 0;
    min-width: 100%;
    display: none; /* hidden until .show */
  }
  .navigation .dropdown-menu .dropdown-item {
    padding: 0.5rem 1rem;
  }
  .navigation .dropdown.show > .dropdown-menu,
  .navigation .dropdown-menu.show {
    display: block !important;
  }
}

/* NAVBAR collapse and fixed behaviour at <= 1400px */
@media (max-width: 1400px) {
  /* NAVBAR: vždy fixed, s plnou barvou */
  .navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background-color: #16282D;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  }

  /* posuň obsah dolů, aby nebyl pod lištou */
  body {
    padding-top: 70px; /* uprav dle výšky navbaru */
  }

  .navigation .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #16282D;
    max-height: calc(100vh - 70px); /* leave room for header */
    overflow-y: auto;
    display: none; /* default hidden when collapsed */
    z-index: 1040;
    padding: 10px 20px;
    box-sizing: border-box;
    border-top: 1px solid rgba(255,255,255,0.04);
  }
  .navigation .navbar-collapse.show {
    display: block;
  }

  /* Collapse nav items vertically */
  .navigation .navbar-nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 4px;
  }

  .navigation .navbar-nav .nav-item {
    width: 100%;
    margin: 0;
  }

  .navigation .navbar-nav .nav-link {
    padding: 12px 16px;
    color: #fff;
    border-radius: 6px;
    text-align: left;
  }

  /* Ensure CTA button in collapsed nav is left-aligned and not centered */
  .navigation .navbar-collapse .btn.btn-light {
    display: block;
    margin: 8px 16px;
    margin-left: 16px; /* explicit left offset */
    margin-right: auto; /* prevent centering */
    text-align: left;   /* ensure text inside button aligns left */
    width: auto;        /* not forced to 100% */
  }

  /* If you prefer full-width button instead, replace width:auto with:
     width: calc(100% - 32px);  (will match available collapse padding)
  */

  /* reduce spacing so header + collapse does not overlap content too much */
  body {
    padding-top: 70px; /* keep space for fixed navbar */
  }
}

.slider {
  background: url("../images/loga/pozadi.jpg") no-repeat center center;
  background-size: cover;
  /* výška: min 180px (podle paddingu), ale max 50 % viewportu */
  min-height: 280px;      /* nebo jiná rozumná minimální výška */
  max-height: 80vh;
  padding: 140px 0;
  display: flex;
  align-items: center;
}

/* overlay už máš přes .slider:before níže, necháváme beze změny */

/* na mobilech totéž, jen menší padding */
@media (max-width: 480px) {
  .slider {
    background: url("../images/loga/pozadi.jpg") no-repeat center center;
    background-size: cover;
    min-height: 140px;
    max-height: 80vh;
    padding: 140px 0;
    display: flex;
    align-items: center;
  }
}
.slider h1 {
  font-size: 95px;
  line-height: 95px;
}
.slider span.subhead {
  color: #fff;
  letter-spacing: 5px;
  border: 2px solid #fff;
  padding: 3px 15px 5px 15px;
  opacity: 0.8;
}

.bg-2 {
  background: url("../images/bg/bg-image-2-1.jpg") no-repeat center center;
  background-size: cover;
}

.bg-3 {
  background: url("../images/loga/recenze.jpg") no-repeat center center;
  background-size: cover;
}

.bg-4 {
  background: url("../images/about/img-7.jpg") no-repeat center center;
  background-size: cover;
}

.mt-80px {
  margin-top: -80px;
}

.number {
  opacity: 0.1;
  font-size: 130px;
  display: block;
  line-height: 120px;
  position: absolute;
  top: 10px;
}

.why .card {
  transition: all 0.4s ease 0s;
}
.why .card:hover {
  background: #16282D;
}

.why .card:hover h3,
.why .card:hover p {
  color: #fff;
}

.hover-style-1 {
  position: relative;
}
.hover-style-1:before {
  position: absolute;
  content: "";
  left: 0px;
  top: 0px;
  width: 100%;
  height: 0px;
  transition: all 600ms ease;
  background: linear-gradient(90deg, rgb(31, 160, 63) 0%, #5bbb63 100%);
  border-color: rgb(31, 160, 63);
}
.hover-style-1 h3, .hover-style-1 p, .hover-style-1 a, .hover-style-1 i, .hover-style-1 h4 {
  position: relative;
  transition: all 600ms ease;
}
.hover-style-1:hover:before {
  height: 100%;
}
.hover-style-1:hover a {
  color: rgba(255, 255, 255, 0.8) !important;
}

.hover-style-1:hover h3,
.hover-style-1:hover h4,
.hover-style-1:hover p,
.hover-style-1:hover a {
  color: #fff;
}

.hover-style-1:hover i {
  color: rgba(255, 255, 255, 0.8) !important;
}

.mt--45 {
  margin-top: -45px;
}

.course .card-body a h4:hover {
  color: rgb(31, 160, 63);
}

.course-widget li a {
  color: #232323;
  opacity: 0.9;
}

.team-content-overlay li a {
  color: #fff;
}
.team-content-overlay li a:hover {
  background: rgb(31, 160, 63);
}

.team-item .card-body {
  margin-top: -120px;
}

.team-content-overlay {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  opacity: 0;
  width: 100%;
  background-color: rgba(41, 40, 45, 0.85);
  transition: opacity 0.3s ease-out;
}

.overlay-content {
  width: 100%;
  position: absolute;
  left: 0;
  padding: 25px;
  box-sizing: border-box;
  text-align: center;
  top: 50%;
  transform: translateY(-40%);
}

.team-item:hover .team-content-overlay {
  opacity: 1;
}

.team-item:hover .card-body {
  opacity: 0;
}

.team-wrap .card-subtitle {
  position: relative;
}
.team-wrap .card-subtitle:after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  max-width: 26px;
  border-top: 4px solid #ddd;
  margin-top: 20px;
}
.team-wrap ul li a {
  width: 40px;
  height: 40px;
  border: 1px solid #dedede;
  color: #232323;
  display: inline-block;
  text-align: center;
  padding-top: 6px;
}
.team-wrap ul li a:hover {
  background: rgb(31, 160, 63);
  border-color: rgb(31, 160, 63);
  color: #fff !important;
}

.divider {
  margin: 0 auto;
  background: rgb(31, 160, 63);
  width: 45px;
  height: 4px;
}

.cta {
  background: url("../images/loga/radni.jpg") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
}

.w-40 {
  width: 40%;
}

.testimonial-slider .slick-dots li {
  color: #fff;
}

.slick-dots li.slick-active button::before {
  color: rgb(31, 160, 63);
}

.slick-dots li button::before {
  color: #fff;
  font-size: 10px;
}

.slick-slide:focus, .slick-slide a {
  outline: none;
}

.lh-35 {
  line-height: 35px;
}

.pricing .card-body ul li {
  font-size: 15px;
}
.pricing h3 {
  padding-left: 20px;
}
.pricing h3 sup {
  top: 20px;
  left: 0px;
}
.pricing h3 sub {
  font-size: 13px;
}
.pricing .btn-solid-border:hover {
  color: #fff !important;
}

.map {
  width: 100%;
  height: 450px;
}

.mt--170 {
  margin-top: -170px;
}

.blog .card a h4 {
  font-weight: 700;
}
.blog .card a h4:hover {
  color: rgb(31, 160, 63);
}

.blog-post-meta span {
  font-size: 13px;
}

.lh-25 {
  line-height: 23px;
}

.search i {
  position: absolute;
  right: 15px;
  top: 15px;
}

.tags a {
  display: inline-block;
  color: #232323;
  border: 1px solid #dedede;
  padding: 3px 10px;
  margin-bottom: 5px;
  text-transform: capitalize;
  font-size: 14px;
}

.follow a {
  width: 35px;
  height: 35px;
  background: #fff;
  display: inline-block;
  text-align: center;
  padding-top: 5px;
}

.pagination {
  border: 0px;
}
.pagination li a {
  color: #232323;
}
.pagination .page-item.active .page-link {
  background-color: rgb(31, 160, 63);
  border-color: rgb(31, 160, 63);
  color: #fff !important;
}
.pagination .page-item:last-child .page-link {
  border-radius: 0px;
}
.pagination .page-item:first-child .page-link {
  border-radius: 0px;
}
.pagination .page-link {
  background: transparent;
  padding: 15px 20px;
}

.font-size-12 {
  font-size: 12px;
}

.post-tags a {
  display: inline-block;
  background: #fff;
  padding: 5px 10px;
}

.social-share a {
  color: #232323;
  padding: 0px 10px;
}

.reply-btn {
  font-size: 12px;
  padding: 6px 17px;
  font-weight: 400;
  border: 2px solid #eee;
}

.footer {
  padding-top: 90px;
  padding-bottom: 45px;
}
.footer p {
  color: #fff;
  opacity: 0.8;
  font-size: 14px;
}

.bg-black {
  background: #111;
}

.footer-menu li a {
  color: #fff;
  opacity: 0.8;
  font-size: 14px;
}
.footer-menu li a:hover {
  color: rgb(31, 160, 63);
  opacity: 1;
}

.lh-40 {
  line-height: 40px;
}

.footer-socials li a {
  color: #fff;
  opacity: 0.8;
}

.recent-blog a {
  line-height: 1.5;
  font-size: 14px;
}

.footer-socials li a {
  color: #595b65;
  font-size: 18px;
  padding-left: 10px;
}

/*=== MEDIA QUERY ===*/
@media (max-width: 400px) {
  .dropdown-menu {
    display: none;
    width: 100%;
    text-align: center;
  }
  .navbar-nav li {
    padding: 0px;
  }
}
@media (max-width: 480px) {
  .slider h1 {
    font-size: 40px;
    line-height: 48px;
  }
  .text-lg {
    font-size: 28px;
    line-height: 38px;
  }
  .lead {
    font-size: 1rem;
  }
  .media {
    display: block;
  }
  .media-body {
    margin-top: 20px;
  }
  .number {
    font-size: 50px;
    line-height: 65px;
  }
  .dropdown-menu {
    display: none;
    text-align: center;
  }
  .navbar-nav li {
    padding: 0px;
  }
}
@media (max-width: 575.98px) {
  /* trochu přidat vnitřní odsazení pro formuláře na mobilu */
  .section.course form .row.mb-3 {
    margin-bottom: 0.85rem;
  }
}
@media (max-width: 768px) {
  .media {
    display: block;
  }
  .media-body {
    margin-top: 20px;
  }
  .services .media img {
    width: 100% !important;
  }
  .dropdown-menu {
    display: none;
    text-align: center;
  }
  .navbar-nav li {
    padding: 0px;
  }
  .section {
    padding: 50px 0; /* zmenšeno z 100px pro lepší stacking na mobilech */
  }
  .section-title {
    margin-bottom: 40px; /* trochu zmenšit mezery */
  }
}
/*# sourceMappingURL=style.css.map */
