* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Bodoni Moda', serif;
	background: #f5f5f5;
	color: #000;
	overflow-x: hidden;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.3s ease-in-out;
}

a:hover {
	color: #2ab7e5;
}

header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 24px 118px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 1000;
	background: rgba(0,0,0,0.6);
	color: #f5f5f5;
	backdrop-filter: blur(6px);
	transition: background 0.3s ease;
}

.logo {
	font-size: 24px;
	letter-spacing: 2px;
	transition: color 0.3s ease;
}

.logoImg {
	position: absolute;
	height: 30px;
	margin-left: 0.5%;
	margin-top: 2px;
}

nav a {
	font-size: 14px;
	margin-left: 40px;
	text-transform: uppercase;
	letter-spacing: 2px;
	cursor: pointer;
}

.hero {
	position: relative;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #f5f5f5;
}

.hero img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
}

.hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.45);
	z-index: 2;
}

.hero-content {
	position: relative;
	z-index: 3;
	padding: 40px;
}

.hero h1 {
	font-size: 96px;
	letter-spacing: 4px;
}

.hero p {
	font-size: 18px;
	letter-spacing: 1px;
	color: #eaeaea;
}

section {
	padding: 220px 120px;
}

h2 {
	font-size: 48px;
	margin-bottom: 60px;
}

.project-details p {
	max-width: 500px;
	font-size: 18px;
	line-height: 1.8;
	margin-bottom: 20px;
}

.project-img {
	position: absolute;
	top: 100px;
	right: 50px;
	width: 100%;
	max-width: 620px;
	cursor: pointer;
	rotate: 17.77deg;
	transition: transform 0.6s ease;
	filter:
		drop-shadow(0 40px 80px rgba(180,180,180,0.15))
		drop-shadow(0 20px 40px rgba(0,0,0,0.6));
}

.project-img:hover {
	transform: scale(1.05);
}

.services,
.services-images {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 60px;
}

.service-image {
	position: relative;
	margin-bottom: 30px;
	cursor: pointer;
}

.service-image img {
	width: 100%;
	height: 100%;
	border-radius: 6px;
	transition: transform 0.6s ease, opacity 0.6s ease;
}

.service-image .service-title {
	position: absolute;
	bottom: 20px;
	left: 20px;
	font-size: 18px;
	letter-spacing: 1px;
	padding: 8px 16px;
	background: rgba(0,0,0,0.6);
	color: #fff;
	transition: transform 0.6s ease;
}

.service {
	position: relative;
	overflow: hidden;
	padding-top: 15px;
}

.service h3,
.service p {
	opacity: 0;
	transform: translateY(-20px);
	transition: transform 0.6s ease 0.8s, opacity 0.6s ease 0.8s;
}

.service h3 {
	font-size: 20px;
	letter-spacing: 1px;
	margin-bottom: 10px;
	transition: transform 0.6s ease 0.8s,
	            opacity 0.6s ease 0.8s,
	            color 0.3s ease-in-out;
}

.service p {
	font-size: 15px;
	line-height: 1.6;
}

.service.show h3,
.service.show p {
	opacity: 1;
	transform: translateY(0);
}

.service h3:hover {
	color: #2ab7e5;
}

.service-line {
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 1px;
	background-color: #222;
	transition: width 0.6s ease-in-out;
}

.service.show .service-line {
	width: 100%;
}

.fade-in {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.show {
	opacity: 1;
	transform: translateY(0);
}

footer {
	padding: 80px 120px;
	border-top: 1px solid #222;
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	color: #181818;
}

/*oth*/
#cursor-circle {
	position: fixed;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid rgba(178,178,178,0.674);
	pointer-events: none;
	transform: translate(-47%, -35%);
	opacity: 0;
	transition: opacity 0.2s ease;
	z-index: 9999;
	will-change: transform;
}

#hover-hint {
	position: fixed;
	padding: 8px 14px;
	background: rgba(0,0,0,0.7);
	color: #fff;
	font-size: 14px;
	border-radius: 20px;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.2s ease;
	z-index: 10000;
	white-space: nowrap;
	backdrop-filter: blur(4px);
}

.burger {
	display: none;
	flex-direction: column;
	gap: 6px;
	cursor: pointer;
	z-index: 1100;
}

.burger span {
	width: 28px;
	height: 3px;
	background: #fff;
	border-radius: 4px;
	transition: 0.3s ease;
}

.burger.open span:nth-child(1) {
	transform: translateY(9px) rotate(45deg);
}

.burger.open span:nth-child(2) {
	opacity: 0;
}

.burger.open span:nth-child(3) {
	transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
	position: fixed;
	top: 0;
	right: -100%;
	width: 70%;
	height: 100vh;
	background: rgba(0,0,0,0.9);
	backdrop-filter: blur(6px);
	display: flex;
	flex-direction: column;
	padding: 120px 40px;
	gap: 30px;
	transition: right 0.4s ease;
	z-index: 1050;
	align-items: center;
	text-align: center;
}

.mobile-menu a {
	color: #fff;
	font-size: 18px;
	letter-spacing: 2px;
}

.mobile-menu.open {
	right: 0;
}

.services-mobile {
	display: none;
}

/*mpb*/
@media (max-width: 900px) {

	header {
		padding: 20px 40px;
	}

	section {
		padding: 100px 40px;
	}

	nav {
		display: none;
	}

	.burger {
		display: flex;
	}

	.hero h1 {
		font-size: 48px;
	}

	.services,
	.services-images {
		display: none;
		grid-template-columns: 1fr;
	}

	.project-img {
		position: relative;
		max-width: calc(100% - 20px);
		margin-top: 20px;
		transform: translateX(50px);
	}

	footer {
		padding: 40px 20px;
		flex-direction: row;
		gap: 10px;
		text-align: center;
	}

	/*mob*/
	.services-mobile {
		display: flex;
		flex-direction: column;
		gap: 40px;
		margin-top: 30px;
		align-items: center;
	}

	.service-mobile-item {
		display: flex;
		flex-direction: column;
		width: 370px;
		gap: 12px;
		align-items: center;
		text-align: center;
	}

	.service-mobile-item img {
		width: 100%;
		border-radius: 6px;
		margin-bottom: 10px;
	}

	.service-mobile-item h3 {
		font-size: 20px;
		color: #000;
	}

	.service-mobile-item p {
		font-size: 15px;
		line-height: 1.5;
		color: #000;
		margin-bottom: 60px;
	}

	/*form*/
	.modal-content {
		width: 100%;
		max-width: 420px;
		padding: 18px 12px;
		border-radius: 18px;
		box-shadow: 0 8px 32px rgba(0,0,0,0.13);
	}

	.form-group {
		margin-bottom: 12px;
		gap: 6px;
		align-items: center;
	}

	.modal-content input,
	.modal-content select {
		font-size: 15px;
		padding: 10px 8px;
		text-align: center;
	}

	.submit-btn {
		margin-top: 14px;
		font-size: 15px;
		padding: 10px;
	}

	.close {
		top: 18px;
		right: 18px;
		font-size: 28px;
	}

	#catalogOverlay {
		left: 0;
		width: 100%;
		padding: 40px 5vw;
	}

	*:not(.burger):not(.burger *):not(.mobile-menu):not(.mobile-menu *),
	*:not(.burger)::before,
	*:not(.burger)::after {
		animation: none;
		transition: none;
	}

	.fade-in,
	.fade-in.show {
		opacity: 1;
		transform: none;
	}

	.bot-img:hover,
	.service-img:hover {
		transform: none;
	}
}