@charset "UTF-8";

:root,
[data-bs-theme=light] {
	--font: 'Jost', sans-serif;
	--font2: 'Aboreto', serif;

	--primary-color: hsl(99, 15%, 31%);
	--primary-color-light: hsl(134, 14%, 58%);
	--primary-color-dark: hsl(99 15% 21%);

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

	--bs-primary: hsl(99, 15%, 31%);
	--bs-primary-rgb: 75, 91, 67;

	--bs-light: hsl(160 20% 78%);
	--bs-light-rgb: 188, 210, 203;

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

	--bs-body-color: black;

	--h1: clamp(3.15625rem, 5vw, 5.6125rem);
	--h2: clamp(2.36875rem, 4vw, 4.20625rem);
	--h3: clamp(1.775rem, 3vw, 3.15625rem);
	--h4: clamp(1.33125rem, 2vw, 2.36875rem);
	--h5: clamp(1.25rem, 1.7vw, 1.775rem);
	--h6: clamp(1.15rem, 1.3vw, 1.33125rem);
	--lead: clamp(1.1rem, 1.25vw, 1.125rem);

	--affix-height: 80px;
}

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

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

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

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

.text-wrap-balance {
	text-wrap: balance;
}

.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(--font2);
	margin-bottom: 1rem;
	text-wrap: balance;
}

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

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

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

.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: 0;
	--bs-navbar-active-color: white;
	--bs-navbar-nav-link-padding-x: 1rem;
	transition: background-image 200ms;
}

.navbar-top {
	background-color: var(--primary-color);
	color: white;
	padding: 0.625rem 0;

	& a {
		text-decoration: none;
		color: white;

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

.navbar-bottom {
	padding: 30px 0;
	position: relative;
}

.navbar-brand {
	margin: 0;
	padding: 0;
	position: absolute;
	top: 30px;
	left: 50%;
	transform: translateX(-50%);
}

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

.navbar-nav {
	height: 150px;
	width: 100%;
	display: flex;
	gap: 0.25rem;
	align-items: center;
}

.navbar-nav .nav-link {
	opacity: 1;
	color: white;
	text-transform: uppercase;
	border-radius: .5rem;
	background-color: transparent;
	transition: background-color 300ms;

	&:hover,
	&:focus,
	&.active,
	&.open {
		background-color: hsl(0 0% 100% / .1);
	}
}

.navbar-nav>li:nth-child(4) {
	margin-left: auto;
	margin-right: 0;
}

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

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

.affix {
	background-image: linear-gradient(to bottom, black, transparent);
	transform: translateY(-100%);
	pointer-events: none;
	transition: transform 300ms;
}

.affix.show {
	transform: translateY(0);
	pointer-events: all;
}

.booking span {
	font-size: .875rem;
	margin-top: 2.5px;
}

/*  MARK: header  */

.slogan {
	margin-top: 220px;
}

.scroll {
	text-decoration: none;
	color: white;

	& img {
		animation: updown 2s linear infinite;
	}
}

@keyframes updown {

	0%,
	100% {
		transform: translateY(0);
	}

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

header .position-absolute {
	background-color: hsl(0 0% 0% / .4);
}

header video {
	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.5;
}

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

.home #galeria {
	background-image: url(../img/bg.webp);
	background-position: 0 0;
	background-size: contain;
	background-repeat: no-repeat;
}

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

	&>* {
		margin-bottom: var(--gap);
	}
}

.nav-tabs {
	margin: 0;
	padding: 0;
	border: 0;

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

	& a {
		display: block;
		border: 0;
		padding: .25rem 0;
		font-family: var(--font2);
		text-transform: uppercase;
		color: white;
		opacity: .5;
		text-decoration: none;
		font-size: var(--h5);
		transition: opacity 200ms, transform 200ms;

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

		&.active {
			opacity: 1;
		}
	}
}

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

	& img {
		transition: transform 200ms;
	}

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

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

#opinie {
	color: white;
	isolation: isolate;

	background-image: url(../img/paralaksa.webp);
	background-size: cover;
	background-attachment: fixed;

	& .bg {
		background-color: hsl(0 0% 0% / .6);
	}
}

#opinie .swiper-slide {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;

	& em {
		font-style: italic;
		font-weight: normal;
		font-size: var(--lead);
	}
}

#rezerwuj a {
	color: white;
	text-decoration: none;

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

#rezerwuj .icon {
	background-color: var(--primary-color-light);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 90px;
	height: 90px;
	margin-bottom: 1rem;

	& img {
		height: 40px;
	}
}

/*  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);
	text-decoration: underline;
}

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

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

/*  MARK: sub content  */

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

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

.form-control,
.form-select,
.form-check-input {
	border-radius: .25rem;
}

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

.error-msg {
	color: red;
}

/*  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: TOMEK */

.form-control:focus,
.form-select:focus {
	border-color: var(--bs-dark);
	box-shadow: 0 0 0 .2rem rgba(188, 210, 203, .48);
}

.contact-icon-wrap {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/*  MARK: RWD  */

.my-xxl.py-xxl {
	margin-bottom: 0 !important;
}

.my-xxl.py-xxl+#rezerwuj {
	margin-top: 0 !important;
}


@media (max-width: 1199px) {
	.navbar-brand {
		position: relative;
		top: auto;
		left: auto;
		transform: none;
	}

	.navbar-bottom .container {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.navbar-dark,
	.navbar[data-bs-theme=dark] {
		--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");
	}

	.navbar-nav>li:nth-child(4) {
		margin-left: 0;
		margin-right: 0;
	}

	.navbar-nav {
		height: auto;
		align-items: center;
		justify-content: center;
		height: 100%;
	}

	.home #galeria {
		background-size: auto 40%;
	}

	.offcanvas {
		height: 100vh !important;
	}
}

@media (max-width: 991px) {
	.navbar-brand-image {
		height: 111px;
	}

	.home #galeria {
		background-size: auto calc(40% + var(--xxl)*2);
	}

	#rezerwuj .icon {
		width: 70px;
		height: 70px;

		& img {
			height: 28px;
		}
	}
}

@media (max-width: 767px) {
	:root {
		--xxl: 4rem;
		--xl: 1.5rem;
	}

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

	.home #galeria {
		background-size: auto calc(50% + var(--xxl)*2);
	}
}

@media (max-width: 575px) {
	main {
		overflow: hidden;
	}

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

	.col:has(h2) {
		margin-bottom: var(--xl);
	}

	.home #galeria {
		background-size: auto calc(70% + var(--xxl)*2);
	}

	.masonry {
		column-count: 2;
	}
}