/*Typhography*/
.text-georgia {
	font-family: Georgia, serif;
}
.text-menu{
	font-size: 19px;
	font-weight: 500;
}
.fw-normal{
	font-weight: 200;
}
.tight-space {
	margin-bottom: 4px;
}
/*Menu*/

.nav-item.dropdown:hover .dropdown-menu {
	display: block;
	margin-top: 0; /* hilangkan delay munculnya */
}
.dropdown-menu {
	border-radius: 0 !important; /* hilangkan rounded */
}

/* Saat scroll ke atas → muncul dengan posisi fixed */
#mainNavbar.fixed-show {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1030;
	transform: translateY(0);
	animation: slideDown 0.3s ease;
}

/* Saat scroll ke bawah → hilang */
#mainNavbar.fixed-hide {
	transform: translateY(-100%);
}

/* Animasi muncul */
@keyframes slideDown {
	from {
		transform: translateY(-100%);
	}
	to {
		transform: translateY(0);
	}
}
/*MENU KETIKA DI TAMPILAN MOBILE*/
/* ✅ Garis bawah hanya untuk menu utama di mobile */
@media (max-width: 991.98px) {
	.navbar-nav > .nav-item {
		border-bottom: 1px solid #dee2e6;
	}

	/* ✅ Dropdown menu sejajar (tidak nggeser) */
	.dropdown-menu {
		position: static !important;
		float: none;
		width: 100%;
		background-color: transparent;
		border: none; /* ✅ Hapus border dropdown */
		box-shadow: none;
		margin: 0;
		padding: 0;
	}

	/* ✅ Hilangkan border hanya pada item dropdown */
	.dropdown-menu .dropdown-item {
		border-bottom: none !important;
		padding-left: 1rem;
		padding-right: 1rem;
	}
	/* Tambahkan padding ke induk menu dropdown ("Rooms") */
	.navbar-nav .dropdown > .nav-link {
		padding-left: 0.5rem;
	}
}
/*menu*/

/*Slider*/
.slider-content {
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	width: 100%;
	height: 700px; /* ↓ Turunkan dari 600px ke 450px agar terlihat lebih "zoom out" */
}

.slider-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: white;
}

.slider-text h1 {
	font-size: 2.5rem;
	margin-bottom: 10px;
}

.slider-text h2 {
	font-size: 1.5rem;
}

/* Panah navigasi kiri-kanan */
.owl-nav {
	position: absolute;
	top: 50%;
	width: 100%;
	display: flex;
	justify-content: space-between;
	transform: translateY(-50%);
	padding: 0 20px;
	z-index: 10;
}

.owl-nav button {
	background: rgba(0, 0, 0, 0.2) !important;
	color: white !important;
	font-size: 1.5rem !important;
	width: 50px;
	height: 50px;
	border-radius: 50% !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	padding: 0 !important;
	line-height: 1 !important;
	border: none !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
	transition: background 0.3s;
}

/* Bullet/pagination di dalam gambar */
.owl-dots {
	position: absolute;
	bottom: 15px;
	width: 100%;
	text-align: center;
	z-index: 10;
}

.owl-dot span {
	width: 12px;
	height: 12px;
	background: white;
	display: inline-block;
	margin: 0 5px;
	border-radius: 50%;
	opacity: 0.6;
	transition: 0.3s;
}

.owl-dot.active span {
	opacity: 1;
	background: #007bff;
}

/*Rooms*/
.room {
	position: relative;
	border-radius: 0px;
	height: 300px;
	overflow: hidden;
	cursor: pointer;
	color: white;
}

/* Elemen background image terpisah */
.room-bg {
	position: absolute;
	inset: 0;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	transition: transform 0.5s ease;
	z-index: 1;
}

/* Overlay gelap */
.overlay {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.4);
	pointer-events: none;
	z-index: 2;
}

.room-content {
	position: relative;
	z-index: 3;
	height: 100%;
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.room-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.btn-detail {
	white-space: nowrap;
}

.room-desc {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height 0.5s ease, opacity 0.5s ease;
	margin-top: 10px;
}

.hr-room {
	transition: width 0.5s ease;
	border-color: white;
}

/* Hover efek */
.col-md-4:hover .room-bg {
	transform: scale(1.05);
}

.col-md-4:hover .room-desc {
	max-height: 300px;
	opacity: 1;
}

.col-md-4:hover .hr-room {
	width: 100% !important;
}
/*Rooms*/

.benefit-item {
	transition: transform 0.3s ease;
}

.benefit-item:hover {
	transform: scale(1.05);
}


/*Tombol Up Top*/
#scrollTopBtn {
	transition: opacity 0.3s ease;
}
 /*Tombol Up Top

 /*DETAIL KAMAR*/
 /*Komponen Foto kamar*/
 .component {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1/1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.component-item {
  max-width: 100%;
  max-height: 100%;
  transition: transform 0.3s ease;
  object-fit: contain;
  z-index: 1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0); /* awalnya transparan */
  transition: background-color 0.3s ease;
  z-index: 2;
}

.component:hover .component-item {
  transform: scale(1.2);
}

.component:hover .overlay {
  background-color: rgba(0, 0, 0, 0.4); /* hitam transparan saat hover */
}
/*Komponen kamar*/