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

html {
	scroll-padding-top: 100px;
}

h1, h2, h3, h4, h5, h6 {font-weight: var(--titleWeight)}
b, strong {font-weight: var(--boldWeight)}

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

.speed-800 {animation-duration: 800ms}
.speed-1000 {animation-duration: 1000ms}
.speed-1200 {animation-duration: 1200ms}
.speed-1400 {animation-duration: 1400ms}

.delay-100 {animation-delay: 100ms}
.delay-200 {animation-delay: 200ms}
.delay-300 {animation-delay: 300ms}
.delay-400 {animation-delay: 400ms}
.delay-500 {animation-delay: 500ms}
.delay-600 {animation-delay: 600ms}

.btn {
	padding: 1.5em 2.3em;
	line-height: 1;
	font-size: .875rem;
	font-family: var(--fontTitle);
	border-radius: var(--borderRadius);
	-webkit-border-radius: var(--borderRadius);
	-moz-border-radius: var(--borderRadius);
	-ms-border-radius: var(--borderRadius);
	-o-border-radius: var(--borderRadius);
}

.btn-sm {
	padding: 1em 4em;
	border-radius: 100vmax;
	-webkit-border-radius: 100vmax;
	-moz-border-radius: 100vmax;
	-ms-border-radius: 100vmax;
	-o-border-radius: 100vmax;
}

.btn.alt {
	color: var(--primary);
	border: 1px solid var(--primary);
	background-color: #fff;
	line-height: 1;
	padding: 1.2em 2.5em;
}

.btn.alt:hover {
	text-decoration: none;
	background-color: var(--primary);
	color: white;
}



/*
			N A V B A R
*/

.navbar {
	background-color: #fff;
	position: sticky;
	top: 0;
	width: 100%;
	z-index: 999;
	transition: all .3s;
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	-ms-transition: all .3s;
	-o-transition: all .3s;
}

.affix {box-shadow: 0 0 30px hsl(0 0% 0% / .1);}

.navbar-logo {
	margin: 16.5px 0;
	transition: all .3s;
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	-ms-transition: all .3s;
	-o-transition: all .3s;
}

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

.navbar-logo-image {
	display: block;
	height: 127px;
	transition: all .3s;
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	-ms-transition: all .3s;
	-o-transition: all .3s;
}

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




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

.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: var(--navMargin);
}

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

.navbar-nav > li > a {
	color: black;
	font-weight: 700;
	display: inline-flex;
	text-decoration: none;
	padding: 10px 0;
	transition: all .2s;
	outline: none;
	position: relative;
	overflow: hidden;
}
/*
.nav-dropdown > a::after {
	filter: invert(1);
} */


.navbar-nav a::before {
	content: '';
	display: block;
	position: absolute;
	bottom: 0;
	left: -100%;
	width: 100%;
	height: 2px;
	will-change: transform;
	background-color: var(--primary);
	transition: all .2s var(--ease);
}


.navbar-nav a:focus::before,
.navbar-nav a:hover::before,
.navbar-nav .nav-active::before {
	left: 0;
}

.navbar-nav .nav-active {
	color: var(--primary);
}

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

.navbar-nav ul a {
	padding: 5px 0;
	/* border-bottom: 1px solid var(--borderColor); */
	display: flex;
	font-size: 0.875rem;
	color: var(--textColor);
	justify-content: space-between;
	text-decoration: none;
	overflow: hidden;
	line-height: 1.3;
	position: relative;
	transition: all .3s var(--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: 2px;
	left: 0;
	opacity: 0;
	color: var(--primary);
}

.navbar-nav ul a:hover::before {
	transform: translateX(0) !important;
	opacity: 1;
	-webkit-transform: translateX(0) !important;
	-moz-transform: translateX(0) !important;
	-ms-transform: translateX(0) !important;
	-o-transform: translateX(0) !important;
}
.navbar-nav ul a:hover {
	padding-left: 15px;
	padding-right: 0;
}

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

/* .navbar-nav .nav-dropdown:hover > ul */
.navbar-nav > li > .open {
	display: grid;
	gap: 30px;
	grid-template-columns: repeat(4, 1fr);
	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: var(--primary);
	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;
}




.container-lg {
	width: 95%;
	margin: 0 auto;
}


/*
			H E A D E R
*/

header {overflow: hidden; height: 870px;}

header .container-lg {
	height: 750px;
}

.header-images {
	height: 840px;
	position: relative;
	margin-top: 30px;
}

.header-image {
	border-radius: var(--borderRadius);
	-webkit-border-radius: var(--borderRadius);
	-moz-border-radius: var(--borderRadius);
	-ms-border-radius: var(--borderRadius);
	-o-border-radius: var(--borderRadius);

	position: absolute;
}

.header-image-1 {
	top: 65px;
	left: 65px;
	z-index: 20;
}

.header-image-2 {
	top: 373px;
	left: 0;
	z-index: 20;
}

.header-image-3 {
	top: 373px;
	left: 250px;
	z-index: 20;
}

.header-image-4 {
	top: 0;
	left: 370px;
}



blockquote {
	margin: 0;
	padding: 0;
}

blockquote em {
	padding: 0 0 0 1.5rem;
	border-left: 3px solid var(--primary);
	font-size: var(--leadSize);
	display: block;
	line-height: 1.5;
	margin-bottom: 1rem;
}

blockquote cite {
	font-style: normal;
	font-size: 1rem;
	color: var(--textColor);
}




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


p > .btn:only-child {margin-top: .8rem;}


#zapraszamy {
	margin-top: -120px;
	background-image: url(/assets/img/section-bg.jpg);
	background-repeat: no-repeat;
	background-position: right top;
}


#oferta a {
	display: flex;
	position: relative;
	flex-direction: column;
	margin-bottom: 30px;
	overflow: hidden;
	width: 100%;
	text-decoration: none;
	border-radius: var(--borderRadius);
	-webkit-border-radius: var(--borderRadius);
	-moz-border-radius: var(--borderRadius);
	-ms-border-radius: var(--borderRadius);
	-o-border-radius: var(--borderRadius);
	background-color: var(--primary);
}

#oferta a .relative::after {
	content: '';
	display: block;
	inset: 0;
	z-index: 20;
	position: absolute;
	background-image: linear-gradient(to bottom, hsl(223 62% 52% / .5), hsl(223 62% 52% / .7));
	transition: opacity .3s;
	-webkit-transition: opacity .3s;
	-moz-transition: opacity .3s;
	-ms-transition: opacity .3s;
	-o-transition: opacity .3s;
}

#oferta a:hover .relative::after {
	opacity: 0;
}

#oferta a img {
	opacity: .5;
	width: 100%;
	height: auto;
	aspect-ratio: 18/13;
	object-fit: cover;
	filter: grayscale(1);
	transition: all .3s;
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	-ms-transition: all .3s;
	-o-transition: all .3s;
	-webkit-filter: grayscale(1);
}

#oferta a:hover img {
	opacity: 1;
	filter: grayscale(0);
	-webkit-filter: grayscale(0);
}

#oferta a strong {
	display: flex;
	height: 105px;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 1em 0.5em;
	font-family: var(--fontTitle);
}

.card-title-link {
	color: black;
	transition: color .2s;
	-webkit-transition: color .2s;
	-moz-transition: color .2s;
	-ms-transition: color .2s;
	-o-transition: color .2s;
}

.card {cursor: pointer;}

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

.card p a:hover {
	text-decoration: underline;
}


/*
			F O O T E R
*/

.madeby {
	color: black;
	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: white;
}

footer hr {
	opacity: .2;
	background-color: black;
}

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

footer a {
	text-decoration: none;
	color: var(--textColor);
	transition: color .2s;
	-webkit-transition: color .2s;
	-moz-transition: color .2s;
	-ms-transition: color .2s;
	-o-transition: color .2s;
}

footer a:hover {
	color: var(--primary);
}

ul.columns-2 {
	columns: 2;
}

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

footer li a {
	line-height: 1.3;
	display: block;
	padding: 10px 15px;
	border-bottom: 1px solid var(--borderColor);
	border-top: 1px solid var(--borderColor);
	margin-top: -1px;
}


.home #news .md\:w-6-12 {
	padding: 0 100px;
}

.home #news .md\:w-6-12 + .md\:w-6-12 {
	border-left: 1px solid var(--borderColor);
}

.home #news .md\:row {
	margin-left: -100px;
	margin-right: -100px;
}

.card-body p:last-of-type {margin-bottom: 0;}

.card-date {margin-bottom: 20px;}



/*
			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: 1599px) {
	:root {
		--containerWidth: 96% !important
	}
}

@media screen and (max-width: 1450px) {
	:root {
		--navMargin: 30px !important
	}

	header h1 {
		font-size: clamp(var(--h3), var(--h1), 5vw);
	}

	blockquote em {
		font-size: clamp(1.1rem, var(--leadSize), 3.5vw);
	}

	h2 {font-size: clamp(var(--h4), var(--h2), 4vw);}
	h3 {font-size: clamp(var(--h6), var(--h3), 3.5vw);}
	h4 {font-size: clamp(var(--h6), var(--h4), 3vw);}

	#oferta a strong {font-size: clamp(.875rem, 1rem, 1vw); line-height: 1.1;}
}



@media screen and (max-width: 1200px) {
	:root {
		--navMargin: 20px !important
	}

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

	.btn-sm {
		padding: 1em 2em;
	}

	.navbar .md\:ml-50 {
		margin-left: 20px;
	}

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

	#oferta .sm\:row {
		align-items: stretch;
	}

	#oferta .sm\:row .md\:w-3-12 {margin-bottom: 30px;}

	#oferta .sm\:row a {
		height: 100%;
	}

	#oferta .sm\:row a strong {
		flex-grow: 1;
		display: flex;
		align-items: center;
		justify-content: center;
		text-align: center;
	}
}



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

	[class*="md:w"]:not([class*="sm:w"]) {
		padding-left: 0;
		padding-right: 0;
	}

	body {
		overflow-x: hidden;
	}

	.container-lg {
		width: 100%;
		margin: 0;
	}

	.container-lg.rounded {border-radius: 0;}

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

	.navbar .md\:ml-50 {margin-left: 0;}

	header .container-lg {
		padding-top: 30px;
		height: auto;
	}

	header {
		overflow: visible;
	}

	header, .header-images {height: auto;}

	#oferta {margin-top: 0; padding-top: 120px;}

	.header-image-4 {
		width: 100%;
		inset: auto;
		position: relative;
		margin-bottom: -100px;
	}

	#news .md\:w-6-12 + .md\:w-6-12, footer .md\:w-6-12 + .md\:w-6-12 {margin-top: 60px;}

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

	.header-image-1,
	.header-image-2,
	.header-image-3 {
		display: none;
	}

	.header-image-4 {
		aspect-ratio: 2/1;
		margin-bottom: 30px;
		object-fit: cover;
	}
}

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

	#oferta a img {
		width: 100%;
		height: auto;
		aspect-ratio: 16/9;
		object-fit: cover;
	}

	.home #news .md\:row {
		margin-left: 0;
		margin-right: 0;
	}

	.home #news .md\:w-6-12 {padding: 0;}

	.home #news .md\:w-6-12 + .md\:w-6-12 {
		border-left: 0;
	}
}


@media screen and (max-width: 599px) {
	:root {
		--sectionPadding: 60px !important;
		--leadSize: 1.125rem !important
	}

	.lead {font-size: 1.5;}

	#oferta a img {
		width: 100%;
		height: auto;
		aspect-ratio: 16/6;
		object-fit: cover;
	}

	ul.columns-2 {
		columns: 1;
	}
}


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

	.btn-sm {font-size: .75rem;}

	.section-title {
		flex-direction: column;
		align-items: center;
		gap: 1rem;
	}

	.header-image-4 {
		margin-bottom: 80px;
	}

}



@media screen and (max-width: 360px) {
	.copy {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		gap: 1rem;
	}

	.copy .separator {display: none;}

	#oferta a strong {height: 70px;}
}