/* 壹道云门户 可读性覆盖样式（加载在 styles.css 之后） */

/* ---- 导航栏：始终深色底 + 白字，不再透明 ---- */
#mainNav {
  background-color: #14213d !important;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
#mainNav .navbar-brand {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
#mainNav .nav-link {
  color: rgba(255, 255, 255, 0.92) !important;
}
#mainNav .nav-link:hover,
#mainNav .nav-link.active {
  color: #ffffff !important;
}

/* ---- 横幅（masthead）：加深遮罩，文字实色白 ---- */
header.masthead {
  background-image:
    linear-gradient(rgba(10, 16, 34, 0.55), rgba(10, 16, 34, 0.62)),
    url("../assets/img/header-bg.jpg");
}
header.masthead .masthead-subheading {
  color: #f1f5f9 !important;
  font-style: normal;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}
header.masthead .masthead-heading {
  color: #ffffff !important;
  letter-spacing: 0.12em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}
/* 修复半透明白色说明文字看不清的问题 */
header.masthead .lead,
header.masthead .text-white-50 {
  color: #e2e8f0 !important;
}

/* ---- 区块标题：更深的主色与正文灰 ---- */
.page-section .section-heading,
.page-section h3.fw-bold,
.page-section h4 {
  color: #14213d !important;
}
.page-section .section-subheading,
.page-section .text-muted {
  color: #495057 !important;
}

/* ---- 产品卡片 ---- */
.product-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(20, 33, 61, 0.15) !important;
}
.product-card h4 {
  color: #14213d;
  font-weight: 700;
}

/* ---- 平台整合区 ---- */
.platform-entry {
  padding: 1.25rem;
  border-left: 4px solid #2a6fdb;
  background: #f8fafc;
  border-radius: 0 0.5rem 0.5rem 0;
}
.platform-entry + .platform-entry {
  margin-top: 1.25rem;
}

/* ---- 科技展示卡片 ---- */
.tech-card .card-img-top {
  height: 200px;
  object-fit: cover;
}
.tech-card .card-title {
  color: #14213d;
  font-weight: 700;
}

/* ---- 页脚 ---- */
.footer {
  background: #14213d;
  color: rgba(255, 255, 255, 0.85);
}
.footer a,
.footer .text-muted {
  color: rgba(255, 255, 255, 0.75) !important;
}
