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

/* navbar */

.navbar {
	background: linear-gradient(hsl(0, 0%, 94%), transparent);
	padding-bottom: 80px;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 999;
	transition: all .2s ease;
}

.affix {
	background: var(--bgLight);
	padding-bottom: 0;
}


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

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

.navbar-logo-image {
	display: block;
	height: 105px;
	mix-blend-mode: darken;
	transition: all .2s ease;
}

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

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


/* 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) {
	margin-left: 50px;
}

.navbar-nav > li > a {
	color: var(--textColor);
	font-size: 0.875rem;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 1px;
	display: inline-flex;
	text-decoration: none;
	padding: 10px 0;
	transition: all .2s;
}
/*
.nav-dropdown > a::after {
	filter: invert(1);
} */


.navbar-nav a::before {
	content: '';
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--secondary);
	transition: all .2s var(--easeOutBack);
}

.navbar-nav li:hover > a::before,
.navbar-nav a:hover::before,
.navbar-nav .nav-active::before {
	width: 100%;
}

.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 -5px hsla(0, 0%, 0%, .1);
}

.navbar-nav ul a {
	padding: 10px 0;
	display: flex;
	line-height: 1.3;
	font-size: 0.8125rem;
	color: var(--textColor);
	justify-content: space-between;
	text-decoration: none;
}

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


@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;
}

.mobile-menu-toggler span {
	display: block;
	height: 2px;
	width: 100%;
	background-color: var(--primary);
	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;}


.home section h2 {
	margin-top: 0;
	margin-bottom: 20px;
}

main {
	position: relative;
	z-index: 50;
}

#oferta a {
	text-align: center;
	transition: all .3s ease;
	display: block;
}

#oferta a strong {
	color: black;
	font-size: 1.3125rem;
	transition: color .3s ease;
}

#oferta a img {
	display: block;
	width: 100%;
	transition: all .3s ease;
}

#oferta a:hover {
	transform: translateY(-2px);
}

#oferta a:hover img {
	box-shadow: 0 10px 25px hsla(0, 0%, 0%, .2);
}

#oferta a:hover strong {
	color: var(--primary)
}

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


.btn {
	border-radius: 50px;
	padding: 1.2rem 2rem;
	font-size: 0.75rem;
	font-weight: bold;
	letter-spacing: 2px;
	text-transform: uppercase;
}

#mapa iframe {
	width: 100%;
	height: 550px;
	display: block;
}







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



header {
	background: url(/assets/img/bg.jpg) center bottom no-repeat;
	min-height: 1000px;
	position: relative;

}

.slogan {
	height: 70vh;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.slogan h1 {
	margin-top: 0;
}

.slogan h1 span,
.slogan h1 strong {
	display: block;
}

.slogan h1 span {
	font-size: 1rem;
	font-weight: 400;
}

.slogan h1 strong {
	font-size: 5rem;
}

.home header .container {
	height: 600px;
	align-items: center;
}

.burst {
	bottom: -50vh;
}


h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	color: var(--titleColor);
}

b, strong {
	font-weight: 700;
}

main img {
	border-radius: var(--borderRadius);
}


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

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


footer {
	background-color: hsl(0, 0%, 0%);
	padding: 58px 0;
	color: white;
}

.footer-telefony,
address, footer .flex .flex a {
	font-weight: bold;
	font-style: normal;
	line-height: 1.3;
}

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

footer a:hover {
	opacity: .8;
}


@media screen and (max-width: 1023px) {
	body {
		width: 100%;
		overflow-x: hidden;
	}

	.burst {
		bottom: -200px;
		max-width: 100vw;
	}

	.home header {
		height: auto;
		min-height: 10px;
		padding-bottom: 180px;
	}


	#katalogi .w-full {
		text-align: center;
	}

	#katalogi .max-w-full {
		display: inline-block;
		margin-bottom: 30px;
	}

	.navbar {
		padding-bottom: 0;
	}

	.slogan {
		width: 100%;
		max-width: 100%;
		flex-basis: 100%;
	}

	.home header .container {
		height: auto;
		padding-top: 100px;
	}

	#oferta a strong {
		line-height: 1.1;
	}
}


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

	.slogan h1 strong {
		font-size: 3rem;
	}

	.burst {bottom: -100px;}

	footer .flex.items-center {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		margin: 0 0 30px !important;
	}

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


@media screen and (max-width: 400px) {
	.slogan h1 strong {font-size: 2rem;}
	.burst {bottom: -50px;}

	.slogan p {
		font-size: 0.875rem;
		line-height: 1.5;
	}

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