@charset "UTF-8";

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

	--primary-color: hsl(43 65% 52%);
	--primary-color-light: hsl(43 65% 62%);
	--primary-color-dark: hsl(43 65% 42%);

	--xxl: 7.5rem;
	--xl: calc(var(--xxl) / 2);

	--bs-primary: hsl(43 65% 52%);
	--bs-primary-rgb: 212, 167, 53;

	--bs-light: hsl(35 38% 94%);
	--bs-light-rgb: 246, 241, 234;

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

	--bs-body-color: black;

	--bs-link-color: var(--primary-color);
	--bs-link-hover-color: var(--primary-color-dark);
	--bs-link-color-rgb: 212, 167, 53;
	--bs-link-hover-color-rgb: 177, 137, 37;
	--bs-link-decoration: none;
	--bs-link-hover-decoration: underline;

	--h1: 	clamp(2.625rem, 2.625rem + ((1vw - 0.2rem) * 1.333), 4.375rem);
	--h2: 	clamp(2rem, 2rem + ((1vw - 0.2rem) * 1.333), 3.5rem);
	--h3: 	clamp(1.5rem, 1.5rem + ((1vw - 0.2rem) * 1.333), 2.625rem);
	--h4: 	clamp(1.125rem, 1.125rem + ((1vw - 0.2rem) * 1.333), 2rem);
	--h5: 	clamp(1.1rem, 1.1rem + ((1vw - 0.2rem) * 1.333), 1.5rem);
	--h6: 	clamp(1.05rem, 1.05rem + ((1vw - 0.2rem) * 1.333), 1.125rem);
	--lead: clamp(1.1rem, 1.1rem + ((1vw - 0.2rem) * 1.333), 1.25rem);
}

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

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

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

a:not(.btn, .nav-link, .dropdown-item) {
	text-decoration: none;

	&:hover,
	&:focus {
		text-decoration: underline;
	}
}

strong, b {
	font-weight: bold;
}

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

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;}
h2, .h2 {font-size: var(--h2) !important;}
h3, .h3 {font-size: var(--h3) !important;}
h4, .h4 {font-size: var(--h4) !important;}
h5, .h5 {font-size: var(--h5) !important;}
h6, .h6 {font-size: var(--h6) !important;}
.lead   {font-size: var(--lead);}

.container-fluid {
	padding-inline: 3vw;
}

@media (min-width: 1536px) {
	.container {max-width: 1470px;}
}

.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: 1.125rem;
    --bs-navbar-active-color: white;
    --bs-navbar-nav-link-padding-x: 1rem;
	transition: padding 200ms, box-shadow 200ms;
	border-bottom: 1px solid white;
}

.navbar.affix {
	--bs-navbar-padding-y: .5rem;
	background-color: white;
	box-shadow: 0 0 2rem hsl(0 0% 0% / .15);
}

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

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

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

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

.dropdown-item {
	padding: 0.25rem 0;
	transition: color 200ms, border-color 200ms;
	border-bottom: 1px solid transparent;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
	color: var(--primary-color);
	background-color: transparent;
	border-bottom-color: var(--primary-color);
}

/*  MARK: header  */

header .col-lg-6:first-child {
	margin-top: 100px;
}

header .col-lg-6 img {
	height: 85vh;
	margin-top: 15vh;
	aspect-ratio: 530/875;
	object-position: bottom;
}

.swiper__image {
	height: 100vh;
}

/*  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.3;
		--bs-btn-border-radius: 5rem;
}

.btn-primary {
    --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);
}

p:has(.btn:only-child) {
	margin-top: 1.5rem;
}

.card {
	border-radius: 0;
	border: 0;
	background-color: transparent;
}

.card[x-data] {
	cursor: pointer;

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

.card-img-top {
	border-radius: 0;
	overflow: hidden;

	& img {
		max-width: 100%;
		aspect-ratio: 4/3;
		object-fit: cover;
		transition: transform 600ms cubic-bezier(0.19, 1, 0.22, 1);
	}
}

.card-title-link {
	color: var(--bs-body-color);
	text-decoration: none;
	transition: color 200ms;

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

.controls .swiper-button-prev,
.controls .swiper-button-next {

	position: relative;
	margin: 0;
	padding: 0;

	background-image: url(../img/arrow.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;

	border: 0;
	padding: 0;
	background-color: transparent;

	width: 2rem;
	height: 2rem;

	&::before,
	&::after {
		display: none;
	}

	transition: transform 200ms;

	&:active {
		transform: scale(0.9);
	}
}

.controls .swiper-button-prev {
	transform: rotate(180deg);

	&:active {
		transform: rotate(180deg) scale(0.9);
	}
}

#proces .border {
	border-color: var(--bs-light) !important;
}

#wspolpraca {
	background-image: url(../img/zapytajbg.png);
	background-size: cover;
	background-position: center;
	background-attachment: fixed;

	& .form-control {
		background-color: transparent;
		border-color: white;
		color: white !important;
		padding: 0.75rem 1.25rem;

		&::placeholder {
			color: white;
			opacity: 1;
		}

		&:focus::placeholder {
			color: hsl(0 0% 100% / .3);
		}
	}

	& textarea {
		border-radius: 1.35rem;
	}

	& .form-check {
    display: block;
    min-height: 2.5rem;
    padding-left: 2.5em;
    margin-bottom: .125rem;

		& label {
			margin-top: 0.25em;
		}
	}

	.form-check .form-check-input {
    margin-left: -2.5em;
	}

	& .form-check-input {
		padding: 0.75rem;
		border-radius: .5rem;
		border-color: white;
		background-color: transparent;
	}

	& .form-check-input:checked {
		background-color: var(--primary-color);
		border-color: var(--primary-color);
	}
}

.templ-contact iframe {
	width: 100%;
	height: 100%;
	display: block;
}


/*  MARK: stopka */

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

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

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

/*  MARK: sub content  */

.sub {padding-top: 100px;}

.sub .navbar {
	border-bottom-color: var(--bs-border-color);
}

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 hsl(0 0% 90%);
	border-radius: .25rem;
	transition: color 200ms, border-color 200ms;

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

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

.form-control {
	border-radius: 5rem;
	padding: 0.75rem 1.25rem;
}

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

.error-msg {
	color: red;
}

#form textarea {
	border-radius: 1.5rem;
}

.swiper.gallery {
	padding-bottom: var(--xl) !important;
}

.swiper.gallery .swiper-pagination {
	bottom: 0;
}

.swiper.gallery .swiper-pagination-bullet {
	width: 1.5rem;
	height: 5px;
	border-radius: .25rem;
	background-color: var(--primary-color);
	transition: width 200ms, background-color 200ms;
	opacity: 1;
	background-color: var(--bs-body-color);
}

.swiper.gallery .swiper-pagination-bullet-active {
	width: 2.5rem;
	background-color: var(--primary-color);
}

.swiper.gallery .swiper-button-prev,
.swiper.gallery .swiper-button-next {
	width: 55px;
	height: 55px;
	background-color: white;
	display: block;
	margin-top: calc(-1*var(--xl));
	background-repeat: no-repeat;
	background-size: 50%;
	background-position: center;
	transition: transform 300ms;

	&::before,
	&::after {
		display: none;
	}

	&:active {
		transform: scale(.8);
	}
}

.swiper.gallery .swiper-button-prev {
	left: 0;
	border-radius: 0 1rem 1rem 0;
	transform-origin: left center;
	background-image: url(../img/arrow-prev.svg);
}

.swiper.gallery .swiper-button-next {
	background-image: url(../img/arrow.svg);
	right: 0;
	border-radius: 1rem 0 0 1rem;
	transform-origin: right center;
}

.card .badge {
	top: .5rem;
	left: .5rem;
	width: auto;
	height: auto;
	border-radius: .15rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: .66rem;
}

.d-flex .badge {
	border-radius: .15rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: .66rem;
}

.badge.dostepne {
	color: #1f6300;
	background-color: #beffa5;
}

.badge.zarezerwowane {
	color: #635400;
	background-color: #ffeaa5;
}

.badge.sprzedane {
	color: #630c00;
	background-color: #ffafa5;
}


.floating-widgets {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    display: flex;
    align-items: center;
		gap: 0.5rem !important;
    z-index: 999;
}

.floating-widgets img {
    width: 46px;
    border: 0 !important;
    box-shadow: none !important;
}



/*  MARK: paginator  */

.pagination {
	display: flex;
}

.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: 30px;
	height: 30px;
	margin: 0 5px;
	padding: 0;
	text-align: center;
	color: #bbb;
	border: 1px solid #e1e1e1;
	text-decoration: none;
	transition: all .2s;
}

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

.pagination input::placeholder {
	color: #bbb;
	font-size: 16px;
	font-weight: 500;
}

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

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

/*  MARK: RWD  */


@media (max-width: 1499px) {
	.home header .swiper-slide .overflow-hidden {
		max-width: 35%;
		min-height: 700px;
	}
}

@media (max-width: 1199px) {
	.navbar {
		--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");
		--bs-navbar-toggler-border-color: white;
		--bs-navbar-toggler-border-radius: 0;
	}

	.navbar.affix {
		--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%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
		--bs-navbar-toggler-border-color: black;
		--bs-navbar-toggler-border-radius: 0;
	}

	.navbar-nav .nav-link {
		color: white;
		text-align: center;
	}

	.dropdown-menu {
		background-color: white;
	}

	.offcanvas {
		height: 100dvh;
	}

	.offcanvas-body {
		display: flex;
		flex-direction: column;
	}

	.navbar-nav {
		flex-grow: 1;
	}

	.navbar .btn-light {
		margin: 2rem 0 0;
		width: 100%;
	}

	#firma h3.h5 {
		font-size: var(--h6) !important;
	}

	footer .col-lg-3 a img {
		max-width: 90%;
		height: auto;
	}
}


@media (max-width: 991px) {

	.navbar {
		background-color: hsl(0 0% 100% / .5);
		backdrop-filter: blur(.25rem);
	}

	.navbar:not(.affix) .navbar-toggler {
		background-color: hsl(0 0% 0% / .25);
	}

	header {
		text-align: center;
		color: white;
	}

	header .col-lg-6:first-child {
		margin-top: 111px;
	}

	.home header .swiper-slide .overflow-hidden {
		max-width: 100%;
		width: 100%;
		min-height: 100vh;
		filter: brightness(.7);

		& img {
			width: 100%;
		}
	}

	.home header .col-lg-6.h-100 {
		display: none;
	}

	#firma {
		text-align: center;

		& .col {
			display: flex;
			flex-direction: column;
			align-items: center;
			margin-top: 3rem;

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

	footer {
		text-align: center;

		& .col-lg-3 a {
			margin-inline: auto;
			display: inline-block;
			margin-bottom: 2rem;
		}

		& hr+.d-flex {
			flex-direction: column;
		}
	}

	.templ-contact iframe {
		height: 500px;
	}
}


@media (max-width: 767px) {
	#oferty .d-flex:not(.d-flex .d-flex) {
		flex-direction: column;
		text-align: center;
		align-items: center;
	}

	.card-img-top img {
		width: 100%;
	}
}


@media (max-width: 575px) {
	:root {
		--xxl: 3.5rem;
	}

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

	.swiper-pagination {display: none !important;}
}