/*
 * Global Stylesheet for 太旺旺健康用品贸易公司官方网站
 *
 * The design draws inspiration from modern wellness and
 * traditional Chinese aesthetics. Deep red and muted gold
 * accents recall the warmth of lacquer and the refined
 * textures of silk. A clean sans-serif typeface maintains
 * readability for both Chinese and Latin characters.  
 */

/* Reset basic defaults */
html, body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans SC", "Noto Sans JP", Arial, sans-serif;
  color: #333333;
  background-color: #faf7f5;
  line-height: 1.6;
}

/* Navigation bar */
.navbar {
  background-color: #7d1200; /* deep red reminiscent of cinnabar */
  padding: 0.5rem 1rem;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}
.navbar li {
  margin: 0 1rem;
}
.navbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem;
  transition: color 0.3s ease;
}
.navbar a:hover {
  color: #ffd700; /* soft gold on hover */
}

/* Hero section */
.hero {
  background-image: url('hero.png');
  background-size: cover;
  background-position: center;
  height: 60vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}
.hero-overlay {
  background: rgba(0, 0, 0, 0.4);
  padding: 2rem;
  border-radius: 8px;
  max-width: 90%;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}
.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.hero .button {
  background-color: #e09200; /* rich gold */
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.hero .button:hover {
  background-color: #c07b00;
}

/* Section styling */
section {
  padding: 3rem 1rem;
  max-width: 1100px;
  margin: 0 auto;
}
section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #7d1200;
  letter-spacing: 1px;
}

/* About section */
.about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Category grid */
.categories .category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.category-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 10px rgba(0,0,0,0.1);
}
.category-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
}
.category-card h3 {
  color: #7d1200;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}
.category-card p {
  font-size: 0.95rem;
  color: #555;
}

/* Services and contact sections */
.services p, .contact p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
}
.contact {
  background-color: #f3ede7;
  border-top: 1px solid #e5d7c6;
  border-bottom: 1px solid #e5d7c6;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background-color: #7d1200;
  color: #fff;
  font-size: 0.9rem;
}