* {
  font-family: 'Poppins';
  src: url('fonts/poppins/Poppins-Regular.ttf') format('truetype');
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', Arial, sans-serif;
}

body {
  background-color: #f4f4f4; /* Latar belakang terang */
  color: #333; /* Warna teks default */
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #333;
  z-index: 1000;
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.hero {
  display: block;
}


/* Styling khusus untuk bagian beranda atau hero */
main#beranda.section {
  background-image: url('../gambar/back2.png'); /* Gambar latar belakang hanya di sini */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh; /* Tinggi penuh layar */
  display: flex; /* Agar konten di dalamnya terpusat */
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white; /* Warna teks tetap kontras */
  position: relative; /* Agar konten di dalamnya tetap terstruktur */
  z-index: 1; /* Pastikan berada di atas elemen lain */
}

main#beranda.section h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

main#beranda.section p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}



/* Navbar container */
header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  background-color: #1b1b1b;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* Logo */
header nav .logo {
  color: #fff;
  font-size: 1.75rem;
  font-weight: 600;
}

/* Nav menu (desktop) */
header nav .nav-menu {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
header nav .nav-menu li a {
  color: #f2f2f2;
  text-decoration: none;
  padding: 8px 12px;
  transition: background 0.3s, color 0.3s;
}
header nav .nav-menu li a:hover {
  background-color: #fff;
  color: #1b1b1b;
  border-radius: 4px;
}

/* Hamburger (desktop hidden) */
header nav .menu-btn {
  display: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}

/* Mobile styles */
@media (max-width: 768px) {
  header nav .menu-btn {
    display: block;
  }
  header nav .nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #1b1b1b;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 20px 0;
    width: 200px;
    list-style: none;      /* <--- Tambahkan ini */
    margin: 0;             /* <--- dan ini */
    padding-left: 0;
  }
  #click:checked ~ .nav-menu {
    transform: translateX(0);
  }
  header nav .nav-menu li {
    margin: 10px 0;
    list-style: none; 
  }
  header nav .nav-menu li a {
    width: 100%;
    text-align: center;
  }
}



  .menu-btn {
    display: block;
    font-size: 24px;
    cursor: pointer;
  }


/* Menu hamburger tersembunyi di desktop */
.menu-btn {
  display: none;
}




.hero.active {
  display: block;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
  color:#f4f4f4;
}

.btn-white {
  background-color: #e5e5e5;
  color: #333;
}

.btn-blue {
  background-color: #255a93;
  color: white;
}

.btn:hover {
  opacity: 0.9;
}

.content-section {
  padding: 50px 20px;
  text-align: center;
  display: none;
}

.content-section.active {
  display: block;
}

.content-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.content-section p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.content-section ul {
  list-style: none;
  padding: 0;
}

.content-section ul li {
  font-size: 1rem;
  margin: 10px 0;
}

.logo-center {
  display: block;
  margin: 20px auto;
  width: 100px;
}

.content-section ul li::before {
  content: '• ';
  color: #007bff;
}

/* CSS untuk scroll snapping */
.scroll-container {
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  height: 100vh;
}

.section {
  scroll-snap-align: start;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.section h1, .section h2 {
  margin-bottom: 15px;
  font-size: 2rem;
}

.scroll-container::-webkit-scrollbar {
  width: 8px;
  margin-top: 60px; /* untuk menghindari tumpang tindih dengan navbar */
}

.scroll-container::-webkit-scrollbar-thumb {
  background-color: #007bff;
  border-radius: 10px;
}

.scroll-container::-webkit-scrollbar-track {
  background-color: #f4f4f4;
}


/* Wrapper untuk gambar dan teks di sebelah kiri dan kanan di Tentang*/
.content-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
}

.image-left {
  flex: 1;
  max-width: 300px; /* Maksimal lebar gambar */
  height: auto;
  border-radius: 8px;
}

.text-right {
  flex: 2;
  text-align: justify; /* Untuk membuat teks lebih rapi */
}

main#tentang.section p, 
main#tentang.section ol {
  font-size: 1rem; /* Ukuran teks isi */
  color: #000000; /* Warna teks isi */
  text-align: justify; /* Teks rata kanan dan kiri */
  margin-bottom: 20px; /* Spasi bawah */
  line-height: 1.5; /* Jarak antar baris */
  max-width: 800px; /* Membatasi lebar teks untuk tetap nyaman dibaca */
}

main#tentang.section ol {
  padding-left: 20px; /* Padding daftar */
  list-style: decimal inside; /* Tampilan penomoran */
}

/* Mengatur jarak antar item dalam daftar */
main#tentang.section ol li {
  margin-bottom: 10px; /* Spasi antar item */
}

main#tentang.section ol li::marker {
  color: #555; /* Warna penomoran */
}

/* Responsive untuk layar kecil #tentang*/
@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .image-left {
    max-width: 100%;
  }
  .text-right {
    text-align: center;
  }
}


/* Styling khusus halaman dengan id #hubungi */
main#hubungi.section {
  padding: 20px;
  background-color: #2b3974;
  color: white;
  text-align: center;
}

main#hubungi.section h1 {
  font-size: 24px;
  margin: 0;
}

main#hubungi.section p {
  margin: 5px 0;
}

main#hubungi.section .content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 20px;
}

main#hubungi.section .info, 
main#hubungi.section .location, 
main#hubungi.section .visitors {
  background-color: #17224d;
  border-radius: 5px;
  padding: 15px;
  flex: 1;
  margin: 10px;
  margin-bottom: 5px;
}

main#hubungi.section .location iframe {
  border: none;
  border-radius: 5px;
}


/* Styling khusus halaman dengan id #syaraketentuan */
.ketentuan-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}

.ketentuan-box {
  background-color: #162447; /* Warna biru tua */
  color: white; /* Warna teks */
  padding: 20px;
  border-radius: 10px;
  flex: 1; /* Agar kotak sejajar dan proporsional */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Efek bayangan */
}

.ketentuan-box h6 {
  margin-top: 0;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.ketentuan-box p,
.ketentuan-box li {
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: justify;
}

.ketentuan-box ol {
  padding-left: 20px;
}

/*info kontak*/
.info {
    color: white;
    font-family: 'Poppins', sans-serif;
  }

  .info a {
    color: white;
    text-decoration: none;
  }

  .info a:hover {
    color: #ccc;
  }

  .info p {
    margin: 10px 0;
    line-height: 1.6;
  }

  .info strong {
    display: inline-block;
    width: 80px;
  }

/* Media query untuk layar kecil (maksimal 768px) */
@media (max-width: 768px) {
  .ketentuan-container {
    flex-direction: column; /* Ubah tata letak dari horizontal ke vertikal */
    gap: 15px; /* Sesuaikan jarak antar kotak */
  }

  .ketentuan-box {
    padding: 15px; /* Kurangi padding agar lebih sesuai */
    font-size: 0.85rem; /* Sesuaikan ukuran teks untuk layar kecil */
  }

  .ketentuan-box h6 {
    font-size: 1rem; /* Ukuran heading lebih kecil */
  }
 
}