/* ============================================================
   KOJIMA IKUO - 2026 最终全量视觉调优版 (一键覆盖)
   ============================================================ */

/* --- 1. 全局基础逻辑 (完全保留并优化你的全局设定) --- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background: #000; /* 配合视频背景改为黑色 */
  color: #fff;
}

/* 核心 Section 容器：解决填不满，保留你的锚点特效 */
section {
  padding: 100px 60px;
  width: 90%;
  max-width: 1400px; /* 提升最大宽度，适应大屏 */
  margin: 0 auto;
  scroll-margin-top: 80px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

section:target {
  border-left: 4px solid #ffffff; /* 选中后的颜色改为纯白，弃用蓝色 */
  padding-left: 16px;
  transform: translateX(4px);
}

/* 统一背景遮罩：确保所有区的背景图都能看清文字 */
.about::before, .portfolio::before, .services::before, .partners::before, .contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6); 
  z-index: -1;
}

/* --- 2. 导航栏 (修复文字对比度问题) --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(0, 0, 0, 0.9) !important; /* 加深背景色，确保文字可见 */
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2000;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    padding: 18px 8%; 
  }
}

.nav-brand { display: flex; align-items: center; text-decoration: none; }
.nav-logo {
  height: 42px; width: 42px; border-radius: 50%;
  margin-right: 15px; border: 1.5px solid rgba(255, 255, 255, 0.3);
  object-fit: cover;
}

.brand-text {
  color: #ffffff !important; 
  font-weight: 800; letter-spacing: 4px;
  text-transform: uppercase; font-size: 1.3rem;
}

/* 导航链接：强制白色，解决看不见的问题 */
.nav-links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 35px; margin: 10px 0 0 0; padding: 0; }
.nav-links a {
  text-decoration: none; 
  color: #ffffff !important; /* 强制纯白对比度 */
  font-size: 0.85rem; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; opacity: 0.8; transition: 0.3s;
  position: relative;
}
.nav-links a:hover { opacity: 1; text-shadow: 0 0 10px rgba(255, 255, 255, 0.4); }
.nav-links a::after { content: ""; display: block; height: 2px; width: 0; background: #ffffff; transition: width 0.3s ease; margin-top: 4px; }
.nav-links a:hover::after { width: 100%; }

/* --- 3. Hero 视频区 (全屏且霸气) --- */
#hero { height: 100vh !important; width: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
#hero video { object-fit: cover; width: 100vw; height: 100vh; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.3); z-index: 1; }
.hero-content { position: relative; z-index: 2; color: white; text-align: center; }
.hero-title {
  font-size: clamp(3rem, 10vw, 5.5rem);
  font-weight: 900 !important;
  letter-spacing: 12px;
  text-transform: uppercase;
  text-shadow: 0px 4px 20px rgba(0,0,0,0.9);
  margin-bottom: 0.5rem;
}
.hero-subtitle { font-size: 1.2rem; font-weight: 300 !important; letter-spacing: 5px; text-transform: uppercase; opacity: 0.9; }

/* --- 4. 统一所有 Section 的背景图路径 --- */
.about { background: url('img/hero-ab.jpg') center/cover no-repeat; }
.portfolio { background: url('img/hero-po.jpg') center/cover no-repeat; background-attachment: fixed; text-align: center; }
.services { background: url('img/hero-se.jpg') center/cover no-repeat; }
.partners { background: url('img/hero-pa.jpg') center/cover no-repeat; text-align: center; }
.contact { background: url('img/hero-co.jpg') center/cover no-repeat; text-align: center; }

/* 统一各区 H2 标题 */
section h2 { font-size: 3rem; margin-bottom: 40px; font-weight: 600 !important; text-align: center; text-transform: uppercase; letter-spacing: 4px; }

/* --- 5. 统一卡片系统 (去蓝色、字体一致、特效归一) --- */
/* 这里强制统一了 About, Portfolio, Services, Partner 四个区的所有卡片表现 */
.stat-card, .service-card, .portfolio-card, .partner-card {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15) !important; /* 弃用蓝色边框，改用高质感半透白 */
  border-radius: 12px;
  padding: 40px 25px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  color: #fff !important;
  text-align: center;
}

/* 统一所有卡片的悬停：平滑上浮 + 提亮 */
.stat-card:hover, .service-card:hover, .portfolio-card:hover, .partner-card:hover {
  transform: translateY(-12px);
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

/* 统一所有卡片的主题字体 (H3) ：解决颜色和风格不一的问题 */
.stat-card h3, .service-card h3, .portfolio-card h3, .partner-card h3 {
  color: #ffffff !important; /* 弃用蓝色字体，改用统一白色 */
  font-size: 1.5rem !important;
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

/* 统一所有卡片的描述文字 */
.stat-card p, .service-card p, .portfolio-card p, .partner-card p {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 1rem;
  line-height: 1.7;
}

/* --- 6. 词组独立凸显 (保留你的特色交互) --- */
.word-group {
  display: flex; flex-direction: column; gap: 12px; margin-top: 15px; align-items: center;
}
.word-group a {
  color: #fff !important; text-decoration: none; padding: 6px 16px;
  background: rgba(255, 255, 255, 0.1); border-radius: 4px; transition: 0.3s;
}
.word-group a:hover {
  background: #ffffff; color: #000 !important; transform: scale(1.1);
}
/* 指向一个，淡化其他 */
.word-group:hover a:not(:hover) { opacity: 0.3; filter: blur(1px); }

/* --- 7. 响应式布局补丁 --- */
.about-stats, .services-list, .portfolio-grid, .partners-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

@media (max-width: 768px) {
  section { padding: 60px 20px !important; width: 100%; }
  .hero-title { font-size: 2.5rem !important; letter-spacing: 5px !important; }
  .about-stats, .services-list, .portfolio-grid, .partners-list { grid-template-columns: 1fr !important; }
}

/* force update */







