* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-item {
  text-emphasis-color: #ffffff;
  color: blanchedalmond;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f8f8;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 20px 0;
  position: sticky;
}

header {
  background-color: #4d2900;
  color: #fff;
  padding: 20px 0;
  position: relative;
  z-index: 1000;
}

header h1 {
  text-align: center;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin-top: 10px;
}

nav ul li {
  margin: 0 15px;
  position: relative;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.hero {
  background: url('garden set/Garden03/Macouria-Patio-Chair-Set\ \(1\).jpg') no-repeat center center/cover;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4d2900;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  background: rgba(255, 255, 255, 0.6);
  padding: 10px;
}

.produk {
  background-color: #fff;
  padding: 40px 0;
}

.produk h2 {
  text-align: center;
  margin-bottom: 30px;
}

.produk-grid {
  display: flex;
  gap: 20px;
  justify-content: space-around;
  flex-wrap: wrap;
}

.produk-item {
  background: #f0f0f0;
  padding: 15px;
  text-align: center;
  border-radius: 10px;
  width: 30%;
}

.produk-item img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.tentang,
.kontak {
  background-color: #e8e8e8;
  padding: 40px 0;
}

.tentang h2,
.kontak h2 {
  text-align: center;
  margin-bottom: 20px;
}

footer {
  background-color: #4d2900;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 20px;
}


.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Menu toggle */
.menu-toggle {
  display: none;
  background: none;
  font-size: 24px;
  color: white;
  border: none;
  cursor: pointer;
  margin-top: 10px;
}

/* Responsive Navigation */
@media (max-width: 768px) {
  .main-menu {
    flex-direction: column;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #4d2900;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 999;
  }

  .main-menu.active {
    display: flex;
  }

  .main-menu li {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-menu li:last-child {
    border-bottom: none;
  }

  .main-menu a {
    padding: 15px 20px;
    border-radius: 0;
  }

  .menu-toggle {
    display: block;
    margin: auto;
  }

  /* Mobile submenu styles */
  .submenu {
    position: static;
    transform: none;
    margin-top: 0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    background: #5a3200;
    border-radius: 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .submenu.active {
    transform: none;
  }

  .submenu li a {
    padding: 12px 40px;
    font-size: 14px;
  }

  .submenu li:first-child a,
  .submenu li:last-child a {
    border-radius: 0;
  }
}


.main-menu {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.main-menu a {
  color: #fff !important;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 15px;
  display: block;
  transition: background-color 0.3s ease;
}

.main-menu a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.has-submenu {
  position: relative;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #6c3900;
  display: none;
  flex-direction: column;
  min-width: 200px;
  z-index: 9999;
  border-radius: 8px;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 5px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: all 0.3s ease;
}

.submenu.active {
  display: flex;
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.has-submenu:hover .submenu {
  display: flex;
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.submenu li {
  list-style: none;
  margin: 0;
}

.submenu li a {
  padding: 12px 20px;
  color: #fff;
  white-space: nowrap;
  border-radius: 0;
  transition: background-color 0.3s ease;
}

.submenu li:first-child a {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.submenu li:last-child a {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.submenu li a:hover {
  background-color: #a97443;
}

.btn-gradient {
  padding: 10px 20px;
  background: linear-gradient(45deg, #a97443, #1d0925);
  border: none;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease-in-out, transform 0.3s ease-in-out;
  transform: scale(1.05);
}

