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

html {
	font-size: 62.5%;
}
body {
	font-family: 'Raleway', sans-serif;
	font-size: 1.6rem;
}

.hero-shadow {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: -1;
}

.top-hero {
	position: relative;
	height: 300px;
	background-size: cover;
	z-index: 0;
}

.top-hero-text {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	font-size: 3.6rem;
	text-transform: uppercase;
}

.hero-shadow {
	position: absolute;
	z-index: -1;
}

/*Nawigacja*/
nav {
	font-size: 1.8rem;
	text-transform: uppercase;
}

.navbar-toggler {
	font-size: 2.5rem;
}

.navbar-brand {
	font-size: 2.2rem;
	font-weight: bold;
	text-transform: none;
}

/*header*/

header {
	font-size: 2rem;
}

.carousel-item {
	position: relative;
	height: 400px;
	background-position: center;
	background-size: cover;
	z-index: 0;
	transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.carousel-img-one {
	background-image: url('../img/1.jpg');
}

.carousel-img-two {
	background-image: url('../img/5.jpg');
}

.carousel-img-three {
	background-image: url('../img/4.jpg');
}

/*Home*/
.home-boxes {
	padding: 5em 0;
}

.home-box i {
	font-size: 4rem;
}

.home-box h3 {
	font-size: 2rem;
}

.home-visualization {
	background-image: url(../img/7.jpg);
	position: relative;
	height: 350px;
	background-position: center;
	background-size: cover;
	z-index: 0;
}

/*Brands*/

.home-brand h3 {
	font-size: 2rem;
	font-weight: bold;
}

/*reviews*/

.wrapper {
	padding-top: 3em;
	margin: 0 auto;
	width: 100%;
	max-width: 1400px;
}

/* @media (max-width: 767px) {
	.reviews.section-padding {
	  padding: 6em 0;
	}
  } */

.reviews__box {
	position: relative;
	margin: 2em;
	padding: 2em;
	border-radius: 8px;
	-webkit-box-shadow: 3px 3px 10px rgba(46, 46, 46, 0.18);
	box-shadow: 3px 3px 10px rgba(46, 46, 46, 0.18);
	-webkit-transition: -webkit-transform 0.3s;
	transition: -webkit-transform 0.3s;
	transition: transform 0.3s;
	transition: transform 0.3s, -webkit-transform 0.3s;
}

.reviews__box:hover {
	-webkit-transform: scale(0.95);
	transform: scale(0.95);
}

.reviews__box-img {
	position: absolute;
	top: 8%;
	left: 75%;
	-webkit-transform: translate(
		-50%,
		-50%
	); /*nadaje Przesunięcie względem środka*/
	transform: translate(-50%, -50%);
}

.reviews__box-img img {
	width: 90px;
	height: 90px;
	-o-object-fit: cover;
	object-fit: cover;
	border-radius: 50%;
}

.reviews__box-quote {
	margin-bottom: 1em;
	font-size: 3rem;
	color: #ffac07;
}

.reviews__box-text {
	margin-bottom: 1em;
	font-size: 1.6rem;
	color: #2e2e2e;
}

/*Footer*/
footer {
	font-size: 1.6rem;
}

/*about us*/

.aboutus-hero {
	background-image: url('../img/about/1.jpg');
	background-position: bottom;
}

/*about us text-image-text*/
.aboutus-info {
	background-color: rgb(248, 248, 248);
}

.aboutus-info .container {
	padding: 2em 0.5em;
}

.aboutus-text {
	padding: 1.8em;
}

.aboutus-text h3 {
	margin-bottom: 0.5em;
	font-size: 2.6rem;
	text-transform: uppercase;
	font-weight: bold;
	text-decoration: underline #fdb82e;
}

.aboutus-text-right {
	text-align: right;
}

.aboutus-img {
	height: 400px;
	object-fit: cover;
}

/*tiles*/

.aboutus-bottom i {
	font-size: 3rem;
}

.aboutus-bottom h1 {
	font-size: 2.2rem;
	font-weight: bold;
}

/*Offer*/

.offer-hero {
	background-image: url('../img/offer/3.jpg');
	background-position: bottom;
}

.service-hero-box {
	position: relative;
	height: 300px;
	background-size: cover;
	z-index: 0;
}

.service-hero-box p {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	font-size: 3rem;
	text-transform: uppercase;
	color: #fff;
}

.service-hero-box.box-one {
	background-image: url('../img/offer/2a.jpg');
}

.service-hero-box.box-two {
	background-image: url('../img/offer/5.jpg');
}

.service-hero-box.box-three {
	background-image: url('../img/offer/7.jpg');
}

.service-hero-box.box-four {
	background-image: url('../img/offer/4.jpg');
	background-position: bottom;
}

/*gallery*/

.projects-hero {
	background-image: url('../img/projects/32 (3).png');
	background-position: center;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 20px;
}
.gallery img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	border-radius: 10px;
	cursor: pointer;
	transition: transform 0.3s ease, filter 0.3s ease;
	background-size: cover;
}

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

/* Overlay */
.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 999;
}
.overlay.active {
	visibility: visible;
	opacity: 1;
}
.overlay img {
	max-width: 100%;
	max-height: 100%;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
	animation: zoom 0.3s ease;
}
@keyframes zoom {
	from {
		transform: scale(0.7);
	}
	to {
		transform: scale(1);
	}
}

/* Arrows */
.arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 50px;
	color: white;
	background: rgba(0, 0, 0, 0.3);
	border-radius: 50%;
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	user-select: none;
}
.arrow.left {
	left: 20px;
}
.arrow.right {
	right: 20px;
}
.arrow:hover {
	background: rgba(0, 0, 0, 0.6);
}

/*contact*/

.contact-hero {
	background-image: url('../img/contact/contact.jpg');
	background-position: 0% 85%;
}

.contact h2 {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 2.6rem;
}

.contact-logo {
	font-size: 3rem;
}

.contact input,
.contact select,
.contact textarea {
	font-size: 1.6rem;
}

.contact .btn {
	padding: 0.3em 0.8em;
	font-size: 2rem;
}

.contact-map iframe {
	width: 100%;
	min-height: 400px;
}

/*thank you*/

.thankyou-hero {
	background-image: url('../img/contact/1.jpg');
	background-position: 0% 54%;
}

.thankyou-box {
	height: 54vh;
}

.thankyou-box .btn {
	padding: 0.3em 0.8em;
	font-size: 2rem;
}

@media (max-width: 576px) {
	.navbar-toggler {
		font-size: 1.2rem;
	}

	.navbar-brand {
		font-size: 1.2rem;
	}
}

@media (max-width: 768px) {
	p {
		margin-bottom: 0;
	}
}

@media (min-width: 992px) {
	.aboutus-info .container {
		padding: 0;
	}

	.aboutus-shadow {
		box-shadow: inset 0 5px 10px -5px rgba(0, 0, 0, 0.4);
	}

	.aboutus-text {
		padding: 5em 0;
		/* transform: skew(-15deg); */
	}

	.aboutus-text-left {
		padding-right: 2em;
		text-align: right;
	}

	.aboutus-text-right {
		text-align: left;
		padding-left: 2em;
	}

	.aboutus-img {
		height: auto;
		/* transform: skew(-15deg); */
	}
}

@media (min-width: 1400px) {
	.carousel-item {
		height: 600px;
	}

	.carousel-img-one {
		background-image: url('../img/1_hd.jpg');
	}

	.carousel-img-two {
		background-image: url('../img/5_hd.jpg');
	}

	.carousel-img-three {
		background-image: url('../img/4_hd.jpg');
	}
}
