
:root {
    --main-width: 1208px;
    --main-gap: 30px;
    --border-radius: 15px;

    --bg-light: rgb(255, 255, 186);

    --color-red: #E2001A;
    --color-brown: #0E52A0;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

* {
	margin: 0;
	padding: 0;
}


html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-size: 18px;
    line-height: 1.3;
    background-color: white;
}

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
	height: auto;
}

input,
button,
textarea,
select {
	font: inherit;
}

button {
	border: none;
	background: none;
	cursor: pointer;
}

a {
    color: inherit;
}

.lista {
    width: 100%;
    height: 15px;
    background-color: #0E52A0;
    background-image: url('../imgs/ministerska-lista.png');
    background-repeat: no-repeat;
    background-position: center;
}

.header-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: white;
}

.header {
    width: 100%;
    max-width: var(--main-width);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
}

.header .left {
    display: flex;
    gap: var(--main-gap);
}

.header .right ul {
    display: flex;
    gap: var(--main-gap);
}

.header .right ul li {
    list-style-type: none;
}

.header .right ul li a {
    text-decoration: none;
    color: #0E52A0;
    transition: all 0.25s;
}

.header .right ul li a:hover {
    transition: all 0.25s;
    color: #282967;
}

.hero-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: var(--bg-light);
}

.hero {
    display: flex;
    width: 100%;
    max-width: var(--main-width);
    justify-content: space-around;
    gap: var(--main-gap);
    padding: 30px 0;
    align-items: center;
}

.hero > * {
    width: calc(50% - (var(--main-gap) / 2));
}

p {
    margin-bottom: 10px;
}

h1 {
    color: var(--color-red);
    font-size: 56px;
}

.description {
    color: #282967;
    font-size: 24px;
}

.video-wrapper {
    position: relative;
    cursor: pointer;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 6px 5px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.25s;
}

.video-wrapper:hover {
    box-shadow: none;
    transition: all 0.25s;
}

.video-play {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 80px;
	height: 80px;
}

.video-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9999;
	align-items: center;
	justify-content: center;
    width: 100%;
}

.video-lightbox.active {
	display: flex;
}

.video-lightbox-bg {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.75);
}

.video-lightbox-content {
	position: relative;
	width: 80vw;
	max-width: 1200px;
	z-index: 2;
}

.video-lightbox-content video {
	width: 100%;
	height: auto;
	display: block;
	background: #000;
    border-radius: var(--border-radius);
}

.video-lightbox-close {
	position: absolute;
	right: -40px;
	top: -40px;
	color: #fff;
	font-size: 40px;
	line-height: 1;
	cursor: pointer;
}

.image-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9999;
	align-items: center;
	justify-content: center;
	padding: 40px;
}

.image-lightbox.active {
	display: flex;
}

.image-lightbox-bg {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.85);
}

.image-lightbox-content {
	position: relative;
	z-index: 2;
	max-width: 90vw;
	max-height: 90vh;
}

.image-lightbox-content img {
	display: block;
	max-width: 100%;
	max-height: 90vh;
	object-fit: contain;
    border-radius: var(--border-radius);
}

.image-lightbox-close {
	position: absolute;
	right: -20px;
	top: -20px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	z-index: 3;
}

.js-image-lightbox {
	cursor: pointer;
}

.info-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.info {
    width: 100%;
    max-width: var(--main-width);
    padding: 30px 0;
    gap: var(--main-gap);
    display: flex;
    flex-wrap: wrap;
}

.info .row-1 {
    display: flex;
    gap: var(--main-gap);
}

.info .row-1 > * {
    width: calc(50% - (var(--main-gap) /2));
}

.info .row-1 .left {
    font-size: 18px;
    font-weight: 500;
}

.info .row-2 {
    display: flex;
    gap: var(--main-gap);
}

.info .row-2 > * {
    width: calc(33.33% - (var(--main-gap) / 3));
}

.info .row-2 div {
    display: flex;
    gap: calc(var(--main-gap) / 2);
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    align-items: center;
}

.info .row-3 {
    width: 100%;
    background-color: var(--color-red);
    color: white;
    text-align: center;
    padding: 15px 0;
    border-radius: var(--border-radius);
    font-size: 24px;
    font-weight: 400;
}

.preco-wrapper {
    background-color: var(--bg-light);
    display: flex;
    justify-content: center;
    padding: 30px 0;
}

.preco {
    width: 100%;
    max-width: var(--main-width);
    display: flex;
    flex-wrap: wrap;
    gap: calc(var(--main-gap) / 2);
}

.preco h3 {
    font-size: 56px;
    color: #282967;
}

.preco-cont ul,
.preco-cont ol {
    padding-left: 20px;
    margin-bottom: 10px;
}

.preco-cont h4 {
    font-size: 36px;
    color: #282967;
    font-weight: 500 !important;
    margin-top: 25px;
}

.preco-loga {
    width: 100%;
}

.preco-loga p {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--main-gap);
    margin-top: 30px;
}

.ako-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.ako {
    width: 100%;
    max-width: var(--main-width);
    padding: 30px 0;
}

.ako-title h3 {
    font-size: 56px;
    color: var(--color-red);
}

.ako-desc {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 15px;
}

.steps-wrapper {
    width: 100%;
    display: flex;
    gap: var(--main-gap);
    flex-wrap: wrap;
}

.step {
    width: calc(50% - (var(--main-gap) / 2));
}

.step-footer {
    width: 100%;
    display: flex;
    gap: calc(var(--main-gap) / 2);
    margin-top: 15px;
}

.step-footer a {
    color: var(--color-red);
    transition: all 0.25s;
}

.step-footer a:hover {
    color: rgb(176, 0, 0);
    transition: all 0.25s;
}

.step-number {
    min-width: 50px;
    height: 50px;
    display: flex;
    border-radius: 25px;
    color: white;
    justify-content: center;
    align-items: center;
    background-color: var(--color-red);
    font-size: 24px;
    font-weight: 500;
}

.last-step {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.step-img-cta {
    max-width: 380px;
}

.step-img {
    border-radius: calc(var(--border-radius) / 2);
    overflow: hidden;
    box-shadow: 0 6px 5px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.25s;
    border: 1px solid #dedddd;
}

.step-img:hover {
    box-shadow: none;
    transition: all 0.25s;
}

.step-CTA-text {
    width: 100%;
}

.step-CTA-text a {
    width: 100%;
    background-color: yellow;
    text-align: center;
    display: block;
    padding: 15px 0;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.25s;
}

.step-CTA-text a:hover {
    background-color: var(--color-red);
    color: white;
    transition: all 0.25s;
}

.dobre-wrapper {
    width: 100%;
    padding: 30px 0;
    background-color: var(--bg-light);
    display: flex;
    justify-content: center;
}

.dobre {
    width: 100%;
    max-width: var(--main-width);
}

.dobre h3 {
    font-size: 56px;
    color: var(--color-brown);
}

.dobre .dobre-columns {
    display: flex;
    gap: var(--main-gap);
}

.dobre .dobre-columns > * {
    width: calc(33.33% - (var(--main-gap)/ 3));
}

.dobre .dobre-columns > * > ul {
    padding-left: 20px;
    line-height: 1.5;
}

.dobre .dobre-columns > * > ul > li > ul {
    padding-left: 30px;
}

.dobre-cta a {
    width: 100%;
    background-color: yellow;
    margin-top: 15px;
    text-align: center;
    text-decoration: none;
    padding: 15px 0;
    border-radius: var(--border-radius);
    display: block;
    transition: all 0.25s;
}

.dobre-cta a:hover {
    background-color: var(--color-red);
    color: white;
    transition: all 0.25s;
}

.kontakt-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 30px 0;
}

.kontakt {
    width: 100%;
    max-width: var(--main-width);
    display: flex;
    flex-wrap: wrap;
    gap: var(--main-gap);
}

.kontakt h3 {
    font-size: 56px;
    color: var(--color-red);
}

/* FORM */
.form-left {
    width: calc(75% - (var(--main-gap) / 2));
    margin-top: 15px;
}

.form-right {
    width: calc(25% - (var(--main-gap) / 2));
    margin-top: 15px;
}

.contact-form {
	width: 100%;
}

.contact-form label {
	display: block;
	font-size: 18px;
	font-weight: 500;
	color: #000;
	margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
	display: block;
	width: 100%;
	margin-top: 8px;
	padding: 16px 18px;
	border: 0;
	border-radius: 9px;
	background: #e1e1e1;
	font-size: 18px;
	color: #000;
	outline: none;
    font-weight: normal;
}

.contact-form input {
	height: 50px;
}

.contact-form textarea {
	min-height: 180px;
	resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
	background: #fff;
	box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.15);
}

.form-row {
	display: flex;
	gap: 30px;
	width: 100%;
}

.form-row label {
	flex: 1;
}

.raabe-actions {
	display: flex;
	align-items: center;
	margin-top: 30px;
}

.raabe-conf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	min-width: 205px;
	min-height: 50px;
	padding: 12px 22px;
	border: 0;
	border-radius: 9px;
	font-size: 18px;
	font-weight: 500;
	color: #000;
	cursor: pointer;
    background-color: yellow;
    transition: all 0.25s;
}

.raabe-conf-btn:hover {
    background-color: var(--color-red);
    color: white;
    transition: all 0.25s;
}

.raabe-conf-btn .shop-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
}

.raabe-conf-btn .shop-link img {
	width: 16px;
	height: auto;
}

.form-status {
	margin-top: 15px;
	font-size: 16px;
}

.form-status.success {
    width: 100%;
    background-color: #0a7a2f;
    color: white;
    text-align: center;
    padding: 15px 0;
    border-radius: 15px;
}

.form-status.error {
    width: 100%;
    background-color: var(--color-red);
    color: white;
    text-align: center;
    padding: 15px 0;
    border-radius: 15px;
}

.footer-wrapper {
    width: 100%;
    display: flex;
    padding: 30px 0;
    justify-content: center;
    background-color: var(--bg-light);
}

.footer-content {
    width: 100%;
    max-width: var(--main-width);
}


.footer-second-row>:nth-child(1) a {
    text-decoration: underline;
}

.footer-second-row>:nth-child(1),
.footer-second-row>:nth-child(4) {
    width: calc(30% - 30px);
}

.footer-second-row>:nth-child(2) {
    width: calc(25% - 30px);
}

.footer-second-row>:nth-child(3) {
    width: calc(15% - 30px);
}

.footer-second-row>:nth-child(2) ul li,
.footer-second-row>:nth-child(3) ul li {
    margin-bottom: 10px;
}

.footer-second-row>:nth-child(2) ul li a::after,
.footer-second-row>:nth-child(3) ul li a::after {
    display: none;
}

.footer-second-row>:nth-child(2) ul li.current-menu-item a,
.footer-second-row>:nth-child(3) ul li.current-menu-item a,
.footer-second-row>:nth-child(2) ul a:hover,
.footer-second-row>:nth-child(3) ul a:hover {
    text-decoration: underline;
}

.footer-second-row>:nth-child(4) {
    align-items: end;
}

.footer-second-row>:nth-child(4) > * {
    display: flex;
    justify-content: right;
    text-align: right;
}



footer * {
    transform: translateY(0);
}

nav.footer-1-nav,
nav.footer-2-nav,
.footer-second-row>:nth-child(4) {
    padding-top: 20px;
}

.flex {
    display: flex;
}

.flex-direction-column {
    flex-direction: column;
}

.footer-content .content {
    margin-bottom: 15px;
    justify-content: space-between;
}

@media (max-width: 1280px) {
    :root {
        --main-width: 1000px;
    }

    body {
        font-size: 16px;
    }

    .description {
        font-size: 18px;
    }

    h1,
    .preco h3,
    .dobre h3,
    .kontakt h3,
    .ako-title h3 {
        font-size: 48px;
    }

    .info .row-1 .left {
        font-size: 16px;
        font-weight: 500;
    }

    .info .row-3 {
        font-size: 18px;
    }

    .preco-cont h4 {
        font-size: 32px;
    }

    .step-img-cta {
        max-width: 330px;
    }
}

@media (max-width: 1100px) {
    :root {
        --main-width: 800px;
    }

    body {
        font-size: 14px;
    }

    .description {
        font-size: 16px;
    }

    h1,
    .preco h3,
    .dobre h3,
    .kontakt h3,
    .ako-title h3 {
        font-size: 32px;
    }

    .info .row-3 {
        font-size: 18px;
        padding: 15px 100px;
    }

    .preco-loga img {
        width: 75%;
    }

    .ako-desc {
        font-size: 20px;
    }

    .step-img-cta {
        max-width: 290px;
    }

    .footer-content .content {
        flex-wrap: wrap;
    }

    .footer-content .content > * {
        width: 33.33%;
    }

    .footer-second-row>:nth-child(4) {
        width: 100%;
        justify-content: center;
    }

    .footer-second-row>:nth-child(4) > * {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 900px) {
    :root {
        --main-width: calc(100% - 60px);
    }

    .hero {
        flex-wrap: wrap;
        gap: 15px;
    }
    .hero > * {
        width: 100%;
    }

    .info .row-1 > * {
        width: 100%;
    }

    .info .row-1 {
        flex-wrap: wrap;
        gap: 15px;
    }

    .info .row-2 > * {
        width: 100%;
        font-size: 16px;
    }

    .info .row-2 {
        flex-wrap: wrap;
    }

    .preco-loga img {
        width: 100%;
    }

    .step {
        width: 100%;
    }

    .step-img-cta {
        max-width: 260px;
    }

    .dobre .dobre-columns {
        flex-wrap: wrap;
        gap: 15px;
    }

    .dobre .dobre-columns > * {
        width: 100%;
    }

    .kontakt > * {
        width: 100%;
    }

    .form-left,
    .form-right {
        margin-top: 0;
    }

    .header {
        flex-wrap: wrap;
    }

    .header > * {
        width: 100%;
        justify-content: center;
    }

    .header .right ul {
        justify-content: center;
        margin-top: 30px;
        font-size: 18px;
    }

    @media (max-width: 550px) {
        .header .right ul {
            font-size: 14px;
        }

        .footer-content .content > * {
            width: 100%;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            text-align: center;
        }

        .footer-content .content p {
            width: 100%;
        }

        .footer-content .content ul {
            list-style-type: none;
        }

        .footer-second-row>:nth-child(4) {
            align-items: center;
        }

        .header .right ul {
            gap: 10px;
        }

        .form-row {
            flex-wrap: wrap;
            gap: 0;
        }
        
        .form-row > * {
            width: 100%;
        }

        .form-row label {
            flex: none;
        }

        .info .row-3 {
            padding: 15px 30px;
        }

        .dobre-cta a {
            padding: 15px 15px;
        }

        .kontakt {
            gap: 15px;
        }

        .form-right {
            text-align: center;
        }

        .raabe-actions {
            justify-content: center !important;
        }
    }

}