@import url('./_config.css');

h1, h2, h3, h4, h5, h6 {
	font-weight: var(--titleWeight);
	font-family: var(--fontTitle);
}
b, strong {font-weight: var(--boldWeight)}

.container {
	max-width: 90%;
	width: var(--containerWidth);
}

.btn {
	padding: 1.3em 2.3em;
	line-height: 1.1;
	background-color: black;
}

.container-lg {
	margin-inline: clamp(1rem, 80px, 5vw)
}

.no-events {
	pointer-events: none;
}


/*
			N A V B A R
*/

.navbar,
.navbar-logo,
.navbar-logo-link,
.navbar .container-lg {
	transition: all 200ms;
	will-change: auto;
}

.navbar {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 999;
}

.navbar:hover {
	background-color: white;
}

.affix {
	background-color: hsl(0 0% 100%);
	box-shadow: 0 0 30px hsl(0 0% 0% / .1);
}

.navbar .container-lg {
	border-bottom: 1px solid hsl(0 0% 100% / .25);
}

.sub .navbar .container-lg {
	border-bottom: 1px solid hsla(0, 0%, 0%, 0.25);
}

.navbar-logo {
	margin: 2.75rem 0;
	font-size: 3.125rem;
	line-height: 1;
	font-family: var(--logoFont);
}

.affix .navbar-logo {margin: 1rem 0; font-size: 2rem;}

.navbar-logo-link {
	color: white;
	display: block;
	line-height: 1;
	text-decoration: none;
}

.navbar:hover .navbar-logo-link, .affix .navbar-logo-link, .sub .navbar-logo-link {
	color: black;
}

.affix .container-lg {border-bottom: 0;}


/*
			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: white;
	font-size: .875rem;
	text-transform: uppercase;
	display: inline-flex;
	text-decoration: none;
	padding: .5rem 0;
	transition: all .2s;
	outline: none;
	position: relative;
	overflow: hidden;
}

.navbar:hover .navbar-nav > li > a, .affix .navbar-nav > li > a, .sub .navbar-nav > li > a {
	color: black;
}

.nav-dropdown > a::after {
	filter: invert(1);
}


.navbar-nav a::before {
	content: '';
	display: block;
	position: absolute;
	bottom: 0;
	left: -110%;
	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: white;
}

.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 > li:first-child > ul {
	left: 0;
}

.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 {
	overflow: hidden;
}

header h2 {
	color: white;
	font-size: 3.375rem;
}

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

.rezerwacja {
	background-color: white;
	border-radius: 25px;
	text-decoration: none;
	color: black;
	font-size: 0.875rem;
	line-height: 1;
	padding: 0.125rem 1rem 0.125rem 0.125rem;
	transition: background-color 200ms;
}

.rezerwacja:hover {
	background-color: var(--primary);
	color: white;
}

.rezerwacja .ico {
	background-color: black;
	border-radius: 50%;
	width: 2.5rem;
	height: 2.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
}



/*
			M A I N   S E C T I O N S
*/


main {
	position: relative;
	z-index: 20;
	background-color: white;
}

#oferta .parallax {
	min-height: 51.25rem;
}

.card-body {
	color: white;
	text-align: center;
	transform: translateY(-8.5rem);
	position: relative;
	z-index: 30;
}

.card-title {
	margin-bottom: 5rem;
}

.card-title-link {
	color: white;
}

.card {
	display: flex;
	flex-direction: column;
	align-items: center;
	cursor: pointer;
}

.card-image {
	border-radius: 50%;
	position: relative;
	aspect-ratio: 1/1;
	display: block;
	overflow: hidden;
}

.card-image img {
	max-width: 100%;
	transition: transform var(--normalSpeed) var(--ease);
	will-change: transform;
}

.card:hover .card-image img,
.card-image:hover img {
	transform: scale(1.1);
}

.card-image::before {
	content: '';
	display: block;
	position: absolute;
	inset: .65rem;
	z-index: 20;
	border: 1px solid hsl(0 0% 100% / .25);
	border-radius: 50%;
}

.card-image::after {
	content: '';
	display: block;
	border-radius: 50%;
	position: absolute;
	inset:0;
	z-index: 10;
	background-image: linear-gradient(to top, hsl(0 0% 0% / .6) 15%, hsl(0 0% 0% / 0) 40%);
}

#wydarzenia {
	position: relative;
}

.home #wydarzenia::after {
	content: '';
	display: block;
	width: 200px;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 10;
	background-image: linear-gradient(to right, hsl(0 0% 100% / 0), hsl(0 0% 100%));
}

#wydarzenia .swiper {
	width: 55vw;
}

#wydarzenia .card-body {
	transform: none;
	color: black;
}

#wydarzenia .card-title {
	margin-top: .5rem;
	margin-bottom: .5rem;
}

#wydarzenia .card-body p:first-of-type {
	margin-top: 0;
}

#wydarzenia .card-body p:last-of-type {
	margin-bottom: 0;
}

#wydarzenia .card-title-link {color: black;}

#wydarzenia .md\:w-4-12 {
	padding-right: 3rem;
	border-right: 1px solid var(--borderColor);
}

#wydarzenia .md\:w-4-12 h3 {
	margin-bottom: 1.5rem;
}

#wydarzenia .swiper-pagination {
	position: relative;
	inset: 0;

	display: flex;
	gap: 5px;
	justify-content: flex-start;
	margin-top: 1.5rem;
}

#wydarzenia .swiper-pagination-bullet {
	width: 12px;
	height: 12px;
	margin: 0;
	background-color: var(--primary);
}

#wydarzenia .card-body small {
	margin-bottom: 0.6rem;
}

#relacje .swiper-slide {
	color: white;
}

#relacje h3 {
	color: white;
}

#relacje .btn {
	background-color: black;
	font-size: 1.5rem;
	padding: .875em 2em;
	transition: background-color 200ms;
	margin-top: 0.5em;
}

#relacje .btn:hover {
	background-color: var(--primary);
}

.swiper-controls {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	pointer-events: all;
}

#relacje .swiper-button-prev,
#relacje .swiper-button-next {
	position: relative;
	margin: 0;
	padding: 0;
	inset: auto;
	width: 64px;
	height: 53.6px;
	transition: transform 200ms;
}

#relacje .swiper-button-prev:active,
#relacje .swiper-button-next:active {
	transform: scale(.9);
}


#relacje .swiper-button-prev::after,
#relacje .swiper-button-next::after {display: none;}


#relacje .swiper-button-prev {background-image: url(/assets/img/prev.svg);}
#relacje .swiper-button-next {background-image: url(/assets/img/next.svg);}

#relacje > .absolute::before {
	content: 'relacja z wydarzenia';
	display: block;
	background-color: var(--primary);
	color: white;
	text-transform: uppercase;
	padding: 0.75em 6em;

	position: absolute;
	top: 5rem;
	left: -5.2rem;
	z-index: 20;

	transform: rotate(-45deg);
}

.card.movie .card-body {
	transform: none;
	color: black;
	text-align: left;
}

.card.movie .card-title {margin: 1.5rem 0;}

.card.movie .card-title-link {
	color: black;
}

.card.movie .card-image {
	border-radius: 0;
	aspect-ratio: auto;
}

.card.movie .card-image img {
	width: 100%;
	display: block;
	aspect-ratio: auto;
}

.card.movie .card-image::before,
.card.movie .card-image::after {display: none;}

.card.movie .card-image::before {
	content: '';
	display: block;
	position: absolute;
	inset:0;
	border: 0;
	background-image: url(/assets/img/play-icon.svg);
	background-repeat: no-repeat;
	background-position: center;

}


/*
			F O O T E R
*/

.madeby {
	color: hsl(0 0% 50%);
	text-decoration: none;
	line-height: 1;
	display: inline-block;
}

.madeby small {
	float: left;
	margin: 3.5px 4px 0 0;
	font-size: 0.6875rem;
}

footer .container {
	border-top: 1px solid var(--borderColor);
}


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

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

footer p {margin-bottom: 0;}




/*
			K E Y F R A M E S
*/

@keyframes showDropdown {
	0% {opacity: 0; transform: translateY(-10px);}
	100% {opacity: 1; transform: translateY(0);}
}

@keyframes showNextDropdown {
	0% {opacity: 0; transform: translateX(-10px);}
	100% {opacity: 1; transform: translateX(0);}
}




/*
			M E D I A  Q  U E R I E S
*/



@media (max-width: 1320px) {
	:root {
		--navMargin: 30px !important
	}
	.navbar-logo {
		font-size: 2.5rem;
	}
}



@media (max-width: 1199px) {
	.w-full {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	header .container-lg {
		flex-direction: column;
		align-items: center;
		justify-content: flex-end;
		gap: 30px;
		padding-bottom: 20px;
	}
	header h2 {
		text-align: center;
		display: block;
	}

	#oferta .absolute {
		position: relative;
	}

	#oferta .parallax {
		height: 100%;
		position: absolute;
		inset: 0;
		z-index: 1;
	}

	#oferta .container {padding-bottom: 0;}

	#wydarzenia .md\:w-4-12 {
		text-align: center;
	}

	#wydarzenia .swiper-pagination {
		justify-content: center;
		margin-bottom: 3rem;
		margin-top: 1rem;
	}

	#wydarzenia .swiper {
		width: 100%;
	}

	#relacje .swiper-slide .md\:row {
		align-items: center;
		text-align: center;
		gap: 2rem;
	}

	#spolecznosc .flex.gap-30 {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 1rem;
		margin-bottom: 4rem !important;
	}

	#spolecznosc .md\:w-4-12 + .md\:w-4-12 {margin-top: 2rem;}

	.card.movie .card-body {text-align: center;}

	footer {
		text-align: center;
	}

	footer .flex {
		justify-content: center;
	}

	.madeby {margin-top: 4rem;}

	#wydarzenia::after {display: none;}

	#wydarzenia .md\:w-4-12 {
		border-right: 0;
		margin-bottom: 2rem;
		padding-right: 0;
	}
}


@media (max-width: 799px) {
	header h2 {font-size: var(--h3);}

	h3.card-title {
		font-size: var(--h3);
	}

	#relacje .btn {font-size: 1.15rem;}
}


@media (max-width: 600px) {
	.navbar-logo {font-size: 1.5rem;}
	.affix .navbar-logo {font-size: 1.3rem;}

	header h2 {font-size: var(--h4);}

	h3.card-title {font-size: 2.5rem;}

	#oferta .card-body {
		transform: translateY(-7.5rem);
	}
}
