body {
	margin: 0;
	font-family: 'Playfair Display', serif;
	background: white;
	color: black;
	scroll-behavior: smooth;
}

* {
	box-sizing: border-box;
}

.hero {
	/* testing */
	position: relative;
	height: 100vh;
	width: 100%;
	overflow: hidden;

	display: flex;
	flex-direction: column;

	justify-content: flex-end;
	align-items: flex-star;

	padding: 0 0 60px 10%;

}
.hero img {
	/*testing */
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -1;
	/*
	max-width: 400px;
	display: block;
	margin-bottom: 15px;
	transition: transform 0.3s ease;
	*/
}

.hero h1 {
	font-size: 90px;
	font-weight: 300;
	margin: 0;
	letter-spacing: 2px;
	transition: transform 0.3s ease;
}

.hero p{
	font-size: 22px;
	margin-top: 10px;
	opacity: 0.8;
}
.hero h1, .hero p {
	color: white;
	z-index: 1;
	/*text-align: left;*/
}
.hero-text {
	z-index: 1;
}
/* sections */

.hero::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.3);
	z-index: 0;
}

section {
	padding: 120px 10%;
}


.projects h2 {
	font-size: 32px;
	margin-bottom: 50px;
}

.project {
	margin-bottom: 50px;
	transition: transform 0.3s ease, opacity 0.3s ease;
	cursor: pointer;
}

.project:hover{
	transform: translateX(15px);
	opacity:0.6;
}

.project h3 {
	margin: 0;
	font-weight: 600;
}

.project p {
	margin-top: 8px;
	color: gray;
}

.contact {
	padding-bottom: 150px;
	font-size: 18px;
}
/*fade animation*/
.fade {
	opacity: 0;
	transform: translateY(40px);
	transition: all 1s ease;
}

.fade.show{
	opacity: 1;
	transform: translateY(0);
}

header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 10%;
	position: fixed;
	width: 100%;
	background: rgb(223, 90, 157);
	top: 0;
	z-index: 999;
}

.logo {
	font-weight: 600;
}

.menu-toggle {
	font-size: 22px;
	cursor: pointer;
	color: white;
	z-index: 2000;
	position: fixed;
	right: 20px;
	transition: 0.3s;	
}

.menu-toggle:hover {
	opacity: 0.6;
}

/* NAV MENU */

nav {
	position: fixed;
	top: 0;
	right: -100%;
	height: 100vh;
	width: 50%;
	
	background: rgba(223, 90, 157,0.7);
	backdrop-filter: blur(5px);
	
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	
	transition: right 0.5s ease;
	z-index: 1500;
}

nav a {
	margin: 20px 0;
	font-size: 24px;
	text-decoration: none;
	color: black;
}

nav .active a{
	opacity: 1;
	transform: translateY(0);
}

nav a:hover {
	opacity: 0.5;
}

nav.active {
	right: 0;
}

.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.2);
	opacity: 0;
	pointer-events: none;
	transition: 0.4s;
	z-index: 1000;
}

.overlay.active {
	opacity: 1;
	pointer-events: all;
}


.about {
	
	.about{
		padding: 120px 10%;
	}
	.about-container {
		display: flex;
		align-items: flex-start;
		gap: 50px;
		max-width: 1200px;
		margin: 0 auto;
		flex-wrap: wrap;
	}

	.about-image img{
		width: 550px; /*image size*/
		height: auto;
		border-radius: 10px;
		object-fit: cover;
		flex-shrink: 0;
		/*premium shadow*/
		box-shadow: 0 30px 60px rgba (0,0,0,0.25);
		transform: translateY(-40px);
		transition: transform 0.5s ease;
	}
	
	.about-image img:hover{
		transform: translateY(-40px) scale(1.03);
	}
	.about-text{
		flex: 1;
		/*text-align: left;*/
		max-width: 500px;
		position: relative;
		z-index: 2;
	}
	
	.about-text h2{
		font-size: 36px;
		margin-bottom: 20px;
		transition: transform 0.3s ease;
	}

	.about-text h2:hover {
		transform: translateX(5px);
	}
	
	.about-text p{
		font-size: 20px;
		line-height: 1.6;
		margin-bottom: 15px;
	}
	
	.about.reverse .about-container {
		flex-direction: row-reverse;
	}

	@media (max-width: 768px){
		.about-container {
			flex-direction: column;
			gap: 40px;
			/* 
			align-items: center;
			text-align: center;
			*/
		}
	
		.about-image img {
			transform: none;
			/*
			width: 70%;
			margin: 0 auto;
			*/
		}
		.about-text {
			text-align: center;
		}
	}
	

}
.lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.9);

	display: flex;
	justify-content: center;
	align-items: center;

	opacity: 0;
	pointer-events: none;
	transition:  opacity 0.4s ease;
	z-index: 3000;
}

.lightbox.active{
	opacity: 1;
	pointer-events: all;
}

.lightbox-img{
	max-width: 90%;
	max-height: 90%;
	width: auto;
	height: auto;
	border-radius: 10px;
	object-fit: contain;
	display: block;
}

.close{
	position: absolute;
	top: 30px;
	right: 40px;
	font-size: 40px;
	color:white;
	cursor:pointer;
}

.clickable-img {
	cursor: zoom-in;
}

	
	.project {
		padding: 120px 10%;
	}

	.workContainer {
		display: flex;
		align-items: center;
		gap: 80px;
		max-width: 1200px;
		margin: 0 auto;
	}

	.image-work img{
		width: 500px;
		height: auto;
		border-radius: 12px;
		object-fit: cover;

		box-shadow: 0 30pc 60px rgba(0, 0, 0, 0.25);
		transform: translateY(-40px);
		transition: transform 0.5s ease;
	}

	.image-work img:hover{
		transform: translateY(-40px) scale(1.03);
	}

	.paragraph-work {
		flex: 1;
		max-width: 500px;
	}

	.paragraph-work h2 {
		font-size: 36px;
		margin-bottom: 20px;
	}

	.paragraph-work p{
		font-size: 20px;
		line-height: 1.6;
		margin-bottom: 15px;
	}

	.workContainer.reverse{
		flex-direction: row-reverse;
	}

	@media (max-width: 768px){
		.workContainer {
			flex-direction: column;
			gap: 40px;
		}

		.image-work img {
			transform: none;
			width: 100%;
		}

		.paragraph-work{
			text-align: center;
		}
	}

form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

input, textarea {
	padding: 12px;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-family: inherit;
}

button {
	padding: 12px;
	border: none;
	border-radius: 5px;
	background: rgb(223, 90, 157);
	color: white;
	font-size: 16px;
	cursor: pointer;
	transition: background 0.3s ease;
}

.contact {
	padding: 120px 10%;
}

.email-link {
	color: rgb(223, 90, 157);
	text-decoration: none;
	font-weight: 600;
}

.email-link:hover {
	text-decoration: underline;
}