
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #e7e1cd; /* warna background halaman */
  }

  .navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: #f5f3eb;
    padding: 10px 20px;
    border-bottom: 1px solid #ccc;
    height: 60px;
  }
  
  .logo {
    position: absolute;
    left: 20px;
    font-size: 25px;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
}
  
.menu {
  display: flex;
  gap: 30px;
}
  
  .menu a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: 500;
  }
  
  .menu a:hover {
    color: #6cbf43; /* warna hover hijau */
    font-weight: bold;
  }

  .menu a.active {
    color: #6cbf43;
    font-weight: bold;
  }

/* login mobile di dalam menu (dropdown) */
.menu .login-mobile {
  display: none;
  color: #333;
  border-radius: 6px;
  text-decoration: none;
}



/* hide versi desktop saat mobile */
.desktop-only {
  display: block;
}

  .login-button {
  position: absolute;
  right: 20px;
}

  .login-button a {
  background-color: #6b4b2b;
  color: white;
  padding: 6px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
 }

 .login-button a:hover {
  background-color: #5a3f23;
}

  .hamburger {
    display: none;
    font-size: 26px;
    cursor: pointer;
    position: absolute;
    right: 20px;
  }

  .hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 8%; /*tdnya 60px 40px*/
    background-color: #EBDAB3;
    flex-wrap: wrap;
    
  }
  
  .hero-text {
    max-width: 600px;
  }
  
  .hero-text h1 {
    font-size: 52px;
    color: #3c2f23;
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 700;
  }
  
  .hero-text p {
    font-size: 18px;
    color: #5f5143;
    margin-bottom: 25px;
  }
  
  /*.search-box {
    display: flex;
    background: #fff;
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    max-width: 400px;
  }
  
  .search-box input {
    border: none;
    padding: 12px 20px;
    flex: 1;
    font-size: 16px;
    outline: none;
  }
  
  .search-box button {
    background-color: #6cbf43;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
  }*/
  
  .hero-image img {
    max-width: 300px;
    height: auto;
  }
  
  .dropdown.desktop-only {
  display: none;
}

  .dropdown {
  position: absolute;
  right: 20px;
  
}

.dropbtn {
  background-color: #2e7d32;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #fff;
  min-width: 120px;
  box-shadow: 0px 2px 8px rgba(0,0,0,0.1);
  z-index: 1;
  border-radius: 8px;
  overflow: hidden;
}

.dropdown-content a {
  color: #333;
  padding: 10px 12px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1dfb4;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Munculkan tombol akun hanya di desktop */
@media (min-width: 769px) {
  .dropdown.desktop-only {
    display: inline-block;
  }

  .login-button.desktop-only {
    display: block;
  }
}




/* Responsif layout */
@media (max-width: 768px) {
  .navbar {
    justify-content: space-between;
  }
  
  

  .dropdown.desktop-only,
  .login-button.desktop-only {
    display: none;
  }

  .menu .login-mobile {
    display: block;
  }

  .menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #f5f3eb;
    width: 200px;
    padding: 10px 20px;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px 0 0 8px;
  }

  .menu.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .search-box {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .search-box input,
  .search-box button {
    width: 100%;
    border-radius: 0;
  }

  .search-box button {
    border-radius: 0 0 8px 8px;
  }

  .hero-image img {
    max-width: 80%;
    margin-top: 20px;
  }
}












