* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.ecological-theme {
  width: 100%;
  background: #f5f5f6;
  padding: 60px 0 80px;
}

.eco-container {
  min-width: 1200px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.eco-title {
  font-size: 42px;
  color: #222328;
  font-weight: 400;
  margin: 0;
  line-height: 1;
}

.eco-icon {
  display: block;
  margin: 15px auto;
}

.eco-subtitle {
  font-size: 18px;
  color: #666666;
  margin: 0 0 50px 0;
  font-weight: 400;
}

.eco-menu-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
}

/* 菜单项容器 */
.menu-item-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 15px;
}

.menu-item {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  border: 4px solid #e0e0e0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.menu-item:hover,
.menu-item-wrapper:hover .menu-item {
  border-color: #df0c11;
}

.menu-item:hover .menu-title,
.menu-item-wrapper:hover .menu-item .menu-title {
  color: #df0c11;
}

.menu-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  margin-bottom: 4px;
}

.menu-title {
  font-size: 15px;
  color: #333333;
  font-weight: 500;
  transition: all 0.3s ease;
}

/* 下拉弹框 */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 12px 15px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  white-space: nowrap;
}

/* 三角箭头 */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #ffffff;
}

/* 弹框阴影三角 */
.dropdown-menu::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid rgba(0, 0, 0, 0.05);
  z-index: -1;
}

/* hover显示弹框 */
.menu-item-wrapper:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

/* 弹框内容 */
.dropdown-list {
  display: flex;
  gap: 5px;
}

.dropdown-item {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: #333333;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background: #fff5f5;
  color: #df0c11;
}
