:root {
	--primary: #e2b43c;
	--secondary: #d19c24;
	--dark: #202020;
}
* {
	font-family: "Signika", serif;
	font-size: 14px;
}
html,
body {
	overflow-x: hidden;
	margin: 0;
	padding: 0;
	width: 100vw;
}

section {
	padding: 50px 0;
}

.title {
	font-family: "Signika Negative", serif;
	font-size: 3rem;
}

.subtitle {
	font-family: "Signika", serif;
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 30px;
}

.title2 {
	font-family: "Signika", serif;
	font-size: 3rem;
	font-weight: 700;
}

.text-justify {
	text-align: justify;
}

/* navbar */
.nav-link {
	margin: 5px 15px;
	box-sizing: border-box;
}

.my-nav {
	width: 90%;
	background-color: #fff;
	/* background-color: pink; */
}

.card-alamat::before {
	content: "";
	position: absolute;
	top: 0;
	right: -50px;
	width: 100vh; /* Bisa disesuaikan */
	height: 110%;
	background-color: var(--primary); /* Warna background */
	clip-path: polygon(7% 0%, 100% 0%, 92% 100%, 0% 100%);
	z-index: -1; /* Agar berada di belakang logo */
}

.active {
	border-bottom: 2px solid var(--primary);
}

/* about */

#hero {
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}
.image-about {
	position: absolute;
	right: 0;
	display: inline-block;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.image-about img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

/* penawaran */
.penawaran {
	background-size: cover;
	height: 280px;
	background-position: center;
	background-image: url("../images/img-2.png");
}

/* page 2 */
/* developer */
.image-developer-galeri {
	position: absolute;
	right: 0;
	display: inline-block;
	width: 100%;
	height: 300px;
	border-radius: 15px;
	overflow: hidden;
}

.image-developer-galeri img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 15px;
	object-position: center;
	transition: transform 0.3s ease;
}
.img-produk-2:hover img,
.img-produk:hover img,
.image-profil:hover img,
.image-about:hover img,
.image-developer-galeri:hover img,
.image-developer-galeri:hover video {
	transform: scale(1.1);
}

.image-developer-galeri video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 15px;
	object-position: center;
	transition: transform 0.3s ease;
}

/* page 3 */
/* produk */
.img-produk {
	position: absolute;
	right: 0;
	display: inline-block;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}
.img-produk-2 {
	position: absolute;
	right: 0;
	display: inline-block;
	width: 100%;
	height: 200px;
	overflow: hidden;
}
.img-produk-2 img,
.img-produk img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}
.card-produk {
	border-radius: 20px;
	background-image: url("../images/img-4.webp");
	background-position: center;
	background-size: cover;
}
.card-produk::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	border-radius: 20px;
}

.produk-content {
	position: relative; /* Pastikan teks tetap di atas overlay */
	z-index: 1;
}

.custom-scrollbar {
	margin-top: 10px;
	background: rgb(230, 230, 230);
	height: 10px;
	width: 100px;
	border-radius: 50px;
}
.swiper-developer .swiper-slide-next .card,
.swiper-pengadaan .swiper-slide-next .card,
.swiper-kontraktor .swiper-slide-next .card {
	background-color: var(--primary);
	border: none;
	color: #fff;
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
	transform: scale(1.1);
}

.swiper-button-next,
.swiper-button-prev {
	--swiper-navigation-size: 15px;
	--swiper-navigation-top-offset: 45%;
	--swiper-navigation-sides-offset: 0;
	--swiper-navigation-color: #fff;
	background-color: var(--dark);
	border-radius: 50px;
	padding: 18px;
}

/* img */
/* developer */
.image-profil {
	position: absolute;
	right: 0;
	display: inline-block;
	width: 100%;
	height: 300px;
	border-radius: 5px;
	overflow: hidden;
}

.image-profil img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 5px;
	transition: transform 0.3s ease;
}

.profil-image {
	/* margin-bottom: 180px; */
	height: 450px;
}

#galeri-card {
	background-size: cover;
	background-position: center;
	background-image: url("../images/img-3.webp");
	color: #fff;
}

/* footer */

.address-box {
	display: flex;
	padding: 10px 15px;
	color: white;
	max-width: 500px;
}

.icon {
	margin-right: 10px;
	font-size: 20px;
}
.footer {
	background-size: cover;
	background-position: center;
	background-image: url("../images/img-3.webp");
}

.icon-circle {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 27px;
	height: 27px;
	background-color: #fff;
	border-radius: 50%;
	text-decoration: none;
	color: var(--bg-primary);
	transition: background-color 0.3s;
	margin: 0 3px;
}

.icon-circle i {
	color: #575757;
}

.card-icon {
	width: 100%;
	aspect-ratio: 3 / 4;
}

.img-heroprofil {
	right: 100px;
	height: 85%;
}

/* tab */
@media (min-width: 576px) and (max-width: 991.98px) {
	section {
		padding: 40px 0;
	}
	.sosmed,
	.overlay-img {
		display: none;
	}

	#hero::after {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0, 0, 0, 0.5);
	}
	.card-icon {
		width: 50%;
	}

	.subtitle {
		margin-bottom: 10px;
	}

	.swiper-developer .swiper-slide-active .card,
	.swiper-pengadaan .swiper-slide-active .card,
	.swiper-kontraktor .swiper-slide-active .card {
		background-color: var(--primary);
		border: none;
		color: #fff;
		box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
		transform: scale(1.1);
	}

	/* .profil-image {
		margin-bottom: 180px;
	} */

	.man-nav {
		background-color: var(--dark) !important;
		padding: 20px 0 !important;
		margin-top: 0 !important;

		--bs-navbar-color: rgba(255, 255, 255, 0.55);
		--bs-navbar-hover-color: rgba(255, 255, 255, 0.75);
		--bs-navbar-disabled-color: rgba(255, 255, 255, 0.25);
		--bs-navbar-active-color: #fff;
		--bs-navbar-brand-color: #fff;
		--bs-navbar-brand-hover-color: #fff;
		--bs-navbar-toggler-border-color: rgba(255, 255, 255, 0.1);
		--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
	}

	.my-nav {
		box-shadow: none;
		width: 100%;
		background-color: rgba(0, 0, 0, 0);
		display: block !important;
	}
	.my-nav .btn {
		display: inline !important;
	}
}
/* size hp */
@media (max-width: 575.98px) {
	.title {
		font-family: "Signika Negative", serif;
		font-size: 2rem;
	}

	.subtitle {
		font-family: "Signika", serif;
		font-size: 1.5rem;
		font-weight: 700;
		margin-bottom: 30px;
	}

	.title2 {
		font-family: "Signika", serif;
		font-size: 2rem;
		font-weight: 700;
	}
	section {
		padding: 40px 0;
	}
	.sosmed,
	.overlay-img {
		display: none;
	}

	#hero::after {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0, 0, 0, 0.5);
	}
	.card-icon {
		width: 50%;
	}

	.subtitle {
		margin-bottom: 10px;
	}

	.swiper-developer .swiper-slide-active .card,
	.swiper-pengadaan .swiper-slide-active .card,
	.swiper-kontraktor .swiper-slide-active .card {
		background-color: var(--primary);
		border: none;
		color: #fff;
		box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
		transform: scale(1);
	}

	.swiper-developer .swiper-slide-next .card,
	.swiper-pengadaan .swiper-slide-next .card,
	.swiper-kontraktor .swiper-slide-next .card {
		background-color: #fff;
		color: #000;
		box-shadow: none;
		transform: scale(1);
		border: 1px solid var(--bs-border-color-translucent);
	}

	/* .profil-image {
		margin-bottom: 180px;
	} */

	.man-nav {
		background-color: var(--dark) !important;
		padding: 20px 0 !important;
		margin-top: 0 !important;

		--bs-navbar-color: rgba(255, 255, 255, 0.55);
		--bs-navbar-hover-color: rgba(255, 255, 255, 0.75);
		--bs-navbar-disabled-color: rgba(255, 255, 255, 0.25);
		--bs-navbar-active-color: #fff;
		--bs-navbar-brand-color: #fff;
		--bs-navbar-brand-hover-color: #fff;
		--bs-navbar-toggler-border-color: rgba(255, 255, 255, 0.1);
		--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
	}

	.my-nav {
		box-shadow: none;
		width: 100%;
		background-color: rgba(0, 0, 0, 0);
		display: block !important;
	}
	.my-nav .btn {
		display: inline !important;
	}

	/* .img-heroprofil {
		right: 0px;
		height: 50%;
	} */

	.hero-profil {
		background-position: 80% center !important; /* Lebih ke kanan */
	}
	.hero-profil::after {
		background: rgba(0, 0, 0, 0.2) !important;
	}
}

.tab-active {
	display: block;
}

.btn-active {
	background-color: var(--primary);
	color: #fff;
	border: none;
}

#scrollUpBtn {
	position: fixed;
	bottom: 80px;
	width: 50px;
	height: 50px;
	right: -100px;
	transition: right 0.5s ease-in-out;
	z-index: 1000;
}

.swiper-pagination-bullet-active {
	background-color: var(--primary) !important; /* Warna pagination aktif */
}
