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

[x-cloak] {display: none;}

* {outline: none !important;}

html {
	scroll-behavior: smooth;
}

/* navbar */

.navbar {
	background-color: var(--secondaryAlpha);
	position: fixed;
	top: 0; left: 0;
	width: 100%;
	z-index: 999;
	transition: all .2s ease;
}

/* .affix {
	backdrop-filter: blur(5px);
} */

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

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

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

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

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

.btn {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 1rem;
	padding: 1.5em 2.2em;
	font-size: 0.75rem;
	transition: all var(--fasterSpeed) var(--easeOutExpo);
	background-color: transparent;
	border: 1px solid var(--primary);
	position: relative;
	z-index: 20;
	filter: none !important;
}

.btn::before, .btn::after {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: -1;
	transition: all var(--fastSpeed) var(--easeOutExpo);
}

.btn::before {
	background: #000;
	right: 100%;
}
.btn::after {
	background: var(--primary);
}

.btn:hover {
	color: var(--primary) !important;
}

.btn:hover::before {
	right: 0;
}

.btn:hover::after {
	left: 100%;
}

.btn.alt {
	align-items: center;
	background-color: transparent;
	border: 2px solid white;
	color: white;
	font-size: 1rem;
	padding: .8em 2.2em;
}

.btn.alt::before,
.btn.alt::after {display: none;}

.affix .btn.alt {
	padding: .5em 1.5em;
}

.btn.alt img {margin-right: 1rem;}

/* .btn:hover {
	filter: none;
	background-color: var(--primaryLight);
	transform: translateY(-2px);
	box-shadow: 0 10px 15px -8px hsl(0, 0%, 0%, .2);
}
.btn:focus {
	filter: none;
	background-color: var(--primaryDark);
	transform: translateY(0);
	box-shadow: 0 5px 10px hsl(0, 0%, 0%, .1);
} */

.btn.alt:hover {
	background-color: hsl(0, 0%, 100%, .2);
	transform: translateY(-2px);
	box-shadow: 0 10px 15px -8px hsl(0, 0%, 0%);
}

/* mobile menu */

.mobile-menu {
	margin-left: 30px;
	border-left: 2px solid white;
	padding: 10px 0 10px 30px;
}

.mobile-menu-toggler--wrapper {
	cursor: pointer;
}

.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: white;
	transition: all var(--fastSpeed) var(--easeOutBack);
	transform-origin: right;
}

.mobile-menu-text {
	color: white;
	font-weight: bold;
	margin-left: 30px;
}

/* .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: translateY(100%);
	display: block;
	position: fixed;
	top: 98px;
	left: 0;
	height: calc(100vh - 98px);
	max-width: 100vw;
	width: 100%;
	background-color: var(--secondaryAlpha);
	margin: 0;
	padding: 0;
	z-index: 99999;
	overflow-y: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

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

.affix .mobile-nav {
	top: 60px;
	height: calc(100vh - 60px);
}

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

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

.mobile-nav a {
	display: block;
	font-size: 2rem;
	text-decoration: none;
	color: white;
	font-weight: 300;
	box-sizing: border-box;
	padding: 20px 0;
	opacity: .7;
	transition: all .2s ease;
}

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

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

.mobile-nav .active >a {
	color: var(--primary);
}

.mobile-nav .active >a,
.mobile-nav a:hover {
	opacity: 1;
	font-size: 2.2rem;
}


a {text-decoration: none;}


h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
}

b, strong {
	font-weight: 700;
}

header {
	position: sticky;
	top: 0;
	z-index: 1;
}

header .container {
	position: relative;
}

header h1 {
	color: white;
	margin: 98px 0 0 0;
	position: relative;
	padding-left: 80px;
}

header h1::before {
	content:'';
	display: block;
	opacity: .2;
	width: 240px;
	height: 240px;
	border: 20px solid white;
	position: absolute;
	z-index: -1;
	top: -50px;
	left: 0;
}

#scroll {
	border: 2px solid white;
	border-radius: 15px;
	width: 24px;
	height: 42px;
	position: absolute;
	bottom: 30px;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

#scroll span {
	width: 2px;
	height: 6px;
	background-color: #fff;
	border-radius: 2px;
	position: absolute;
	top: 7px;
	animation: scroll 1.5s ease infinite forwards;
}

#scroll:hover span {
	animation-play-state: paused;
}

@keyframes scroll {
	0% {transform: translateY(0);}
	25% {transform: translateY(2px);}
	50% {transform: translateY(0);}
	75% {transform: translateY(2px);}
}

header .swiper-slide img {
	width: 100%;
	height: 76dvh;
	min-height: 600px;
	object-position: right bottom;
}

.home #news {
	padding: 40px 0;
	background-color: hsl(0 0% 100% / .8);
	backdrop-filter: blur(3px);
}

main, footer {
	position: relative;
	z-index: 20;
}

/* main {
	background-color: var(--bgLight);
} */

/* .home main {
	margin-top: -437px;
} */

#firma {
	padding: var(--sectionPadding) 0;
	background-color: var(--bgLight);
	background-image: url(/assets/img/bg.jpg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

#news {
	padding: 80px 0;
	background-color: var(--bgLight);
}

.card-title {
	margin-top: 0;
	margin-bottom: 20px;
}

.card-title--link {
	color: var(--titleColor);
	transition: color .2s ease;
}

.card-title--link:hover {
	color: var(--primary);
}

.card-date {
	font-size: 1rem;
	opacity: .6;
}


#realizacje {
	padding: 0 10px 10px;
	background-color: #fff;
}

#realizacje .grid {
	gap:10px;
}

#realizacje a {
	overflow: hidden;
}

#realizacje a::after {
	content: '';
	width: 56px;
	height: 56px;
	display: block;
	background: var(--primary) url(/assets/img/plus.svg) center no-repeat;
	background-size: 10px 10px;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 30;
}

#realizacje .caption {
	background: linear-gradient(transparent, hsl(0, 0%, 0%, .8));
	color: white;
}

#realizacje .caption::after {
	content: '';
	display: block;
	width: 60px;
	height: 10px;
	background-color: var(--primary);
	position: absolute;
	bottom: 0;
	left: 40px;
	transition: all .3s ease;
}

#realizacje a:hover .caption::after {
	width: calc(100% - 80px);
}

#realizacje strong {
	font-size: 2.375rem;
	margin-top: 10px;
}

#realizacje img {
	transition: all .3s ease;
}

#realizacje a:hover img {
	transform: scale(1.1);
}





.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;
	padding: 80px 0;
	color: white;
}


footer ul {
	margin: 0;
	padding: 0;
	gap:40px;
}

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

footer li a {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 0.75rem;
}

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

footer a:hover {
	opacity: .8;
}

footer .social-media img {
	filter: invert(1);
}

.wyszukiwarka .btn.alt {
	padding-left: 0.8rem;
	padding-right: 0.8rem;
}

.wyszukiwarka .btn.alt img {margin: 0;}

.has-dropdown {
	position: relative;
}

.has-dropdown .dropdown {
	position: absolute;
	top: 100%;
	right: 0;
	padding: 15px;
	background-color: hsl(0, 0%, 0%, .6);
}

.has-dropdown .dropdown input {
	flex-grow: 1;
	min-width: 200px;
	border: 0;
	border-radius: 0;
	padding: 0 0.5rem;
}

.has-dropdown .dropdown .btn {
	border-radius: 0;
	border: 0;
}

.shadow {
	box-shadow: 0 20px 30px -5px hsla(0, 0%, 0%, .1), 0 30px 30px -25px hsla(0, 0%, 0%, .1);
}



@media screen and (max-width: 1199px) {
	#firma h2 {
		font-size: var(--h3);
	}

	#realizacje .caption {
		flex-wrap: nowrap;
		padding: 50px 10px 20px;
	}

	#realizacje strong {
		font-size: var(--h5);
		margin-top: 0;
	}

	#realizacje .caption::after {
		left: 10px;
	}

	#realizacje a:hover .caption::after {
		width: calc(100% - 20px);
	}

	#realizacje small {
		letter-spacing: 1px;
	}
}



@media screen and (max-width: 1023px) {
	:root {
		--sectionPadding: 4.5rem;
	}
	#firma .max-w-full {
		margin-bottom: 30px;
		margin-right: 0;
	}

	#firma {
		padding-bottom: 0;
		background-size: cover;
	}

	footer .social-media {
		margin: 30px 0;
	}

}



@media screen and (max-width: 800px) {
	.navbar .btn.alt span {display: none;}
	.navbar .btn.alt img {margin-right: 0;}

	.navbar .btn.alt {
		padding: 0.8rem;
	}

	.affix .btn.alt {
		padding: 0.5rem;
	}

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

	.mobile-menu-text {display: none;}

	header h1 {
		font-size: var(--h2);
	}

	header h1::before {
		width: 240px;
		height: 240px;
	}

	#news .card {margin-bottom: 50px;}
}

@media screen and (max-width: 640px) {
	header h1 {
		font-size: var(--h2);
		text-align: center;
		width: 100%;
		padding-left: 0;
	}

	header h1::before {display: none;}

	#scroll {display: none;}

}

@media screen and (max-width: 599px) {
	header h1 {
		font-size: var(--h3);
	}
}

@media screen and (max-width: 425px) {
	header h1 {
		font-size: 2.2rem;
		text-shadow: 0 2px 3px hsl(0, 0%, 0%, .8);
	}

	.mobile-menu {
		margin-left: 10px;
		border-left: 2px solid white;
		padding: 10px 0 10px 10px;
	}

	.navbar .btn.alt {
		padding: 0.5rem;
	}

	header .swiper-slide img {
		object-position: right;
	}
}


@media screen and (max-width: 375px) {
	h2 {
		font-size: var(--h3);
	}

	footer ul {
		justify-content: center;
		gap: 10px;
	}
}

@media screen and (max-width: 360px) {
	header h1 {
		font-size: var(--h4);
	}

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

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

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

	#firma h2 {
		font-size: var(--h4);
	}
}

@media screen and (max-width: 355px) {
	.navbar-logo-image {
		height: 30px !important;
	}
}