* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
}

main {
  flex: 1;
  padding: 10px;
  background-color: #fff;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #111;
  padding: 20px 40px;
}


.left-header {
  display: flex;
  align-items: center;
}

.logo {
  height: 90px;
  width: auto;
  margin-right: 20px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.25);
  cursor: pointer;
}
nav {
  display: flex;
  gap: 40px;
  margin-left: 80px; 
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 32px;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

.right-header {
  display: flex;
  align-items: center;
  gap: 20px;
}
.search-bar {
  display: flex;
  align-items: center;
  background: white;
  padding: 5px;
  border-radius: 5px;
}

.search-bar input {
  border: none;
  outline: none;
  padding: 5px 10px;
}

.search-bar button {
  background: transparent; 
  color: black; 
  border: none;
  font-size: 18px;
  padding: 6px 10px;
  cursor: pointer; 
}

.cart-icon {
  font-size: 36px;
  color: white;
  cursor: pointer;
}

main {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 150px; 
  padding: 50px 30px;
  flex-wrap: wrap;
  margin-top: 50px;
  margin-bottom: 50px;
}


.logo-box img {
  width: 700px;
  margin-left: 10px; 
  margin-top: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);

}


.form-box {
  background-color: #e0e0e0;
  padding: 50px;
  border-radius: 0px;
  max-width: 650px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.form-box h2 {
  margin-bottom: 20px;
}

.form-box form {
  display: flex;
  flex-direction: column;
}

.form-box input,
.form-box select {
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  cursor: pointer;
}

.checkbox {
  font-size: 14px;
  margin-bottom: 15px;
}

.form-box button {
  background-color: #333;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

footer {
  background-color: black;
  color: white;
  padding: 10px 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 19px;
  line-height: 1.6;
}

.footer-logo {
  width: 150px; 
  height: auto;
  margin-bottom: 20px;
}

footer .section {
  margin: 10px;
  font-weight: 400;
}

footer .section h4 {
  margin-bottom: 10px;
  font-weight: 600;
}

footer .section a {
  display: block;
  color: white;
  text-decoration: none;
  margin-bottom: 5px;
  font-size: 19px;
}

footer .section a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  nav {
    flex-direction: column;
    gap: 15px;
    margin-left: 0;
    font-size: 24px;
  }

  .right-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 15px;
  }

  .search-bar input {
    width: 150px;
  }

  main {
    flex-direction: column;
    gap: 30px;
    padding: 30px 20px;
  }

  .logo-box img {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .form-box {
    padding: 30px 20px;
    width: 100%;
  }

  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  footer .section {
    margin: 20px 0;
  }

  .logo {
    height: 70px;
  }
}

/* --- HOVER EFFECT UNTUK LOGO --- */
.logo:hover {
  transform: scale(1.25);
  transition: transform 0.3s ease;
  cursor: pointer;
}
