/* ============================================================
   特设项目 project.css
   内容来自 lanhu_zhongpinhuodong-2 设计稿（中国品牌发展现状调研行 · 合作品牌）；
   导航与页尾与 Profile.html 保持一致；
   交互（平滑滚动 / 吸顶导航 / 滚动淡入 / 卡片上浮）参考 Profile.html
   ============================================================ */

.page {
  background-color: rgba(248, 248, 248, 1);
  position: relative;
  width: 1920px;
  height: auto;
  margin: 0 auto;
  overflow: hidden;
}

/* ===================== 导航栏（与 Profile.html 一致） ===================== */
.group_1 {
  background-color: rgba(255, 255, 255, 1);
  width: 1921px;
  height: 108px;
}

.image_1 {
  width: 190px;
  height: 58px;
  margin: 26px 0 0 183px;
}

.text-wrapper_1 {
  width: 1184px;
  height: 56px;
  overflow-wrap: break-word;
  font-size: 0;
  font-family: Microsoft YaHei-Regular;
  font-weight: NaN;
  text-align: left;
  line-height: 56px;
  margin: 27px 310px 0 54px;
}

.text_1 {
  overflow-wrap: break-word;
  color: rgba(51, 51, 51, 1);
  font-size: 18px;
  font-family: Microsoft YaHei-Regular;
  font-weight: NaN;
  text-align: left;
  line-height: 56px;
}

.text_2 {
  overflow-wrap: break-word;
  color: rgba(192, 5, 19, 1);
  font-size: 18px;
  font-family: Microsoft YaHei-Regular;
  font-weight: NaN;
  text-align: left;
  line-height: 56px;
}

.text_3 {
  overflow-wrap: break-word;
  color: rgba(51, 51, 51, 1);
  font-size: 18px;
  font-family: Microsoft YaHei-Regular;
  font-weight: NaN;
  text-align: left;
  line-height: 56px;
}

/* ===================== 英雄区：蓝色横幅 + 标题 ===================== */
.hero {
  position: relative;
  width: 1920px;
  height: 563px;
  background: url(./img/FigmaDDSSlicePNG91143ab0b9a30dca69f989443cab79b9.png)
    center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-title {
  color: rgba(255, 255, 255, 1);
  font-size: 60px;
  letter-spacing: 10px;
  font-family: Microsoft YaHei-Bold;
  font-weight: 700;
  line-height: 60px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

/* ===================== 合作品牌 ===================== */
.brands-section {
  width: 1920px;
  padding: 90px 0 110px;
  box-sizing: border-box;
}

.brands-heading {
  margin: 0 auto 60px;
  width: 100%;
  text-align: center;
  color: rgba(52, 54, 56, 1);
  font-size: 40px;
  font-family: Microsoft YaHei-Bold;
  font-weight: 700;
  line-height: 40px;
}

.brand-grid {
  width: 1594px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 62px;
}

.brand-card {
  box-sizing: border-box;
  width: 490px;
  min-height: 486px;
  background-color: rgba(255, 255, 255, 1);
  border-radius: 6px;
  padding: 24px 40px 40px 45px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.brand-logo {
  width: 145px;
  height: 140px;
  object-fit: contain;
  display: block;
}

/* 无独立 logo 切图的品牌：使用品牌红渐变文字徽标占位 */
.brand-badge {
  width: 145px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  box-sizing: border-box;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(192, 5, 19, 1), rgba(150, 4, 15, 1));
  color: rgba(255, 255, 255, 1);
  font-size: 24px;
  font-family: Microsoft YaHei-Bold;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
  line-height: 34px;
}

.brand-name {
  margin: 18px 0 0;
  color: rgba(34, 34, 34, 1);
  font-size: 22px;
  font-family: Microsoft YaHei-Bold;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 32px;
}

.brand-region {
  margin: 4px 0 0;
  color: rgba(85, 85, 85, 1);
  font-size: 16px;
  font-family: Microsoft YaHei-Regular;
  line-height: 26px;
}

.brand-desc {
  margin: 18px 0 0;
  color: rgba(102, 102, 102, 1);
  font-size: 14px;
  font-family: Microsoft YaHei-Regular;
  text-align: justify;
  line-height: 28px;
}

/* ===================== 页尾（与 Profile.html 一致） ===================== */
.group_17 {
  background-color: rgba(228, 228, 228, 1);
  position: relative;
  width: 1921px;
  height: 248px;
  margin: -1px 0 0 0;
}

.box_15 {
  width: 1593px;
  height: 58px;
  margin: 32px 0 0 167px;
}

.text_70 {
  width: 528px;
  height: 34px;
  overflow-wrap: break-word;
  color: rgba(51, 51, 51, 1);
  font-size: 16px;
  font-family: Microsoft YaHei-Regular;
  font-weight: NaN;
  text-align: left;
  line-height: 34px;
  margin-top: 12px;
}

.image_4 {
  width: 190px;
  height: 58px;
}

.box_16 {
  width: 1921px;
  height: 0;
  border: none;
  border-top: 1px dashed rgba(47, 47, 47, 1);
  margin-top: 28px;
}

.text-wrapper_27 {
  width: 1593px;
  height: 90px;
  margin: 39px 0 0 167px;
}

.paragraph_9 {
  width: 939px;
  height: 90px;
  overflow-wrap: break-word;
  color: rgba(51, 51, 51, 1);
  font-size: 14px;
  font-family: Microsoft YaHei-Regular;
  font-weight: NaN;
  text-align: left;
  line-height: 30px;
}

.text_71 {
  width: 311px;
  height: 30px;
  overflow-wrap: break-word;
  color: rgba(51, 51, 51, 1);
  font-size: 14px;
  font-family: Microsoft YaHei-Regular;
  font-weight: NaN;
  text-align: left;
  line-height: 30px;
  margin-top: 32px;
}

.text-wrapper_28 {
  background-color: rgba(47, 47, 47, 1);
  border-radius: 30px;
  height: 49px;
  border: 1px solid rgba(82, 82, 82, 1);
  width: 282px;
  position: absolute;
  left: 819px;
  top: 93px;
}

.text_72 {
  width: 83px;
  height: 34px;
  overflow-wrap: break-word;
  color: rgba(255, 255, 255, 1);
  font-size: 16px;
  font-family: Microsoft YaHei-Regular;
  font-weight: NaN;
  text-align: center;
  line-height: 34px;
  margin: 7px 0 0 7px;
}

.text_73 {
  position: absolute;
  left: 74px;
  top: 0;
  width: 206px;
  height: 49px;
  overflow-wrap: break-word;
  color: rgba(255, 255, 255, 1);
  font-size: 26px;
  font-family: Microsoft YaHei-Bold;
  font-weight: 700;
  text-align: center;
  line-height: 49px;
}

/* ============================================================
   交互效果：平滑滚动 / 吸顶导航 / 滚动淡入（参考 Profile.html）
   ============================================================ */

/* 平滑滚动 */
html {
  scroll-behavior: smooth;
}

/* 吸顶导航栏（固定于视口顶部，滚动时加阴影）；随页面水平居中 */
.group_1 {
  position: fixed;
  top: 0;
  left: calc(50% - 960px);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

/* 导航底色整体平铺：铺满整个视口宽度，内容仍保持原位 */
.group_1::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 108px;
  background-color: rgba(255, 255, 255, 1);
  z-index: -1;
}

.group_1.scrolled::before {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* 导航改为固定后，页面顶部预留导航高度 */
.page {
  padding-top: 108px;
}

/* 滚动淡入上浮：各主要模块进入视口时渐显并轻微上移 */
.hero,
.brands-heading,
.brand-card,
.group_17 {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero.in-view,
.brands-heading.in-view,
.brand-card.in-view,
.group_17.in-view {
  opacity: 1;
  transform: translateY(0);
}
