@charset "UTF-8";

:root,
[data-bs-theme=light] {
	--font: 'Eudoxus Sans', system-ui, sans-serif;

	--primary-color: hsl(39 93% 59%);
	--primary-color-light: hsl(39 93% 69%);
	--primary-color-dark: hsl(39 93% 49%);

	--xxl: 7.5rem;
	--xl: 5rem;

	--bs-primary: var(--primary-color);
	--bs-primary-rgb: 248, 180, 53;

	--bs-light: hsl(35 92% 95%);
	--bs-border-color: hsl(35 92% 75%);
	--bs-light-rgb: 254, 245, 232;

	--bs-dark: black;
	--bs-dark-rgb: 0, 0, 0;

	--bs-body-color: black;

	--bs-link-color: var(--primary-color);
	--bs-link-color-rgb: 248, 180, 53;
	--bs-link-hover-color: var(--primary-color-dark);
	--bs-link-hover-color-rgb: 241, 160, 9;

	--h1: clamp(2.5rem, 3vw + 1rem, 4rem);
	--h2: clamp(1.75rem, 2.5vw + 1rem, 3.5rem);
	--h3: clamp(1.5rem, 2.25vw + 1rem, 2.25rem);
	--h4: clamp(1.25rem, 1.5vw + 1rem, 1.5rem);
	--h5: clamp(1rem, 1.25vw + 1rem, 1.25rem);
	--h6: 1rem;
	--lead: var(--h4);

	--affix-height: 80px;
}

[x-cloak] {
	display: none !important;
}

:focus-visible {
	outline: 2px dashed var(--primary-color);
	outline-offset: 2px;
}

html {
	scrollbar-gutter: stable;
	scroll-behavior: smooth;
	scroll-padding-top: var(--affix-height);
}

@view-transition {
	navigation: auto;
}

@keyframes fade-in {
	from {
		opacity: 0;
		background-color: var(--primary-color);
	}

	to {
		opacity: 1;
		background-color: var(--primary-color);
	}
}

@keyframes fade-out {
	from {
		opacity: 1;
		background-color: var(--primary-color);
	}

	to {
		opacity: 0;
		background-color: var(--primary-color);
	}
}

::view-transition-old(root) {
	animation: 800ms ease-in forwards fade-out;
}

::view-transition-new(root) {
	animation: 400ms ease-in forwards fade-in;
}

body {
	font-family: var(--font);
	line-height: 1.65;
}

.font-size-12px {
	font-size: .75rem;
}

.font-size-14px {
	font-size: .875rem;
}

.font-size-16px {
	font-size: 1rem;
}

.font-size-18px {
	font-size: 1.125rem;
}

.font-size-20px {
	font-size: 1.25rem;
}

.font-size-22px {
	font-size: 1.375rem;
}

.font-size-24px {
	font-size: 1.5rem;
}

.font-size-26px {
	font-size: 1.625rem;
}

.font-size-28px {
	font-size: 1.75rem;
}

.font-size-30px {
	font-size: 1.875rem;
}

.font-size-32px {
	font-size: 2rem;
}

.font-size-34px {
	font-size: 2.125rem;
}

.font-size-36px {
	font-size: 2.25rem;
}

.font-size-38px {
	font-size: 2.375rem;
}

.font-size-40px {
	font-size: 2.5rem;
}

.font-size-42px {
	font-size: 2.625rem;
}

.font-size-44px {
	font-size: 2.75rem;
}

.font-size-46px {
	font-size: 2.875rem;
}

.font-size-48px {
	font-size: 3rem;
}

.font-size-50px {
	font-size: 3.125rem;
}

.icon {
	width: var(--icon-size, 72px);
}

.icon-72px,
[src*="_72px"] {
	width: 72px;
}

.icon-64px,
[src*="_64px"] {
	width: 64px;
}

.icon-48px,
[src*="_48px"] {
	width: 48px;
}

.icon-32px,
[src*="_32px"] {
	width: 32px;
}

.icon-16px,
[src*="_16px"] {
	width: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
	font-family: var(--font);
	margin-bottom: 1rem;
	font-weight: bold;
	line-height: 1.1;

	&:has(strong) {
		font-weight: 400;
	}
}

h1 em,
h2 em,
h3 em,
h4 em,
h5 em,
h6 em,
.h1 em,
.h2 em,
.h3 em,
.h4 em,
.h5 em,
.h6 em {
	font-style: normal;
	color: var(--primary-color);
}

h1,
.h1 {
	font-size: var(--h1) !important;
	text-wrap: balance;
}

h2,
.h2 {
	font-size: var(--h2) !important;
	text-wrap: balance;
}

h3,
.h3 {
	font-size: var(--h3) !important;
	text-wrap: balance;
}

h4,
.h4 {
	font-size: var(--h4) !important;
	text-wrap: balance;
}

h5,
.h5 {
	font-size: var(--h5) !important;
}

h6,
.h6 {
	font-size: var(--h6) !important;
}

.lead {
	font-size: var(--lead);
}

.lead,
p,
.pretty {
	text-wrap: pretty;
}

.container-fluid {
	padding-inline: max(1rem, 5vw);
}

.inset-0 {
	inset: 0;
}

.p-xxl {
	padding: var(--xxl);
}

.p-xl {
	padding: var(--xl);
}

.px-xxl {
	padding-inline: var(--xxl)
}

.px-xl {
	padding-inline: var(--xl)
}

.pt-xxl {
	padding-top: var(--xxl);
}

.pb-xxl {
	padding-bottom: var(--xxl);
}

.py-xxl {
	padding-top: var(--xxl);
	padding-bottom: var(--xxl);
}

.mt-xxl {
	margin-top: var(--xxl);
}

.mb-xxl {
	margin-bottom: var(--xxl);
}

.my-xxl {
	margin-top: var(--xxl);
	margin-bottom: var(--xxl);
}

.pt-xl {
	padding-top: var(--xl);
}

.pb-xl {
	padding-bottom: var(--xl);
}

.py-xl {
	padding-top: var(--xl);
	padding-bottom: var(--xl);
}

.mt-xl {
	margin-top: var(--xl);
}

.mb-xl {
	margin-bottom: var(--xl);
}

.my-xl {
	margin-top: var(--xl);
	margin-bottom: var(--xl);
}

#main ol li ul {
	margin-top: 1rem;
	margin-bottom: 1rem;
}

#main ol li+li {
	margin-top: 1rem;
}

/*  MARK: navbar  */

.navbar {
	--bs-navbar-padding-x: 0;
	--bs-navbar-padding-y: 3rem;
	--bs-navbar-active-color: white;
	--bs-navbar-nav-link-padding-x: 1rem;
	transition: padding 200ms, box-shadow 200ms;
	/* background-image: linear-gradient(to bottom, hsl(0 0% 0% / .8), transparent); */
}

.navbar.affix {
	--bs-navbar-padding-y: .75rem;
	background-color: var(--bs-dark);
}

.navbar-brand-image {
	height: 42px;
	transition: height 200ms;
}

.affix .navbar-brand-image {
	height: 30px;
}

.navbar-nav .nav-link {
	text-transform: uppercase;
	color: white;
	font-weight: bold;
	transition: color 200ms;

	&:hover,
	&:focus,
	&.active,
	&.show {
		color: var(--primary-color);
	}
}

.dropdown-menu {
	border: 0;
	padding: .75rem;
	border-radius: 0;
	box-shadow: 0 1rem 2.5rem -.5rem hsl(0 0% 0% / .25);
	background-color: hsl(0 0% 0%);
}

.dropdown-item {
	color: white;
	padding: 0.25rem .5rem;
	border-radius: .25rem;
	transition: color 200ms, background-color 200ms;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
	color: var(--bs-dark);
	background-color: var(--primary-color);
}


.navbar-light {
	background-color: white;
	background-image: none;
	transition: padding 200ms, box-shadow 200ms;

	.navbar-nav .nav-link {
		color: var(--bs-dark);

		&:hover,
		&:focus,
		&.active,
		&.show {
			color: var(--primary-color);
		}
	}

	&.affix {
		background-color: white;
		box-shadow: 0 0 1rem hsl(0 0% 0% / .15);
	}
}

.sub:has(.navbar-light) {
	padding-top: 148px;
}


/*  MARK: header  */

header .position-absolute {
	background-image: linear-gradient(to top, hsl(0 0% 0% / .8), transparent 50%);
}

.sub header .position-absolute {
	background-image: linear-gradient(to top, hsl(0 0% 0% / .8), transparent 80%);
}

.swiper {
	height: 100%;
	width: 100%;
}

.swiper__image {
	height: 100vh;
	object-position: center;
}

/*  MARK: main content */

.btn {
	--bs-btn-padding-x: 1.875rem;
	--bs-btn-padding-y: 1.25rem;
	--bs-btn-font-size: 1rem;
	--bs-btn-font-weight: 700;
	--bs-btn-line-height: 1.5;
	--bs-btn-border-radius: 0;
	transition: color 300ms, background-color 300ms, border-color 300ms;
}

.btn-primary {
	color: var(--bs-dark) !important;
	--bs-btn-bg: var(--primary-color);
	--bs-btn-border-color: var(--primary-color);
	--bs-btn-hover-bg: var(--primary-color-light);
	--bs-btn-hover-border-color: var(--primary-color-light);
	--bs-btn-active-bg: var(--primary-color-dark);
	--bs-btn-active-border-color: var(--primary-color-dark);
}

.btn-outline-primary {
	--bs-btn-color: var(--primary-color);
	--bs-btn-border-color: var(--primary-color);
	--bs-btn-hover-bg: var(--primary-color);
	--bs-btn-hover-border-color: var(--primary-color);
	--bs-btn-active-bg: var(--primary-color);
	--bs-btn-active-border-color: var(--primary-color);
}

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

#inwestycje .images {
	width: 100%;
	aspect-ratio: 535 / 507;

	img {
		width: 55%;
		height: auto;
	}
}

.card {
	border: 0;
	border-radius: 0;
	cursor: pointer;

	* {
		border-radius: inherit;
	}

	&:hover {
		.card-img-top img {
			transform: scale(1.1);
		}

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

	a {
		color: var(--bs-dark);
		text-decoration: none;
		transition: color 200ms;

		&:has(img) {
			img {
				transition: transform 300ms;
			}

			&:hover,
			&:focus {
				img {
					transform: translateX(3px);
				}
			}
		}
	}
}

.card-img-top {
	overflow: hidden;
	display: block;
	width: 100%;

	img {
		display: block;
		width: 100%;
		height: auto;
		aspect-ratio: 555 / 370;
		object-fit: cover;
		transition: transform 600ms cubic-bezier(0.165, 0.84, 0.44, 1);
	}
}

.card-body {
	padding-inline: 0;
	padding-bottom: 0;
	padding-top: 1.5rem;
}

#dlaczego {
	background-image: url(../img/dlaczego-bg.png);
	background-position: right top;
	background-repeat: no-repeat;
	background-size: 40% auto;
	background-blend-mode: darken;

	.bg-white h4 {
		margin-top: 1rem;
		display: block;
	}
}

p:last-child {
	margin-bottom: 0;
}

#ceo .col-lg-6 .d-flex {
	padding: max(1rem, 5vw);
}


.offer main ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1rem;
	list-style: none;
	padding-left: 0;
	margin-bottom: 0;
	line-height: 115%;
}

.offer main ul>li {
	font-weight: 700;
	background-color: var(--bs-light);
	padding: 1rem;
	display: flex;
	align-items: center;
}

.offer main ul>li::before {
	content: "";
	display: inline-block;
	width: 1rem;
	height: 1rem;
	margin-right: 1rem;
	flex-shrink: 0;
	background-color: var(--bs-primary);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M18 0H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zm-5.354 5.354-4.5 4.5a.5.5 0 0 1-.708 0l-2-2a.5.5 0 1 1 .708-.708L7.5 8.793l4.146-4.147a.5.5 0 0 1 .708.708z'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm10.354 5.354-4.5 4.5a.5.5 0 0 1-.708 0l-2-2a.5.5 0 1 1 .708-.708L7.5 8.793l4.146-4.147a.5.5 0 0 1 .708.708z'/%3E%3C/svg%3E") no-repeat center / contain;
}

iframe {
	width: 100%;
	display: block;
}

.gallery.masonry {
	--gap: 10px;
	column-count: 3;
	column-gap: var(--gap);

	.g {
		margin-bottom: var(--gap);
	}

	.g a {
		display: block;
		overflow: hidden;

	}

	img[data-src] {
		display: block;
		opacity: 0;
		/* visibility: hidden; */
		transition: opacity 600ms ease, transform 600ms cubic-bezier(0.165, 0.84, 0.44, 1);
	}

	img.visible {
		display: block;
		opacity: 1;
		/* visibility: visible; */
		/* animation: fadeImg 800ms ease 800ms 1 forwards; */
	}
}

@keyframes fadeImg {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}


/* MARK: realizacje z filtrami */


.realizacja .box .hover {
	opacity: 0;
	z-index: 99;
	color: white;
	background-color: hsl(0 0% 0% / .35);
	transition: opacity 300ms;

	.text-dark {
		display: inline-block;
		padding: 0.5rem 0.875rem;
		background-color: hsl(0 0% 100% / .8);
		backdrop-filter: blur(1rem);
	}
}

.realizacja .box:hover .hover {
	opacity: 1;
}

.realizacja .box img {
	display: block;
	width: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
	transition: transform 800ms cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.realizacja .box strong {
	z-index: 100;
	padding: 1em 2em;
	left: 1rem;
	width: calc(100% - 2rem);
	text-align: center;
	line-height: 1.2;
	font-weight: normal;
	color: var(--bs-body-color);
}

#filtry {
	display: flex;
	flex-wrap: wrap;
	gap: 3px;
}

.filtr.btn {
	color: var(--bs-body-color);
	background-color: var(--bs-light);
	flex: auto;
	font-size: .8rem;
	padding: .5rem .75rem;
	font-weight: 600;
	text-transform: uppercase;
	white-space: nowrap;
}

.filtr.active {
	color: white;
	background-color: var(--primary-color);
}


/*  MARK: stopka */

footer {
	background-image: url(../img/footer-bg.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center bottom;

	.h5 {
		line-height: 1.5;
	}

	a {
		color: white;
		text-decoration: none;
		transition: color 200ms;

		&:hover,
		&:focus {
			color: var(--primary-color);
		}
	}

	.text-muted,
	.text-muted a {
		opacity: 1;
		color: hsl(0 0% 60%) !important;
		text-decoration: none;
	}
}

footer .list-unstyled li+li {
	margin-top: 0.75em;
}

.madeby {
	display: flex;
	align-items: center;
}

.madeby small {
	font-size: 0.625rem;
	margin: 0.2em 0.2em 0 0;
}

#zaufali img {
	max-height: 115px;
}

/*  MARK: sub content  */

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

.sub header h1 {
	text-align: left;
}

.sub header {
	height: 60vh;
}

.sub .swiper__image {
	height: 60vh;
}

@keyframes scrollZoomAndParallax {
	from {
		transform: scale(1) translateY(0);
	}

	to {
		transform: scale(1.15) translateY(10%);
	}
}

.header__img-container {
	width: 100%;
	height: 100%;
	overflow: hidden;
	animation: scrollZoomAndParallax linear;
	animation-timeline: scroll(root);
}

.header__img-container img.swiper__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

main:has(#sub-pages:last-of-type) {
	padding-bottom: 0;
}

.gallery a {
	display: block;
	width: 100%;
	overflow: hidden;
}

.gallery a img {
	width: 100%;
	display: block;
	transition: transform 400ms cubic-bezier(0.19, 1, 0.22, 1);
}

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

.downloads a {
	text-decoration: none;
	color: black;
	border: 1px solid var(--bs-border-color);
	border-radius: 0;
	transition: color 200ms, border-color 200ms;

	.h5 {
		font-weight: normal;
		font-size: 1rem !important;
	}
}

.downloads a:hover {
	color: var(--primary-color);
	border-color: var(--primary-color);
}

.form-control,
.form-select {
	border-radius: 0;
	padding: 0.75rem 1rem;
}

.form-control.error {
	border-color: red;
}

.error-msg {
	color: red;
}

/* MARK: paginator */

.d-flex:has(.pagination) {
	justify-content: flex-start !important;
}

.pagination {
	display: flex;
	gap: .25rem;
}

.pagination li {
	display: none
}

.pagination .active,
.pagination .insertPage,
.pagination li:first-child,
.pagination li:last-child {
	display: block
}

.pagination a,
.pagination input {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin: 0;
	border-radius: .25rem;
	padding: 0;
	text-align: center;
	font-size: 1.125rem;
	color: var(--bs-body-color);
	border: 1px solid var(--bs-border-color);
	transition: all .2s;
	text-decoration: none;
}

.pagination a:focus,
.pagination a:hover,
.pagination input:focus,
.pagination input:hover {
	color: var(--primary-color);
	border: 1px solid var(--primary-color);
	background-color: var(--bs-light);
}

.pagination input::placeholder {
	color: var(--bs-body-color);
	font-size: 16px;
	font-weight: 500
}

.pagination .active a {
	border: 1px solid var(--primary-color);
	background-color: var(--primary-color) !important;
	color: white !important;
	cursor: text
}

.pagination .insertPage+.insertPage {
	display: none
}



/*  MARK: RWD  */

@media (width < 1200px) {

	.navbar-dark,
	.navbar[data-bs-theme=dark] {
		--bs-navbar-toggler-border-color: var(--primary-color);
		--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
	}

	#dlaczego .col p {
		font-size: .875rem;
		display: block;
		line-height: 1.5;
	}

	#ceo-title {
		font-size: var(--h5) !important;
	}
}

@media (width < 992px) {
	.home header .container-fluid {
		justify-content: center !important;
	}

	#dlaczego {
		background-image: none;
		position: relative;
		isolation: isolate;

		&::after {
			content: '';
			display: block;
			width: 50%;
			height: 100%;
			background-image: url(../img/dlaczego-bg.png);
			background-size: contain;
			background-position: right top;
			background-repeat: no-repeat;

			position: absolute;
			top: 0;
			right: 0;
			opacity: .3;
			mix-blend-mode: darken;
		}
	}
}


@media (width <=767px) {

	header,
	main,
	footer {
		overflow: hidden;
	}

	.slogan {
		text-shadow: 1px 2px 4px hsl(0 0% 0% / .5);
	}

	.header__img-container img.swiper__image {
		height: 390px;
	}

	.sub header,
	.sub .header__img-container img.swiper__image {
		height: 250px;
	}

	.gallery.masonry {
		--gap: 5px;
		column-count: 2;
	}
}

@media (width <=575px) {
	:root {
		--xxl: 3.5rem;
		--xl: 2rem;
	}

	#zaufali img {
		max-height: 75px;
	}

	.navbar-brand-image {
		height: 32px;
	}

	.navbar {
		--bs-navbar-padding-y: 1rem;
	}

	.sub:has(.navbar-light) {
		padding-top: 78px;
	}

	.slogan h1 {
		font-size: var(--h2) !important;
	}

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