﻿/* ============================================================
   野渡 boatsideway · 现代青绿水墨 VI 网页设计令牌
   色板 / 字体 / 版式，均源自野渡品牌系统。
   ============================================================ */

:root {
  /* 品牌色 */
  --paper: #F3F0E7;        /* 宣纸白 · 主背景 */
  --paper-2: #ECE7DA;      /* 纸色 · 卡片/辅助面 */
  --ink: #171916;          /* 墨黑 · 正文、标题 */
  --pine: #344C49;         /* 深涧青 · 深色水迹、辅助文字 */
  --jade: #6F9C91;         /* 青绿 · 主水迹、链接、强调 */
  --jade-soft: #9BB8AF;    /* 浅青绿 · hover/弱化 */
  --ripple: #A5A7A1;       /* 横舟灰 · 涟漪、分隔 */
  --cinnabar: #B23A2E;     /* 朱红 · 唯一强调点 */
  --line: rgba(52, 76, 73, 0.14);   /* 分隔线 */
  --line-strong: rgba(52, 76, 73, 0.28);

  /* 字体 */
  --font-display: 'Inter', 'Songti SC', 'STSong', 'SimSun', 'Noto Serif SC', serif;
  --font-body: 'Inter', 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;

  --maxw: 1120px;
  --nav-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: rgba(111, 156, 145, 0.25); }

/* ============================================================
   导航栏
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem;
  background: rgba(243, 240, 231, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; }
.logo a { display: flex; align-items: center; gap: 0.55rem; }
.logo img {
  height: 30px; width: auto;
  mix-blend-mode: multiply;
}
.logo .logo-word {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 400;
  letter-spacing: 0.12em; color: var(--ink);
}
.logo .logo-sub {
  font-size: 0.62rem; letter-spacing: 0.14em;
  color: var(--ripple); font-weight: 300;
  display: block; line-height: 1.1;
}

.nav-links {
  display: flex; align-items: center; gap: 2.4rem;
  font-size: 0.82rem; letter-spacing: 0.14em;
}
.nav-links a {
  position: relative; color: var(--pine);
  padding-bottom: 3px; transition: color 0.25s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--jade);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--ink); }

.lang-switch {
  font-size: 0.72rem; letter-spacing: 0.12em;
  color: var(--pine); border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 0.32rem 0.9rem;
  cursor: pointer; background: transparent;
  transition: all 0.25s; font-family: var(--font-body);
}
.lang-switch:hover {
  color: var(--paper); background: var(--cinnabar);
  border-color: var(--cinnabar);
}

/* ============================================================
   通用布局
   ============================================================ */
.container {
  width: 100%; max-width: var(--maxw);
  margin: 0 auto; padding: 0 2rem;
}
.section {
  padding: 7rem 0;
}
.section-label {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--jade); margin-bottom: 1.4rem;
}
.section-label::before {
  content: ''; width: 26px; height: 1px; background: var(--jade);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 200; letter-spacing: 0.06em;
  line-height: 1.35; color: var(--ink);
  margin-bottom: 0.6rem;
}
.section-sub {
  font-size: 0.9rem; color: var(--pine); font-weight: 300;
  letter-spacing: 0.04em;
}

/* 朱红相逢点（品牌唯一强调点） */
.encounter-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cinnabar); display: inline-block;
}

/* ============================================================
   首页 Hero
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: flex-start; justify-content: center;
  text-align: center; overflow: hidden;
  padding: calc(var(--nav-h) + 6rem) 2rem 5rem;
  background:
    linear-gradient(180deg, rgba(243,240,231,0.6) 0%, rgba(243,240,231,0) 42%, rgba(243,240,231,0) 60%, rgba(243,240,231,0.75) 100%),
    url('../images/bj.png') center bottom / cover no-repeat,
    #ECE7DA;
}
.hero-inner { position: relative; z-index: 2; }
.hero-poem {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  letter-spacing: 0.32em; color: var(--pine);
  margin-bottom: 1.8rem; font-weight: 300;
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 10vw, 7rem);
  font-weight: 200; letter-spacing: 0.08em;
  line-height: 1.05; color: var(--ink);
}
.hero-brand .cn { display: block; }
.hero-brand .en {
  display: block; font-size: 0.32em; font-weight: 300;
  letter-spacing: 0.22em; color: var(--jade); margin-top: 1.1rem;
}
.hero-line {
  width: 40px; height: 1.5px; background: var(--line-strong);
  margin: 2.2rem auto;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.82rem; letter-spacing: 0.16em;
  color: var(--ink); border: 1px solid var(--line-strong);
  padding: 0.75rem 2rem; border-radius: 999px;
  transition: all 0.3s;
}
.hero-cta:hover {
  background: var(--ink); color: var(--paper);
  border-color: var(--ink);
}

/* Hero 的水迹 / 横舟 / 朱红点由 bj.png 背景图自带，无需独立 SVG 装饰 */

/* ============================================================
   品牌故事
   ============================================================ */
.culture {
  background: var(--pine);
  color: var(--paper);
  position: relative; overflow: hidden;
}
.culture .section-label { color: var(--jade-soft); }
.culture .section-label::before { background: var(--jade-soft); }
.culture .section-title { color: var(--paper); }
.culture-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 4rem;
  margin-top: 3rem;
}
.culture-intro {
  font-size: 1.02rem; line-height: 1.9; color: #D9E4E0;
  max-width: 520px; margin-top: 2rem; font-weight: 300;
}
.culture-intro p + p { margin-top: 1.2rem; }
.culture-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 400;
  letter-spacing: 0.06em; color: var(--paper);
  margin-bottom: 0.5rem;
}
.culture-item p {
  font-size: 0.9rem; line-height: 1.85; color: #C6D4CF;
  font-weight: 300;
}
.culture-water {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 150px; pointer-events: none; opacity: 0.55;
}
.culture-water svg { width: 100%; height: 100%; }

/* ============================================================
   精选产品 / 产品列表
   ============================================================ */
.featured { background: var(--paper-2); }
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem; margin-top: 3rem;
}
.product-card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 4px; overflow: hidden;
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 40px rgba(23, 25, 22, 0.08);
}
.product-card__img {
  background: var(--paper-2); padding: 1.6rem 1.4rem;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1 / 1;
}
.product-card__img img {
  width:85%;
  border: 1px solid #eee;
  border-radius: 12px;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.08));
  transition: transform 0.4s;
}
.product-card:hover .product-card__img img { transform: scale(1.04); }
.product-card__meta { padding: 1.2rem 1.3rem 1.3rem; }
.product-card__series {
  font-size: 0.68rem; letter-spacing: 0.3em;
  color: var(--cinnabar); font-weight: 400;
}
.product-card__name {
  font-family: var(--font-display);
  font-size: 0.95rem; font-weight: 400;
  line-height: 1.5; color: var(--ink);
  margin: 0.4rem 0 0.15rem;
}
.product-card__model {
  font-size: 0.78rem; color: var(--ripple);
  letter-spacing: 0.08em;
}
.product-card__cta {
  display: inline-block; margin-top: 1rem;
  font-size: 0.78rem; letter-spacing: 0.12em; color: var(--pine);
  transition: color 0.25s;
}
.product-card:hover .product-card__cta { color: var(--cinnabar); }

.view-all {
  text-align: center; margin-top: 3.4rem;
}

/* ============================================================
   关于我们
   ============================================================ */
.about { background: var(--paper); }
.about-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.about-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 200;
  letter-spacing: 0.1em; color: var(--ink); line-height: 1.4;
}
.about-divider {
  width: 40px; height: 1.5px; background: var(--line-strong);
  margin: 1.6rem auto;
}
.about-desc { margin-top: 1.2rem; }
.about-desc p {
  font-size: 0.9rem; line-height: 2; color: var(--pine);
  font-weight: 300; margin-bottom: 1.1rem;
}
.about-poem {
  font-family: var(--font-display);
  font-size: 1.05rem; letter-spacing: 0.14em;
  color: var(--jade); margin-top: 2.4rem; font-weight: 300;
}

/* ============================================================
   页脚
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: 2.6rem 0; background: var(--paper);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  font-size: 0.74rem; letter-spacing: 0.06em; color: var(--ripple);
}
.footer .logo-word { color: var(--ripple); }

/* ============================================================
   产品列表页
   ============================================================ */
.page-head {
  padding: calc(var(--nav-h) + 6rem) 0 3rem;
  text-align: center;
}
.page-head .section-label::before { display: none; }
.page-head .section-label { justify-content: center; }

/* ============================================================
   产品详情页
   ============================================================ */
.detail {
  padding: calc(var(--nav-h) + 4rem) 0 6rem;
}
.detail-back {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; letter-spacing: 0.08em; color: var(--pine);
  margin-bottom: 2.6rem; transition: color 0.25s;
}
.detail-back:hover { color: var(--cinnabar); }

.detail-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 4rem; align-items: start;
}
.detail-media {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 4px; padding: 3rem;
  display: flex; align-items: center; justify-content: center;
  min-height: 420px;
}
.detail-media img {
  max-height: 460px; width: auto; max-width: 100%;
  border-radius: 12px;
  border: 1px solid #eee;
  object-fit: contain;
  filter: drop-shadow(0 14px 34px rgba(0,0,0,0.1));
}

.detail-series {
  font-size: 0.72rem; letter-spacing: 0.34em;
  color: var(--cinnabar); font-weight: 400;
}
.detail-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 200;
  letter-spacing: 0.04em; line-height: 1.35; color: var(--ink);
  margin: 0.6rem 0 0.2rem;
}
.detail-model {
  font-size: 0.85rem; color: var(--ripple); letter-spacing: 0.1em;
}
.detail-tagline {
  font-size: 1rem; color: var(--pine); font-weight: 300;
  line-height: 1.8; margin: 1.6rem 0;
  padding: 1.2rem 0; border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-block { margin-top: 2rem; }
.detail-block h3 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 400; letter-spacing: 0.14em;
  color: var(--pine); margin-bottom: 1rem;
}
.detail-points { list-style: none; }
.detail-points li {
  display: flex; align-items: flex-start; gap: 0.8rem;
  font-size: 0.92rem; color: var(--ink); font-weight: 300;
  line-height: 1.7; padding: 0.5rem 0;
  border-bottom: 1px dashed var(--line);
}
.point-dot {
  flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%;
  background: var(--jade); margin-top: 0.62em;
}

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td {
  text-align: left; font-size: 0.88rem; font-weight: 300;
  padding: 0.65rem 0; border-bottom: 1px solid var(--line);
}
.spec-table th { color: var(--ripple); font-weight: 400; width: 38%; letter-spacing: 0.06em; }
.spec-table td { color: var(--ink); }

.placeholder-note {
  margin-top: 2.4rem; font-size: 0.76rem; color: var(--ripple);
  letter-spacing: 0.04em; display: flex; align-items: center; gap: 0.5rem;
}
.placeholder-note::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cinnabar);
}

/* 上一件 / 下一件 */
.detail-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  margin-top: 4rem; border-top: 1px solid var(--line); padding-top: 2rem;
}
.detail-nav a {
  display: flex; flex-direction: column; gap: 0.3rem;
  padding: 1.2rem 1.4rem; border: 1px solid var(--line);
  border-radius: 4px; transition: border-color 0.3s;
}
.detail-nav a:hover { border-color: var(--line-strong); }
.detail-nav a.next { text-align: right; align-items: flex-end; }
.detail-nav .nav-tag {
  font-size: 0.68rem; letter-spacing: 0.2em; color: var(--ripple);
}
.detail-nav .nav-name {
  font-size: 0.9rem; color: var(--ink); font-weight: 300;
}

/* 未找到 */
.notfound { text-align: center; padding: 6rem 2rem; }
.notfound h2 {
  font-family: var(--font-display); font-size: 1.8rem;
  font-weight: 200; color: var(--ink); margin-bottom: 0.6rem;
}
.notfound p { color: var(--pine); font-size: 0.9rem; margin-bottom: 2rem; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .culture-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .detail-grid { grid-template-columns: 1fr; gap: 2.4rem; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 1.2rem; }
  .nav-links { gap: 1.3rem; font-size: 0.74rem; }
  .logo .logo-sub { display: none; }
  .section { padding: 5rem 0; }
  .container { padding: 0 1.2rem; }
}

@media (max-width: 600px) {
  .nav-links { gap: 1rem; font-size: 0.68rem; letter-spacing: 0.08em; }
  .product-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero { padding-left: 1.2rem; padding-right: 1.2rem; }
  .detail-media { padding: 1.6rem; min-height: 0; }
  .detail-nav { grid-template-columns: 1fr; }
}
