/* Global Styles */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: url('background.jpg') no-repeat center center fixed;
  background-size: cover;
  color: white;
}

.header {
    position: fixed; /* Keep the header fixed at the top */
    top: 0; /* Position it at the top */
    width: 100%; /* Make it span the full width */
    display: flex;
    justify-content: space-between; /* Align items to the left and right */
    align-items: center; /* Center items vertically */
    padding: 10px 20px; /* Add padding for spacing */
    background-color: #0e4213; /* Example background color */
    z-index: 1000; /* Ensure it stays above other content */
}

.header .logo {
    height: 60px; /* Ensure logo height is consistent */
}

.header-title {
    margin: 0; /* Remove default margin */
    color: white; /* Example text color */
}

.header-subtitle {
    margin: 0; /* Remove default margin */
    color: white; /* Example text color */
}

.login-button {
    margin-left: auto; /* Push login button to the right */
    margin-right: 20px; /* Add margin to the right for spacing */
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit color from parent */
    cursor: pointer;
}

/* Popup styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
    z-index: 1001;
}

.popup-overlay.active {
    visibility: visible;
    opacity: 1;
}

.popup {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 400px;
    max-width: 90%;
    position: relative;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    color: #666;
}

.popup h2 {
    margin-bottom: 20px;
    color: #333;
}

.popup form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popup input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.popup button {
    padding: 10px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.popup button:hover {
    background: #0056b3;
}

.register-link, .switch-to-login {
    color: #007bff;
    cursor: pointer;
    text-align: center;
    margin-top: 15px;
}


.header-subtitle {
  font-size: 1rem;
  color: #ccc; /* Warna teks subjudul lebih lembut */
  margin: 0;
}


.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 50px 20px;
}

.menu-item {
  text-align: center;
  background: rgba(3, 38, 4, 0.7);
  padding: 20px;
  border-radius: 15px;
  width: 150px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.menu-item i {
  display: block;
  font-size: 2rem;
  margin-bottom: 10px;
  color: white;
  transition: color 0.3s, transform 0.3s;
}

.menu-item:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.menu-item:hover i {
  color: #25a159;
  transform: rotate(360deg);
}

.menu-item p {
  font-size: 1rem;
  margin: 0;
}

.footer {
  position: fixed;
  width: 100%;
  background-color: #0e4213;
  color: white;
  text-align: center;
  padding: 10px 0;
  bottom: 0;
}

.home-and-call {
  display: flex; /* Tampilkan ikon secara horizontal */
  justify-content: space-evenly; /* Jarak seimbang antara ikon */
  align-items: center; /* Pusatkan secara vertikal */
  margin-bottom: 30px; /* Jarak ke ikon sosial */
}

.icon-wrapper {
  text-align: center; /* Pusatkan teks dan ikon */
}

.icon-wrapper i {
  font-size: 24px; /* Ukuran ikon */
  color: white; /* Warna ikon */
  transition: color 0.3s ease; /* Efek hover */
}

.icon-wrapper p {
  margin: 5px 0 0; /* Jarak teks dari ikon */
  font-size: 14px; /* Ukuran teks */
  color: white; /* Warna teks */
}

.icon-wrapper a:hover i {
  color: #25a159; /* Warna ikon saat hover */
}

.social-icons {
  display: flex; /* Tampilkan ikon secara horizontal */
  justify-content: center; /* Pusatkan ikon */
  gap: 20px; /* Jarak antar ikon */
  margin-top: 30px; /* Tambahkan jarak atas untuk lebih jauh dari home-and-call */
}

.social-icons a {
  font-size: 20px; /* Ukuran ikon sosial */
  color: white; /* Warna ikon */
  text-decoration: none; /* Hapus garis bawah */
  transition: color 0.3s ease; /* Efek hover */
}

.social-icons a:hover {
  color: #25a159; /* Warna ikon saat hover */
}

.footer-text {
  font-size: 14px; /* Ukuran teks kecil */
  color: #ccc; /* Warna teks abu-abu lembut */
}


.container {
  position:fixed;
  display: flex;
  flex-direction: column;
  justify-content:flex-start; /* Pastikan konten dimulai dari atas */
  align-items: center;
  text-align: justify;
  background: #062c04b3;
  color: white;
  border-radius: 10px;
  padding: 20px;
  margin: auto;
  top: 95px; /* Mulai dari atas */
  left: 20px;
  right: 20px;
  bottom: 180px;
  overflow: auto; /* Tambahkan scroll jika konten melebihi layar */
}




/* Agar kontainer tetap di tengah layar penuh */
html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


/* Heading */
.heading {
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
  text-transform: uppercase;
  padding-bottom: 5px; /* Tambahkan padding bawah */
}

.subheading {
  font-size: 1.2rem;
  font-weight: 300;
  margin: 10px 0 30px;
  padding-bottom: 5px; /* Tambahkan padding bawah */
}

/* General Styles for Menu Items */
.menu-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100px;  /* Adjust width for mobile */
  transition: transform 0.3s ease;
}

.menu-item i {
  font-size: 30px;  /* Adjust icon size */
  margin-bottom: 10px;
}

.menu-item p {
  font-size: 14px;
  margin: 0;
}

/* Hover Effect */
.menu-item:hover {
  transform: scale(1.1);  /* Slightly enlarge the icon on hover */
  cursor: pointer;
}

/* Responsive Design for Mobile: Two Columns */
@media (max-width: 768px) {
  .menu-icons {
      display: grid;
      grid-template-columns: repeat(2, 1fr); /* Two columns */
      grid-gap: 20px;
      padding: 20px; /* Space between icons */
  }

  .menu-item {
      width: 80%; /* Allow for full width in the grid */
      margin: 0;   /* Ensure no extra margin is applied */
  }

  .menu-item i {
      font-size: 40px;  /* Larger icons for mobile */
  }

  .menu-item p {
      font-size: 16px;  /* Adjust text size for better readability */
  }
}

/* Optional: Larger screen (tablet, desktop) styling */
@media (min-width: 769px) {
  .menu-icons {
      display: flex;
      justify-content: space-evenly;
  }

  .menu-item {
      width: 120px; /* Adjust width for larger screens */
  }
}


.centered-list {
  text-align: center; /* Memastikan teks berada di tengah */
  list-style-position: inside; /* Nomor berada di dalam elemen */
  margin: 0 auto; /* Mengatur margin secara otomatis untuk perataan */
  padding: 0; /* Menghapus padding bawaan */
}

.centered-list li {
  margin-bottom: 10px; /* Spasi antar item */
  font-size: 16px; /* Ukuran teks */
  line-height: 1.5; /* Memberikan jarak antar baris */
  display: inline-block; /* Memastikan teks per item tampil dalam satu baris */
  text-align: left; /* Menyesuaikan teks item ke kiri jika lebih dari satu baris */
}

.button-container {
  text-align: center; /* Menempatkan tombol di tengah */
  margin-top: 20px; /* Memberikan jarak dari elemen sebelumnya */
}

.btn {
  display: inline-block; /* Membuat tombol sejajar */
  background-color: #0e4213; /* Warna biru sebagai background */
  color: #fff; /* Warna teks putih */
  text-decoration: none; /* Menghilangkan garis bawah */
  padding: 10px 20px; /* Spasi dalam tombol */
  border-radius: 5px; /* Membuat sudut tombol melengkung */
  font-size: 16px; /* Ukuran teks */
  margin: 5px; /* Jarak antar tombol */
  transition: background-color 0.3s ease; /* Efek transisi saat hover */
}

.btn:hover {
  background-color: #0d151d; /* Warna saat hover */
}

.justify-list {
  text-align: justify;
  list-style-position: inside; /* Menempatkan penomoran di dalam */
}

.rating {
  direction: rtl;
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.rating input {
  display: none;
}

.rating label {
  font-size: 40px;
  color: #ccc;
  cursor: pointer;
}

.rating input:checked ~ label {
  color: gold;
}

.rating label:hover,
.rating label:hover ~ label {
  color: gold;
}


.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
  display: flex;
  justify-content: center; /* Center the popup */
  align-items: center; /* Center the popup vertically */
  visibility: hidden; /* Hidden by default */
  opacity: 0; /* Fully transparent */
  transition: visibility 0.3s, opacity 0.3s; /* Smooth transition */
}

.popup-overlay.active {
  visibility: visible; /* Show the popup */
  opacity: 1; /* Fully opaque */
}

.popup {
  background: white; /* Popup background */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  width: 500px; /* Set a width for the popup */
  max-width: 90%; /* Responsive width */
}

.open-popup-btn {
  padding: 10px 20px; /* Add padding for spacing */
  background-color: #007bff; /* Button background color */
  color: white; /* Text color */
  border: none; /* Remove border */
  border-radius: 5px; /* Rounded corners */
  cursor: pointer; /* Change cursor on hover */
  font-size: 16px; /* Font size */
  transition: background-color 0.3s; /* Smooth transition for hover effect */
}

.open-popup-btn:hover {
  background-color: #0056b3; /* Darker background on hover */
}

.guest-book-form {
  max-width: 500px;
  margin: 0 auto;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-family: 'Arial', sans-serif;
}

.guest-book-form h2 {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
}

.guest-book-form .form-group {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.guest-book-form label {
  flex: 0 0 120px; /* Lebar tetap untuk label */  
  font-size: 16px;
  color: #000;
  margin-right: 10px;
  display: flex;
  align-items: center;
}

.guest-book-form label i {
  margin-right: 5px;
  color: #007bff;
}

.guest-book-form input,
.guest-book-form textarea {
  flex: 1;
  padding: 10px;
  font-size: 14px;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 5px;
  outline: none;
  transition: border-color 0.3s ease-in-out;
}

.guest-book-form input:focus,
.guest-book-form textarea:focus {
  border-color: #007bff;
}

.guest-book-form textarea {
  resize: none;
}

.guest-book-form button {
  display: block;
  width: 100%;
  padding: 10px;
  font-size: 16px;
  color: white;
  background-color: #007bff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
  margin-top: 20px;
}

.guest-book-form button:hover {
  background-color: #0056b3;
}

.guest-book-form button i {
  margin-right: 5px;
}

.border_below
{
    border-bottom:2px solid black;
    }
