/* Bagian Navbar */
*,html {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background-color: #ffffff;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: aliceblue;
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.menu-burger {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 150px;
  z-index: 1000;
  background-color: rgba(240, 248, 255, 0.219);
  backdrop-filter: blur(10px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 2rem;
  padding: 1rem;
}

.menu-icon{
  display: none;
}

nav ul {
  display: flex;
  list-style: none;
  align-items: center;
}

.Logo{
  display: flex;
  align-items: center;
  gap: 6px;
}

.Gambar{
  display: flex;
  text-align: center;
}

.Gambar img {  
  width: 50px;
}

nav ul li a{
  text-decoration: none;
  font-family: 'Times New Roman', Times, serif;
  color: black;
  font-weight: 600;
  padding: 10px 25px;
  transition: all;
  transition-duration: 0.5s;
  border-bottom: 1px solid rgba(165, 42, 42, 0);
}

nav ul li a:hover{
  color: brown;
  border-bottom: 1px solid brown;
}

/* Bagian Judul */
.pembungkus {
  display: flex;
  padding: 50px;
  padding-top: 100px;
}

.gambar {
  flex : 1;
  max-width: 45%;
}

.gambar img {
  width: 100%;
  max-width: 450px;
  border-radius: 10px;
  background-color: rgba(222, 222, 231, 0.984);
}

.judul-teks {
  flex: 1.3;
  margin-top: 20px;
}

.judul-teks h1 {
  font-size: 36px;
  margin-bottom: 30px;
}

.judul-teks p {
  font-size: 16px;
  line-height: 1.6;
}

.pragraf {
  margin-bottom: 20px;
  padding-top: 20px;
}

button {
  background-color: #5c3b1f;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
}

.pembungkus button:hover {
  color: brown;
}

/* Main Artikel*/
.pembungkus2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px 50px;
}

.kartu {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.kartu-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.isi-kartu {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  width: 100%;
  padding: 15px;
  text-align: center;
}

.isi-kartu h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.isi-kartu p {
  font-size: 14px;
  margin-bottom: 10px;
}

.isi-kartu button {
  padding: 8px 12px;
  background-color: #ccc;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  color: #000;
  font-weight: bold;
  transition: background 0.3s;
}

.isi-kartu button:hover {
  background-color: #aaa;
}

/* Bagian Footer */
.pembungkus-footer {
  background-color: #666; 
  padding: 40px;
  color: #fff;
}

.isi-footer {
  display: flex;
  gap: 40px;
  font-family: 'Times New Roman', Times, serif;
}

.kolom-footer {
  flex: 1;
  min-width: 200px;
}

.kolom-footer.tengah {
  text-align: center;
}

.kolom-footer.kanan {
  text-align: right;
}

.logo-rumah {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-rumah img {
  width: 70px;
}

.judul-footer h2 {
  margin: 0;
}

.judul-footer h3 {
  color: #f0c674;
  margin: 0;
}

.penjelasan {
  margin-top: 10px;
  max-width: 300px;
}

.kolom-footer h4 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: bold;
}

.kolom-footer ul {
  list-style: none;
  padding: 0;
}

.kolom-footer li {
  margin-bottom: 6px;
}

.kolom-footer a {
  color: #ddd;
  text-decoration: none;
}

.kolom-footer a:hover {
  color: brown;
}

/* Responsive */
@media (max-width: 768px) {
  .sembunyikan {
    display: none;
  }

  .menu-icon {
    display: block;
    cursor: pointer;
  }

  .pembungkus {
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
  }

  .judul-teks h1 {
    font-size: 28px;
  }

  .gambar {
    margin-top: 70px;
  }

  .gambar, .judul-teks {
    max-width: 100%;
    padding: 0;
    text-align: center;
  }

  .pembungkus2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .isi-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .kolom-footer.tengah,
  .kolom-footer.kanan {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .pembungkus2 {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .judul-teks h1 {
    font-size: 22px;
  }

  .isi-kartu h3 {
    font-size: 14px;
  }

  .isi-kartu p {
    font-size: 12px;
  }

  nav ul li a {
    font-size: 14px;
  }

  .penjelasan {
    max-width: 100%;
  }
}