/* 全局样式 */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

a {
  text-decoration: none;
  color: #333;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/* 导航栏样式 */
#navbar {
  background-color: #003366;
  color: #fff;
  padding: 10px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

.nav-menu {
  display: flex;
}

.nav-item {
  margin-left: 20px;
}

.nav-item a {
  transition: color 0.3s ease;
}

.nav-item a:hover {
  color: #99CCFF;
}

.search-container {
  display: flex;
  align-items: center;
}

.search-container input {
  padding: 5px 10px;
  border: none;
  border-radius: 5px 0 0 5px;
}

.search-container button {
  background-color: #99CCFF;
  color: #fff;
  border: none;
  border-radius: 0 5px 5px 0;
  padding: 5px 10px;
  cursor: pointer;
}

.user-actions a {
  margin-left: 20px;
  transition: color 0.3s ease;
}

.user-actions a:hover {
  color: #99CCFF;
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 3px 0;
  transition: 0.4s;
}

/* 轮播图样式 */
#carousel {
  position: relative;
  margin-top: 60px;
}

.carousel-slide {
  display: none;
}

.carousel-slide.active {
  display: block;
}

#carousel img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

/* 主要类别展示区样式 */
#categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 20px;
}

.category {
  text-align: center;
  background-color: #E6F2FF;
  padding: 20px;
  width: 200px;
  margin: 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.category:hover {
  background-color: #99CCFF;
}

.category i {
  font-size: 48px;
  margin-bottom: 10px;
}

.category h3 {
  font-size: 20px;
  margin-bottom: 5px;
}

/* 热门推荐区样式 */
#popular-picks {
  max-width: 1200px;
  margin: 20px auto;
}

#popular-picks h2 {