/* CSS 变量 */
:root {
  --color-yellow: rgb(246, 193, 53);
  --color-black: #000000;
  --color-gray: #666666;
  --color-gray-light: #f5f5f5;
  --color-white: #ffffff;
  --font-family: "Microsoft YaHei", Arial, "Helvetica Neue", Helvetica, sans-serif;
  --max-width: 1200px;
}

/* 全局重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--color-black);
  line-height: 1.6;
  background-color: var(--color-white);
}

/* 容器 */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* 链接 */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* 图片 */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 列表 */
ul, ol {
  list-style: none;
}

/* 标题 */
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
}

/* ===== Header ===== */
.header {
  background-color: var(--color-white);
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo img {
  height: 60px;
  width: auto;
}

.nav-list {
  display: flex;
  gap: 40px;
}

.nav-list li a {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-black);
  transition: color 0.3s;
  text-decoration: none;
}

.nav-list li a:hover {
  color: #f60;
  text-decoration: none;
}

/* ===== Hero ===== */
.hero {
  width: 100%;
}

.hero-bg {
  background-color: var(--color-yellow);
  min-height: 600px;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 600px;
  padding: 60px 0;
}

.hero-left {
  flex: 1;
  padding-right: 60px;
}

.brand-name {
  font-size: 72px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--color-black);
}

.brand-subtitle {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 500;
}

.brand-tagline {
  font-size: 32px;
  font-weight: bold;
  margin: 30px 0;
}

.brand-desc {
  font-size: 18px;
  margin-bottom: 10px;
}

.brand-note {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--color-gray);
}

.brand-slogan {
  font-size: 20px;
  font-weight: 500;
}

.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  max-width: 450px;
  border-radius: 10px;
}

/* ===== Section Header ===== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title-cn {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
}

.section-title-en {
  font-size: 18px;
  color: var(--color-gray);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.section-line {
  width: 60px;
  height: 3px;
  background-color: var(--color-yellow);
  margin: 0 auto;
}

/* ===== Story ===== */
.story {
  padding: 80px 0;
  background-color: var(--color-white);
}

.story-content {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.story-text {
  flex: 1;
  background-color: var(--color-gray-light);
  padding: 40px;
  border-radius: 10px;
}

.story-motto {
  font-size: 18px;
  line-height: 2;
  margin-bottom: 20px;
}

.story-motto strong {
  color: #f60;
}

.story-slogan {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}

.story-highlight {
  font-size: 16px;
  color: #f60;
  font-weight: 500;
}

.story-intro {
  flex: 1;
  font-size: 16px;
  line-height: 2;
  color: var(--color-gray);
}

/* ===== Products ===== */
.products {
  padding: 80px 0;
  background-color: var(--color-gray-light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-item {
  background-color: var(--color-white);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-name {
  padding: 20px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
}

/* ===== Contact ===== */
.contact {
  padding: 80px 0;
  background-color: var(--color-white);
}

.contact-content {
  display: flex;
  gap: 60px;
}

.contact-info {
  flex: 1;
}

.contact-hours {
  margin-bottom: 40px;
  padding: 20px;
  background-color: var(--color-gray-light);
  border-radius: 10px;
}

.contact-hours h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.contact-hours p {
  color: var(--color-gray);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 16px;
}

.contact-item .icon {
  font-size: 20px;
}

.contact-form {
  flex: 1;
  padding: 40px;
  background-color: var(--color-gray-light);
  border-radius: 10px;
}

.contact-form h3 {
  font-size: 20px;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-yellow);
}

.form-textarea {
  resize: vertical;
}

.form-submit {
  background-color: var(--color-yellow);
  color: var(--color-black);
  border: none;
  padding: 12px 40px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.form-submit:hover {
  background-color: #e5b02f;
}

/* ===== Footer ===== */
.footer {
  background-color: #1a1a1a;
  color: #fff;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-left {
  flex: 1;
}

.footer-logo {
  height: 50px;
  margin-bottom: 20px;
}

.footer-copyright {
  color: #999;
  font-size: 14px;
}

.footer-center {
  flex: 1;
}

.footer-right {
  flex: 1;
}

.footer h4 {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--color-yellow);
}

.footer-links,
.footer-info {
  list-style: none;
}

.footer-links li,
.footer-info li {
  margin-bottom: 12px;
  font-size: 14px;
  color: #ccc;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--color-yellow);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
}

.footer-bottom a {
  color: #666;
  text-decoration: none;
  font-size: 12px;
}

.footer-bottom a:hover {
  color: var(--color-yellow);
}

.footer-bottom span {
  color: #666;
  margin: 0 10px;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-left {
    padding-right: 0;
    margin-bottom: 40px;
  }

  .brand-name {
    font-size: 48px;
  }

  .brand-tagline {
    font-size: 24px;
  }

  .story-content {
    flex-direction: column;
  }

  .contact-content {
    flex-direction: column;
  }

  .section-title-cn {
    font-size: 28px;
  }
}

@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-logo {
    height: 40px;
  }
}
