@charset "UTF-8";

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

	--primary-color: hsl(32, 27%, 59%);
	--primary-color-light: hsl(32, 27%, 79%);
	--primary-color-dark: hsl(32, 27%, 39%);

	--xxl: 9.375rem;
	--xl: 4.6875rem;

	--bs-primary: hsl(32, 27%, 59%);
	--bs-primary-rgb: 179, 152, 122;

	--bs-light: hsl(30, 7%, 94%);
	--bs-light-rgb: 241, 240, 239;

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

	--bs-body-color: black;

	--bs-link-color: hsl(32, 27%, 59%);
	--bs-link-color-rgb: 179, 152, 122;
	--bs-link-decoration: none;
	--bs-link-hover-color: hsl(32, 27%, 49%);
	--bs-link-hover-color-rgb: 159, 127, 91;

	--h1: clamp(2.59375rem, 2.59375rem + ((1vw - 0.2rem) * 1.333), 4.05rem);
	--h2: clamp(2.075rem, 2.075rem + ((1vw - 0.2rem) * 1.333), 3.24375rem);
	--h3: clamp(1.6625rem, 1.6625rem + ((1vw - 0.2rem) * 1.333), 2.59375rem);
	--h4: clamp(1.33125rem, 1.33125rem + ((1vw - 0.2rem) * 1.333), 2.075rem);
	--h5: clamp(1.25rem, 1.25rem + ((1vw - 0.2rem) * 1.333), 1.6625rem);
	--h6: clamp(1.1rem, 1.1rem + ((1vw - 0.5rem) * 1.5), 1.33125rem);
	--lead: var(--h6);
}

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

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 80px;
}

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

b,
strong {
	font-weight: 700 !important;
}

.min-height-600 {
	min-height: 600px;
}

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



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 {
	padding-inline: clamp(1.5rem, 7.5vw, 7.5rem);
	max-width: 1680px;
	width: 100%;
}

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

.ps-xxl {
	padding-left: var(--xxl);
}

.ps-xl {
	padding-left: var(--xl);
}

.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: .5rem;
}

ol,
ul {
	padding-left: 1.1rem;
}

/*  MARK: navbar  */

.navbar {
	--bs-navbar-padding-x: 0;
	--bs-navbar-padding-y: 0;
	--bs-navbar-active-color: white;
	--bs-navbar-nav-link-padding-x: 1rem;
	transition: padding 200ms, box-shadow 200ms;
}

.navbar.affix {
	--bs-navbar-padding-y: 0;
	background-color: hsl(0 0% 0% / .9);
}

.sub .navbar.affix {
	--bs-navbar-padding-y: 0;
	background-color: hsl(0 0% 100% / .9);
	backdrop-filter: blur(.25rem);
	box-shadow: 0 0 1rem hsl(0 0% 0% / .15);
}

.navbar-brand {
	margin: 0;
	padding: 0;
}

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

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

.navbar-nav .nav-link {
	font-size: .875rem;
	text-transform: uppercase;
	color: white;
	transition: color 200ms, opacity 200ms;

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

.home .navbar-nav .nav-link {
	&:hover,
	&:focus,
	&.active,
	&.show,
	&.open {
		color: white;
		opacity: .7;
	}
}

.sub .navbar-nav .nav-link {
	color: var(--bs-body-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% 100%);
}

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

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

.dropdown-toggle::after {
	display: inline-block;
	margin-left: .255em;
	vertical-align: 3px;
	content: "";
	border: 0;
	width: 10px;
	height: 5px;
	background-image: url(../img/drop.svg);
	background-size: contain;
	background-repeat: no-repeat;
}

.sub .navbar-nav .dropdown-toggle::after {
	filter: invert(1);
}

/* .sub.header-full .affix .navbar-nav .nav-link {
	color: var(--bs-body-color);
} */




/*  MARK: header  */

header .position-absolute {
	padding-top: 110px;
}

/* .home header .position-absolute {
	background-image: linear-gradient(to bottom, hsl(0 0% 0% / .6), transparent 50%);
} */

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

header img.w-100 {
	object-position: top;
}

.sub header img.w-100 {
	object-position: center;
	height: calc(100vh - 120px);
}

.home .navbar-nav .nav-link,
header h1,
header .h5,
header .lead {
	text-shadow: 1px 1px 4px hsl(0 0% 0% / .5), 0 0 6px hsl(0 0% 0% / .3);
}

header .h5 {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;

	&::before {
		content: '';
		display: block;
		width: 60px;
		height: 4px;
		background-color: var(--primary-color);
	}
}

/*  MARK: main content */

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

.btn {
	--bs-btn-padding-x: 1.875rem;
	--bs-btn-padding-y: 1.25rem;
	--bs-btn-font-size: 1rem;
	--bs-btn-font-weight: 500;
	--bs-btn-line-height: 1.5;
	--bs-btn-border-radius: .015rem;
}

.btn-primary {
	--bs-btn-color: var(--bs-dark);
	--bs-btn-hover-color: var(--bs-dark);
	--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);
}

.scroll {
	bottom: 3rem;
	left: 50%;
	display: block;
	transform: translateX(-50%);

	& img {
		display: block;
		width: 5rem;
		animation: scroll-bounce 2s ease-in-out infinite;
	}
}

@keyframes scroll-bounce {
	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-5px);
	}
}

.btn:has(img) {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

p+.row-cols-lg-2,
p+.row-cols-lg-3 {
	margin-top: 0;
}


.forest-bg {
	background-image: url(../img/pattern.jpg);
}



h2 small span {
	white-space: nowrap;
	font-size: .75rem;
}

h2 small .decor {
	width: 100%;
	height: 2px;
	background-color: var(--primary-color);
	display: block;
}

.icon.rounded-circle {
	margin-bottom: .75rem;
	background-color: var(--primary-color-light);
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;

	& img {
		width: 24px;
		height: 24px;
	}
}

.overflow-hidden.h-100 .simpleParallax {
	width: 100%;
	height: 100%;
}

#oferty-specjalne .simpleParallax {
	filter: brightness(.5);
}

#oferty-specjalne .position-absolute,
#oferty-specjalne .position-absolute .simpleParallax {
	height: 100%;
	width: 100%;
}

a.oferta-specjalna-sub:has(.badge:empty) .position-absolute,
.swiper.oferty .swiper-slide a:has(.badge:empty) .position-absolute {
	justify-content: flex-end !important;
}


a.oferta-specjalna-sub img,
.swiper.oferty .swiper-slide a img {
	aspect-ratio: 397/265;
	object-fit: cover;
	width: 100%;
}

.badge.bg-light {
	color: var(--bs-dark);
	background-color: white;
	border-radius: 2rem;
	font-size: 1.0625rem;
	font-weight: normal;
}

#oferty-specjalne a,
.oferta-specjalna-sub {
	overflow: hidden;
	display: block;
}

#oferty-specjalne a img,
.oferta-specjalna-sub img {
	transition: transform 600ms cubic-bezier(0.23, 1, 0.320, 1);
}

#oferty-specjalne a:hover img,
.oferta-specjalna-sub:hover img {
	transform: scale(1.1);
}

#oferty-specjalne strong.h6,
.oferta-specjalna-sub strong.h6 {
	display: inline;
	color: white;
	font-weight: 500;
	line-height: 2.2;
	padding: .75rem 1rem;
	background-color: hsl(0 0% 0% / .68);
	/* backdrop-filter: blur(.25rem); */
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}

section .list-group-item {
	background-color: transparent;

	& a {
		text-decoration: none;
		color: var(--primary-color);
		transition: color 200ms;

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

.home section .list-group-item {

	& a {
		color: var(--bs-body-color);

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

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

main {
	position: relative;
}

main>*:last-child {
	padding-bottom: 0;
}

main>*:last-child::after {
	content: '';
	display: block;
	width: 100%;
	height: 330px;
	z-index: 999;
	background-image: url(../img/main-bottom-bg.svg);
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
	margin-top: var(--xxl);
	position: relative;
}

.bg-dark img {
	transition: transform 600ms cubic-bezier(0.165, 0.84, 0.44, 1);
}

.bg-dark:hover img,
.bg-dark:focus img {
	transform: scale(1.1);
}

.content h4,
.content .h4 {
	color: white;
	font-weight: 500;
	padding: 0.75rem 1rem;
	background-color: hsl(0 0% 0% / .48);
	backdrop-filter: blur(.25rem);
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}


/*  MARK: stopka */

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

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


footer .list-unstyled {
	border-left: 1px solid hsl(0 0% 100% / .2);
	padding-left: 2em;
}

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

footer .text-muted {
	opacity: 1 !important;
	color: hsl(0 0% 100% / .7) !important;
}

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

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




/*  MARK: sub content  */


/* .sub.header-full {
	padding-top: 0;
} */

/* .header-full header img {
	filter: brightness(.48);
} */

/* .header-full .navbar .navbar-nav .nav-link {
	color: white;
} */


.sub.header-full header .container {
	margin-top: 119px;
}

.sub.header-full header {
	height: calc(100vh - 120px);
}


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

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

.sub .swiper__image {
	height: 400px;
}

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: .15rem;
	transition: color 200ms, border-color 200ms;

	& .h5 {
		margin: 0;
		font-size: 1.0625rem !important;
	}
}

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

.form-control,
.form-check-input {
	padding: 0.75rem;
	border-radius: .15rem;
	transition: border-color 200ms, box-shadow 200ms, background-color 200ms;
}

.form-check {
	min-height: 2.5rem;
	padding-left: 2.5em;
}

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

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

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

.error-msg {
	color: red;
}

.position-relative:hover .stretched-link~.ratio img,
.position-relative:has(.stretched-link:hover) .ratio img {
	transform: scale(1.07);
	transition: .5s cubic-bezier(0.075, 0.82, 0.165, 1)
}

.ratio img {
	transition: .5s cubic-bezier(0.075, 0.82, 0.165, 1)
}


/*  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;
}

.sub {
	padding-top: 129px;
}

.floating-widgets {
	top: 50%;
	bottom: auto !important;
	right: .5rem !important;
	height: auto;
	flex-direction: column;
	gap: 0.5rem;
	transform: translateY(-50%);
}

/*  MARK: RWD  */

@media (max-width: 1499px) {
	.navbar {
		--bs-navbar-nav-link-padding-x: .55rem;
	}

	#oferty-specjalne strong.h6,
	.oferta-specjalna-sub strong.h6 {
		line-height: 1.9;
		padding: .5rem .875rem;
	}
}

@media (max-width: 1399px) {

	.navbar-dark,
	.navbar[data-bs-theme=dark],
	.sub .affix .navbar-toggler {
		--bs-navbar-toggler-border-color: rgba(255, 255, 255, 1);
		--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");
	}

	.sub .navbar-dark,
	.sub .navbar[data-bs-theme=dark] {
		--bs-navbar-toggler-border-color: rgba(0, 0, 0, 1);
		--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");
	}

	.sub .navbar-nav .nav-link {
		color: white;
	}

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

	header .row.mt-xl {
		margin-top: 0;
	}
}


@media (max-width: 1199px) {

	#o-naszym-osrodku,
	#dlaczego-my {
		.col-xl-6 .overflow-hidden img {
			object-fit: cover;
			aspect-ratio: 16/8;
		}
	}
}


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

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

@media (max-width: 767px) {

	header .simpleParallax,
	header .simpleParallax img {
		min-height: 40em;
	}
}


@media (max-width: 560px) {
	.forest-bg .p-xxl {
		padding: 1.5rem;
	}

	#pozostale .p-xxl {
		padding: 0;
	}

	main section:last-of-type {
		padding-bottom: calc(60px + var(--xxl));
	}
}