@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

:root {
	--primary-color: rgb(195, 106, 23);
	--dark-bg: rgb(27, 26, 26);
	--darker-bg: rgb(19, 18, 18);
	--black: rgb(0, 0, 0);
	--white: rgb(255, 255, 255);
	--text-light: rgb(211, 218, 225);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Poppins", sans-serif;
}

a {
	text-decoration: none;
}

.container {
	width: 100%;
	background-color: var(--black);
	overflow-x: hidden;
}

/* Navigation */
.nav-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem;
}

.nav-bar ul {
	display: flex;
	align-items: center;
	list-style: none;
	font-size: 1.1rem;
}

.nav-bar ul li {
	padding: 0.6rem;
}

.nav-bar ul li a {
	color: var(--text-light);
	transition: color 0.3s;
}

.nav-bar ul li a:hover {
	color: var(--primary-color);
}

.nav-bar .logo {
	width: 60px;
	height: 60px;
	margin: 0.6rem 0.3rem 0 0.6rem;
}

/* Hero Section */
.content-1 {
	display: flex;
	align-items: center;
	padding: 1.25rem;
	margin: 1.25rem 0 0 0;
	flex-wrap: nowrap; /* Changed from wrap to nowrap */
	gap: 2rem; /* Added gap for better spacing */
}

.people-img {
	max-width: 50%; /* Limit the image width */
	height: auto;
	flex-shrink: 0; /* Prevent image from shrinking too much */
}

.tulisan {
	margin-top: 0; /* Changed from -0.6rem to 0 */
	padding: 1rem;
	flex: 1; /* Allow text to take remaining space */
}

.tulisan h3 {
	font-size: clamp(1.5rem, 3vw, 1.75rem);
	font-weight: 600;
	color: var(--primary-color);
}

.tulisan h1 {
	margin-top: -0.5rem;
	font-size: clamp(2.5rem, 5vw, 3.6rem);
	color: var(--white);
}

.tulisan p {
	margin-top: -0.3rem;
	font-size: 1.125rem;
	font-weight: 200;
	color: var(--white);
}

.link {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 250px;
	height: 50px;
	margin: 1.25rem 0;
	background-color: var(--primary-color);
	transition: background-color 0.3s;
}

.link:hover {
	background-color: var(--dark-bg);
}

.link a {
	font-size: 1.125rem;
	font-weight: bold;
	color: var(--white);
}

/* Skills Section */
.content-2 {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: 1.25rem;
	margin-top: 2.5rem;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 2rem;
	color: var(--white);
}

.content-2 i {
	font-size: 5rem;
}

.content-2 h3 {
	font-size: 1.875rem;
	margin-bottom: 0.9rem;
}

.content-2 p {
	font-weight: 400;
	margin-bottom: 1.25rem;
}

.content-2 a {
	color: var(--primary-color);
	font-size: 1rem;
	font-weight: bold;
	transition: color 0.3s;
}

.content-2 a:hover {
	color: var(--white);
}

.skills-1,
.skills-2,
.skills-3 {
	width: 300px;
	height: auto;
	padding: 1.25rem;
	border-radius: 10px;
	background-color: var(--dark-bg);
	transition: background-color 0.7s;
}

.skills-1:hover,
.skills-2:hover,
.skills-3:hover {
	background-color: var(--primary-color);
}

.kosong {
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	margin-top: -5rem;
	width: 50%;
	height: 1000px;
	background-color: var(--darker-bg);
}

/* Stats Section */
.container-3 {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	width: 100%;
	padding: 1.25rem;
	margin: 1.25rem 0 3.125rem 0;
}

.content-3 {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	max-width: 400px;
}

.content-kanan {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 650px;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 1.25rem;
	align-items: center;
}

.angka-1 {
	font-size: clamp(5rem, 10vw, 9.25rem);
	font-weight: bolder;
	color: var(--primary-color);
}

.angka {
	font-size: clamp(2.5rem, 5vw, 4.375rem);
	font-weight: bolder;
	color: var(--primary-color);
}

.huruf-1 {
	margin-top: -1.875rem;
	font-size: clamp(1.5rem, 3vw, 2.125rem);
	font-weight: bolder;
	color: var(--white);
}

.huruf {
	margin-top: -0.625rem;
	font-size: 1.25rem;
	font-weight: bolder;
	color: var(--white);
}

.tahun {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	width: 300px;
	text-align: center;
}

.client,
.experience,
.project,
.achievements {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	width: 300px;
	height: 150px;
	background-color: var(--dark-bg);
}

/* Projects Section */
.content-4 {
	width: 90%;
	margin: 4.375rem auto 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 2rem;
	line-height: 1.2;
}

.featured {
	font-size: 1.625rem;
	font-weight: 500;
	color: var(--white);
	letter-spacing: 5px;
}

.kata {
	font-size: 1rem;
	font-weight: 50;
	letter-spacing: 2px;
	font-style: italic;
}

.view-all {
	background-color: var(--primary-color);
	padding: 0.4rem 1.875rem;
	text-decoration: none;
	color: var(--white);
	font-weight: 500;
	transition: background-color 0.3s;
}

.view-all:hover {
	background-color: var(--dark-bg);
}

/* Project Gallery */
.content-5,
.content-6 {
	position: relative;
	z-index: 1;
	margin-top: 0.625rem;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 2rem;
	padding: 0 1rem;
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
}

.gambar-1,
.gambar-2,
.gambar-3,
.gambar-4 {
	border-radius: 10px;
	background-color: var(--dark-bg);
	margin: 2.5rem 0;
	padding: 2rem 1.5rem 1.5rem 1.5rem;
	width: calc(50% - 2rem);
	max-width: 500px;
	transition: transform 0.3s ease;
}

.gambar-1:hover,
.gambar-2:hover,
.gambar-3:hover,
.gambar-4:hover {
	transform: translateY(-10px);
}

.vintage,
.foodasa,
.marco,
.mozaik {
	max-width: 100%;
	height: auto;
	border-radius: 5px;
	object-fit: cover;
	aspect-ratio: 16/9;
}

.keterangan {
	display: inline-block;
	font-size: 1.25rem;
	margin-top: 0.625rem;
	margin-bottom: 0.3rem;
	font-weight: 500;
	color: var(--white);
	letter-spacing: 2px;
}

.keterangan-link {
	color: var(--primary-color);
	font-size: 0.875rem;
	font-weight: 500;
	transition: color 0.3s;
}

.keterangan-link:hover {
	color: var(--white);
}

/* Call to Action */
.content-7 {
	background-color: var(--dark-bg);
	position: relative;
	z-index: 1;
	width: 90%;
	margin: 5.625rem auto 0;
	padding: 2rem;
	box-sizing: border-box;
}

.tulisan-7 {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 2rem;
}

.kata-7 {
	color: var(--white);
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: bold;
}

.kata-8 {
	display: block;
	margin-top: 0.625rem;
	font-size: 1.125rem;
	font-weight: 400;
}

.link-7 {
	background-color: var(--primary-color);
	padding: 0.4rem 1.875rem;
	text-decoration: none;
	color: var(--white);
	font-weight: 500;
	transition: background-color 0.3s;
}

.link-7:hover {
	background-color: var(--black);
}

/* Footer */
.footer {
	width: 100%;
	padding: 2rem 1rem;
	margin: 2.5rem 0 0 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}

.logo-footer {
	width: 30px;
	height: 30px;
}

.icon-footer {
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1.5rem;
}

.icon-footer i {
	margin: 0 0.625rem;
	cursor: pointer;
	transition: transform 0.3s;
}

.icon-footer i:hover {
	transform: scale(1.2);
}

.created {
	display: flex;
	justify-content: center;
	align-items: center;
}

.penulis {
	color: var(--white);
	font-weight: 100;
	font-size: 0.875rem;
}

/* Media Queries */
@media screen and (max-width: 992px) {
	.content-1 {
		flex-direction: row; /* Keep side by side instead of column */
		text-align: left; /* Changed from center to left */
	}

	.people-img {
		max-width: 45%; /* Adjust image size for medium screens */
	}

	.link {
		margin: 1.25rem 0; /* Changed from auto to 0 for left alignment */
	}

	.content-kanan {
		margin-top: 3rem;
	}
}

@media screen and (max-width: 768px) {
	.nav-bar ul {
		font-size: 0.9rem;
	}

	.nav-bar .logo {
		width: 50px;
		height: 50px;
	}

	.people-img {
		display: none; /* Further adjust for smaller screens */
	}

	.content-4,
	.tulisan-7 {
		justify-content: center;
		text-align: center;
	}

	.footer {
		justify-content: center;
		text-align: center;
	}
}

@media screen and (max-width: 576px) {
	.nav-bar {
		flex-direction: column;
	}

	.nav-bar ul {
		margin-top: 1rem;
	}

	.content-1 {
		flex-direction: column; /* Only stack on very small screens */
		text-align: center;
	}

	.people-img {
		display: none; /* Larger on mobile when stacked */
	}

	.link {
		margin: 1.25rem auto; /* Center the button on mobile */
	}

	.content-2 {
		gap: 1rem;
	}

	.skills-1,
	.skills-2,
	.skills-3 {
		margin-left: 0;
	}

	.gambar-1,
	.gambar-2,
	.gambar-3,
	.gambar-4 {
		margin: 1rem 0;
		padding: 1.5rem 1rem 1rem 1rem;
	}
}
