body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f8f8f8;
  color: #333;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  color: black;
  padding: 10px 20px;
}

.navbar .logo {
  font-weight: bold;
  letter-spacing: 2px;
}

.navbar ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.navbar ul li {
  margin-left: 20px;
}

.navbar ul li a {
  color: black;
  text-decoration: none;
}

.hero {
  background: url('../assets/hero-bg.jpg') center/cover no-repeat;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero-text h1 {
  font-size: 48px;
  letter-spacing: 3px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  text-shadow: 0 4px 16px rgba(0,0,0,0.12);
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 20px;
}

.intro {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background: white;
  border-radius: 8px;
}

footer {
  background: #eee;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: #666;
}

.tab-link.active {
  font-weight: bold;
  border-bottom: 2px solid #333;
}

.products {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.product-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.product-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  background: #fff;
  display: block;
}

.hero-text.nutrition-active {
  background: rgba(30, 30, 30, 0.55);
  padding: 24px 18px;
  border-radius: 16px;
  display: inline-block;
}
.hero-text.nutrition-active h1 {
  color: #FFD700;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.hero-text.nutrition-active p {
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.18);
}

.dropdown {
  position: relative;
}
/* 修复导航栏下拉菜单被flex影响导致横排和显示问题 */
.navbar > ul {
  display: flex;
}
.navbar > ul > li {
  display: flex;
  align-items: center;
  position: relative;
}
.dropdown-menu {
  display: none !important;
  position: absolute;
  left: 0;
  top: 100%;
  background: #fff;
  min-width: 180px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  border-radius: 8px;
  z-index: 10;
  padding: 8px 0;
  flex-direction: column !important;
}
.dropdown.show-dropdown > .dropdown-menu {
  display: flex !important;
}
.dropdown-item {
  display: block;
  padding: 10px 20px;
  color: #222;
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.dropdown-item:hover {
  background: #f5f5f5;
  color: #c89d2f;
}

.hero-luxury {
  background-size: cover;
  background-position: center;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  position: relative;
}
.hero-luxury::after {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: linear-gradient(120deg, rgba(0,0,0,0.45) 60%, rgba(212,175,55,0.18) 100%);
  z-index: 1;
}
.hero-luxury-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}
.luxury-title {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: #FFD700;
  letter-spacing: 3px;
  margin-bottom: 18px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.luxury-desc {
  font-size: 22px;
  margin-bottom: 32px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.luxury-btn {
  display: inline-block;
  background: linear-gradient(90deg, #FFD700 60%, #fffbe6 100%);
  color: #222;
  font-weight: bold;
  font-size: 18px;
  padding: 12px 38px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(212,175,55,0.10);
  transition: background 0.2s, color 0.2s;
}
.luxury-btn:hover {
  background: #fffbe6;
  color: #bfa43a;
}
.luxury-products {
  background: #fffbe6;
  padding: 48px 0 32px 0;
}
.luxury-product-list {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.luxury-product {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(212,175,55,0.08);
  padding: 18px 18px 10px 18px;
  max-width: 260px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.luxury-product img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.luxury-product:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 8px 32px rgba(212,175,55,0.18);
}
@media (max-width: 800px) {
  .luxury-product-list {
    gap: 18px;
  }
  .luxury-title {
    font-size: 32px;
  }
  .luxury-desc {
    font-size: 16px;
  }
  .hero-luxury {
    height: 320px;
  }
}

@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 8px;
  }
  .navbar ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    display: flex;
    flex-direction: row;
    width: 100vw;
    margin-left: -8px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
  }
  .navbar ul::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Webkit */
  }
  .navbar ul li {
    margin-left: 12px;
    white-space: nowrap;
  }
  .hero {
    height: 220px;
    padding: 0 8px;
  }
  .hero-text h1 {
    font-size: 28px;
  }
  .hero-text p {
    font-size: 16px;
  }
  .product-img {
    max-width: 98vw;
    border-radius: 6px;
  }
  .products {
    margin: 16px 0;
  }
  .intro {
    padding: 10px;
    margin: 16px 0;
  }
}

.about-tabs {
  display: flex;
  justify-content: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}
.about-tab {
  background: #fffbe6;
  color: #bfa43a;
  border: none;
  outline: none;
  font-size: 17px;
  font-family: inherit;
  padding: 10px 32px;
  border-radius: 24px 24px 0 0;
  cursor: pointer;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(212,175,55,0.06);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  border-bottom: 2px solid transparent;
}
.about-tab.active {
  background: #FFD700;
  color: #222;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(212,175,55,0.12);
  border-bottom: 2px solid #FFD700;
}
.about-tab:hover:not(.active) {
  background: #fff3b0;
  color: #a88b1c;
}
.about-tab-content {
  background: #fff;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 2px 12px rgba(212,175,55,0.06);
  padding: 32px 24px 24px 24px;
  margin-bottom: 32px;
}
@media (max-width: 600px) {
  .about-tabs {
    gap: 8px;
    margin-bottom: 16px;
  }
  .about-tab {
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 16px 16px 0 0;
  }
  .about-tab-content {
    padding: 16px 6px 12px 6px;
  }
}
