.chonburi-regular {
  font-family: "Chonburi", serif;
}
.raleway-thin {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
}

.raleway-medium {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}
.navbar {
  justify-content: center;
}

.link-nav {
  color: black;
  text-decoration: none;
  line-height: 2.5;
  margin-left: 5%;
}

.main_navbar {
  top: 0;
  background: white;
  z-index: 1000;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.btn-black-border {
  background-color: black;
  color: white;
  border: none;
  padding: 11px 22px;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-block;
  cursor: pointer;
  transition: 0.3s ease;
  font-size: 12px;
}
.btn-black-border:hover {
  background-color: white;
  color: black;
  border: 1px solid black;
}
.section-1 {
  width: 100%;
  height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.contact-us {
  text-align: center;
  font-weight: bold;
}
.text-contact-us {
  font-size: 80px;
  font-family: "Chonburi", serif;
  margin: auto;
}
.sub-text {
  font-size: 20px;
  font-family: "Raleway", sans-serif;
  font-weight: 200;
  font-optical-sizing: auto;
  font-style: normal;
  margin: auto;
}
.section-2 {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.form-container {
  flex: 1;
  padding: 30px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 16px;
  border: 1px solid #000000;
  border-radius: 2px;
  font-size: 16px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}
.map-container {
  flex: 1;
  padding: 30px;
  min-width: 300px;
}
.texttop {
  padding-top: 1px;
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}
.map-embed {
  width: 100%;
  height: 500px; /* Inilah yang akan menentukan tinggi map */
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.map-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Pastikan iframe penuhi parent-nya */
  border: 0;
  border-radius: 16px;
}

.list-footer a {
  text-decoration: none;
}

input::placeholder {
  font-family: "Raleway", sans-serif;
  color: #888;
}

.rating-stars {
  direction: rtl; /* Membuat bintang dibaca dari kanan ke kiri untuk efek hover */
  unicode-bidi: bidi-override;
  justify-content: flex-start !important; /* Override justify-content-end dari inline style jika perlu */
}

.rating-stars .star-radio {
  display: none; /* Sembunyikan radio button asli */
}

.rating-stars .star-label {
  font-size: 1.5rem; /* Ukuran bintang */
  color: #ccc; /* Warna bintang kosong default */
  padding: 0 2px;
  cursor: pointer;
  transition: color 0.2s ease-in-out;
}

/* Efek hover: semua bintang di kiri bintang yang di-hover akan berubah warna */
.rating-stars:not(:hover) .star-radio:checked ~ .star-label, /* Bintang yang dipilih */
.rating-stars .star-label:hover,
.rating-stars .star-label:hover ~ .star-label {
  color: #ffc107 !important; /* Warna bintang terisi/hover (kuning Bootstrap) */
}

/* Mengubah ikon bintang menjadi terisi untuk yang dipilih (via JS) atau saat hover (via CSS) */
.rating-stars:not(:hover) .star-radio:checked ~ .star-label i::before,
.rating-stars .star-label:hover i::before,
.rating-stars .star-label:hover ~ .star-label i::before {
  content: "\f586"; /* Kode Unicode untuk Bootstrap Icons bi-star-fill */
  font-family: "bootstrap-icons";
}

/* Jika ingin bintang defaultnya sudah terisi jika ada nilai (via JS) */
.rating-stars .star-label.selected i::before {
  content: "\f586"; /* Kode Unicode untuk bi-star-fill */
  font-family: "bootstrap-icons";
  color: #ffc107 !important;
}
