
body {
  font-family: 'Sarabun', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
  color: #333;
}

.responsive-img {
  max-width: 1024px;
  width: 100%;
  height: auto;
  display: block;
  margin: auto;
}

.nav-header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 1000;
}

.nav-header.scrolled {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1024px;
  margin: auto;
  padding: 0.5rem 1rem;
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ff5722;
}

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-menu {
  display: flex;
  gap: 1rem;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 0.5rem 0;
}

.nav-menu a:hover {
  color: #ff5722;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: white;
    padding: 1rem 0;
  }

  .nav-menu.show {
    display: flex;
  }

  .nav-menu a {
    padding: 0.75rem 1rem;
  }
}

.hero-video {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ff5722;
  text-shadow:
    -1px -1px 0 #ffffff,
     1px -1px 0 #ffffff,
    -1px  1px 0 #ffffff,
     1px  1px 0 #ffffff,
     0px  0px 10px rgba(0,0,0,0.2);

  animation: fadeInUp 1s ease-out forwards;
  opacity: 0; /* ซ่อนไว้ก่อน animation */
}

.intro, .features, .reviews, .faq {
  max-width: 1024px;
  margin: auto;
  padding: 2rem 1rem;
}

.bg-light {
  background-color: #f4f7fb;
}

.bg-section {
  background-color: #f9f9f9;
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 0.5rem;
  overflow: hidden;
}

.size-table th,
.size-table td {
  padding: 12px 16px;
  border: 1px solid #ddd;
  text-align: center;
}

.size-table thead {
  background-color: #f0f0f0;
  font-weight: bold;
  color: #444;
}

.product-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 1rem;
}

.product-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 300px;
  text-align: center;
  padding: 1rem;
}

.product-card img {
  max-width: 100%;
  border-radius: 0.5rem;
}

.product-card h3 {
  margin: 0.5rem 0;
}

.btn-shopee {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background-color: #ee4d2d;
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-shopee:hover {
  background-color: #d93c1e;
  transform: scale(1.05);
}

.btn-line {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #00b900;
  color: white;
  padding: 1rem;
  border-radius: 50%;
  font-size: 1.5rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  z-index: 1000;
}

.btn-line:hover {
  transform: scale(1.1) rotate(3deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.footer {
  text-align: center;
  font-size: 0.9rem;
  color: #888;
  padding: 1rem;
  background-color: #f0f0f0;
}
