/* styles.css */
body {
  font-family: "Kanit", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

header {
  background: #333;
  color: #fff;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

header .logo img {
  max-height: 50px;
  vertical-align: middle;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
}

.hero {
  background: url("../images/hero.jpg") no-repeat center center/cover;
  color: #000000;
  height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 5px;
  border: 1px solid #ddd;
  box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.1);
}

.hero h1 {
  margin: 0;
  font-size: 3em;
}

section {
  padding: 20px;
  text-align: center;
}

#products .product-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.product-item {
  margin: 10px;
  padding: 10px;
  border: 1px solid #ddd;
  width: 200px;
  border-radius: 5px;
  box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.1);
}

.product-item :hover {
  transform: scale(1.1);
}

.product-item img {
  max-width: 100%;
  height: auto;
}

footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 10px 0;
}

footer .social-media {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
  display: flex;
  justify-content: center;
}

footer .social-media li {
  margin: 0 10px;
}

footer .social-media li a {
  color: #fff;
  text-decoration: none;
}

/* Responsive Design */
.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    width: 100%;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
    text-align: left;
  }

  nav ul li {
    margin: 10px 0;
  }

  .hero h1 {
    font-size: 2em;
  }

  .product-item {
    width: 100%;
  }

  nav.active {
    display: block;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5em;
  }

  nav ul li {
    margin: 5px 0;
  }
}
