* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Bodoni Moda', serif;
	background: #f5f5f5;
	color: #000;
	overflow-x: hidden;
	z-index: 0;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.3s ease-in-out;
}

a:hover {
	color: #2ab7e5;
	cursor: pointer;
}

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.1);
	color: #f5f5f5;
	backdrop-filter: blur(6px);
	transition: background 0.3s ease;
}

.service-link {
	color: #e0b699;
}

.logo {
	font-size: 24px;
	letter-spacing: 2px;
	position: relative;
}

.logoImg {
	position: absolute;
	height: 30px;
	margin-left: 3.5%;
	margin-top: 2px;
}

nav a {
	position: relative;
	font-size: 14px;
	margin-left: 40px;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #f5f5f5;
}

.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;
	align-items: center;
	text-align: center;
	top: 0;
	right: -100%;
	width: 40%;
	height: 100vh;
	background: rgba(0,0,0,0.9);
	backdrop-filter: blur(6px);
	display: flex;
	flex-direction: column;
	padding: 120px 30px;
	gap: 30px;
	transition: right 0.4s ease;
	z-index: 1050;
}

.mobile-menu a {
	color: #fff;
	font-size: 18px;
	letter-spacing: 2px;
}

.mobile-menu.open {
	right: 0;
}

.hero {
	position: relative;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.hero img {
	position: absolute;
	top: 0;
	left: 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;
	color: #fff;
}

.hero p {
	font-size: 18px;
	letter-spacing: 1px;
	color: #eaeaea;
}

section {
	padding: 220px 120px;
}

h2 {
	font-size: 48px;
	margin-bottom: 40px;
}

.fade-in {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
	transition-delay: 0.2s;
}

.fade-in.show {
	opacity: 1;
	transform: translateY(0);
}

.about-content {
	display: flex;
	width: 89.5%;
	justify-content: space-between;
	align-items: flex-start;
	gap: 60px;
}

.about-wrapper {
	max-width: 500px;
	font-size: 18px;
	flex: 1;
}

.aboutImg {
	width: 220px;
	cursor: pointer;
	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));
}

.aboutImg:hover {
	transform: scale(1.05);
}

/* services */
#services {
    position: relative;
    overflow: hidden;
    padding: 240px 120px;
}

.services-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #000;
    z-index: 0;
    transition: width 0.7s ease-out;
}

.services-bg.show {
    width: 100%;
}

#services > *:not(.services-bg) {
    position: relative;
    z-index: 1;
}

#serviceH {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

#serviceH.show {
    opacity: 1;
    transform: translateY(0);
}

.services-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.service-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    border-radius: 12px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-image.show img {
    opacity: 1;
    transform: translateY(0);
}

.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.service {
    position: relative;
    padding-top: 15px;
    overflow: hidden;
}

.service-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #696D7D;
    transition: width 0.6s ease-in-out;
}

.service.show .service-line {
    width: 100%;
}

.service h3,
.service p {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service.show h3,
.service.show p {
    opacity: 1;
    transform: translateY(0);
}

.service h3 {
    font-size: 20px;
    letter-spacing: 1px;
    margin-bottom: 10px;
	width: fit-content;
    color: #f5f5f5;
    transition: color 0.3s ease;
}

.service h3:hover {
    color: #2ab7e5;
}

.service p {
    font-size: 15px;
    line-height: 1.6;
    color: #f5f5f5;
}

.services-mobile {
    display: none;
}

.portfolio {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 60px;
}

.project {
	position: relative;
	overflow: hidden;
	cursor: pointer;
	height: 400px;
	border-radius: 2px;
	background: #f5f5f5;
}

.project img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(100%) brightness(0.9) contrast(0.9);
	transform: scale(1);
	transition: transform 1.1s cubic-bezier(.19,1,.22,1),
	            filter 0.9s cubic-bezier(.19,1,.22,1);
}

.project:hover img {
	filter: grayscale(0%) brightness(1) contrast(1.1);
	transform: scale(1.08);
}

.project-title {
	position: absolute;
	bottom: 30px;
	left: 30px;
	font-size: 20px;
	letter-spacing: 2px;
	background: rgba(0,0,0,0.6);
	padding: 10px 20px;
	color: #fff;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.project.show .project-title {
	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;
}

/* other main */
#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);
}

#faini {
	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);
}

/* mobile adapt */
@media (max-width: 900px) {
	header {
		padding: 20px 40px;
	}
	
	nav {
		display: none;
	}

	.burger {
		display: flex;
	}
	
	section {
		padding: 100px 40px;
	}
	
	.hero h1 {
		font-size: 48px;
	}
	
	.about-content {
		flex-direction: column;
		text-align: center;
		align-items: center;
		gap: 30px;
		width: 100%;
		max-width: 100vw;
	}
	
	.aboutImg {
		width: 180px;
		align-items: center;
	}
	
	.services-images,
	.services {
		display: none;
	}
	
	.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 {
		color: #fff;
		font-size: 20px;
	}
	
	.service-mobile-item p {
		color: #ccc;
		font-size: 15px;
		line-height: 1.5;
		margin-bottom: 60px;
	}
	
	.fade-in,
	.service-image img,
	.service h3,
	.service p,
	#serviceH,
	.project-title {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
	
	.services-bg {
		width: 100% !important;
		transition: none !important;
	}
	
	#portfolio h2, #portfolio .fade-in {
		text-align: center;
		margin-bottom: 40px;
		width: 100%;
	}
	
	.portfolio {
		grid-template-columns: 1fr;
	}
	
	.project {
		height: 260px;
	}
	
	footer {
		padding: 40px 20px;
		flex-direction: row;
		text-align: center;
		gap: 10px;
	}
}

/* smaller */
@media (max-width: 600px) {

	.hero h1 {
		font-size: 38px;
	}

	section {
		padding: 70px 20px;
	}

	h2 {
		font-size: 32px;
	}

	.aboutImg {
		width: 150px;
	}
}