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

h1, h2, h3, h4, h5, h6 {font-weight: var(--titleWeight); font-family: var(--fontTitle); color: var(--titleColor);}
b, strong {font-weight: var(--titleWeight)}

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

section h2:first-of-type {margin-top: 0;}

section h2:first-of-type small {
	margin-bottom: 10px;
}

p:first-of-type {margin-top: 0;}
p:last-of-type {margin-bottom: 0;}





/*
			N A V B A R
*/

.navbar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100px;
	z-index: 999;
	transition: all .3s ease;
}

.affix {
	height: 50px;
	background-color: var(--secondary);
}

.navbar-logo-image {
	display: block;
	height: 30px;
	transition: all .3s ease;
}

.affix .navbar-logo-image {
	filter: invert(1) grayscale(1) brightness(2);
	height: 20px;
}

.navbar-bar {
	background-color: var(--secondary);
	height: 100%;
	padding-left: var(--navMargin);
	position: relative;
}

.navbar-bar::after {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	right: -50vw;
	bottom: 0;
	left: 0;
	background-color: var(--secondary);
	z-index: -1;
}

.langs a {
	display: block;
	border: 2px solid white !important;
	border-radius: 50%;
	transition: all .2s ease-out;
}

.langs a:hover {
	transform: scale(1.1);
}




/*
			N A V B A R   N A V
*/

.navbar-nav {
	margin: 0 var(--navMargin) 0 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: var(--navMargin);
}

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

.navbar-nav > li > a {
	color: white;
	font-size: 1rem;
	opacity: .7;
	display: inline-flex;
	text-decoration: none;
	padding: 10px 0;
	transition: all .2s;
	outline: none;
}

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

.navbar-nav > li > a:hover,
.navbar-nav > li:hover > a,
.navbar-nav .nav-active {
	color: white;
	opacity: 1;
}

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

.navbar-nav ul a {
	padding: 10px 15px;
	display: flex;
	font-size: 0.875rem;
	color: white;
	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-size: .825rem;
	width: auto;
	height: auto;
	display: block;
	transform: translateX(0) !important;
	visibility: visible;
	background: none;
	position: absolute;
	top: 10px;
	left: 0;
	opacity: 0;
	color: hsl(202, 93%, 71%);
	transition: all .3s ease;
}

.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,
.navbar-nav ul a.nav-active {
	color: hsl(202, 93%, 71%);
}

.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 div {
	display: block;
	height: 2px;
	width: 32px;
	background-color: white;
	transition: all var(--fastSpeed) var(--easeOutBack);
	transform-origin: right;
}

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

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

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

.mobile-menu-toggler.active-toggler div: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;
}







/*
			H E A D E R
*/

header, header .container {
	position: relative;
}

.header-top {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 20;
	background: radial-gradient(ellipse at left top, white 5%, transparent 45%);
}

.slogan {
	/* background-color: #fff; */
	padding: 30px 30px 30px 0;
	position: relative;
	z-index: 20;
}

.slogan::after {
	content: '';
	display: block;
	/* background-color: #fff; */
	background: linear-gradient(hsl(0, 0%, 100%, .9), hsl(0, 0%, 100%));
	top: 0;
	right: 0;
	bottom: 0;
	left: -50vw;
	position: absolute;
	z-index: -1;
}

.slogan a {
	color: var(--titleColor);
	line-height: 1.1;
	text-decoration: none;
}

.slogan a strong {
	font-size: 1.75rem;
	margin-bottom: 5px;
	display: block;
}

.slogan a small {
	font-size: 1rem;
}

header .swiper-container {
	z-index: 1;
	position: relative;
}







/*
			M A I N   S E C T I O N S
*/

.btn {
	padding: 1.2em 2.5em;
	font-size: 1rem;
	font-weight: bold;
	background: linear-gradient(90deg, var(--primaryLight), var(--primaryDark));
	transition: all .3s;
}

.btn:hover {
	box-shadow: 0 10px 30px -5px var(--primaryLight);
}

p + .btn {
	margin-top: 30px;
}

section {
	position: relative;
	overflow: hidden;
}

section h2 {
	margin-bottom: 20px;
}

h2 small {
	letter-spacing: 3px;
}

#paralaksa {
	height: 600px;
	background: url(/assets/img/paralaksa.jpg) center no-repeat;
	background-size: cover;
	background-attachment: fixed;
}

#realizacje {
	background-color: var(--bgLight);
}

#realizacje .swiper-container {
	position: relative;
	padding-bottom: 75px;
}

#realizacje .swiper-pagination {bottom: 0;}

#realizacje .swiper-pagination-bullet {
	width: 16px;
	height: 16px;
	margin: 0 0.5em;
	transition: all .3s;
}

#realizacje .swiper-pagination-bullet-active {
	background: var(--primaryDark) !important;
}



/*
			F O O T E R
*/

.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-color: black;
	color: white;
	padding: var(--sectionPadding) 0 40px;
}

footer h3 {
	color: white;
	margin-top: 0;
	margin-bottom: 20px;
}

footer p:last-of-type {
	margin-bottom: 1em;
}

footer p.flex img {
	margin-top: 8px;
}

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

footer ul {
	margin: 0;
	padding: 0;
}

footer li {
	margin: 0 30px 0 0;
	padding: 0;
	list-style: none;
}

footer a {
	color: white;
	transition: opacity .2s;
	text-decoration: none;
}

footer a:hover {
	opacity: .8;
}

footer input,
footer textarea {
	border-color: var(--secondary);
	background: var(--secondary);
	color: white;
}



form {
	width: 100%;
}

fieldset {
	border: 0;
	padding: 0;
	margin: 0;
}

label {
	margin-top: 10px;
	margin-bottom: 5px;
	font-size: 1.125rem;
}

label p {
	margin: 0;
}

input,select,textarea {
	width: 100%;
	box-sizing: border-box;
	padding: .8rem 1rem;
	border: 2px solid var(--borderColor);
}

[type="checkbox"],
[type="radio"] {
	width: auto;
	flex-shrink: 0;
}

textarea {
	height: 14.8rem;
}

.ok {
	border-color: var(--borderColor);
}

.error {
	border-color: red;
}

.error-msg {
	color: red;
	font-size: 1rem;
	margin-top: 5px;
}

.star {
	color: red;
	font-family: sans-serif;
}

#alert {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 0.5rem 1rem;
	color: white;
	font-weight: bold;
}

#alert.success {
	background-color: rgb(0, 133, 22);
}


#alert.danger {
	background-color: rgb(165, 0, 0);
}



.floating-widgets {
	position: fixed;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 9999;
}

.floating-widgets a:not(:last-child) {
	margin-bottom: 15px;
}

.floating-widgets a, .floating-widgets img {
	display: block;
	transition: all .2s ease;
}

.floating-widgets a img {
	background-color: #fff;
	border-radius: 50%;
	padding: 1px;
}



/*
			K E Y F R A M E S
*/

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







/*
			M E D I A
			Q U E R I E S
*/



@media screen and (max-width: 1536px) {
	:root {
		--navMargin: 35px
	}

	.slogan a {
		flex-wrap: nowrap;
	}

	.slogan a strong {font-size: 1.35rem;}
}


@media screen and (max-width: 1199px) {
	:root {
		--navMargin: 25px
	}

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

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

	.langs a img {
		height: 24px;
	}

	.navbar {height: 60px;}

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

	.slogan a {
		flex-wrap: nowrap;
	}

	.slogan a strong {font-size: 1.35rem;}

	.md\:w-5-12 {
		width: 50%;
		max-width: 50%;
		flex-basis: 50%;
	}

	footer .sm\:row {
		flex-direction: column;
	}

	footer .sm\:w-6-12 {
		width: 100%;
		max-width: 100%;
		flex-basis: 100%;
	}
}



@media screen and (max-width: 1022px) {
	:root {
		--sectionPadding: 80px;
	}

	.mobile-menu-toggler {margin-left: 30px;}

	.w-full {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.md\:w-5-12 {
		width: 100%;
		max-width: 100%;
		flex-basis: 100%;
		margin-top: 50px;
	}

	footer .w-full {
		text-align: center;
	}

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

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

	footer form {
		margin-top: 50px;
		text-align: left;
	}

	footer label {
		text-align: left;
	}

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


@media screen and (max-width: 800px) {
	.slogan {
		width: 100%;
		max-width: 100%;
		flex-basis: 100%;
	}

	.slogan a {
		justify-content: space-between;
		padding-right: 30px;
	}
}


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


@media screen and (max-width: 465px) {
	.navbar-bar {
		height: auto;
	}

	.navbar-bar::after {
		top: -10px;
		bottom: -10px;
	}
}


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

	.navbar-logo {
		margin-top: 10px;
	}

	.affix .navbar-logo {margin-top: 0;}

	.navbar {
		height: 100px;
	}

	.affix {height: 50px;}

	.navbar-bar {
		height: auto;
		width: 100%;
		justify-content: space-between;
		margin-top: 15px;
	}

	.affix .langs {display: none;}

	.affix .navbar-bar {
		width: auto;
		margin-top: 0;
	}

	.slogan img {
		display: none;
	}
}


.callme {
	position: fixed;
	bottom: 30px;
	right: 20px;
	z-index: 9999999;
}
.callme .rel {
	background: url(/assets/img/phone.png) center center no-repeat;
	background-size: 100% auto;
	position: relative;
	display: block;
	width: 60px;
	height: 60px;
}
.callme .rel::after {
	content: '';
	background: #c00101;
	border-radius: 15px;
	position: absolute;
	inset: 0;
	z-index: -1;
	animation-name: rollandroll;
	animation-duration: 5s;
	animation-fill-mode: forwards;
	animation-iteration-count: infinite;
}
@keyframes rollandroll {
	0% {
		transform: rotate(0);
	}
	100%,
	50% {
		transform: rotate(360deg);
	}
}
.callme:hover {
	transform: scale(1.1);
	color: #fff;
	opacity: 0.8;
	box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.3);
}


.tel-popup {
	align-items: center;
	justify-content: center;
	position: fixed;
	inset: 0;
	z-index: 999;
}

#zadzwonimy {
	width: 340px;
	padding: 1rem;
	background-color: white;
	border-radius: .25rem;
	overflow: hidden;
	position: relative;
	z-index: 2000;

	& h5 {
		margin-bottom: 10px !important;
	}

	& h4 {margin-top: 0 !important;}

	& a {
		text-decoration: none;
	}
}

.tel-popup-close {
	position: absolute;
	top: 2px;
	right: 2px;
	width: 2rem;
	height: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: red;
	color: white;
	font-size: 1.5rem;
	font-family: monospace;
	border-radius: .25rem;
}

.tel-popup-backdrop {
	position: fixed;
	inset: 0;
	z-index: 1000;
	background-color: hsl(0 0% 0% / .5);
	backdrop-filter: blur(.25rem);
}