html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Pokud máš fixní header */
}



img {
    max-width: 100%;
}

body {
  margin: 0;
  font-family: "Mundial", sans-serif;
  line-height: 1.6;
  color: #2b2b2b;
  font-weight: 200;
  font-style: normal;
}

a {
  text-decoration: none;
  color: #000;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
}

.hero {
  background: url("../images/bg-hero.jpg") center/cover no-repeat;
  color: #fff;
  text-align: center;
  position: relative;
}

.overlay {
  background: linear-gradient(180deg, rgba(36, 36, 76, 0.89) 0%, rgba(23, 23, 76, 0.89) 100%);
  padding: 12rem 20px;
}

.hero p {
    font-family: 'Mundial';
    font-style: normal;
    font-weight: 200;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    max-width: 500px;
    padding: 20px 0;
    margin: auto;
}


.hero .btn {
  display: inline-block;
  background: #fff;
  color: #001945;
  padding: 16px 40px;
  margin: 0.5rem;
  font-weight: bold;
  border: 2px solid #fff;
}

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

.btn.btn-blue {
  background: #24244C;
  border: 2px solid #24244C;
  color: #fff;
  font-family: 'Mundial';
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 30px;
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}


img.logo {
    position: absolute;
    top: 0;
    margin: auto;
    left: 0;
    right: 0;
}

.references a.btn-blue.btn.center {
  margin-top: 60px;
}

h1 {
  font-family: 'Mundial';
  font-style: normal;
  font-weight: 700;
  font-size: 73px;
  line-height: 69px;
  text-align: center;
  padding: 0;
  color: #FFFFFF;
  max-width: 600px;
  margin: 0 auto;
}

h2 {
  font-family: 'Mundial';
  font-style: normal;
  font-weight: 700;
  font-size: 45px;
  line-height: 43px;
  color: #24244C;
}

h3 {
  font-family: 'Mundial';
  font-style: normal;
  font-weight: 700;
  font-size: 28px;
  line-height: 32px;
  text-align: center;
  color: #24244C;
}

.bg-blue h3,
.bg-blue p {
  padding: 0;
  margin: 0;

}

.bg-blue h3 {
  margin-top: 15px;

}

.bg-blue p {
  padding: 20px;

}

.icons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
  align-items: center;
  padding: 2rem 0;
}

.icon-box img {
  max-width: 100px;
}

.icon-box p {
  font-family: 'Mundial';
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  padding: 0;
  line-height: 20px;
  text-align: center;
  color: #24244C;
  margin: 11px 0;
}

.gallery.slider a,
.cards.slider .card {
  margin: 0 10px;
}
.slick-slide {
  outline: none;
}



.features {
  background: #f8f8f8;
  text-align: center;
  padding: 2rem 1rem;
}

.features .feature {
  display: inline-block;
  margin: 1rem;
  max-width: 250px;
  font-weight: bold;
}

.about, .products, .references, .contact {
  padding: 3rem 1rem;
}

.about .container, .contact .container {
  display: flex;
  flex-wrap: wrap;
  gap: 100px;
}

.about .text, .contact .info, .contact .form {
  flex: 1;
  min-width: 280px;
}

.map {
    width: 50%;
}

.container.contact-grid div div {
    width: 25%;
}
.container.contact-grid a {
    display: flex
;
    gap: 7px;
    align-content: center;
    align-items: center;
}

.references .gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.bg-blue {
 background: #24244C;

}

.bg-blue h2 {
  color: #fff;
  margin-bottom: 50px;
}

.center {
  text-align: center;
  margin: auto;
}

.card {
    background: #f4f4f4;
    padding: 32px 24px;
    text-align: center;
}

.card img {
  max-width: 100%;
  width: 100%;
}

.slider .slick-prev {
    left: -45px;
}

.slider .slick-next {
    right: -45px;
}

.slider .slick-prev:before {
  content: url(../images/arrow-left.svg);
}

.slider .slick-next:before {
  content: url(../images/arrow-right.svg);
}

section.references .btn {
    display: table;
    margin: auto;
}
.gallery {
    margin: 50px 0;
}

.btn {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.6rem 1.2rem;
  background-color: #001945;
  color: #fff;
  border: none;
  font-weight: 500;
  font-style: normal;
  cursor: pointer;
}

.btn-sm {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.6rem 1.2rem;
  background-color: #001945;
  color: #fff;
  border: none;
  cursor: pointer;
}

.btn-sm {
  font-size: 0.9rem;
  padding: 0.4rem 1rem;
}

.references .gallery img {
  max-width: 100%;
  width: 370px;
  height: 370px;
  margin: auto;
  object-fit: cover;
}

.references .slider .slick-dots li button:before {
    color: #000;
}


.slider .slick-dots li button:before {
    color: #ffffff;
    font-size: 7pt;

}

.references .slider .slick-dots li.slick-active button:before {
    opacity: .75;
    color: #000;
}


.slider .slick-dots li.slick-active button:before {
    opacity: .75;
    color: #fff;
}


.references .slider .slick-dots {
    position: absolute;
    bottom: -30px;
  }


.slider .slick-dots {
    position: absolute;
    bottom: -45px;
  }

form label {
    font-size: 0.85rem;
    padding: 0;
}

form input, form textarea {
  margin: 0.4rem 0;
  border: 1px solid #ccc;
}

form label {
    font-size: 15px;
}

form label.checkbox label {
    font-size: 15px;
    gap: 7px;
    display: flex
;
}

h4 {
    font-size: 18px;
    line-height: 1;
    margin: 0 0 10px;
}


.contact-section {
  padding: 4rem 1rem;
background: #FFFFFF;
box-shadow: 0px 4px 34px rgba(0, 0, 0, 0.07);

}

iframe {
    width: 100%;
}

.flex {
    display: flex;
    gap: 70px;
	width: 100%;
}

.contact-info .flex {
    display: flex;
    gap: 20px;
	flex-wrap: wrap;
}

.contact-info .flex div {
    width: 48%;
}

.contact-grid {
    display: flex;
    gap: 70px;
    align-items: flex-start;
}

form.contact-form a {
  text-decoration: underline;
}
.contact-info {
  min-width: 280px;
  font-size: 1rem;
  width: 50%;
  line-height: 1.5;
}

.contact-info h4 {
  color: #001945;
  margin-bottom: 0.5rem;
  text-align: left;
  font-size: 18px;
  margin: 0;
}

.contact-info .flex a {
    display: flex;
    gap: 9px;
    padding: 0;
    align-items: center;
    justify-content: flex-start;
}

.contact-info a {
  color: #001945;
  text-decoration: underline;
}

.contact-info .map {
  margin-top: 40px;
  border-radius: 8px;
  overflow: hidden;
}

.contact-info .map img {
  max-width: 100%;
  border-radius: 8px;
}

input, textarea {
  font-family: Mundial;
  font-weight: 300;
}

textarea {
  width: 90%;
}

.contact-form {
  min-width: 280px;
}

.contact-form .form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 10px;
}

div#wpcf7-f7-o1 {
    width: 50%;
}

.contact-form input, .contact-form textarea {
    padding: 5%;
    border: 1px solid #ccc;
    font-size: 1rem;
    width: 90%;
}


.contact-form textarea {
    width: 90%;
    resize: vertical;
    max-height: 100px;
}

.wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 11px;
    font-weight: normal;
    display: block;
}

.wpcf7-list-item {
    display: inline-block;
    margin: 0;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner.btn.btn-blue {
    padding: 10px 50px;
    width: auto;
}

.contact-form .checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 3px;
    font-size: 0.9rem;
}

.contact-form .checkbox input {
  transform: scale(1.2);
  width: auto;
  flex: none;
}

.contact-info p, .contact-info a {
    color: #001945;
    font-weight: 300;
    line-height: 1.7;
    padding: 0;
    margin: 6px 0 0;
}

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

.gallery {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.gallery img {
  max-width: 200px;
  border-radius: 6px;
  cursor: pointer;
}


.menu-toggle {
  position: absolute;
  top: 40px;
  right: 40px;
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 1002;
  cursor: pointer;
}
.menu-toggle span {
  width: 28px;
  height: 2px;
  background: #fff;
}

/* Overlay za menu */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 40, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

/* Sidebar menu */
.side-menu {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 300px;
  height: 100%;
  background: #fff;
  color: #fff;
  padding: 2rem 1.5rem;
  box-shadow: -2px 0 5px rgba(0,0,0,0.3);
  transition: right 0.3s ease;
  z-index: 9999999;
}

.side-menu ul {
  list-style: none;
  padding: 0;
  margin-top: 3rem;
}

.side-menu li {
  margin: 1rem 0;
}

.side-menu a {
    color: #24244C;
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
}

.close-btn {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    font-size: 2rem;
    background: none;
    border: none;
    color: #24244C;
    cursor: pointer;
}

/* Aktivní stav menu + overlay */
.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.side-menu.active {
  right: 0;
}



.site-footer {
  background-color: #1d1d50;
  color: #fff;
  padding-top: 3rem;
  font-size: 0.95rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-logo img {
  max-width: 140px;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 6rem;
}

.footer-columns ul {
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 14px;
    display: flex;
    align-items: center;
    color: #6c6c83
}

.footer-columns li {
    margin: 0.3rem 0;

}

.footer-columns li a {

}

.footer-columns a {
  color: #fff;
  text-decoration: none;
}

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

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    margin-top: 2rem;
    padding: 1rem 0;
    max-width: 1200px;
    font-size: 0.85rem;
    margin: auto;
    text-transform: uppercase;
    letter-spacing: 1px;
}




@media screen and (max-width: 768px) {

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

  .footer-columns ul span {
    display: none;
  }
  .flex,
  .footer-columns ul {
    flex-direction: column;
  }
  .contact-grid {
      display: flex;
      gap: 40px;
      flex-direction: column;
      align-items: flex-start;
  }

  .contact-info .flex a {
    display: flex;
    gap: 9px;
    padding: 0;
    align-items: center;
    justify-content: center;
}

h1 {
    font-family: 'Mundial';
    font-style: normal;
    font-weight: 700;
    font-size: 44px;
    line-height: 49px;
    text-align: center;
    margin: 0;
    padding: 0;
    color: #FFFFFF;
}

img.logo {
    position: absolute;
    top: 0;
    margin: auto;
    left: 40px;
    right: auto;
    width: 130px;
}

.overlay {
    padding: 120px 20px;
}


.hero .btn {
    display: table;
    width: 60%;
    margin: 20px auto;
}

h2 {
    font-size: 36px;
    padding: 0;
    margin: 0;
}

.container {
    padding: 10px;
}

.about .container img{
}


.about .container {
    gap: 50px;
}
section#o-nas .btn {
    width: 86%;
}
	
	
.contact-info .flex,
.flex {
    gap: 20px;
}

.contact-info {
    min-width: 280px;
    font-size: 1rem;
    width: 100%;
    line-height: 1.5;
}

h2,
.contact-info p, .contact-info a,
.contact-info .flex a,
.contact-info h4 {
    text-align: center;
}
	
	.contact-info h4 {
    text-align: center;
	    font-size: 22px;
}

.contact-form,
div#wpcf7-f7-o1 {
    width: 100%;
}

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

.slider .slick-prev {
    left: -18px;
}

.slider .slick-next {
    right: -18px;
}

.image {
    width: 94%;
}

	.contact-info .flex div {
    width: 100%;
}
	
	.map {
    width: 100%;
}
	
	.container.contact-grid div div {
    width: 100%;
}
	
	.container.contact-grid a {
    align-content: center;
    align-items: center;
    justify-content: center;
}
	
	.contact-info .flex, .flex {
  text-align: center;
        justify-content: center;
    }

}
