body {
  font-family: 'Roboto', sans-serif;
  background: #242424;
  color: #000;
  margin: 0;
  padding: 0;
}

header {
  background: #E4D25C;
  border-bottom: 1px solid #000;
}

.navbar {
  display: flex;
  padding: 0 32px;
  height: 56px;
display: flex;
  /* Membuat logo di kiri dan hamburger/menu di kanan */
  justify-content: space-between; 
  align-items: center;
  color: white;
  position: relative;  
}

.logo {
  display: flex;
  align-items: center;
}

/* Reset Dasar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

/* Navbar Style */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background-color: #e4d25c;
  color: white;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
	  color: #000;
  text-decoration: none;
  text-transform: uppercase;
  margin-left: 24px;
  font-weight: 400;
  font-size: 9pt;
  transition: color 0.3s;
}

/* Sembunyikan Checkbox & Hamburger di Desktop */
#menu-toggle, .hamburger {
  display: none;
  cursor: pointer;
  font-size: 24px;
}

/* --- Tampilan Mobile (Max 768px) --- */
@media (max-width: 768px) {
  .hamburger {
    display: block; /* Hamburger muncul di sisi kanan secara otomatis */
	float:right;
    order: 2; /* Memastikan hamburger tetap setelah logo */
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #fdeb7f;
    position: absolute;
    top: 100%; /* Muncul tepat di bawah navbar */
    left: 0;
    max-height: 0; /* Menu tertutup secara default */
    overflow: hidden;
    transition: all 0.4s ease-in-out;
  }

  .nav-links li {
    margin: 0;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  /* Logika Toggle: Saat label/hamburger diklik */
  #menu-toggle:checked ~ .nav-links {
    max-height: 500px; /* Menu terbuka */
  }
}
nav a {
  color: #000;
  text-decoration: none;
  margin-left: 24px;
  font-weight: 700;
  transition: color 0.2s;
  font-family: 'Roboto', sans-serif;
}

.nav-links a:hover,nav a:hover {
  color: #747474;
text-decoration: underline overline #481420;
text-underline-offset: 4px;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  border-bottom: 0px solid #000;
  padding: 0 0;
  align-items: center;
  justify-content: space-between;
}

.hero-left {
  flex: 0 0 32%;
  margin-right: 0px;
  margin-left: 0px;
  
  min-width: 370px; /* Batas minimum sebelum pindah baris */  
}

.hero-left h1, .hero-leftbox h1 {
  font-family: 'Righteous', cursive;
  font-size: 1.6rem;
  font-weight:400;
  color: #000;
  margin-bottom: 16px;
}
.hero-leftbox {
width: 100%;
min-width:370px;
padding: 28px 32px 0 32px;
}
.hero-leftbox.top{
border-bottom: 1px solid #000;
padding-bottom: 20px;
}
.btn-primary {
  background: #E4D25C;
  color: #000;
  border: 1px solid #000;
  padding: .5em .8em;
  font-size: .8rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  border-radius: 4px;
  margin-bottom: 18px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.07);
}

.btn-primary:hover {
  background: #000;
  color: #E4D25C;
}

.hero-left .desc {
  color: #747474;
  font-size: 1rem;
  line-height: 1.6;
}

.hero-right {
  flex: 0 0 68%;
  display: flex;
float:left;
  min-width: 300px;
 background-image: url("img/bghero.png");
}
.hero-right img {
  max-width: 100%; /* Gambar tidak akan lebih lebar dari container */
  height: auto !important; /* Menjaga rasio foto */
  float: none !important; /* Mematikan float agar tidak berantakan di mobile */
  object-fit: cover;
}
.divider {
  background: #d9d9d9;
  color: #481420;
  font-size: 1.8rem;
  text-align: center;
  padding: 12px 0;
  border-bottom: 1px solid #000;
  border-top: 1px solid #000;
  letter-spacing: 1px;
}
.divider span{
  font-family: 'Righteous', cursive;
}
.features {
  display: flex;
  background: #fff;
  border-bottom: 1px solid #000;
  padding: 0;
}

.feature-img {
  flex: 0 0 32%;
  min-width: 220px;
  border-right: 1px solid #000;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: #fff;
  padding: 0;
}

.feature-boxes {
  flex: 1 1 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 0;
}

.feature-box {
  border-bottom: 1px solid #000;
  border-right: 1px solid #000;
  padding: 24px 32px;
  font-family: 'Roboto', sans-serif;
  color: #242424;
  background: #E4D25C;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform .1s;
}

.feature-box h2 {
  font-family: 'Righteous', cursive;
  font-size: 1.4rem;
  line-height: 45px;
  margin: 0;
  color: #000;
  width:100%;
}
.feature-box h2 img {
margin: 0 5px -15px 0;
} 
.feature-box p {
  font-size: 1rem;
  color: #242424;
  line-height: 1.8;
}

.feature-box.yellow {
  background: #E4D25C;
}

.feature-box.gray {
  background: #F5F5F5;
}
.feature-box:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border:1px solid #000;
}
.feature-boxes .feature-box:nth-child(2),
.feature-boxes .feature-box:nth-child(4) {
  border-right: none;
}

.feature-boxes .feature-box:nth-child(3),
.feature-boxes .feature-box:nth-child(4) {
  border-bottom: none;
}

/* Responsive */
@media (max-width: 900px) {
  .features {
    flex-direction: column;
  }
  .feature-img {
    border-right: none;
    border-bottom: 1px solid #000;
    min-width: 0;
    width: 100%;
    justify-content: center;
  }
  .feature-boxes {
    display: flex;
    flex-direction: column;
  }
  .feature-box {
    border-right: none;
    border-bottom: 1px solid #000;
  }
  .feature-box:last-child {
    border-bottom: none;
  }
}
.founder {
  display: flex;
  background: #fff;
  padding: 0 5vw;
  align-items: flex-start;
}
.founder-img {
  margin: 0 0;
  padding: 0 3px;
  border-right: 1px solid #000;
  height:248px;
}
.founder-img img {
  width: 370px; /* Gambar tidak akan lebih lebar dari container */
  height:248px;
  height: auto !important; /* Menjaga rasio foto */
  float: none !important; /* Mematikan float agar tidak berantakan di mobile */
  object-fit: cover;
}
.founder-desc {
padding: 32px 0 0 32px;
}
.founder-desc h3 {
  font-family: 'Righteous', cursive;
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #000;
}

.founder-desc p {
  color: #242424;
  font-size: 1rem;
  margin-bottom: 8px;
}

.founder-desc b {
  color: #747474;
  font-size: 1rem;
}

.produk {
  background: #797d86;
  height: 329px;
  border-bottom: 1px solid #000;
  background-image: linear-gradient(rgb(255 255 255 / 0.5), rgb(0 0 0 / 0.9)), url('img/banner-tengah.jpg');
  background-size: cover;
}

.produk-content {
  display: flex;
  align-items: center;
  justify-content: center;
}
.produk-content a img{
margin:0 0;
padding:0 0;
}
.produk-content a:hover{
filter: contrast(120%);
}

.pengalaman {
  display: flex;
  background: #fff;
  padding: 0 0;
  align-items: center;
  border-bottom: 1px solid #000;
}

.pengalaman-img {
  margin-right: 32px; 
  float:left;
  height:277px; 
}

.pengalaman-desc {
  flex: 1;
  padding: 15px 15px;
}

.pengalaman-desc p {
  color: #242424;
  font-size: 1rem;
  margin-bottom: 12px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 320px;
}

.login-form input {
  padding: 10px 12px;
  font-size: 1rem;
  border: 1px solid #747474;
  border-radius: 2px;
  outline: none;
  font-family: 'Roboto', sans-serif;
}

.btn-secondary {
  background: #242424;
  color: #E4D25C;
  border: none;
  padding: 10px 0;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-secondary:hover {
  background: #E4D25C;
  color: #242424;
}

.forgot {
  color: #747474;
  font-size: 0.95rem;
  text-decoration: none;
  margin-top: 4px;
  transition: color 0.2s;
}

.forgot:hover {
  color: #000;
  text-decoration: underline;
}
.footer {
  display: flex;
  background: #e4d25c;
  padding: 20px 5vw;
  align-items: flex-start;
}
.footer-content {
padding: 0 0;
color: #403b19;
font-size: 9pt;
}
/* Responsive */
@media (max-width: 1024px) {
  .hero, .founder, .produk, .pengalaman {
    flex-direction: column;
    padding: 24px 2vw;
  }
  .produk-content {
    flex-direction: column;
    gap: 18px;
  }
  .features {
    flex-direction: column;
  }
  .feature-img, .feature-box {
    border-right: none;
    border-bottom: 1px solid #000;
    min-width: 0;
  }
  .feature-box:last-child {
    border-bottom: none;
  }
}

@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 8px 8px;
  }
  nav a {
    margin-left: 0;
    margin-right: 14px;
    display: inline-block;
    margin-bottom: 4px;
  }
  .hero, .founder, .produk, .pengalaman {
    padding: 14px 2vw;
  }
}

main {
  display: flex;
  min-height: 100vh;
  background: #242424;
}

.sidebar-kosong {
  width: 3%;
  min-width: 50px;
  background: #000;
  border-right: 1px solid #000;
  height: 100vh;
  /* Pastikan sidebar selalu full height */
  position: sticky;
  top: 0;
  z-index: 2;
}

.main-content {
  flex: 1 1 0;
  background: transparent;
  min-width: 0;
}

/* Sembunyikan sidebar di mobile */
@media (max-width: 900px) {
  .sidebar-kosong {
    display: none;
  }
  main {
    flex-direction: column;
  }
}