html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}


* {
  margin: 0;
  padding: 0;
  outline: none;
  box-sizing: border-box;
}

body {
  font-family: "Roboto Condensed", sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
}
a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
}

ul {
  list-style: none;
}

h1 {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 700;
    font-size: 66px;
    line-height: 66px;
    padding: 30px 0;
    max-width: 900px;
    color: #FFFFFF;
    text-shadow: 0px 4px 23px rgba(0, 0, 0, 0.25);
}

h2 {
    color: #244486;
    font-size: 40px;
    text-align: center;
}

header.hero {
  background: url("../images/hero-bg.webp") no-repeat center center/cover;
  position: relative;
}
header .overlay {
  height: 100%;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.container {
  width: 100%;
  max-width: 1150px;
  margin: auto;
}

.nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

a.btn.btn-secondary.table {
    display: table;
}
.nav .container {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
}

.nav a {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 15px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}


.page-template-homepage .nav {
  background: none;
}
.nav {
    background: #244485;
}

.lang-item-cs a {
    content: url(../images/cz.svg);
  display: block;
}

.lang-item-en a {
  content: url(../images/en.svg);
  display: block;
}

.lang-item-de a {
  content: url(../images/de.svg);
  display: block;
}

.main-menu li:last-child {
    position: relative;
    left: -10px;
}

.contact-container .contact-form {
    max-width: 890px;
    background: #244485;
    padding: 40px 35px;
    margin: 60px auto 90px;
}


.buttons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.btn-menu {
  background: #fff;
  color: #244485;
  font-weight: 500 !important;
  padding: 12px 22px;
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-size: 14px;
  line-height: 19px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn {
  background: #244484;
  color: white;
  padding: 20px 30px;
  border: none;
  cursor: pointer;
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn:hover {
  background: #2950a0;
}

.btn-outline {
  border: 2px solid white;
  background: transparent;
  color: white;
}
.btn-secondary {
  background: white;
  color: #244484;
}

.btn.btn-secondary:hover {
  background: #e3e8f4;
  color: #000;
}
.hero-content {
    text-align: left;
    padding: 100px 20px 200px;
}
.intro {
  padding: 3rem 0 0;
  background: #244484;
  text-align: center;
  color: #fff;
}

.intro h2 {
    color: #fff;
}

section.intro p {
    font-size: 22px;
    font-weight: 200;
    max-width: 900px;
    line-height: 1.5;
    margin: auto;
}

.services {
  background: #244484 url(../images/bg_white.svg) repeat-x bottom center;
  color: white;
  padding: 2rem;
  text-align: center;
}
.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
  margin-top: 1.5rem;
}

.card {
    background: white;
    color: #244484;
    padding: 50px 1% 0px;
    border-radius: 0.5rem;
    width: 18%;
    text-align: center;
    box-shadow: 3px 4px 10px rgba(0, 0, 0, 0.08);
}

.card h3 {
    font-size: 20px;
    padding: 0;
    margin: 16px 0;
    transition: all 0.2s;
    position: relative;
    left: 0;
}

.card h3::after {
    content: url('../images/arrow-after.svg');
    display: block;
    position: relative;
    left: 0;
    transition: all 0.2s;
}

.card:hover h3::after {
    left: 5px;
}

.card:hover {
    transform: scale(1.02);
    box-shadow: 3px 4px 30px rgba(0, 0, 0, 0.08);
}



.services .center {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}


.reference {
  padding: 3rem 2rem;
    background: linear-gradient(180deg, #FFFFFF 0%, #F4F6F9 100%);
}
.carousel {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
}
.carousel-item {
  min-width: 250px;
}


.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.center {
  text-align: center;
  margin-top: 1.5rem;
}

.footer {
  background-color: #0c1a36;
  color: white;
  padding: 40px 20px;
  font-size: 14px;
}

.footer-inner {
    max-width: 1100px;
    display: flex;
    margin: 0 auto;
    justify-content: space-between;
    align-content: center;
    align-items: center;
}

.footer-logo img {
  max-width: 160px;
  margin-bottom: 30px;
}

.footer-logo {
    width: 30%;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  width: 70%;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 5px;
}

.footer-col.contact strong {
    font-size: 20px;
}

.footer-col a {
  color: white;
  font-size: 15px;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-col.contact p {
  margin: 5px 0;
}

.footer-col.contact .icon {
  margin-right: 8px;
}

.social-icons {
  margin-top: 10px;
}

.social-icons a {
  margin-right: 10px;
  font-size: 18px;
  color: white;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #1c2a48;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 13px;
}


select#sluzba {
    width: 99%;
}

.contact-form {
    max-width: 850px;
    background: #244485;
    padding: 40px 80px;
    margin: 60px auto 90px;
}

textarea {
    width: 99%;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    border-color: #ffb900;
    background: #ffb900;
    text-align: center;
    font-weight: 700;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    background: #46b450;
    text-align: center;
    padding: 20px;
    font-weight: 700;
}

span.wpcf7-list-item label {
    display: flex;
    align-items: center;
    align-content: center;
}
.wpcf7-list-item {
    display: inline-block;
    margin: 0;
}

.wpcf7-not-valid-tip {
    font-size: 14px;
    color: #ff6464;
    padding: 3px 0;
    width: 98%;
    text-align: left;
    font-weight: normal;
    display: block;
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #fff;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

label {
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 5px;
  color: #fff;
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
  line-height: 14px;
}


.form-group.checkbox label {
    margin: 0;
}

.checkbox {
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: row;
    margin: 20px 0 0;
    justify-content: center;
}

input[type="tel"],
input[type="email"],
input[type="text"], select, textarea {
    padding: 20px;
    font-size: 16px;
    border: none;
    background: white;
    color: #000;
    border-radius: 0;
    font-family: 'Roboto Condensed';
}

textarea {
  resize: vertical;
}


.checkbox input {
  margin-right: 10px;
}

.checkbox a {
  color: #fff;
  text-decoration: underline;
}

.submit-button {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 15px 30px;
  text-transform: uppercase;
  font-weight: bold;
  cursor: pointer;
  justify-content: center;
  display: flex;
  margin: 20px auto;
  font-size: 16px;
  letter-spacing: 1px;
  font-family: 'Roboto Condensed';
  width: 100%;
  max-width: 300px;
  transition: background 0.3s, color 0.3s;
}

.submit-button:hover {
  background: white;
  color: #244485;
}



.subpage .reference h2 {
  font-size: 56px;
}


.sluzby {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.sluzby h2 {
  font-size: 56px;
  color: #244484;
  margin-bottom: 20px;
}

.subtitle {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 780px;
  line-height: 1.3;
  text-align: center;
  margin-bottom: 40px;
  margin: 0 auto 40px;
  font-weight: 400;
}


.reference .subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 780px;
    line-height: 1.3;
    letter-spacing: 0.4px;
    text-align: center;
    margin: 0 auto 0px;
    font-weight: 300;
}

.sluzby-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;

}


.sluzba-box {
  background: #FFFFFF;
  box-shadow: 3px 4px 50px rgba(36, 68, 132, 0.08);
  border-radius: 5px;
  padding: 40px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sluzba-box .icon {
    display: flex;
    gap: 14px;
    align-items: center;
}

.sluzba-box .icon img {
    width: 48px;
}

.sluzba-box h3 {
  color: #244485;
  font-size: 28px;
}

.sluzba-box .buttons {
  margin: 0;
}

.sluzba-box p {
font-family: 'Roboto Condensed';
font-style: normal;
font-weight: 300;
font-size: 18px;
padding: 20px 0;
line-height: 28px;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sluzba-box .buttons .btn {
    padding: 14px 30px;
    display: flex;
    align-items: center;
    font-size: 14px;
    justify-content: center;
}

.btn.primary {
  background: #244485;
  color: #fff;
}

.btn.outline {
  border: 2px solid #244485;
  color: #244485;
  background: transparent;
}

.btn.outline:hover {
  background: #244485;
  color: #fff;
}

.kontakt-box {
    background: #244484;
    color: white;
    justify-content: center;
    text-align: center;
}

.kontakt-box .btn.full {
  width: 100%;
  background: none;
  border: 1px solid #fff;
  color: #fff;
  max-width: 240px;
  margin:20px auto;
  padding: 12px 0;
}

.kontakt-box .btn.full:hover {
  background: #fff;
  color: #244484
}

.kontakt-box h3 {
    color: #fff;
    display: flex;
    justify-content: center;
    gap: 11px;
    position: relative;
    left: -15px;
}

.sluzba-box.kontakt-box  p {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 300;
    font-size: 18px;
    padding: 10px 0;
    line-height: 28px;
}

.note {
    margin-top: 50px;
    font-size: 18px;
    font-weight: 300;
}

strong {
  font-weight: 700;
}







.section-contact {
  padding: 60px 20px;
  background: #fff;
  color: #222;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-heading {
  font-size: 56px;
  text-align: center;
  color: #244484;
  margin-bottom: 10px;
}

.contact-subheading {
    text-align: center;
    margin-bottom: 30px;
    font-size: 18px;
}

.contact-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.contact-details {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  font-size: 18px;
}

.contact-details-title {
  font-size: 36px;
  color: #244484;
  margin-bottom: 15px;
}

.contact-link,
.contact-phone,
.contact-email {
  color: #1c3f7b;
  text-decoration: underline;
  display: inline-block;
  margin-bottom: 5px;
}

.contact-map img {
  margin-top: 20px;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

select,
input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

input[type="checkbox"]:checked {
    background-color: #254485;
    border-color: #333;
}

input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}


.contact-form-wrap {
  flex: 1;
  padding: 0px;
  color: #fff;
}

.subpage.contact-pg .contact-form {
    max-width: 670px;
    margin: 0 auto;
    background: #244485;
    padding: 40px 50px;
    margin: 0px auto 90px;
}

a.contact-email,
a.contact-phone {
    display: flex;
    gap: 8px;
}

.form-title {
  font-size: 22px;
  margin-bottom: 20px;
  text-align: center;
}

.form-contact input,
.form-contact select,
.form-contact textarea {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  margin-bottom: 16px;
  border: none;
  font-size: 16px;
}

.form-contact input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
}

.form-row-pair {
  display: flex;
  gap: 20px;
}

.form-item {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-consent {
  margin-bottom: 20px;
  font-size: 14px;
}









.vzduchotechnika-section {
  background-color: #244485;
  color: white;
  padding: 60px 20px 100px;
}

.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 60px;
}

.image-wrapper {
  flex: 1 1 40%;
  border-radius: 16px;
  overflow: hidden;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.text-wrapper {
  flex: 1 1 50%;
}

.text-wrapper h2 {
    font-size: 40px;
    margin-bottom: 20px;
    text-align: left;
    color: #fff;
}

.text-wrapper p {
    font-size: 18px;
    margin-bottom: 15px;
}

.text-wrapper h4 {
    margin-top: 14px;
    margin-bottom: 10px;
    font-size: 23px;
    font-weight: bold;
}

ul.bullet {
    list-style: disc;
    margin: 0 16px;
    margin-bottom: 20px;
    font-size: 18px;
}


.page-template-sluzba .services {
  background: none;
}

.subpage .card {
    box-shadow: 3px 4px 40px rgb(36 68 133 / 10%);
}


.subpage .contact-form {
    max-width: 860px;
    margin: 0 auto;
    background: #244485;
    padding: 40px 90px;
    margin: 40px auto 90px;
}









.slider-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 2000px;
  padding: 40px 0;
  margin: auto;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 25%;
  box-sizing: border-box;
  padding: 0 10px;
  text-align: center;
  transition: all 1s;
}

.slide img {
    width: 100%;
    border-radius: 5px;
    height: 470px;
    cursor: pointer;
    object-fit: cover;
}

.caption {
  margin-top: 10px;
  font-weight: bold;
  color: #1d3d6e;
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  width: 86px;
  height: 86px;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
  border-radius: 100px;
  z-index: 1;
}

.slider-prev {
  left: 10%;
  background: url(../images/arrow-left-default.svg);
}

.slider-prev:hover {
  left: 10%;
  background: url(../images/arrow-left.svg);
}


.slider-next {
  right: 10%;
  background: url(../images/arrow-right-default.svg);
}

.slider-next:hover {
  right: 10%;
  background: url(../images/arrow-right.svg);
}

@media (max-width: 1024px) {
  .slide {
    min-width: 50%;
  }
}

@media (max-width: 768px) {
  .slide {
    min-width: 100%;
  }

  .slider-prev,
  .slider-next {
    display: none; /* na mobilu schovej šipky */
  }

  .nav a {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    font-size: 19px;
    line-height: 42px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

input[type="tel"],
input[type="email"],
input[type="text"] {
    width: 99%;
}


.form-group {
    flex: auto;
    display: flex
;
    flex-direction: column;
}

}

.slider-dots {
  display: none;
  justify-content: center;
  margin-top: 15px;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s;
}

.slider-dot.active {
  background: #1d3d6e;
}

@media (max-width: 768px) {

  h1 {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 48px;
    text-align: inherit;
    padding: 30px 0;
    text-align: center;
    max-width: 900px;
    color: #FFFFFF;
    text-shadow: 0px 4px 23px rgba(0, 0, 0, 0.25);
}

.hero-content img {
    max-width: 100%;
    max-width: 280px;
    margin: auto;
    text-align: center;
    display: block;
}

  .slider-dots {
    display: flex;
  }

  .slide img {
    width: 100%;
    border-radius: 5px;
    height: 300px;
    cursor: pointer;
    object-fit: cover;
}

.hero-content img {
    max-width: 320px;
}

}



/* Burger ikonka */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 50px;
  gap: 6px;
  padding: 10px;
  z-index: 9
}

.menu-toggle span {
  height: 1px;
  width: 100%;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}


@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .main-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 0px;
    right: 0;
    background: #071634;
    width: 100%;
    height: 100vh;
    padding: 20px;
    z-index: 2;
  }

a.logo {
      z-index: 9;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg)
}
  .main-menu.active {
    display: flex;
  }

  .main-menu li {
    margin-bottom: 10px;
  }

  ul#main-menu a {
    font-size: 18px;
    margin-bottom: 20px;
    display: inline-block;
}

  .grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.reference {
    padding: 3rem 10px;
}

.nav ul {
    display: none;
    gap: 9px;
    max-width: 100%;
    text-align: center;
    padding: 110px 0 80px
}

.buttons {
    display: flex;
    gap: 20px;
    flex-direction: column;
    text-align: center;
    max-width: 300px;
    margin: auto;
}


.intro {
    padding: 3rem 20px 0;
}

h2 {
    color: #244484;
    font-size: 40px;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content {
    text-align: left;
    padding: 100px 20px 110px;
}

.card {
    width: 75%;

}

.card h3 {
    font-size: 22px;
}

.services {
    padding: 16px;
}

section.intro p {
    font-size: 19px;
}

.slider-container {
    padding: 40px 0 20px;
}

.contact-form {
    padding: 40px 30px;
    margin: 0px auto 0px;
}

.submit-button {
  width: 100%;
}

.footer-inner {
    flex-direction: column;
}

.footer-logo {
    width: 100%;
    text-align: center;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    flex-direction: column;
    width: 100%;
    text-align: center;
}
.content-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: column-reverse;
    gap: 60px;
}


.subpage .contact-form {
    max-width: 860px;
    margin: 0 auto;
    background: #244485;
    padding: 40px 30px;
    margin: 60px auto 0;
}

.section-contact {
  padding: 60px 0 0;
}

.subpage .reference h2 {
    font-size: 36px;
}

.subpage.contact-pg .contact-form {
  margin: 0px auto 0px;
}
.contact-subheading,
.contact-details {
  padding: 0 20px;
}

.main-menu li:last-child {
    position: relative;
    left: 0;
}

section.vzduchotechnika-section .image-wrapper {
    display: none;
}

}
