@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,600;0,700;0,800;1,400&family=Poppins:wght@400;600;700&family=Work+Sans:wght@400;600;700&display=swap&subset=latin-ext");

:root {
  --color-primary: #006298;
  --color-secondary: #00335c;
  --color-tertiary: #d4e7ff;

  --color-text-white: #ffffff;
  --color-text-primary: #272626;
  --color-text-secondary: #696969;
  --color-text-tertiary: #bfbfbf;
  --color-background: #f6f9fd;
}

* {
  font-family: "Montserrat", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  padding-top: 80px;
}

html {
  scroll-padding-top: 80px;
  scroll-behavior: smooth;
}

main.hero-fullscreen {
  padding-top: 0 !important;
}

.container-fluid {
  padding: 0 80px;
}

.center {
  text-align: center;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;
}

h1.line:before,
h2.line:before,
h3.line:before,
h4.line:before,
h5.line:before {
  content: "";
  width: 80px;
  height: 2px;
  background-color: var(--color-primary);
  display: block;
}

h1.line:before,
h2.line:before {
  margin-bottom: 30px;
}

h3.line:before {
  margin-bottom: 25px;
}

h4.line:before,
h5.line:before {
  margin-bottom: 20px;
}

h1.line-60:before,
h2.line-60:before,
h3.line-60:before,
h4.line-60:before,
h5.line-60:before {
  width: 60px;
}

h1.line-center,
h2.line-center,
h3.line-center,
h4.line-center,
h5.line-center {
  text-align: center;
}

h1.line-center:before,
h2.line-center:before,
h3.line-center:before,
h4.line-center:before,
h5.line-center:before {
  margin: auto;
}

h1.line-center:before,
h2.line-center:before {
  margin-bottom: 30px;
}

h3.line-center:before {
  margin-bottom: 25px;
}

h4.line-center:before,
h5.line-center:before {
  margin-bottom: 20px;
}

.nadpis-h1 {
  padding-top: 80px;
}

.banner.subpage .breadcrumbs {
  text-align: center !important;
  margin-bottom: 0 !important;
}

.breadcrumbs {
  font-size: 0.8em;
  color: var(--color-tertiary);
  margin-top: 25px;
  margin-bottom: -44px;
  text-align: right;
}

.breadcrumbs>a {
  color: var(--color-tertiary);
}

.breadcrumbs>a:hover {
  text-decoration: none;
}

.breadcrumbs>i {
  padding: 0 5px 0 5px;
}

a,
button {
  transition: all 0.3s;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
}

html,
body {
  overflow-x: hidden;
  background-color: white !important;
}

.bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-position: center 40%;
  background-repeat: no-repeat;
  background-size: cover;
  transition: all 0.8s;
  -moz-transition: all 0.8s;
  -webkit-transition: all 0.8s;
  -o-transition: all 0.8s;
}

.btn-my {
  display: inline-block;
  font-family: Poppins, sans-serif;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none !important;
  border-radius: 0;
  background-color: transparent;
  text-align: center;
  text-transform: uppercase;
  padding: 0 1.5em;
  letter-spacing: 1px;
}

.btn-my:hover {
  text-decoration: none !important;
}

.btn-my.lh-60 {
  line-height: 60px;
}

.btn-my.lh-50 {
  line-height: 50px;
}

.btn-my.lh-40 {
  line-height: 40px;
}

.btn-my.w-160 {
  width: 160px;
}

.btn-my.w-270 {
  width: 270px;
}

.btn-my.w-240 {
  width: 240px;
}

.btn-my-yellow {
  background-color: var(--color-primary) !important;
  color: #ffffff;
  display: inline-flex !important;
  align-items: center;
  padding: 0 25px 0 0 !important;
  overflow: hidden;
  /* Sweep efekt: */
  background-image: linear-gradient(to right,
      var(--color-secondary) 50%,
      transparent 50%) !important;
  background-size: 200% 100% !important;
  background-position: right center !important;
  transition: background-position 0.7s ease !important;
}

.btn-my-yellow::before {
  content: "\f054";
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  background-color: var(--color-secondary) !important;
  padding: 0 30px 0 18px;
  margin-right: 10px;
  align-self: stretch;
  display: flex;
  align-items: center;
  color: #ffffff;
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
}

.btn-my-yellow i {
  display: none;
}

.btn-my-yellow:hover {
  background-color: var(--color-primary) !important;
  /* ponechat primary jako základ */
  background-position: left center !important;
  /* sweep přijíždí zleva */
  color: #ffffff;
}

.btn-my-dark {
  color: #ffffff;
  background-color: #000000;
}

.btn-my-dark:hover {
  background-color: #333333;
  color: #ffffff;
}

.error label {
  color: red !important;
}

.error input[type="text"],
.error input[type="email"],
.error textarea {
  border: 1px solid red !important;
}

.nav-item.poptavka .count {
  color: white;
  display: inline-block;
  background-color: #002f4c;
  border-radius: 50%;
  width: 30px;
  line-height: 30px;
  text-align: center;
  color: white;
  font-weight: bold;
  margin-left: 10px;
}

.banner.subpage {
  color: #fff;
  background-size: cover;
  min-height: 250px;
  max-width: 100%;
  width: 100%;
  padding: 0;
  margin-right: auto;
  margin-left: auto;
  background-image: url("/template/img/sekce-3/slide.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 60%;
  margin-bottom: 0;
  position: relative;
}

.banner.subpage::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  background: transparent linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.75) 100%) 0% 0% no-repeat padding-box;
}

.banner.subpage h1 {
  color: #fff;
  font-weight: 600;
  font-size: 36px;
  text-transform: uppercase;
}

.banner.subpage .content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90vw;
}

@media (min-width: 1500px) {
  .container {
    max-width: 1400px;
  }
}

@media (max-width: 1400px) {
  main {
    padding-top: 98px;
  }
}

@media (max-width: 991px) {
  .container-fluid {
    padding: 0 20px;
  }

  .container {
    /*padding: 0 20px;*/
    padding-left: 20px;
    padding-right: 20px;
  }

  .breadcrumbs {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .btn-my {
    font-size: 16px;
  }

  .btn-my.lh-60 {
    line-height: 46px;
  }

  .btn-my.lh-50 {
    line-height: 40px;
  }

  /* Zrušení fixních šířek (aby nebyla tlačítka zbytečně dlouhá) */
  .btn-my.w-270,
  .btn-my.w-240,
  .btn-my.w-160 {
    width: auto;
    /* Tlačítko se přizpůsobí délce textu */
    /* Případně můžete nastavit width: 100%; pokud je chcete přes celý displej */
  }

  /* 4. Úprava paddingů pro žluté tlačítko a jeho ikonu */
  .btn-my-yellow {
    padding: 0 15px 0 0 !important;
    /* Zmenšení pravého okraje z 25px */
  }

  .btn-my-yellow::before {
    padding: 0 20px 0 12px;
    /* Zmenšení bloku s šipkou (z 30px a 18px) */
    clip-path: polygon(0 0,
        100% 0,
        calc(100% - 12px) 100%,
        0 100%);
    /* Jemnější zkosení pro menší tlačítko */
  }
}

@media (min-width: 1200px) {
  #sluzby .container {
    max-width: 1000px;
  }
}