@font-face {
  font-family: Poppins;
  src: url(fonty/Poppins/Poppins-Regular.ttf);
  font-weight: normal;
}

@font-face {
  font-family: Mont;
  src: url(fonty/Montserrat/Montserrat-Bold.ttf);
  font-weight: 900;
}

@font-face {
  font-family: MontB;
  src: url(fonty/Montserrat/Montserrat-ExtraBold.ttf);
  font-weight: 900;
}

html {
  scroll-behavior: smooth;
}

:root {
  --zaklad: #0098ff;
  --zakladTmavsi: #006b96;
  --pruhledna: #ffffff00;
  --seda: #999999;
  --bila: #ffffff;
  --zakladTmava: #00416d;
  --zakladTmavaPruhled: rgba(0, 65, 109, 0.25);
  --sedaPozadi: #e4e4e48a;
  --pismo-modra: #00416d;

  --hlavni-seda: #666;
  --color-background: #e7e7e7;
  --color-background-alt: #888888;
  --color-border-active: #00416d;
  --color-border-default: #d1d1d1;
  --color-highlight: #fdcf4c;
  --color-primary: #00416d;
  --color-primary-active: #00416d;
  --color-text-default: #262626;
  --color-text-muted: #4f4f4f;

  --font-family-body: "Figtree", system-ui, sans-serif;
  --font-family-display: "Poppins", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  font-family: "Poppins";
  scroll-behavior: smooth;
}

body::-webkit-scrollbar {
  display: none;
}

.hlavicka {
  z-index: 10000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: var(--pruhledna);
  color: var(--bila);
  height: 100px;
  border-bottom: solid 1px var(--seda);
  position: fixed;
  width: 100%;
  transition: 0.6s;
}

.hlavicka2 {
  z-index: 10000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: var(--pruhledna);
  color: var(--bila);
  height: 100px;
  border-bottom: solid 1px var(--seda);
  position: fixed;
  width: 100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hlavicka-produkty {
  z-index: 10000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  top: 0;
  background-color: var(--seda);
  color: var(--bila);
  height: 80px;
  border-bottom: solid 1px var(--seda);
  position: fixed;
  width: 100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hlavicka-odkaz {
  position: relative;
  text-decoration: none;
  color: inherit;
}

.hlavicka-odkaz::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 3px;
  background-color: var(--zakladTmava);
  transition: width 0.3s ease;
}

.hlavicka-odkaz:hover::after {
  width: 100%;
}

.logo {
  font-size: 40px;
  font-weight: 900;
  color: var(--zakladTmava);
  text-decoration: none;
  float: left;
  font-family: var(--font-family-body);

  letter-spacing: 3px;
}

.produkty-nadpis {
  font-size: 2.8rem;
  text-align: center;
  color: var(--zaklad);
  border-bottom: var(--seda) solid 4px;
  background: linear-gradient(90deg, var(--zaklad), var(--zakladTmava));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav {
  display: flex;
  gap: 100px;
}

.nav-prava {
  margin-right: 10%;
}

.nav-leva {
  margin-left: 10%;
}

nav a {
  color: var(--bila);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  text-shadow: #ececec 0px 0px 10px;
}

.partneri {
  width: 100%;
  height: 100px;
  background: linear-gradient(to top,
      var(--bila),
      var(--zakladTmavaPruhled),
      var(--zakladTmavaPruhled),
      var(--bila));
}

.bila {
  color: var(--bila);
}

.baner {
  position: relative;
  top: 0;
  width: 100%;
  height: 60vh;
}

h1 {
  font-family: "Mont";
}

.baner1 {
  position: absolute;
  width: 100%;
  height: 100%;

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  opacity: 1;
  animation: baner 60s linear infinite;
}

.baner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(75%);
}

.baner2 {
  position: absolute;
  width: 100%;
  height: 100%;

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  animation: baner2 60s linear infinite;
}

.baner3 {
  position: absolute;
  width: 100%;
  height: 100%;

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  animation: baner3 60s linear infinite;
}

@keyframes baner {
  0% {
    opacity: 0;
  }

  1% {
    opacity: 1;
  }

  29% {
    opacity: 1;
  }

  30% {
    opacity: 0;
  }

  59% {
    opacity: 0;
  }

  60% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@keyframes baner2 {
  0% {
    opacity: 0;
  }

  29% {
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  59% {
    opacity: 1;
  }

  60% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@keyframes baner3 {
  0% {
    opacity: 0;
  }

  29% {
    opacity: 0;
  }

  30% {
    opacity: 0;
  }

  59% {
    opacity: 0;
  }

  60% {
    opacity: 1;
  }

  99% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.zakryti {
  width: 100%;
  height: 100%;
  position: absolute;
  background: linear-gradient(226deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 1) 100%);
  opacity: 0.3;
}

.tecky {
  position: absolute;
  opacity: 0.8;
  top: 45%;
  left: 95%;
}

.tecka {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50px;
  background-color: transparent;
  border: 1px var(--bila) solid;
  margin-top: 10px;
}

.aktivni {
  background-color: var(--bila);
}

.hlavni-text {
  position: absolute;
  top: 25%;
  color: var(--pismo-modra);
  width: 100%;
  text-align: center;
  font-size: 70px;
  font-family: var(--font-family-body);
  letter-spacing: 4px;
  text-shadow: var(--bila) 0px 2px 10px;
}

.mensi-text {
  position: absolute;
  text-align: center;
  top: 60%;
  color: var(--bila);
  width: 100%;
  font-size: 22px;
  letter-spacing: 3px;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.produkty {
  background-color: var(--bila);
}

.nej-produkty {
  position: relative;
  width: 70%;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr 1fr;
}

.produkt {
  width: 370px;
  margin: 30px auto;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 1) 0%,
      rgb(96, 191, 255, 0.8) 100%);
  background: #e7e7e7;
  height: 500px;
  border-radius: 15px;
  transition: 0.8s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.produkt-obrazek {
  width: 100%;
  height: 60%;
  margin-bottom: 20px;
  background-image: url(obrazky/zaluize.png);
  transition: 0.2s;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.produkt-obrazek2 {
  width: 100%;
  height: 60%;
  margin-bottom: 20px;
  background-image: url(obrazky/roleta.png);
  transition: 0.2s;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.produkt-obrazek3 {
  width: 100%;
  height: 60%;
  margin-bottom: 20px;
  background-image: url(obrazky/garage.png);
  transition: 0.2s;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.produkt:hover>.produkt-obrazek {
  scale: 1.15;
}

.produkt:hover>.produkt-obrazek2 {
  scale: 1.15;
}

.produkt:hover>.produkt-obrazek3 {
  scale: 1.15;
}

.produkt-nazev {
  position: relative;
  font-weight: 500;
  text-align: center;
  font-size: 1.5rem;
  color: var(--color-border-active);
  font-family: var(--font-family-body);
}

.produkt-podrobnosti {
  text-align: center;

  font-size: 1.2rem;
  height: 40px;
}

.produkt-podrobnosti {
  display: flex;
  align-items: center;
  font-family: sans-serif;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  padding: 5px 10px;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  z-index: 1;
  transition: color 0.3s ease;
  width: 130px;
}

.text {
  text-transform: uppercase;
  font-weight: bold;
  z-index: 2;
  transition: 1s;
}

.arrow3 {
  margin-left: 10px;
  font-size: 20px;
  line-height: 1;
  z-index: 2;
  transition: 1s;
}

.animated-background-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background-color: var(--zakladTmava);
  transition: width 0.4s ease-out, background-color 0.4s ease-out;
  z-index: 0;
}

.produkt-podrobnosti:hover .animated-background-line {
  width: 100%;
}

.produkt-podrobnosti:hover .text,
.produkt-podrobnosti:hover .arrow3 {
  color: white;
}

.produkty-tlck {
  width: 200px;
  height: 50px;
  background-color: var(--zakladTmava);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--bila);
  margin: 20px;
  transition: 0.7s;
  cursor: pointer;
  border-radius: 5px;
}

.produkt-sipka {
  margin-left: 10px;
  transition: 0.8s;
}

.produkty-tlck:hover>.produkt-sipka {
  margin-right: -10px;
}

.produkty-tlck:hover {
  scale: 1.07;
  box-shadow: 0 10px 10px var(--zakladTmava);
}

/*omne*/
.o-mne {
  width: 100%;
  height: auto;
  justify-content: center;

  margin-top: 10vh;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background-color: var(--sedaPozadi);
  margin-bottom: 40px;
  border-radius: 20px;
  padding: 70px 0px 70px 0px;
  width: 70%;
  box-shadow: #00416d44 0 10px 10px;
}

.o-mne-pozadi {
  height: 60vh;
  width: 600px;

  background: linear-gradient(to top, var(--zakladTmava), var(--pruhledna));
  border-bottom-left-radius: 200px;
  border-bottom-right-radius: 200px;
  display: inline-block;
  position: absolute;
}

.o-mne-text {
  width: 100%;
}

.o-mne-textak {
  width: 40%;
  height: auto;
  text-align: center;
}

.podtext {
  font-style: italic;
  text-align: center;
}

.o-mne-obrazek {
  height: 100%;
  width: 100%;
  background-image: url(obrazky/test\ panacek.png);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  scale: 1.1;
  transform: scaleX(-1);
}

.o-mne-jmeno {
  font-size: 30px;
}

.nej-produkty {
  display: flex;
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

.produkt {
  position: relative;
  width: 370px;
  margin: 20px auto;
  height: 500px;
}

.corner {
  position: absolute;
  width: 20px;
  height: 20px;
}

.top-right::before,
.top-right::after {
  content: "";
  position: absolute;
  background: #333;
  transition: 0.7s;
}

.produkt:hover .top-right::before,
.produkt:hover .top-right::after {
  content: "";
  position: absolute;
  background: var(--zaklad);
}

.top-right {
  top: 0;
  right: 0;
}

.top-right::before {
  top: 10px;
  right: 10px;
  width: 20px;
  height: 4px;
}

.top-right::after {
  top: 10px;
  right: 10px;
  width: 4px;
  height: 20px;
}

.bottom-left::before,
.bottom-left::after {
  content: "";
  position: absolute;
  background: #333;
  transition: 0.7s;
}

.produkt:hover .bottom-left::before,
.produkt:hover .bottom-left::after {
  content: "";
  position: absolute;
  background: var(--zaklad);
}

.bottom-left {
  bottom: 0;
  left: 0;
}

.bottom-left::before {
  bottom: 10px;
  left: 10px;
  width: 20px;
  height: 4px;
}

.bottom-left::after {
  bottom: 10px;
  left: 10px;
  width: 4px;
  height: 20px;
}

.pod-sebou {
  display: flex;
  flex-direction: column;
}

/*zakaznik*/
.recenze {
  width: 100%;
}

.recenze-napdis {
  font-size: 3rem;
  color: var(--zaklad);
  background: linear-gradient(90deg, var(--zaklad), var(--zakladTmava));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  margin: 40px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.zakaznik {
  position: relative;
  width: 60%;
  height: 250px;
  margin: 20px;
}

.zakaznik-foto {
  float: left;
  width: 30%;
  background-image: url(obrazky/puzovy/zaluzie.jpg);
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 10px;
  margin-right: 30px;
}

.zakaznik-foto-opacne {
  float: right;
  width: 30%;
  background-image: url(obrazky/vrata-recenze.jpg);
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 10px;
  margin-right: 30px;
}

.zakaznik-hvezdicky {
  margin-top: 20px;
}

.checked {
  color: rgb(255, 196, 0);
}

.zakaznik-datum {
  font-size: 14px;
  float: right;
  margin-right: 10px;
}

.zakaznik-datum-opacne {
  font-size: 14px;
  float: right;
  margin-right: 40px;
}

/*galerie*/
.galerie {
  width: 100%;
  background-color: var(--sedaPozadi);
  clip-path: polygon(0% 90%, 100% 100%, 100% 10%, 0% 0%);
  padding: 20px;
}

.carousel {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 50px auto;
  overflow: hidden;
  height: auto;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.carousel-track {
  display: flex;

  will-change: transform;
}

.carousel-track>* {
  flex: 0 0 calc(100% / 4);
  margin-right: 20px;
  min-width: 1600px;
}

.carousel-slide {
  min-width: 33.3333%;
  max-width: 33.3333%;
  max-height: 400px;
  padding: 10px 10px;
  display: flex;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  transition: 1s;
}

.carousel-slide img:hover {
  scale: 1.05;
  rotate: 0.5deg;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-border-active);
  opacity: 0.8;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}

.arrow-left {
  left: 10px;
}

.arrow-right {
  right: 10px;
}

.galerie-hlavni-nadpis {
  font-size: 40px;
  text-transform: uppercase;
  text-align: center;
  width: 25%;
  background: linear-gradient(90deg, var(--zakladTmava), var(--zaklad));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Mont";
  border-bottom: var(--seda) solid 4px;
}

.galerie-nadpis {
  text-transform: uppercase;
  font-size: 40px;
  color: var(--pismo-modra);
  background: linear-gradient(90deg, var(--zakladTmava), var(--zaklad));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Mont";
}

/* Rozložení řádku galerie */
.gallery-row {
  display: flex;
  align-items: stretch;
  margin-bottom: 30px;
  max-width: 1600px;
  margin-inline: auto;
}

/* Titulek sekce */
.center {
  display: flex;
  justify-content: center;
}

.gallery-title {
  font-weight: 700;
  font-size: 30px;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  text-transform: uppercase;
  text-align: center;
  margin: 20px;
  color: var(--color-text-muted, #666);
  font-family: "Mont", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-shadow: #00416d 0 10px 20px;
}

/* Pravý blok se sliderem */
.gallery-wrapper {
  position: relative;
  flex: 1;
  overflow: hidden;
  /* CSS proměnné pro počet sloupců a mezeru */
  --cols: 4;
  /* PC: 4 obrázky */
  --gap: 12px;
}

/* Kolejnice s obrázky */
.gallery-track {
  display: flex;
  gap: var(--gap);
  will-change: transform;
  transition: transform 0.35s ease;
}

/* Jednotlivé obrázky (šířka přesně podle --cols a --gap) */
.gallery-track img {
  flex: 0 0 auto;
  width: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  /* odstraní možné mezery/odsazení */
}

/* Tablet: 3 */
@media (max-width: 992px) {
  .gallery-wrapper {
    --cols: 3;
  }
}

/* Mobil: 2 */
@media (max-width: 600px) {
  .gallery-wrapper {
    --cols: 2;
  }
}

/* Šipky */
.arrow2 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: opacity 0.2s ease, transform 0.08s ease;
  user-select: none;
}

.arrow2.left2 {
  left: 6px;
}

.arrow2.right2 {
  right: 6px;
}

.arrow2:active {
  transform: translateY(-50%) scale(0.96);
}

.arrow2.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* Preferuje-li uživatel méně animací */
@media (prefers-reduced-motion: reduce) {
  .gallery-track {
    transition: none;
  }
}


/*kontakt*/
.kontakt {
  position: relative;
  display: flex;
  width: 100%;
}

.mapa {
  width: 50%;
  height: auto;
  background-position: center;
 
  background-size: contain;
  background-repeat: no-repeat;
}

.mapa img {
  width: 100%;
  margin-left: 10px;
  scale: 0.95;
}

.kontakt-info {
  float: right;
  width: 50%;
  padding: 20px;
}

.kontakt-nadpis {
  font-size: 25px;
}

.fas {
  color: var(--zakladTmava);
  margin: 10px;
}

.fs-form {
  display: grid;
  row-gap: 1.5rem;
  width: 60%;
}

.fs-form:where(.fs-layout__2-column) {
  column-gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
}

fieldset {
  display: grid;
  margin: 1.5rem 0;
  row-gap: 1.5rem;
}

.fs-form:where(.fs-layout__2-column) fieldset {
  column-gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
  grid-column: 1 / -1;
}

.fs-fieldset-title {
  color: var(--color-text-default);
  font-family: var(--font-family-display);
  font-size: 1.25rem;
  line-height: 1.75rem;
  margin-bottom: 1.5rem;
  grid-column: 1 / -1;
}

.fs-field {
  display: flex;
  flex-direction: column;
  row-gap: 0.5rem;
}

.fs-label {
  color: var(--hlavni-seda);
  display: block;

  font-size: 1rem;
  line-height: 1.25rem;
}

.fs-description {
  color: var(--sedaPozadi);
  display: block;
  font-size: 1rem;
  line-height: 1.25rem;
}

.fs-button-group {
  display: flex;
  flex-direction: row-reverse;
  column-gap: 1.5rem;
}

.fs-form:where(.fs-layout__2-column) .fs-button-group {
  grid-column: 1 / -1;
}

.fs-button {
  background-color: var(--zakladTmava);
  border-radius: 9999px;
  color: white;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5rem;
  padding: 0.75rem 2rem;
  transition: 0.4s;
}

.fs-button:hover {
  box-shadow: 0 10px 10px var(--color-background-alt);
}

.fs-button:focus-visible {
  background-color: var(--zaklad);
  outline: 4px solid var(--zakladTmava);
}

.fs-input,
.fs-select {
  appearance: none;
  border-radius: 9999px;
  border-width: 0;
  box-shadow: var(--color-border-default) 0 0 0 1px inset;
  color: var(--color-text-default);
  font-size: 1rem;
  height: 3rem;
  line-height: 1.5rem;
  outline: none;
  padding-left: 1rem;
  padding-right: 1rem;
}

.fs-input:focus-visible,
.fs-select:focus-visible {
  box-shadow: var(--zakladTmava) 0 0 0 1px inset;
}

.fs-input::placeholder {
  color: var(--zakladTmava);
}

.fs-checkbox-group,
.fs-radio-group {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}

.fs-checkbox-field,
.fs-radio-field {
  column-gap: 0.5rem;
  display: flex;
}

:is(.fs-checkbox-field, .fs-radio-field) .fs-label+.fs-description {
  margin-top: 0.25rem;
}

.fs-checkbox-wrapper,
.fs-radio-wrapper {
  align-items: center;
  display: flex;
  height: 1.25rem;
}

.fs-checkbox,
.fs-radio {
  background-color: #fff;
  border: 1px solid var(--zakladTmava);
  height: 1.25rem;
  width: 1.25rem;
}

.fs-checkbox {
  border-radius: 0.25rem;
}

.fs-radio {
  border-radius: 100%;
}

.fs-checkbox:checked,
.fs-radio:checked {
  background-color: var(--zakladTmavsi);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border-color: transparent;
}

.fs-checkbox:checked {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}

.fs-radio:checked {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
}

.fs-checkbox:focus-visible,
.fs-radio:focus-visible {
  border-color: var(--zakladTmava);
  outline: 4px solid var(--zakladTmava);
  outline-offset: 0;
}

.fs-checkbox:checked:focus-visible,
.fs-radio:checked:focus-visible {
  border-color: transparent;
}

.fs-select {
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.625em 1.625em;
  padding-right: 2.875rem;
}

.fs-slider {
  background: transparent;
  cursor: pointer;
  height: 1.25rem;
  width: 100%;
}

.fs-slider::-moz-range-track {
  background-color: var(--color-background);
  border-radius: 0.5rem;
  height: 0.5rem;
}

.fs-slider::-webkit-slider-runnable-track {
  background-color: var(--color-background);
  border-radius: 0.5rem;
  height: 0.5rem;
}

.fs-slider::-moz-range-thumb {
  background-color: var(--color-primary);
  border: none;
  /* Removes extra border that FF applies */
  border-radius: 50%;
  height: 1.25rem;
  width: 1.25rem;
}

.fs-slider::-webkit-slider-thumb {
  appearance: none;
  background-color: var(--color-primary);
  border-radius: 50%;
  height: 1.25rem;
  margin-top: -0.375rem;
  /* Centers thumb on the track */
  width: 1.25rem;
}

.fs-slider:focus-visible::-moz-range-thumb {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.fs-slider:focus-visible::-webkit-slider-thumb {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.fs-switch {
  background-color: var(--color-background-alt);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2.75' fill='white'/%3e%3c/svg%3e");
  background-position: left center;
  background-repeat: no-repeat;
  border-radius: 1.25rem;
  cursor: pointer;
  height: 1.25rem;
  transition-duration: 200ms;
  transition-property: background-color, background-position;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  width: 2.5rem;
}

.fs-switch:checked {
  background-color: var(--color-primary);
  background-position: right center;
}

.fs-switch:focus-visible {
  outline: 4px solid var(--color-highlight);
  outline-offset: 0;
}

.fs-textarea {
  appearance: none;
  border-radius: 0.75rem;
  border-width: 0;
  box-shadow: var(--color-border-default) 0 0 0 1px inset;
  color: var(--color-text-default);
  font-size: 1rem;
  line-height: 1.5rem;
  outline: none;
  padding: 0.5rem 0.75rem;
  resize: vertical;
}

.fs-textarea:focus-visible {
  box-shadow: var(--color-border-active) 0 0 0 1px inset;
}

.fs-textarea::placeholder {
  color: var(--color-text-muted);
}

/** Utilities **/

.col-span-full {
  grid-column: 1 / -1;
}

.fs-textarea::placeholder {
  color: var(--color-text-muted);
}

.slider-label-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 0.25rem;
}

.slider-label-text {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
  white-space: nowrap;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

[type="checkbox"],
[type="radio"],
[type="range"] {
  appearance: none;
  flex-shrink: 0;
  padding: 0;
  user-select: none;
}

[type="checkbox"]:focus,
[type="radio"]:focus,
[type="range"]:focus {
  outline: none;
}

footer {
  height: 300px;
  border-top-left-radius: 20%;
  border-top-right-radius: 20%;
  background-color: var(--sedaPozadi);
  text-align: center;
}

.odkaz-patka {
  color: #333;
  text-decoration: none;
}

.sponzor {
  position: relative;
  width: 100px;
  height: auto;
  margin-right: 20px;
}

.vypln-text {
  text-align: center;
}

.odkaz-paticka {
  text-decoration: none;
  color: black;
}

.bez-dekorace {
  text-decoration: none;
}

.modra {
  color: var(--zaklad);
}

.garvys {
  width: 100%;
  text-align: center;
}

.text-pred-kontaktem {
  font-size: 30px;
  font-weight: 800;
  text-align: center;
  width: 60%;

  margin-left: 20px;
}

.podtrhnute {
  border-bottom: var(--color-primary) 3px solid;
  padding: 5px;
  font-family: "Mont";
}

.texthlavni-produkty {
  font-size: 24px;
  text-align: center;
  margin-top: 100px;
}

.velky-text {
  font-size: 30px;
}

.vsechny-produkty {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 80%;
  height: auto;
  margin: 0 auto;
}

.jeden-produkt {
  width: 450px;
  height: 400px;
  position: relative;
  margin: 13px;
  cursor: pointer;
  transition: 0.5s;
  overflow: hidden;
  border-radius: 5px;
}

.jeden-produkt-nadpis {
  width: auto;
  font-weight: 800;
  color: var(--bila);
  letter-spacing: 2px;
  font-size: 35px;
  position: relative;
  top: 300px;
  font-family: var(--font-family-body);
  z-index: 2;
  transition: 0.5s;
}

.jeden-produkt-vypln {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      var(--pismo-modra) 5%,
      var(--pruhledna) 30%);
  z-index: 1;
  transition: 0.5s;
}

.jeden-produkt:hover .jeden-produkt-nadpis {
  top: 30px;
}

.jeden-produkt:hover .jeden-produkt-vypln {
  background: linear-gradient(to top,
      var(--pismo-modra),
      var(--pruhledna) 110%);
}

.jeden-produkt:hover {
  scale: 1.03;
}

.jeden-produkt-text {
  position: relative;
  text-align: center;
  width: 60%;
  z-index: 2;
  color: white;
  top: 400px;
  transition: 0.5s;
  font-size: 17px;
}

.jeden-produkt:hover .jeden-produkt-text {
  top: 50px;
}

.obrazek-galerie {
  object-fit: cover;
}

.prechod-z-hlavicky {
  position: relative;
  height: 40px;
  margin-top: 80px;
  width: 100%;
  background: linear-gradient(180deg, var(--seda), var(--bila));
}

.rolety {
  width: 80%;
  height: auto;
}

.mensi-nadpis {
  text-transform: uppercase;
  margin-bottom: -20px;
}

.hlavni-nadpis {
  font-size: 40px;

}

.hlavicka-rolety {
  margin-top: 90px;
}

.obrazek-produkt {
  position: relative;
  width: 350px;
  float: right;
  margin-top: -100px;
  box-shadow: #00416dc7 -1300px 250px 1000px;
  border-radius: 20px;
  border-top: solid 2px #00416d;
  border-right: solid 2px #00416d;
  padding: 20px;
}

.cara {
  width: 15%;
  float: left;
  margin-top: -10px;
  height: 2px;
  border: none;
  background-color: #00416d;
}

.produkt-hlavni-popis {
  width: 50%;
  margin-top: 40px;
  line-height: 30px;
}

.typy-produktu {
  margin-bottom: 20px;
  margin-top: 150px;
  font-size: 50px;
  text-align: center;
  font-family: 'Mont';
  color: var(--pismo-modra);
}

.typ1 {
  width: 40%;
  text-align: center;
  margin: 10px;
  display: inline-block;
  padding-top: 10px;
  border-radius: 20px;
  transition: 0.5s;
}

.typ1:hover>.typ-nadpis {
  color: #00416d;

}



.typ1:hover>img {
  scale: 1.05;
}

.typ1 img {
  
  transition: 1s;
  margin-bottom: -20px;
}

.typ-nadpis {
  font-family: 'Mont';
  font-size: 30px;
  transition: 1s;
  color: var(--hlavni-seda);
}

.produkt-galerie {
  text-align: center;
  margin-bottom: 60px;
  margin-top: 100px;
}

.gallery-produkt {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 200px;
  gap: 10px;
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

.gallery-produkt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

.shadow {
  width: 200px;
  height: 200px;
  box-shadow: #00416dc7 600px 100px 250px;
  position: absolute;
  left: 60%;
  z-index: -20;
  background-color: rgba(255, 255, 255, 0);
  top: 1600px;
}

.tristopade {
  width: 350px;
}

/* Nastavení různých velikostí obrázků pro efekt koláže */
.item1 {
  grid-column: span 2;
  grid-row: span 2;
}

.item2 {
  grid-column: span 2;
  grid-row: span 1;
}

.item3 {
  grid-column: span 2;
  grid-row: span 2;
}

.item4 {
  grid-column: span 2;
  grid-row: span 2;
}

.item5 {
  grid-column: span 2;
  grid-row: span 1;
}

.item6 {
  grid-column: span 2;
  grid-row: span 2;
}

.item7 {
  grid-column: span 2;
  grid-row: span 2;
}

.item8 {
  grid-column: span 2;
  grid-row: span 2;
}

.item9 {
  grid-column: span 2;
  grid-row: span 1;
}

@media (max-width: 768px) {
  .gallery-produkt {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
  }

  .item1,
  .item2,
  .item3,
  .item4,
  .item5,
  .item6,
  .item7 {
    grid-column: span 2;
    grid-row: auto;
  }
}

.cara-dolu {
  width: 2px;
  background-color: #00416d;
  height: 500px;
}
.plus {
  width: 40px;
  vertical-align: middle;
  margin-left: 10px;
  margin-right: 10px;
  margin: 10px;
}
.text-vyhody{
  font-size: 18px;
 
}
.text-vyhody2{
  font-size: 18px;
  
}
.vyhody{
  width: 100%;
}
nav {
  display: flex;
  gap: clamp(20px, 6vw, 100px); /* min 20px, scales with width, max 100px */
}

/* Logo scales with screen */
.logo {
  font-size: clamp(24px, 5vw, 40px);
  font-weight: 900;
  color: var(--zakladTmava);
  text-decoration: none;
  font-family: var(--font-family-body);
  letter-spacing: 2px;
}

/* Navigation links font-size scales */
nav a {
  color: var(--bila);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  
}
.nav-leva {
  margin-left: clamp(10px, 5vw, 10%); /* small on mobile, up to 10% on big screens */
}
.nav-prava {
  margin-right: clamp(10px, 5vw, 10%);
}
/* 1) Make widths include padding to avoid 100% + padding overflow */
*, *::before, *::after { box-sizing: border-box; }

/* 2) Header padding & height scale down on smaller screens */
.hlavicka {
  padding: clamp(10px, 2vw, 20px) clamp(12px, 4vw, 40px);
  height: clamp(64px, 8vw, 100px);
}
.hlavicka > * { min-width: 0; } /* allow flex children (navs) to shrink */

/* 3) Shrink margins progressively, then remove below 1200px */
.nav-leva  { margin-left: clamp(0px, 4vw, 10%); }
.nav-prava { margin-right: clamp(0px, 4vw, 10%); }
@media (max-width: 1200px) {
  .nav-leva, .nav-prava { margin: 0; }
}

/* 4) Smaller, responsive gaps so links fit */
nav { display: flex;  gap: clamp(12px, 5vw, 100px); /* max 100px instead of 60px */ }

/* 5) Text scales down a touch more; keep links on one line */
nav a {
   font-size: clamp(12px, 4vw, 23px); /* min 12px, fluid scaling, max 20px */
  white-space: nowrap; /* prevents breaking that can push width */
}
.logo {
  font-size: clamp(22px, 3.5vw, 45px);
  letter-spacing: clamp(1px, 0.5vw, 3px);
}
nav a {
  white-space: nowrap; /* keep words together */
}
.nej-produkty {
  width: min(1200px, 100%);
  margin-inline: auto;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  padding: 20px;
}
.produkt {
  width: 100%;
  max-width: 380px;   /* optional cap */
  margin: 16px auto;
  min-height: 420px;  /* or use aspect-ratio if you like */
  height: auto;       /* remove fixed 500px */
}
.produkt-obrazek,
.produkt-obrazek2,
.produkt-obrazek3 {
  width: 100%;
  aspect-ratio: 16 / 10; /* consistent, responsive box */
  margin-bottom: 16px;
  background-position: center;
  background-size: contain; /* you already use this */
  background-repeat: no-repeat;
}
.produkt-podrobnosti {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 8px;

}
.produkt-podrobnosti:focus-visible {
  outline: 3px solid var(--zakladTmava);
  outline-offset: 2px;
}
@media (max-width: 400px) {
  .nej-produkty { gap: 12px; }
  .produkt { margin: 12px auto; }
}
.vypln-text {
  text-align: center;
  margin: 1rem auto;
  max-width: 60ch;
  padding: 0 1rem;
}

.vypln-nadpis {
  font-weight: 800;
  font-size: clamp(1.25rem, 4vw, 1.75rem); /* ~20px → 28px */
  margin-bottom: 0.5rem;
}

.vypln-popis {
  font-size: clamp(0.95rem, 2.5vw, 1.2rem); /* ~15px → 19px */
  line-height: 1.5;
}
/* Default desktop/tablet: keep your existing layout */

/* On mobile: one full-width slide at a time */
.carousel-track {
  display: flex;
  overflow: hidden;            /* hide extra slides */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 0;                      /* no gap when only one slide is shown */
}

.carousel-slide {
  flex: 0 0 100%;              /* each slide takes full track width */
  scroll-snap-align: center;
}

/* Mobile: only 1 slide visible */
@media (max-width: 767px) {
  .carousel {
    max-width: 100%;
  }
  .carousel-slide {
    width: 100%;               /* fill the carousel */
  }
}

/* Tablet: 2 slides visible */
@media (min-width: 768px) and (max-width: 1023px) {
  .carousel {
    margin: 0 auto;
  }
  .carousel-slide {
    flex: 0 0 50%;             /* two slides per row */
  }
}
.mobile-section  .text-vyhody {
  text-align: center;
}
.mobile-section{
  display: none;
}
/* Desktop: multiple visible */
@media (min-width: 1024px) {
  .carousel {
    max-width: 1200px;
    margin: 0 auto;
  }
  .carousel-slide {
    flex: 0 0 33.333%;         /* example: 3 slides visible */
  }
}
/* Base */
.carousel { position: relative; overflow: hidden; }
.carousel .carousel-track {
  display: flex;
  width: 100%;
  overflow: hidden;           /* no horizontal scroll peeking */
  scroll-snap-type: x mandatory;
  gap: 0;                     /* must be 0 for single-slide view */
  padding: 0;                 /* no inner padding */
  margin: 0;
}
.carousel .carousel-slide {
  flex: 0 0 100%;             /* exactly 100% of track */
  max-width: 100%;
  scroll-snap-align: center;
}
.obrazek-galerie { display:block; width:100%; height:auto; }

/* Tablet: show exactly 2 */
@media (min-width: 768px) and (max-width: 1023px) {
  .carousel .carousel-track { overflow-x: auto; } /* allow scrolling again */
  .carousel .carousel-slide { flex-basis: 50%; }
}

/* Desktop: your choice (example 3-up) */
@media (min-width: 1024px) {
  .carousel .carousel-track { overflow-x: auto; }
  .carousel .carousel-slide { flex-basis: 33.333%; }
}
@media (max-width:1800px)
{
  .text-vyhody{
    font-size: 16px;
  }
  .text-vyhody2{
    font-size: 16px;
  }
  .plus{
    width: 30px;
  }
  .cara-dolu{
    height: 400px;
  }
}
@media (max-width:1630px)
{
  .text-vyhody{
    font-size: 14px;
  }
  .text-vyhody2{
    font-size: 14px;
  }
  .plus{
    width: 30px;
  }
}


@media (max-width:1440px)
{
  .text-vyhody{
    font-size: 12px;
  }
  .text-vyhody2{
    font-size: 12px;
  }
  .plus{
    width: 25px;
  }
}
@media (max-width:1240px) {
  .mobile-section{
    display: block;
  }
  .computer-section{
    display: none;
  }
  .text-vyhody{
    font-size: 20px;
  }
  .text-vyhody2{
    font-size: 20px;
  }
  .plus{
    width: 40px;
  }
  .typ1{
    width: 100%;
  }
}
@media (max-width:1000px)
{
  .o-mne{
    margin: 30px;
    padding: 30px 0 30px 0;
  }
  .o-mne-textak{
    width: 80%;
  }
  .zakaznik {
    margin-bottom: 40px;
    width: 80%;
  }
  .zakaznik-foto{

  width: 40%;
  }
  .zakaznik-foto-opacne{
    width: 40%;
  }.mapa{
    width: 1000px;
    
  }.kontakt{
    flex-wrap: wrap;
  }
  .text-pred-kontaktem{
    width: 100%;
  }
  .fs-form{
    width: 100%;
  }
  .kontakt-info{
    width: 80%;
    margin: 0 auto;
  }
}
@media (max-width: 768px)
{
  
  .zakaznik {
    display: flex;
    flex-direction: column; /* stack items vertically */
    align-items: center;    /* center them */
    text-align: center;     /* optional: center text */
    height: auto;
  }

  .zakaznik-foto, .zakaznik-foto-opacne {
    width: 100%; /* make image block full width */
    min-height: 180px;
    max-width: 300px; /* optional: keep it reasonable */
  }

  .zakaznik-text {
    width: 100%;
  }
  .text-vyhody{
    font-size: 16px;
  }
  .text-vyhody2{
    font-size: 16px;
  }
  .plus{
    width: 30px;
  }
  .gallery-produkt{
    width: 80%;
  }
  .obrazek-produkt{display: none;}
  .produkt-hlavni-popis{
    width: 80%;
    text-align: left;
   
  }
  .galerie-hlavni-nadpis{
    width: 30%;
  }
}

@media (max-width:500px)
{
  .o-mne{
    margin-left: 10px;
    margin-right: 10px;
    padding: 30px 0 30px 0;
    width: 100%;

  }
  .o-mne-textak{
    width: 80%;
  }
   .text-vyhody{
    font-size: 12px;
  }
  .text-vyhody2{
    font-size: 12px;
  }
  .plus{
    width: 25px;
  }
   .galerie-hlavni-nadpis{
    width: 60%;
  }
}
.nav-icon-5{
  width: 32px; height: 24px; position: relative; display:none; cursor:pointer; background:none; border:0; color:inherit;
}
.nav-icon-5 span{
  position:absolute; left:0; width:100%; height:3px; background:#fff; transition:all .25s ease;
}
.nav-icon-5 span:nth-child(1){ top:0; }
.nav-icon-5 span:nth-child(2){ top:10.5px; }
.nav-icon-5 span:nth-child(3){ top:21px; }
.nav-icon-5.open span:nth-child(1){ transform:rotate(45deg); top:10.5px; }
.nav-icon-5.open span:nth-child(2){ opacity:0; }
.nav-icon-5.open span:nth-child(3){ transform:rotate(-45deg); top:10.5px; }

/* ===== Mobile menu (hidden by default) ===== */
.mobilNav{
  display:none;
  position:absolute;
  top:100%;
  left:0; right:0;
  background:#333;
  padding:.5rem 0;
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
}
.mobilNav ul{ list-style:none; margin:0; padding:.5rem 0; }
.mobilNav li{ margin:0; }
.mobilNav a{
  display:block; padding:1rem 1.25rem; color:#fff; text-decoration:none; font-size:1.05rem;
}
.mobilNav a:hover, .mobilNav a:focus{ background:rgba(255,255,255,.08); outline:none; }
.mobilNav.show{ display:block; }

/* ===== Responsive: switch at 1000px ===== */
@media (max-width:1000px){
  .nav-leva, .nav-prava{ display:none; }
  .nav-icon-5{ display:block; justify-self:end; }
  .hlavicka{ grid-template-columns: auto 1fr auto; padding: 50px;}
  .logo{ justify-self:center; 
    font-size: 5.2vw;
    margin-left: 50px;
  }
}
.mobile-section .text-vyhody2{
  text-align: center;
}
