* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--main-color: #333;
	--second-color: #9c27b0;
}

body {
	font-family: "Roboto", sans-serif;
	/* background-color: #333; */
}

html,
body {
	overflow-x: hidden;
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
}

.wrapper {
	margin-left: auto;
	margin-right: auto;
	max-width: 1200px;
}

.main-container {
	position: absolute;
	top: 95vh;
	width: 98%;
	left: 50%;
	transform: translateX(-50%);
	background-color: #cfcfcf;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
}

nav {
	width: 100%;
	position: fixed;
	top: 0;
	z-index: 9999;
	background-color: transparent;
	transition: 0.6s;
}

nav.shadow-bg {
	background-color: var(--main-color);
}

nav.active-bg {
	background-color: var(--main-color);
}

.nav-container {
	position: relative;
	display: flex;
	align-items: center;
	height: 12vh;
}

nav img {
	margin-left: 30px;
	width: 140px;
}

nav .ul-container.active {
	max-height: 88vh;
}

nav .ul-container {
	display: flex;
	max-height: 0;
	overflow-y: hidden;
	transition: max-height 0.3s ease-in-out;
	position: absolute;
	top: 100%;
	right: 0;
	background-color: #333;
	list-style-type: none;
	height: 35vh;
	width: 100%;
	flex-direction: column;
	text-align: center;
	justify-content: space-around;
	z-index: 10;
	font-size: 14px;
}

nav a {
	text-transform: uppercase;
	text-decoration: none;
	position: relative;
	padding: 10px;
	letter-spacing: 2px;
	color: #ddd;
	transition: color 0.3s;
}

nav a:hover {
	color: var(--second-color);
}

nav .line {
	width: 28px;
	height: 4px;
	background: #ddd;
	margin: 10px;
	border-radius: 20px;
	transition: 0.3s ease-in-out;
}

nav .burger {
	position: absolute;
	right: 0;
	margin-right: 30px;
	background: none;
	border: none;
}

.nav-subpage {
	z-index: 99999;
	background-color: var(--main-color);
}

.burger.active .line:first-child {
	transform: translateY(-300px);
}

.burger.active .line:nth-child(2) {
	transform: rotate(45deg) translate(4px, 4px);
}

.burger.active .line:nth-child(3) {
	transform: rotate(-45deg) translate(6px, -6px);
}

/* header */

.header-img {
	position: relative;
	background-image: url(..//img/header-img.webp);
	height: 100vh;
	background-position: center;
	background-size: cover;
}

.header-shadow {
	position: absolute;
	height: 100%;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.5);
}

.header-text {
	width: 100%;
	color: white;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 0 40px;
	font-size: 28px;
	text-transform: uppercase;
	text-align: center;
	z-index: 3;
}

.header-title {
	font-size: 28px;
	margin-bottom: 40px;
	font-weight: bold;
}

.header-description {
	font-size: 24px;
	font-weight: normal;
}

.header-btn {
	position: absolute;
	top: 70%;
	left: 50%;
	transform: translateX(-50%);
	padding: 15px 50px;
	font-size: 14px;
	text-decoration: none;
	text-align: center;
	text-transform: uppercase;
	border: 1px solid #fff;
	border-radius: 5px;
	color: #fff;
	background-color: rgba(0, 0, 0, 0.1);
	z-index: 100;
	transition: color 0.7s, background-color 0.3s;
}

.header-btn:hover {
	background-color: rgba(0, 0, 0, 0.8);
	/* color: var(--second-color); */
}

.header-img .fa-chevron-down {
	font-size: 40px;
	color: white;
	position: absolute;
	bottom: 15px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	transition: color 0.3s;
}

.header-img .fa-chevron-down:hover {
	color: var(--second-color);
}

.subpage-header .header-img {
	margin-top: 12vh;
	height: 25vh;
	background-image: none;
	background-color: var(--main-color);
}

.subpage-header .header-title {
	width: 100%;
	color: white;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 14px;
	text-transform: uppercase;
	text-align: center;
	z-index: 3;
	font-weight: 400;
}

.about-us {
	position: relative;
	background-image: url(../gallery-img/limuzyna-galeria5.webp);
	background-position: center;
	background-size: cover;
	z-index: 1;
}

.about-us-section-shadow {
	position: absolute;
	top: 0;
	height: 100%;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: -11;
}

.about-us-container {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.about-us-item {
	width: 90%;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 20px 10px;
	color: white;
	padding: 20px 0;
	z-index: 2;
}

.about-us-item-description {
	background-color: rgba(0, 0, 0, 0.5);
}

.about-us-item h2 {
	text-transform: uppercase;
	text-align: center;
	line-height: 40px;
	z-index: 2;
}

.about-us-item p {
	padding: 20px 30px;
	text-align: center;
	line-height: 26px;
}

.about-us-item a {
	margin-top: 20px;
	color: #fff;
	padding: 10px 30px;
	border-radius: 5px;
	text-decoration: none;
	text-transform: uppercase;
	transition: 0.3s;
	border: 2px solid white;
}

.about-us-item a:hover {
	background-color: rgba(52, 52, 52, 0.7);
}

.about-us-item img {
	margin-top: 60px;
	width: 80%;
	border: 5px solid #333;
	transform: rotate(-4deg);
}

.about-us h2 {
	text-align: center;
	text-transform: uppercase;
	padding: 30px 20px;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	color: white;
	margin-bottom: 20px;
	z-index: 2;
}

.offer {
	padding: 20px 0;
	position: relative;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 2;
}

.offer-subpage {
	background-image: url(../img/limuzyna-bg.webp);
	background-position: center;
	background-size: cover;
	background-attachment: fixed;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
}

.offer .offer-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.offer .offer-btn:hover a {
	background-color: rgba(52, 52, 52, 0.7);
}

.offer a {
	text-decoration: none;
	text-transform: uppercase;
	color: white;
	padding: 15px 30px;
	border: 2px solid white;
	border-radius: 5px;
	transition: 0.3s;
}

.offer .section-title {
	width: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	padding: 20px 0;
}

.section-title {
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: normal;
	font-size: 30px;
	z-index: 50000;
	padding: 30px 0;
}

.section-title h2 {
	font-size: 24px;
}

.offer .section-title {
	color: rgb(255, 255, 255);
}

.offer-shadow {
	position: absolute;
	top: 0;
	height: 100%;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.55);
	z-index: -1;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
}

.offer-card-main {
	align-items: center;
	position: relative;
	color: white;
	border-radius: 10px;
	margin: 10px 25px;
}

.offer-card-main img {
	width: 100%;
	height: 215px;
	background-position: center;
	background-size: cover;
}

.offer-card-main .title {
	text-align: center;
	font-size: 24px;
	font-weight: bold;
	padding: 15px 0;
}

.offer-card-main .description {
	padding: 25px 20px 60px;
	margin-bottom: 35px;
	text-align: center;
}

.offer-card {
	align-items: center;
	position: relative;
	background-color: #fff;
	border-radius: 10px;
	margin: 10px 25px;
	transition: 0.3s;
}

.offer-card:hover {
	transform: scale(1.05);
}

.offer-card img {
	width: 100%;
	height: 215px;
	background-position: center;
	background-size: cover;
	border-top-right-radius: 10px;
	border-top-left-radius: 10px;
}

.offer-card .title {
	text-align: center;
	font-size: 24px;
	font-weight: bold;
	padding: 15px 0;
}

.offer-card .description {
	padding: 25px 20px 60px;
	margin-bottom: 35px;
	text-align: center;
}

.offer-card a {
	position: absolute;
	bottom: 0;
	right: 0;
	padding: 15px 15px;
	font-size: 14px;
	border: none;
	border-top-right-radius: 0px;
	border-bottom-left-radius: 0px;
	border-top-left-radius: 10px;
	border-bottom-right-radius: 10px;
	background-color: var(--main-color);
	text-decoration: none;
	color: white;
	transition: 0.3s;
}

.offer-card a:hover {
	color: var(--second-color);
}

.offer-subpage {
	padding-bottom: 40px;
}

.limousine {
	padding: 30px 0 50px;
}

.limousine-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin-top: 50px;
	padding: 0 30px;
}

.limousine-card img {
	object-fit: cover;
	margin: 15px 0 0;
	width: 100%;
	height: auto;
	aspect-ratio: 16/9;
	border: 2px solid white;
	width: 90%;
}

.limousine-card .description {
	color: white;
	padding: 10px 30px;
	z-index: 999;
	line-height: 25px;
}

.limousine-card .description p {
	text-align: left;
	background-color: rgba(0, 0, 0, 0.5);
	padding: 20px 20px;
}

.limousine-card .description div {
	margin-top: 5px;
	padding: 15px 0 30px;
	background-color: rgba(0, 0, 0, 0.5);
}

.limousine-card .description a:hover {
	background-color: rgba(52, 52, 52, 0.7);
}

.limousine-card .description a {
	text-transform: uppercase;
	text-decoration: none;
	color: white;
	border: 2px solid white;
	padding: 15px 25px;
	border-radius: 5px;
	transition: 0.3s;
}

.contact {
	/* position: relative; */
	/* padding: 40px 0 80px; */
	background-color: #ddd;
}

.contact .form-info h3 {
	margin-top: 30px;
	margin-bottom: 50px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--main-color);
}

.item a {
	text-decoration: none;
	color: var(--main-color);
}

.contact .section-title {
	color: #333;
}

.contact .contact-container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.contact .contact-info {
	display: flex;
	flex-direction: column;
	justify-content: start;
	align-items: center;
	height: 100%;
	width: 300px;
	text-align: center;
	color: #333;
}

.contact .contact-form {
	margin-top: 20px;
}

.contact .formField {
	width: 300px;
	height: 50px;
	padding-left: 10px;
	border-radius: 15px;
	margin: 10px 0;
	border: none;
	font-family: "Montserrat", sans-serif;
}

.contact .formMessage {
	padding-top: 10px;
	margin-bottom: 40px;
	height: 200px;
	resize: none;
	font-family: "Montserrat", sans-serif;
}

.contact button {
	text-decoration: none;
	border: none;
	background-color: #333;
	padding: 15px 30px;
	border-radius: 5px;
	font-family: "Montserrat", sans-serif;
	cursor: pointer;
	transition: 0.3s;
	color: #ddd;
}

.contact button:hover {
	color: var(--second-color);
}

.contact .item {
	margin: 20px 0;
	transition: 0.4s;
	overflow: hidden;
}

.contact .item:hover {
	transform: scale(1.05);
}

.contact .info {
	font-size: 18px;
}

.contact .fa-solid {
	padding: 0 10px;
}

.contact .contact-info .description {
	text-transform: uppercase;
	padding-top: 8px;
	font-size: 18px;
}

/* podstrona - o nas */

.about-us-description {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.about-us-description .about-us-img {
	width: 80%;
	border-radius: 5px;
	border: 0.5px solid #333;
}

.about-us-description p span {
	font-weight: bold;
}

/* footer */

footer {
	position: absolute;
	width: 100vw;
	left: 50%;
	transform: translateX(-50%);
	background: var(--main-color);
}

.footer-img {
	display: flex;
	justify-content: center;
}

footer a img {
	width: 120px;
	padding: 20px 0;
}

.footer-line {
	height: 0.5px;
	width: 100%;
	background-color: #ddd;
}

.footer-container {
	display: grid;
	margin: 20px 0 0 40px;
	gap: 40px;
}

.footer-container h2 {
	font-weight: bold;
	font-size: 20px;
	color: #ddd;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.footer-container p {
	font-size: 14px;
	margin: 2px 0;
	color: #ddd;
}

.footer-container a {
	display: block;
	font-size: 14px;
	text-decoration: none;
	color: #ddd;
	margin: 3px 0;
	transition: 0.1s;
}

.footer-container a:hover {
	color: var(--second-color);
}

.footer-container span {
	font-weight: bold;
}

.footer-container .link-container {
	margin: 20px 0 40px;
}

.footer-container .link-container-a a {
	margin: 20px 0;
}

.footer-end {
	color: #ddd;
	text-align: center;
	padding: 15px 0;
}

/* podstrona - o nas */

.about-us-page {
	background: #ffffff;
}

.about-us-description {
	padding: 60px 20px;
	text-align: center;
}

.about-us-description p {
	color: #333;
	margin-top: 40px;
}

.about-us-description img {
	width: 150px;
}

.about-us-numbers {
	position: relative;
	padding: 20px 0;
	background-image: url(../img/sylwester.webp);
	background-position: center;
	background-size: cover;
	background-attachment: fixed;
}

.about-us-shadow {
	position: absolute;
	top: 0;
	height: 100%;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.5);
}

.about-us-numbers .numbers-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.number-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 30px 0;
	color: white;
	z-index: 100;
	transition: 0.3s;
}

.number-item i {
	font-size: 30px;
	padding-bottom: 15px;
}

.number-item p:nth-child(2) {
	font-size: 30px;
	font-weight: bold;
}

.number-item:hover {
	transform: scale(1.05);
}

.about-us-icons-container {
	display: flex;
	flex-direction: column;
}

.about-us-icons {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 30px 20px;
}

.about-us-icons i {
	font-size: 30px;
	padding-bottom: 20px;
	transition: 0.3s;
}

.about-us-icons:hover i {
	color: var(--second-color);
}

/* cennik */

.price-desription {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-bottom: 40px;
}

.price-desription .section-title h2 {
	padding: 10px 40px;
	font-size: 50px;
	text-transform: none;
}

.price-desription p {
	padding: 40px 120px;
	text-align: center;
	line-height: 30px;
}

.price-desription a {
	text-decoration: none;
	color: white;
	background-color: var(--main-color);
	padding: 20px 30px;
	border-radius: 5px;
	transition: 0.3s;
}

.price-desription a:hover {
	color: var(--second-color);
}

/* galeria */

.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	object-fit: cover;
	aspect-ratio: 16/9;
	grid-gap: 10px;
	margin: 50px 10px;
}

.gallery img {
	width: 100%;
	height: 250px;
	transition: 0.3s;
}

#lightboxOverlay {
	width: 100vw !important;
	height: auto;
}

.container-404 {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background-image: url(../img/header-img.webp);
	background-position: center;
	background-size: cover;
	padding: 100px 0 90px;
	text-align: center;
}

.container-404 h1 {
	color: white;
	z-index: 5;
	padding: 10px 30px;
	text-transform: uppercase;
	font-size: 26px;
}

.container-404 p {
	color: white;
	padding: 10px 30px;
	z-index: 5;
	font-size: 18px;
}

.container-404 a {
	margin: 30px 20px 0;
	z-index: 5;
	text-decoration: none;
	padding: 20px 20px;
	text-transform: uppercase;
	border-radius: 5px;
	background-color: var(--second-color);
	color: white;
	transition: 0.3s;
}

.container-404 a:hover {
	color: #333;
}

.container-404 .header-shadow {
	position: absolute;
	height: 100%;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.5);
}

@media (min-width: 576px) {
	.offer-group {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 768px) {
	.main-container {
		position: absolute;
		top: 95vh;
		width: 98%;
		left: 50%;
		transform: translateX(-50%);
		background-color: #cfcfcf;
		border-top-left-radius: 20px;
		border-top-right-radius: 20px;
	}

	.about-us {
		padding: 50px 0;
	}

	.about-us-container {
		flex-direction: row;
		align-items: start;
	}

	.about-us-item {
		width: 50%;
	}

	.about-us-item img {
		margin-top: 0;
	}

	.section-title h2 {
		font-size: 28px;
	}

	.limousine-container {
		flex-direction: row;
	}

	.limousine-item {
		width: 50%;
	}

	.limousine-item img {
		margin-top: 0;
	}

	.limousine-item:nth-child(1) {
		order: 1;
	}

	.limousine-card-description {
		width: 50%;
	}

	.limousine-card img {
		width: 25%;
	}

	.limousine-card-left {
		flex-direction: row;
		justify-content: start;
		align-items: start;
	}

	.limousine-card-right {
		flex-direction: row-reverse;
		justify-content: center;
		align-items: center;
	}

	.contact .contact-container {
		flex-direction: row-reverse;
		align-items: start;
		justify-content: center;
	}

	.contact .contact-form {
		width: 50%;
		margin-top: 0;
	}

	.contact .formField {
		/* margin-left: 20px; */
		width: 80%;
	}

	/* .contact button {
		margin-left: 20px;
	} */

	.about-us-description {
		flex-direction: row;
	}

	.about-us-description .about-us-img {
		width: 50%;
	}

	.about-us-description p {
		padding: 0 20px;
	}

	.about-us-numbers .numbers-container {
		padding: 60px 0;
		flex-direction: row;
		justify-content: space-around;
	}

	.number-item {
		padding: 30px 40px;
	}

	.about-us-icons-container {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}

	.price-desription p {
		font-size: 22px;
	}
}

@media (min-width: 992px) {
	.burger {
		display: none;
	}

	html,
	body {
		scroll-padding-top: 12vh;
	}

	nav .ul-container {
		max-height: none;
		overflow-y: visible;
		flex-direction: row;
		flex-wrap: wrap;
		transform: translate(0) translateY(-50%);
		top: 50%;
		margin-right: 30px;
		height: auto;
		width: auto;
		background-color: transparent;
	}

	.nav-container {
		height: 12vh;
	}

	.header-title {
		font-size: 30px;
	}

	.subpage-header .header-title {
		font-size: 18px;
	}

	.header-description {
		font-size: 30px;
	}

	.offer-group {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
	}

	.section-title h2 {
		font-size: 32px;
	}

	.footer-container {
		margin-top: 40px;
		margin-bottom: 0;
		max-width: 1200px;
		margin-left: auto;
		margin-right: auto;
		justify-items: center;
		grid-template-columns: repeat(3, 1fr);
	}

	.about-us-description {
		font-size: 18px;
	}

	.about-us-icons-container {
		display: flex;
		flex-direction: row;
	}

	.gallery img {
		width: 350px;
	}

	.gallery img:hover {
		transform: scale(1.05);
	}

	.limousine-card .description {
		font-size: 18px;
	}
}

@media (min-width: 2000px) {
	.nav-container {
		height: 10vh;
	}

	.subpage-header .header-img {
		margin-top: 10vh;
	}
}
