@import url('./_config.css');

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	font-weight: var(--titleWeight);
	line-height: 1.1;
	color: var(--titleColor);
}
b, strong {font-weight: var(--boldWeight)}

.container {
	max-width: 90%;
	width: var(--containerWidth);
}

html {
	scroll-padding-top: 70px;
}

.btn {
	padding: 1.7em 3em;
	line-height: 1.1;
	font-weight: bold;
	border-radius: 100vmax;
	-webkit-border-radius: 100vmax;
	-moz-border-radius: 100vmax;
	-ms-border-radius: 100vmax;
	-o-border-radius: 100vmax;
}

p .btn:only-child {margin-top: 0.5rem;}


/*
			N A V B A R
*/

.navbar,
.navbar-logo,
.navbar-logo-image {
	transition: all .3s;
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	-ms-transition: all .3s;
	-o-transition: all .3s;
}

.navbar {
	background-color: #fff;
	position: sticky;
	top: 0;
	width: 100%;
	z-index: 999;
}

.affix {
	box-shadow: 0 0 30px hsl(0 0% 0% / .1);
}

.navbar-logo {
	margin: 38px 0;
}

.affix .navbar-logo {margin: 10px 0;}

.navbar-logo-image {
	display: block;
	height: 62.5px;
}

.affix .navbar-logo-image {height: 40px;}




/*
			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: hsl(0, 0%, 11%);
	font-size: 0.875rem;
	text-transform: uppercase;
	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: var(--navMargin);
	margin: 0;
	padding: 10px;
	min-width: 250px;
	background-color: white;
	box-shadow: 0 10px 30px hsla(0, 0%, 0%, .2);
}

.navbar-nav ul a {
	padding: 10px 15px;
	display: flex;
	font-size: 0.875rem;
	color: var(--textColor);
	justify-content: space-between;
	text-decoration: none;
	overflow: hidden;
	line-height: 1.3;
	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: 8px;
	left: 0;
	opacity: 0;
	color: var(--primary);
}

.navbar-nav ul a:hover::before {
	transform: translateX(10px) !important;
	opacity: 1;
}
.navbar-nav ul a:hover {
	padding-left: 25px;
	padding-right: 5px;
}

.navbar-nav ul .active > a,
.navbar-nav ul a.active {
	color: var(--primary);
}

.navbar-nav > li > .open,
.navbar-nav .nav-dropdown:hover > ul {
	display: block;
	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;
}







/*
			H E A D E R
*/

header .swiper-slide img {
	height: calc(100vh - 138.5px);
	object-fit: cover;
}

.scroll {
	width: 250px;
	height: 80.3px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-image: url(/assets/img/scroll-bg.svg);
	background-repeat: no-repeat;
}

.scroll img {
	animation: updown 1s linear infinite forwards;
	-webkit-animation: updown 1s linear infinite forwards;
}






/*
			M A I N   S E C T I O N S
*/


.for-swiper {
	position: relative;
	width: 50vw;
	overflow: hidden;
	flex-shrink: 0;
	margin-inline: -15px;
}

section .swiper {
	width: 100%;
}

section .swiper-button-prev,
section .swiper-button-next {
	width: 44px;
	height: 44px;
	padding: 0;
	color: black;
	margin: 0;
	border-radius: 50%;
	background-color: hsl(0 0% 100% / .9);
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;
	transition: all .3s;
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	-ms-transition: all .3s;
	-o-transition: all .3s;
}

section .swiper-button-prev:active,
section .swiper-button-next:active {
	transform: scale(.98) !important;
	opacity: .8;
	-webkit-transform: scale(.98) !important;
	-moz-transform: scale(.98) !important;
	-ms-transform: scale(.98) !important;
	-o-transform: scale(.98) !important;
}


section .swiper-button-prev:hover,
section .swiper-button-next:hover {
	background-color: var(--bgLight);
}

section .swiper-button-prev::after,
section .swiper-button-next::after {
	font-size: .75rem;
	font-weight: bold;
}

#domek-2-osobowy .swiper-button-prev {
	bottom: 30px !important;
	right: 84px !important;
	top: auto !important;
	left: auto;
}

#domek-2-osobowy .swiper-button-next {
	bottom: 30px !important;
	right: 30px !important;
	top: auto !important;
	left: auto;
}


#domek-4-osobowy .swiper-button-prev {
	bottom: 30px !important;
	left: 30px !important;
	top: auto !important;
	right: auto;
}

#domek-4-osobowy .swiper-button-next {
	bottom: 30px !important;
	left: 84px !important;
	top: auto !important;
	right: auto;
}


ul.grid {
	padding: 0;
	gap: 30px;
	row-gap: 15px;
}

ul.grid li {
	list-style: none;
	margin-left: 1.1em;
	list-style-image: url(/assets/img/bullet.svg);
}




/*
			F O O T E R
*/

.madeby {
	color: white;
	text-decoration: none;
	line-height: 1;
	display: inline-block;
}

.madeby small {
	float: left;
	margin: 3px 4px 0 0;
	font-size: 0.6875rem;
}


footer {
	background-color: black;
	color: white;
}

footer h5 {
	color: white;
}

[data-hidden] {display: none;}

footer hr {
	opacity: .2;
	background-color: #fff;
	margin: 0;
}

footer .md\:w-4-12 ul {
	margin: 0;
	padding: 0;
}

footer .md\:w-4-12 li {
	margin: 0;
	padding: 0;
	list-style: none;
}

footer .md\:w-4-12 li + li {
	border-left: 1px solid white;
	margin-left: 10px;
	padding-left: 10px;
	line-height: 1;
}

footer a {
	color: white;
	text-decoration: none;
	transition: opacity .2s;
}






form {
	width: 100%;
}

fieldset {
	border: 0;
	padding: 0;
	margin: 0;
}

label {
	margin-top: 10px;
	margin-bottom: 5px;
	font-size: .75rem;
	text-transform: uppercase;
}

[type="checkbox"] + label {
	text-transform: none;
}

label p {
	margin: 0;
}

label a {
	text-decoration: none;
	color: var(--primary);
}

label p,
label li {
	font-size: 0.875rem;
	line-height: 1.5;
}

label li {
	margin-bottom: 0.5em;
}

input,select,textarea {
	width: 100%;
	background-color: black;
	color: white;
	box-sizing: border-box;
	padding: .8rem 1rem;
	border-radius: .25rem;
	border: 2px solid hsl(0 0% 100% / .4);
	-webkit-border-radius: .25rem;
	-moz-border-radius: .25rem;
	-ms-border-radius: .25rem;
	-o-border-radius: .25rem;
}

[type="checkbox"],
[type="radio"] {
	width: auto;
	flex-shrink: 0;
}

[type="checkbox"] {
	appearance: none;
	width: 1rem;
	height: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	flex-shrink: none;
	padding: 0;
	margin-top: 11px !important;
	transition: all .3s;
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	-ms-transition: all .3s;
	-o-transition: all .3s;
}

[type="checkbox"]:checked {
	background-color: var(--primary);
}

[type="checkbox"]:checked::after {
	content: '\2713';
	display: block;
	color: white;
	font-family: monospace;
	font-size: .875rem;
}

textarea {
	height: 10rem;
}

.ok {
	border-color: var(--borderColor);
}

.error {
	border-color: red;
}

.error-msg {
	color: red;
	font-size: 1rem;
	margin-top: 5px;
}

.star {
	color: red;
	font-family: sans-serif;
}

#alert {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 0.5rem 1rem;
	color: white;
	font-weight: bold;
}

#alert.success {
	background-color: rgb(0, 133, 22);
}


#alert.danger {
	background-color: rgb(165, 0, 0);
}









/*
			K E Y F R A M E S
*/

@keyframes showDropdown {
	0% {
		opacity: 0;
		transform: translateY(-10px);
		-webkit-transform: translateY(-10px);
		-moz-transform: translateY(-10px);
		-ms-transform: translateY(-10px);
		-o-transform: translateY(-10px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
		-webkit-transform: translateY(0);
		-moz-transform: translateY(0);
		-ms-transform: translateY(0);
		-o-transform: translateY(0);
	}
}

@keyframes showNextDropdown {
	0% {
		opacity: 0;
		transform: translateX(-10px);
		-webkit-transform: translateX(-10px);
		-moz-transform: translateX(-10px);
		-ms-transform: translateX(-10px);
		-o-transform: translateX(-10px);
	}
	100% {
		opacity: 1;
		transform: translateX(0);
		-webkit-transform: translateX(0);
		-moz-transform: translateX(0);
		-ms-transform: translateX(0);
		-o-transform: translateX(0);
	}
}

@keyframes updown {
	0% {
		transform: translateY(0);
		-webkit-transform: translateY(0);
		-moz-transform: translateY(0);
		-ms-transform: translateY(0);
		-o-transform: translateY(0);
	}
	25% {
		transform: translateY(-2px);
		-webkit-transform: translateY(-2px);
		-moz-transform: translateY(-2px);
		-ms-transform: translateY(-2px);
		-o-transform: translateY(-2px);
}
	50% {
		transform: translateY(0);
		-webkit-transform: translateY(0);
		-moz-transform: translateY(0);
		-ms-transform: translateY(0);
		-o-transform: translateY(0);
	}
	75% {
		transform: translateY(2px);
		-webkit-transform: translateY(2px);
		-moz-transform: translateY(2px);
		-ms-transform: translateY(2px);
		-o-transform: translateY(2px);
}
	100% {
		transform: translateY(0);
		-webkit-transform: translateY(0);
		-moz-transform: translateY(0);
		-ms-transform: translateY(0);
		-o-transform: translateY(0);
	}
}










/*
		M E D I A   Q U E R I E S
*/


@media screen and (max-width: 1199px) {
	[class*="md:w"]:not([class*="sm:w"]) {
		padding-left: 0;
		padding-right: 0;
	}
	#o-nas .md\:row {
		row-gap: 60px;
	}

	#domek-2-osobowy {
		padding-top: var(--sectionPadding);
	}

	#domek-4-osobowy {
		padding: var(--sectionPadding) 0;
	}

	.bg-light .md\:w-6-12 {
		display: block;
	}

	.for-swiper {
		width: 100%;
		margin-inline: 0;
		margin-bottom: 30px;
	}

	section .swiper-slide img {
		width: 100%;
		height: auto;
		display: block;
	}

	footer form {margin-top: 60px;}

	footer .py-40 {
		flex-direction: column;
	}

	header .container {
		justify-content: center;
	}
}



@media screen and (max-width: 760px) {
	:root {
		--sectionPadding: 60px !important
	}
}


@media screen and (max-width: 435px) {
	.navbar-logo-image {
		display: block;
		height: 40px !important;
	}

	.navbar-logo {margin: 15px 0;}


	#domek-2-osobowy .swiper-button-prev,
	#domek-4-osobowy .swiper-button-prev {
		bottom: 15px !important;
		right: auto !important;
		top: auto !important;
		left: 15px !important;
	}

	#domek-2-osobowy .swiper-button-next,
	#domek-4-osobowy .swiper-button-next {
		bottom: 15px !important;
		right: 15px !important;
		top: auto !important;
		left: auto !important;
	}
}