.udrzitelnost-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
	align-items: stretch;
}

@media (min-width: 768px) {
    .udrzitelnost-nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

.udrzitelnost-nav-item {
	position: relative;
	max-width: 100%;
	width: 100%;
	height: 300px;
	border-radius: 20px;
	padding: 30px;
	text-align: center;
	overflow: hidden;
	margin: 0 auto;
	background-position: center;
	background-size: 100%;
    transition: 0.3s all;
}
.udrzitelnost-nav-item:hover {
    background-size: 105%;
}
@media (max-width: 768px) {
    .udrzitelnost-nav-item {
	height: 50vw;
}
}
.title {
	position: absolute;
	font-size: 18px;
	font-weight: bold;
	color: white;
	bottom: 25px;
	text-align: left;
	width: calc(100% - 60px);
    text-transform: uppercase;
}
@media (min-width: 768px) {
    .title {
        font-size: 24px;
    }
}
.overlay {
	height: 150px;
    position: absolute;
    width: 100%;
    background: linear-gradient( rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 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;
}

/*UDRZITELNOST*/
.udrzitelnost h2 {
    margin: 70px 0px 60px 0px;
}
.udrzitelnost p {
    text-align: left;
}
.udrzitelnost * {
    color: #00983F;
}

/*NASE CILE*/
.hodnoty-wrap {
    background-color: rgba(0, 152, 63, 0.08);
    border-radius: 20px;
    padding: clamp(20px, 10vw, 40px) clamp(15px, 2vw, 35px);
    padding-bottom: 70px;
    gap: 40px;
    margin-top: 50px;
}
.hodnoty-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}
.hodnoty-wrap h2 {
    color: #00983F;
    margin-bottom: 70px;
}
.hodnota-box {
	display: flex;
	gap: 20px;
    align-items: center;
}
.hodnoty {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hodnota-cislo {
	font-size: clamp(30px, 5vw, 50px);
	color: #00983F;
    font-weight: bold;
}

.hodnota-box h3 {
	font-size: clamp(18px, 2vw, 24px);
	color: #00983F;
	text-transform: uppercase;
	margin: 0;
}

.hodnota-box p {
	text-align: left;
	margin: 0;
    color: #00983F;
    font-size: clamp(16px, 2vw, 24px);
    font-weight: bold;
    text-transform: uppercase;
}
.hodnoty-img img {
    width: 500px;
    max-width: 35vw;
}


@media (max-width: 992px) {
    .hodnoty-content {
        flex-direction: column;
    }
    .hodnoty-img img {
        width: 50%;
        max-width: 100%;
        margin: 0 auto;
        display: block;
    }
    .hodnoty-wrap h2 {
        margin-bottom: 30px;
    }
}


/*BOXY*/
.udrzitelnost-boxy {
    margin-top: 50px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    padding: 60px 20px;
    position: relative;
}
.udrzitelnost-boxy-wrap {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	justify-content: center;
	align-items: stretch;
}

.udrzitelnost-box {
	display: flex;
	flex-direction: column;
	border-radius: 20px;
	border: 1px solid white;
	gap: 10px;
	padding: 20px 30px;
	height: auto;
}

.udrzitelnost-box h3 {
    text-transform: uppercase;
    color: white;
    font-size: 24px;
}
.udrzitelnost-box p {
    color: white;
    font-size: 16px;
    text-align: left;
}
.spodni-veta {
    color: white;
    font-size: 16px;
    text-align: center;
    width: 100%;
    position: absolute;
    bottom: 15px;
}

/*INVESTICE*/
.investice {
    margin-top: 120px;
}
.investice-left {
    display: flex;
    gap: 20px;
}
.investice h2 {
    color: #00983F;
    text-transform: uppercase;
    font-size: 30px;
}
.investice-content {
    display: grid;
    margin-top: 70px;
    grid-template-columns: 59% 39%;
    grid-gap: 2%;
}
.investice-content p {
    line-height: 30px;
    color: #00983F;
    text-align: left;
    margin-bottom: 15px;
}
.logo {
    max-width: 100px;
    width: 100%;
    height: fit-content;
}
.img {
    max-width: 700px;
    width: 100%;
    height: fit-content;
}

@media (max-width: 1100px) {
    .investice-content {
        grid-template-columns: 1fr;  
        grid-gap: 20px;    
        justify-items: center;          
    }
}
@media (max-width: 600px) {
    .investice-left {
        flex-direction: column;
        align-items: center;       
    }
    .investice-content {
        margin-top: 40px;
    }
}

/*soubory*/
.soubory-inv {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 75px;
}
.download-link {
    background-color: #00983F;
    border-radius: 50px;
    padding: 8px 20px;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 350px;
    text-align: center;
    transition: 0.3s all;
}
.download-link:hover {
    background-color: #006f2e;
}


/*CERTIFIKACE*/
#certifikace {
	margin-top: 150px;
}

#certifikace h2 {
	text-align: center;
	margin-bottom: 40px;
    font-size: 30px;
}

.certifikaty-wrap {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
	position: relative;
}

.certifikat {
	display: flex;
	flex-direction: column;
	gap: 15px;
	position: relative;
	border: none;
    padding: 30px 0px;
}

.certifikat h3 {
	margin-bottom: 15px;
	text-align: center;
	color: #004996;
	font-size: 20px;
	text-transform: uppercase;
    display: block;
}

.certifikat-content {
	display: flex;
	flex-direction: column-reverse;
	gap: 20px;
}

.certifikat-content-left p {
	text-align: center;
    font-size: 18px;
	line-height: 30px;
    margin: 1em 0;
}
.certifikat-content-left p a {
	text-align: center;
    font-size: 18px;
	line-height: 30px;
    color: #004996;
}

.certifikat-content-left {
	flex: 1;
}

.certifikat-content-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.certifikat-content-right img {
	max-width: 100%;
	height: 65vh;
	display: block;
	margin: 0 auto;
}

.soubory {
	margin-top: 30px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 30px;
    justify-content: center;
}

.soubory a {
	display: flex;
	gap: 10px;
	align-items: center;
	color: #004996;
	font-weight: bold;
	font-size: 18px;
	text-decoration: none;
	padding: 8px 0px;
    /* white-space: nowrap; */
    justify-content: center;
}

.dodatek {
	margin-top: 30px;
}

.open-form-btn {
	display: block;
	margin: 15px auto 0px auto;
	padding: 10px;
	text-align: center;
	background-color: #004996;
	color: white;
	text-decoration: none;
	border-radius: 50px;
	max-width: 300px;
	width: 100%;
    border: none;
    cursor: pointer;
}

.certifikat:not(:last-child)::after {
	content: "";
	position: absolute;
	bottom: -15px;
	left: -15px;
	width: 100%;
	height: 1px;
	background: #004996;
}

@media (min-width: 992px) {

	.certifikaty-wrap {
		grid-template-columns: 1fr 1fr;
	}

	.certifikat {
		flex-direction: column;
		position: relative;
	}

    .certifikat h3 {
        text-align: left;
    }

	.certifikat-content {
		flex-direction: row;
		gap: 20px;
	}

	.certifikat-content-left {
		flex: 1;
		text-align: left;
        min-width: 350px;
	}

    .certifikat-content-left p {
        text-align: left;
    }

	.certifikat-content-right {
		flex: 1 1 200px;
	    max-width: 200px;
	}

	.certifikat-content-right img {
		width: 100%;
		height: auto;
	}

    .soubory {
        justify-content: left;
    }

    .soubory a {
        min-width: calc(50% - 15px);
        justify-content: left;
    }

    .open-form-btn {
        margin: 15px 0px 0px 0px;
    }

	/* Svislá čára mezi certifikáty */
	.certifikat:nth-child(odd)::after {
		content: "";
        position: absolute;
        top: -15px;
        left: calc(100% + 15px);
        width: 1px;
        height: calc(100% + 30px);
        margin-top: 30px;
        background-color: #004996;
	}

	/* Horizontální čára mezi certifikáty */
	.certifikat::before {
		content: "";
		position: absolute;
		bottom: -15px;
		left: 0px;
		right: -15px;
		height: 1px;
		background: #004996;
	}

	.certifikat:nth-last-child(-n+2)::before {
		display: none;
	}
}

#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;
	border-radius: 20px;
	box-shadow: 0 0 20px rgba(0,0,0,0.5);
    user-select: none;
    -webkit-user-drag: none;
}

