.vyroba-boxes {
	display: flex;
	gap: 20px;
	align-items: stretch;
    margin-bottom: 100px;
}

.box-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100%;
}

.vyroba-boxes > .blue-box {
	flex: 1 1 30%;
}

.double-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
    gap: 20px;
}

.my-slider {
	flex: 0 0 50%;
}

.double-content .blue-box {
	width: 100%;
	padding: 15px 20px;
	height: 100%;
}

.blue-box p {
	color: white;
    text-align: left;
}

.vyroba-cislo {
    font-size: 70px;
    font-weight: bold;
    text-align: center;
}

.swiper-slide {
    max-width: 100%;
}

.swiper-slide img,
.swiper-slide video {
    max-width: 100%;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover !important;
}
@media only screen and (min-width:1400px){
	.swiper-slide{
		max-width:710px!important;
	}
    .double-content {
        max-width: 220px;
    }
}

@media (max-width: 1400px) {
  .vyroba-boxes {
    flex-wrap: wrap;
  }

  .vyroba-boxes > .blue-box,
  .double-content {
    flex: 0 1 60%;
    width: fit-content;
    height: auto;
  }
  .my-slider {
    flex: none;
    width: 100%;
  }

  .double-content {
    flex: 1;
  }

  .swiper-slide img,
  .swiper-slide video {
    height: auto;
    max-width: 100%;
    width: 100%;
  }
}
@media (max-width: 768px) {
    .vyroba-boxes > .blue-box {
        margin: 0 auto;
        width: 100%;
        flex: none;
    }
    .blue-box {
        margin-top: 0px;
        margin-bottom: 0px;
        display: flex;
        justify-content: center;
    }
    .blue-box-content {
        width: fit-content;
    }
}


/*NAV*/
.boxes-layout {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(100%, 1fr)); 
	gap: 20px;
    margin-top: 40px;
    margin-bottom: 100px;
}
@media (min-width: 768px) {
    .boxes-layout {
        grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); 
    }
}

.vyroba-nav-item {
	position: relative;
	max-width: 100%;
	width: 100%;
	height: 300px;
	background-size: cover;
	border-radius: 20px;
	padding: 20px;
	text-align: center;
	overflow: hidden;
	margin: 0 auto;
	background-position: center;
	background-size: 100%;
    transition: 0.3s all;
}
.vyroba-nav-item:hover {
    background-size: 105%;
}
@media (max-width: 768px) {
    .vyroba-nav-item {
	height: 50vw;
}
}
.title {
	position: absolute;
	font-size: 18px;
	font-weight: bold;
	color: white;
	bottom: 25px;
	text-align: left;
	width: calc(100% - 40px);
}
@media (min-width: 768px) {
    .title {
        font-size: 24px;
    }
}
.overlay {
	height: 150px;
    position: absolute;
    width: 100%;
    background: linear-gradient(rgba(0, 23, 48, 0) 0%, rgba(0, 73, 150, 0.8) 100%);
    bottom: 0px;
    left: 0;
}
h3 {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
    word-wrap: break-word;
}

h3 img {
	width: 25px;
	height: 25px;
}

/*PROCES*/
.proces-vyroby {
    margin-bottom: 100px;
}
.proces-vyroby h2  {
    font-size: 25px;
}
.slide-text {
    text-align: left;
    line-height: 30px;
    margin-top: 20px;
}
.slide-heading {
    font-size: 20px;
    text-transform: uppercase;
    color: #004996;
    width: fit-content;
}
.slide-heading-wrap {
    display: flex;
    gap: 10px;
    align-items: baseline;
    margin-bottom: 10px;
}
.slide-heading-wrap .hodnota-cislo {
    position: relative;
    top: 5px;
    line-height: 20px;
}
.vertical-line {
	width: 1px;
	height: 70px;
	background-color: #004996;
    margin-left: 10px;
}
.osa {
    width: 100%;
    display: flex;
    height: 1px;
    margin-top: 60px;
    padding-left: 10px;
}
.osa .line {
    width: 100%;
    height: 1px;
    background-color: #004996;
}
.osa .sipky {
    width: fit-content;
    margin: 0;
    background-color: white;
    z-index: 1000;
    padding-left: 35px;
    height: fit-content;
}
.start-dot {
    width: 15px;
    height: 15px;
    background-color: #004e9b;
    border-radius: 5px;
    position: absolute;
    top: -7.5px;
    left: 3px;
}

/*VYROBNI SEKCE*/
.vyroba-section {
    margin-top: 50px;
}

.vyroba-section h2,
.sklo-simax h2,
.plasty h2 {
    text-transform: uppercase;
    font-size: 20px;
    margin-bottom: 40px;
    color: #004996;
    text-align: center;
    display: block;
}
.vyroba-text {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #004996;
}
.vyroba-texty {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px 50px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.vyroba-section .swiper-slide img,
.proces-vyroby .swiper-slide img {
    border-radius: 0px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: 0.3s all;
}
.vyroba-section .swiper-slide img:hover,
.proces-vyroby .swiper-slide img:hover {
    transform: scale(1.05);
}
.vyroba-section .swiper-button-next:after,
.vyroba-section .swiper-button-prev:after,
.proces-vyroby .swiper-button-next:after,
.proces-vyroby .swiper-button-prev:after {
    display: none;
}
.vyroba-section .swiper-button-next,
.vyroba-section .swiper-button-prev,
.proces-vyroby .swiper-button-next,
.proces-vyroby .swiper-button-prev {
    position: static;
    width: fit-content;
}
.vyroba-section .swiper-button-prev,
.proces-vyroby .swiper-button-prev {
    transform: rotate(180deg);
}
.sipky {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
    gap: 10px;
    width: 100%;
}

/*ZVETSENY IMG*/
#lightbox-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0,0,0,0.8);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

#lightbox-overlay img {
	max-width: 90vw;
	max-height: 90vh;
	box-shadow: 0 0 20px rgba(0,0,0,0.5);
    user-select: none;
    -webkit-user-drag: none;
}

/*SIMAX*/
.sklo-simax {
    margin-top: 150px;
}
.simax {
    display: flex;
    gap: 60px;
    margin-top: 50px;
}
.simax p {
    line-height: 30px;
    text-align: left;
}
.simax img {
    height: 120px;
    width: fit-content;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .simax {
        flex-direction: column;
        justify-content: center;
        gap: 25px;
    }
}

/*PLASTY*/
.plasty {
    margin-top: 150px;
}
.plasty p {
    text-align: left;
}
.plasty-obrazek img {
	max-width: 100%;
	width: 100%;
	aspect-ratio: 4 / 3;
    transition: 0.3s all;
}
.plasty-obrazek img:hover {
    transform: scale(1.05);
}
.plasty .boxes-layout {
    margin-bottom: 50px;
}

/*STROJE*/
.katalog-btn,
.open-form-btn {
    text-decoration: none;
    display: block;
    margin: 0 auto;
    border-radius: 50px;
    padding: 10px 80px;
    background-color: #E20613;
    color: white;
    font-size: 18px;
    width: fit-content;
    border: none;
    cursor: pointer;
    transition: 0.3s all;
} 
a.katalog-btn.blue,
.open-form-btn.blue {
    background-color: #004996;
    margin-top: 75px;
}
a.katalog-btn:hover {
    background-color: #a6000c;
}
.stroje h2 {
    display: block;
    font-size: 20px;
    color: #004996;
    text-transform: uppercase;
    text-align: center;
    margin: 80px 0px 20px 0px;
}
.stroje-content h2 {
    font-size: 25px;
    margin-top: 100px;
}
.stroje-content a {
    color: #004996;
}
.stroje p {
    line-height: 30px;
}
.stroje-content p {
    text-align: left;
    margin-top: 30px;
}

/*PROC NASE STROJE*/
.hodnoty-wrap {
    border: 1px solid #004996;
    border-radius: 20px;
    padding: clamp(20px, 10vw, 60px) clamp(50px, 8vw, 130px);
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 50px;
}

.hodnoty-wrap h2 {
    margin: 0;
}

.hodnota-box {
	display: grid;
	grid-template-columns: auto clamp(300px, 40%, 600px) 1fr;
	align-items: center;
	gap: 20px;
}

@media (max-width: 992px) {
	.hodnota-box {
		grid-template-columns: 1fr;
		grid-template-rows: auto auto auto;
		gap: 10px 0;
	}
}

.hodnota-box h3 {
	font-size: clamp(18px, 2vw, 24px);
	color: #004996;
	margin: 0;
}

.hodnota-box p {
	font-size: 16px;
	text-align: left;
	margin: 0;
}

.hodnota-cislo {
	font-size: 50px;
	color: #EAF4FF;
}

@media (max-width: 992px) {
	.hodnota-cislo {
		font-size: 40px;
	}
}