@import url('./_config.css');

html {
	scroll-behavior: smooth;
}

[x-cloak] {display: none;}

* {outline: none !important;}

/* navbar */

.navbar-top {
	height: 50px;
	background-color: var(--primary);
	color: white;
}

.langs {
	/* position: absolute;
	top: 0;
	right: 30px; */
	color: white;
}

.langs a {
	transition: all .3s;
}

.langs a:hover {opacity: .7;}

.langs span {
	margin: 0 .5em;
}

.szukaj {
	display: flex;
	align-items: stretch;
}

.szukaj input {
	border: 0;
	color: white;
	opacity: 0;
	width: 1vw;
	font-size: 0.875rem;
	margin-right: 10px;
	padding: 0.3em 0;
	background-color: transparent;
	border-bottom: 1px solid white;
	transition: all .3s ease;
}

.szukaj input:focus,
.szukaj:hover input {
	width: 15vw;
	opacity: 1;
}

.szukaj input::placeholder {
	color: white;
	opacity: 1;
}

.szukaj input:focus::placeholder {
	opacity: .2;
}


.szukaj button {
	background: none;
	border: 0;
	padding: 0;
}

.navbar-top a {
	color: white;
	transition: opacity .3s;
}

.navbar-top a:hover {opacity: .8;}

.navbar-top .container,
.navbar-top .flex {
	height: 50px;
}

.navbar {
	background-color: transparent;
	position: fixed;
	top: 50px;
	left: 0;
	width: 100%;
	z-index: 999;
	transition: all .2s;
}

.affix {
	top: 0;
	background-color: hsl(0, 0%, 0%, .8);
	backdrop-filter: blur(3px);
}

.navbar-logo {
	margin: 22px 0;
	transition: all .2s;
}

.affix .navbar-logo {
	margin: 10px 0;
}

.navbar-logo-image {
	display: block;
	height: 75.6px;
	transition: all .2s;
}

.affix .navbar-logo-image {height: 45px;}

.container {
	max-width: 90%;
	width: var(--containerWidth);
}


.header-top {
	background: linear-gradient(hsl(0, 0%, 0%, .8), hsl(0, 0%, 0%, .4));
}



/* navbar-nav */

.navbar-nav {
	margin: 0;
	padding: 0;
	list-style: none;
	align-items: center;
}

.navbar-nav li {
	list-style: none;
	display: block;
	position: relative;
	margin: 0;
	padding: 0;
}

.navbar-nav > li:not(:first-child) {
	padding-left: 30px;
}

.navbar-nav a {
	will-change: auto;
}

.navbar-nav > li > a {
	color: hsl(0, 0%, 100%);
	font-size: 1rem;
	text-transform: uppercase;
	font-weight: 400;
	display: inline-flex;
	text-decoration: none;
	padding: 10px 0;
	transition: all .2s;
	outline: none;
}

.nav-dropdown > a::after {
	filter: invert(1);
}


.navbar-nav a::before {
	content: '';
	display: block;
	position: absolute;
	bottom: 0;
	left: 30px;
	width: calc(100% - 30px);
	height: 2px;
	will-change: transform;
	background-color: white;
	transition: all .4s ease-out, visibility 0s .2s ease-out;
	visibility: hidden;
}

.navbar-nav > li:first-child > a::before {
	left: 0;
	width: 100%;
}

.navbar-nav:hover a::before {
	transform: translateX(100%);
}

.navbar-nav:hover li:hover ~ li > a::before {
	transform: translateX(-100%);
}

.navbar-nav:hover li:hover > a::before {
	transform: none;
	visibility: visible;
	transition-delay: 0s;
}


.navbar-nav a:focus::before,
.navbar-nav a:hover::before,
.navbar-nav .nav-active::before {
	transform: translateX(0);
}

.navbar-nav .nav-active {
	opacity: .8;
}

.navbar-nav ul {
	position: absolute;
	display: none;
	top: 100%;
	left: 0;
	margin: 0;
	padding: 10px;
	min-width: 250px;
	background-color: white;
	box-shadow: 0 10px 30px hsla(0, 0%, 0%, .2);
}

.navbar-nav ul a {
	padding: 10px 15px;
	display: flex;
	font-size: 0.875rem;
	color: var(--textColor);
	justify-content: space-between;
	text-decoration: none;
	overflow: hidden;
	transition: all .3s ease;
}

.navbar-nav ul a::after {
	transform: rotate(-90deg);
}

.navbar-nav ul a::before {
	content: '>';
	font-family: monospace;
	font-weight: bold;
	font-size: 1rem;
	width: auto;
	height: auto;
	display: block;
	transform: translateX(0) !important;
	visibility: visible;
	background: none;
	position: absolute;
	top: 8px;
	left: 0;
	opacity: 0;
	color: var(--primary);
}

.navbar-nav ul a:hover::before {
	transform: translateX(10px) !important;
	opacity: 1;
}
.navbar-nav ul a:hover {
	padding-left: 25px;
	padding-right: 5px;
}

.navbar-nav ul .active > a,
.navbar-nav ul a.active {
	color: var(--primary);
}

@keyframes showDropdown {
	0% {opacity: 0; transform: translateY(-10px);}
	100% {opacity: 1; transform: translateY(0);}
}

@keyframes showNextDropdown {
	0% {opacity: 0; transform: translateX(-10px);}
	100% {opacity: 1; transform: translateX(0);}
}

.navbar-nav > li > .open,
.navbar-nav .nav-dropdown:hover > ul {
	display: block;
	animation: showDropdown .3s 1 forwards;
}

.navbar-nav .open .open,
.navbar-nav ul .nav-dropdown:hover > ul {
	display: block;
	animation: showNextDropdown .3s 1 forwards;
}

.navbar-nav ul ul {
	top: 0; left: 100%;
}


/* mobile menu */

.mobile-menu-toggler {
	width: 32px;
	height: 24px;
	padding: 0;
	border: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-end;
	position: relative;
	background: none;
	transition: all var(--fastSpeed) var(--easeOutBack);
	outline: none;

	margin-left: 10px;
}

.mobile-menu-toggler span {
	display: block;
	height: 2px;
	width: 100%;
	background-color: white;
	transition: all var(--fastSpeed) var(--easeOutBack);
	transform-origin: right;
}

.mobile-menu-toggler span:last-child {
	width: 70%;
}

.mobile-menu-toggler.active-toggler span:first-of-type {
	transform: rotate(-45deg);
}

.mobile-menu-toggler.active-toggler span:last-child {
	transform: rotate(45deg);
	width: 100%;
}

.mobile-menu-toggler.active-toggler span:nth-of-type(2) {
	display: none;
}

.mobile-nav {
	transition: transform var(--fastSpeed) var(--easeOutQuart);
	transform: translateX(-100%);
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	max-width: 80vw;
	width: 300px;
	/* background-color: hsla(0, 0%, 0%, 0.8);
	backdrop-filter: blur(10px); */
	background-color: var(--primary);
	margin: 0;
	padding: 0;
	z-index: 99999;
	overflow-y: auto;
}

.mobile-nav.show {
	transform: translateX(0);
}

.mobile-nav ul,
.mobile-nav li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mobile-nav ul {
	background-color: hsla(0, 0%, 0%, .3);
}

.mobile-nav a {
	display: block;
	font-size: 1rem;
	text-decoration: none;
	font-weight: 700;
	color: white;
	box-sizing: border-box;
	padding: 10px 15px;
	border-bottom: 1px solid hsla(0, 0%, 100%, .2);
}

.mobile-nav ul a {
	font-size: 0.875rem;
	font-weight: normal;
	padding-left: 30px;
}

.mobile-nav ul ul a {
	padding-left: 45px;
}

.mobile-nav a:hover,
.mobile-nav a.active {
	color: var(--primary);
	background-color: #fff;
}


a {text-decoration: none;}

h1, h2 {
	text-transform: uppercase;
	letter-spacing: 3px;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 400;
	line-height: 1.1;
}

b, strong {
	font-weight: 600;
}


.btn {
	padding: 1em 2em;
	align-items: center;
	font-size: 1rem;
	text-transform: uppercase;
	transition: all .3s ease-out;
	background-color: var(--secondary);
}

.btn:hover {
	filter: brightness(1.2);
	transform: translateY(-2px);
	box-shadow: 0 10px 15px -5px hsl(0, 0%, 0%, .2);
}

.btn:focus {
	filter: brightness(.9);
	transform: translateY(0);
}

.btn.alt {
	background-color: transparent;
	border: 1px solid white;
	color: white;
}

.btn.alt:hover {
	background-color: hsl(0, 0%, 100%, .1);
}

.slogan {
	color: white;
}

.slogan h1 {
	margin-top: 0;
	margin-bottom: 30px;
}

.slogan p {
	margin-bottom: 0;
}


#kategorie {
	padding: var(--sectionPadding) 0;
}

.box img {
	height: 255px;
}

.big.box img {
	height: 540px;
}

.big.box {
	grid-column: span 2;
	grid-row: span 2;
}

.big.last {
	grid-column: 3 / 5;
	grid-row: 3 / 5;
}

.box {
	width: 100%;
	overflow: hidden;
}

.box img {
	width: 100%;
	display: block;
	object-fit: cover;
	object-position:center;
	transition: all .3s;
}

.box-title {
	text-align: center;
	color: white;
	font-size: var(--h5);
	font-weight: normal;
	text-transform: uppercase;
	position: relative;
	z-index: 20;
	line-height: 1.3;
	max-width: 50%;
	display: block;
}

.box-title::after {
	content: '';
	display: block;
	position: absolute;
	z-index: -1;
	top: -20px;
	bottom: -20px;
	left: -30px;
	right: -30px;
	transform: skewX(-10deg);
	background-color: hsl(0, 0%, 0%, .8);
	transition: all .3s;
}

.box:hover img {
	transform: scale(1.1);
}

.box .absolute {
	background-color: hsl(334, 64%, 15%, 0);
	transition: all .3s;
}

.box:hover .absolute {
	background-color: hsl(334, 64%, 15%, .8);
	backdrop-filter: blur(3px);
}

.box:hover .box-title::after {
	border: 1px solid white;
	background-color: transparent;
}

#cytat {
	background-color: var(--primary);
	width: 100%;
	overflow: hidden;
	color: white;
}

blockquote {
	font-size: var(--h4);
	max-width: 85%;
	position: relative;
	z-index: 20;
}

blockquote::before {
	content: '';
	position: absolute;
	z-index: -1;
	top: -60px;
	left: -60px;
	width: 200px;
	height: 145.5px;
	background: url(/assets/img/quote.svg);
}

cite {
	width: 85%;
	display: block;
	text-align: right;
	font-size: 1rem;
	font-style: normal;
	margin-top: 30px;
}


#zaufali {
	padding: var(--sectionPadding) 0;
}

#kategorie h2,
#zaufali h2 {
	margin-top: 0;
}

#zaufali .swiper-slide {
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#kategorie .swiper-slide img {
	display: block;
	max-width: 90%;
	max-height: 100px;
	object-fit: contain;
}


.madeby {
	color: white;
	text-decoration: none;
	line-height: 1;
	display: inline-block;
}

.madeby small {
	float: left;
	margin: 4px 4px 0 0;
	font-size: 0.6875rem;
}


footer {
	background: url(/assets/img/footerbg.jpg) center no-repeat;
	background-size: cover;
	padding: var(--sectionPadding) 0 40px;
	color: white;
}

footer hr {
	opacity: .2;
	background-color: #fff;
	margin: var(--sectionPadding) 0 40px;
}

footer h5 {
	margin-top: 0;
	margin-bottom: 10px;
	line-height: 1;
}

footer .md\:w-4-12 p {
	font-size: var(--h5);
	margin-top: 0;
}

footer a {
	color: white;
	transition: opacity .2s;
}

footer a:hover {
	opacity: .8;
}



/* Zapytanie */

.zapytanie-overlay {
	width: 100vw;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	transition: all .2s ease;
}

.zapytanie-overlay.show {
	display: flex;
	opacity: 0;
	animation: fade 1s ease 1 forwards;
}

@keyframes fade {
	0% {opacity: 0}
	100% {opacity: 1}
}

.zapytanie-backdrop {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	z-index: 999;
	background-color: hsl(0, 0%, 0%, .4);
}

.zapytanie-wrapper {
	position: relative;
	z-index: 1000;
	max-width: 550px;
	width: 80vw;
}

.zapytanie-close {
	background-color: #fff;
	color: var(--secondary);
	width: 30px;
	height: 30px;
	border-radius: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 30px;
	font-family: monospace;

	position: absolute;
	top: -15px;
	right: -15px;
	transition: all .2s;
}

.zapytanie-close:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px -5px hsl(0, 0%, 0%, .2);
}

.zapytanie-content {
	padding: 20px;
	background-color: #fff;
	width: 100%;
	z-index: 1000;
	box-shadow: 0 10px 20px -5px hsl(0, 0%, 0%, .4);
}

.zapytanie-content textarea {
	height: 6.5em;
}

span.star {
	font-size: 1rem;
	font-family: monospace;
}




/*

		RWD

*/

@media screen and (max-width: 1480px) {
	.navbar .btn.alt {
		padding: 1em;
	}

	.navbar-logo-image {height: 60px;}
}

@media screen and (max-width: 1380px) {
	.navbar-nav > li:not(:first-child) {
		padding-left: 20px;
	}
}

@media screen and (max-width: 1330px) {
	.navbar-nav > li:not(:first-child) {
		padding-left: 15px;
	}

	.navbar-nav > li > a, .navbar .btn.alt {
		font-size: 0.875rem;
	}
}

@media screen and (max-width: 1280px) {
	.slogan h1 {
		font-size: var(--h2);
	}

	.slogan p {
		font-size: 1rem;
		margin-bottom: 0;
	}

	.box-title {
		font-size: 1rem;
	}
}


@media screen and (max-width: 1199px) {
	.navbar-logo-image {
		height: 50px;
	}

	.navbar .btn.alt span {display: none;}
	.navbar .btn.alt img {margin-right: 0;}

	.box-title {
		font-size: 0.875rem;
	}
	footer .md\:w-4-12 p {
		font-size: 1rem;
	}

	footer h5 {font-size: var(--h6); font-weight: bold;}
}


@media screen and (max-width: 1023px) {
	.w-full {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.big.box {
		grid-column: span 1;
		grid-row: span 1;
	}

	#cytat .w-full:first-child {
		padding: 60px 0;
	}

	#cytat img {
		display: block;
		max-width: 100%;
		margin-bottom: 60px;
	}

	footer .flex-nowrap {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		margin-bottom: 30px;
	}

	footer .flex-nowrap img {
		margin-right: 0;
		margin-bottom: 15px;
	}

	footer .flex.justify-between {
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	footer hr {
		margin-top: 30px;
	}

	section {
		width: 100%;
		overflow: hidden;
	}

	body, header, footer {
		width: 100%;
		overflow-x: hidden;
	}


	.navbar {
		max-width: 100vw;
	}

	.szukaj input {
		opacity: 1;
		width: 18vw;
	}
}

@media screen and (max-width: 800px) {
	:root {
		--sectionPadding: 60px;
	}
	.slogan h1 {font-size: var(--h3); margin-top: 60px;}

	.mb-60.pb-60 {
		padding-bottom: 0;
	}

	h2 {font-size: var(--h3);}
	h3 {font-size: var(--h4);}
	h4 {font-size: var(--h5);}

	.topgodz {display: none;}

	.toptel {margin-right: 20px;}
}



@media screen and (max-width: 590px) {
	.slogan p {display: none;}
	.slogan h1 {
		font-size: var(--h4);
		margin-top: clamp(80px, 10vh, 120px);
	}

	.topgodz {display: none;}
	.toptel {margin-right: 15px;}

	blockquote {
		font-size: 1rem;
	}

	.home header .swiper-slide img {
		height: 300px;
		object-fit: cover;
		object-position: center;
	}

	.toptel span,
	.topmail span {display: none;}

	.toptel img,
	.topmail img {margin-right: 0;}

}


@media screen and (max-width: 390px) {
	.navbar-logo-image {
		height: 45px;
	}

	.navbar .btn.alt {
		padding: 0;
		border: 0;
	}

	#zaufali .swiper-slide img {
		max-height: 70px;
		max-width: 90%;
	}


}

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

	.navbar-logo-image {
		height: 35px !important;
	}

	.navbar-top .flex {
		justify-content: space-between;
	}
}

#main .open-zapytanie img {
	height: 36px;
}