@import url("https://fonts.googleapis.com/css?family=Roboto:400,500&display=swap");
@import url("https://fonts.googleapis.com/css?family=Courgette&display=swap");
@import url("https://fonts.googleapis.com/css?family=Playfair+Display&display=swap");

html,
body {
	overflow-x: hidden !important;
}

/* Style utama navbar */
.navbar .navbar-nav .nav-item .nav-link {
	font-family: "Roboto";
	font-weight: 500;
	font-size: 18px;
	margin: 0 5px;
	transition: all 0.3s ease;
}

.navbar ul li a:hover {
	color: #ffc107 !important;
}

/* Dropdown menu */
.navbar .navbar-nav .nav-item .dropdown-menu {
	background: rgba(0, 31, 77, 0.95); /* biru tua transparan */
	border: none;
	border-radius: 6px;
	margin-top: 8px;
	padding: 8px 0;
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
	animation: fadeInDown 0.3s ease;
}

/* Dropdown item */
.navbar .navbar-nav .nav-item .dropdown-menu a {
	font-family: "Roboto";
	font-weight: 500;
	color: #fff;
	padding: 10px 20px;
	transition: all 0.3s ease;
}

.navbar .navbar-nav .nav-item .dropdown-menu a:hover {
	background-color: #ffc107;
	color: #b30000 !important;
	padding-left: 25px; /* efek geser kanan */
}

/* Animasi dropdown */
@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Carousel Container */
.carousel-inner {
	width: 100%;
	max-height: 100vh; /* biar ga lebih dari layar penuh */
}

/* Gambar Carousel */
#carouselExampleCaptions .carousel-item img {
	width: 100%;
	height: 100vh; /* ✅ penuh setinggi layar */
	object-fit: cover;
}

/* Overlay gelap biar teks lebih jelas */
#carouselExampleCaptions .carousel-item::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.45);
	z-index: 1;
}

/* Caption (teks di atas gambar) */
#carouselExampleCaptions .carousel-caption {
	max-width: 600px;
	color: #fff;
	text-align: left;
	left: 8%;
	right: auto;
	top: 50%; /* posisikan di tengah vertikal */
	bottom: auto; /* hilangkan bottom */
	transform: translateY(-50%); /* benar-benar center */
	text-shadow: 0px 3px 6px rgba(0, 0, 0, 0.8);
	z-index: 2;
	padding: 20px 25px;
	border-radius: 8px;
}

/* Judul */
#carouselExampleCaptions .carousel-caption h2 {
	font-size: 42px;
	font-weight: bold;
	margin-bottom: 15px;
	color: #fff;
	line-height: 1.3;
}

/* Deskripsi */
#carouselExampleCaptions .carousel-caption p {
	font-size: 18px;
	color: #f1f1f1;
	line-height: 1.5;
	margin: 0;
}

/* End of Carousel */

/* Sambutan */
.sambutan h2 {
	text-align: center;
	font-family: "Roboto";
}

.sambutan p {
	font-family: "Roboto", cursive;
	font-size: 16px;
	line-height: 28px;
}

.sambutan hr {
	width: 50%;
	border: 1px solid rgb(207, 207, 207);
}

.sambutan img {
	border-radius: 50%;
}

@media only screen and (max-width: 575px) {
	.sambutan img {
		height: 150px;
	}
}
/* End of Sambutan */

/* Jurusan */
.bg-cover {
	background-image: url("/img/banner/cca3fa09b3548e40e61eb437390b8480.jpg");
	background-position: center center;
	background-size: cover;
	background-attachment: fixed;
	background-repeat: no-repeat;
}

.bg-cover img {
	opacity: 0.9;
	height: 100px;
	width: 100px;
}

.bg-cover h2 {
	font-family: "Courgette";
	color: white;
	text-shadow: 2px 2px 1px black;
}

.bg-cover hr {
	width: 50%;
	border: 1px solid white;
	opacity: 0.4;
}

.bg-cover h5 {
	padding-top: 15px;
	color: white;
	text-shadow: 2px 2px 1px black;
}
/* End of Jurusan */

/* Berita */
.card {
	margin: 0 auto;
	float: none;
	margin-bottom: 20px;
}

.last-news h2 {
	text-align: center;
	font-family: "Roboto";
}

.last-news hr {
	width: 50%;
	border: 1px solid rgb(235, 235, 235);
}
/* End of Berita */

/* Blog */
.blog h1 {
	font-family: "Playfair Display";
}

.blog img {
	width: 100%;
}

.blog .konten {
	font-family: "Roboto";
	font-size: 16px;
	line-height: 30px;
}
/* End of Blog */

/* Banner Area */
.jumbotron.banner_area {
	background-position: center bottom;
	background-size: cover;
	background-attachment: fixed;
	background-repeat: no-repeat;
}

.banner_area h1 {
	font-family: "Courgette";
	top: 50%;
}
/* End of Banner Are */

/* Footer */
.footer {
	background-color: rgb(58, 58, 58);
	color: white;
	font-family: "Roboto";
	box-sizing: content-box;
}

.footer h5 {
	background-color: rgb(92, 92, 92);
	padding: 10px;
	border-left: 4px solid #4e73df;
}

.footer ul a {
	text-decoration: none;
	color: rgb(167, 166, 166);
}

.footer ul a:hover {
	color: #4e73df;
}

.footer p {
	color: rgb(167, 166, 166);
}
/* End of Footer */

/* Pagination */
.page-link {
	color: #4e73df;
}

.page-item.active .page-link {
	background-color: #4e73df;
	border-color: #4e73df;
}
/* End of Pagination */

.btn-info {
	color: #fff;
	background-color: #4e73df;
	border-color: #4e73df;
}

.btn-info:hover {
	color: #4e73df;
	background-color: white;
	border-color: #4e73df;
}

.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show > .nav-link {
	color: #4e73df;
}
