/* ===== 基础重置 ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold: #C9A96E;
  --gold-light: #E8D5A3;
  --gold-dark: #A08040;
  --black: #0A0A0A;
  --black-light: #1A1A1A;
  --white: #FFFFFF;
  --gray: #888888;
  --gray-light: #CCCCCC;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Serif SC', 'Playfair Display', serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== 顶部导航 ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
  transition: var(--transition);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 75px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-en {
  font-size: 11px;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: 'Playfair Display', serif;
}

/* 主导航 */
.main-nav {
  display: flex;
  gap: 40px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  transition: var(--transition);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-item:hover::after,
.nav-item.active::after {
  width: 100%;
}

.nav-cn {
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 2px;
  transition: var(--transition);
}

.nav-en {
  font-size: 10px;
  font-weight: 400;
  color: var(--gray);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2px;
  transition: var(--transition);
}

.nav-item:hover .nav-cn,
.nav-item.active .nav-cn {
  color: var(--gold);
}

.nav-item:hover .nav-en,
.nav-item.active .nav-en {
  color: var(--gold-light);
}

/* 移动端元素 — 全局隐藏，防止在桌面端意外渲染 */
.mobile-nav,
.mobile-menu-btn {
  display: none;
}

/* ===== 侧边菜单 ===== */
.side-menu {
  position: fixed;
  left: 0;
  top: 80px;
  bottom: 0;
  width: 240px;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 900;
  padding: 30px 0;
  overflow-y: auto;
  overflow-x: visible;
  border-right: 1px solid rgba(201, 169, 110, 0.1);
}

.side-menu-list {
  list-style: none;
}

.side-menu-list > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.side-menu-list > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  text-decoration: none;
  color: var(--gray-light);
  transition: var(--transition);
  position: relative;
}

.side-menu-list > li > a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transition: var(--transition);
}

.side-menu-list > li > a:hover {
  color: var(--gold);
  background: rgba(201, 169, 110, 0.05);
  padding-left: 30px;
}

.side-menu-list > li > a:hover::before {
  transform: scaleY(1);
}

.side-cn {
  font-size: 14px;
  font-weight: 500;
}

.side-en {
  font-size: 11px;
  color: var(--gray);
  margin-left: 8px;
  font-family: 'Playfair Display', serif;
}

.side-arrow {
  font-size: 12px;
  color: var(--gray);
  transition: var(--transition);
}

.side-menu-list > li > a:hover .side-arrow {
  color: var(--gold);
  transform: translateX(3px);
}

/* ===== 分类预览面板 ===== */
.cat-preview {
  position: absolute;
  left: 240px;
  top: 0;
  width: 680px;
  min-height: 100%;
  background: rgba(20, 20, 20, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-left: none;
  padding: 30px 35px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  box-shadow: 10px 0 40px rgba(0,0,0,0.5);
}

.side-menu-list > li:hover .cat-preview {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.cat-preview-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(201, 169, 110, 0.2);
}

.cat-preview-title span {
  font-size: 12px;
  color: var(--gray);
  font-family: 'Playfair Display', serif;
  letter-spacing: 1px;
  margin-left: 8px;
  font-weight: 400;
}

.cat-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.preview-item {
  text-decoration: none;
  text-align: center;
  transition: var(--transition);
}

.preview-item:hover {
  transform: translateY(-4px);
}

.preview-item:hover span {
  color: var(--gold);
}

.preview-img {
  width: 100%;
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  margin-bottom: 10px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
}

.preview-item:hover .preview-img {
  border-color: rgba(201, 169, 110, 0.3);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.preview-item span {
  font-size: 13px;
  color: var(--gray-light);
  letter-spacing: 1px;
  transition: var(--transition);
}

/* ===== 主视觉轮播 ===== */
.hero {
  position: relative;
  width: calc(100% - 240px);
  margin-left: 240px;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.1) 100%);
}

.hero-content {
  position: absolute;
  bottom: 180px;
  left: 80px;
  max-width: 600px;
  z-index: 10;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 6px;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.3s;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--gray-light);
  margin-bottom: 32px;
  letter-spacing: 3px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.5s;
}

.hero-btn {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 3px;
  transition: var(--transition);
  background: transparent;
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.7s;
}

.hero-btn:hover {
  background: var(--gold);
  color: var(--black);
}

/* 轮播指示器 */
.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 80px;
  display: flex;
  gap: 12px;
  z-index: 20;
}

.dot {
  width: 40px;
  height: 2px;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--gold);
  width: 60px;
}

.dot:hover {
  background: var(--gold-light);
}

/* 轮播箭头 */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: var(--transition);
  z-index: 20;
}

.hero-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

.hero-prev {
  left: 30px;
}

.hero-next {
  right: 30px;
}

/* ===== 品牌理念区 ===== */
.brand-section {
  width: calc(100% - 240px);
  margin-left: 240px;
  padding: 120px 80px;
  background: var(--black-light);
}

.brand-inner {
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.brand-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 24px;
  letter-spacing: 4px;
  position: relative;
  padding-bottom: 16px;
}

.brand-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--gold);
}

.brand-desc {
  font-size: 15px;
  color: var(--gray-light);
  line-height: 2;
  margin-bottom: 32px;
  text-align: justify;
}

.brand-link {
  display: inline-block;
  color: var(--gold);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 2px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  transition: var(--transition);
}

.brand-link:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.brand-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 4px;
}

/* ===== 产品系列区 ===== */
.collections-section {
  width: calc(100% - 240px);
  margin-left: 240px;
  padding: 100px 80px;
  background: var(--black);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 6px;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-family: 'Playfair Display', serif;
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.collection-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 4px;
}

.collection-img {
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
  transition: var(--transition);
}

.collection-card:hover .collection-img {
  transform: scale(1.05);
}

.collection-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  transition: var(--transition);
}

.collection-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.collection-info p {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Playfair Display', serif;
}

/* ===== 商品卡片（首页臻品系列 & 子页面通用） ===== */
.product-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 4px;
  background: var(--black-light);
  border: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
  text-decoration: none;
  display: block;
  color: inherit;
}

.product-card:hover {
  border-color: rgba(201, 169, 110, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.product-card-img {
  width: 100%;
  height: 320px;
  background-size: cover;
  background-position: center;
  transition: var(--transition);
  position: relative;
}

.product-card:hover .product-card-img {
  transform: scale(1.03);
}

.product-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  background: var(--gold);
  color: var(--black);
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: 500;
  z-index: 2;
}

.product-card-body {
  padding: 20px;
}

.product-card-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.product-card-en {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 1px;
  font-family: 'Playfair Display', serif;
  margin-bottom: 12px;
}

.product-card-price {
  font-size: 16px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1px;
}

/* ===== 页脚 ===== */
.footer {
  width: calc(100% - 240px);
  margin-left: 240px;
  padding: 60px 80px 30px;
  background: var(--black-light);
  border-top: 1px solid rgba(201, 169, 110, 0.1);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.logoa {
  display: block;
  margin: 50px auto 50px;
  height: 200px;
  width: auto;
}

.footer-search {
  display: flex;
  max-width: 400px;
  margin: 0 auto 40px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
}

.search-input {
  flex: 1;
  padding: 12px 20px;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 14px;
  outline: none;
}

.search-input::placeholder {
  color: var(--gray);
}

.search-btn {
  padding: 12px 20px;
  background: transparent;
  border: none;
  color: var(--gray);
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition);
}

.search-btn:hover {
  color: var(--gold);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 2px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 4px;
}

/* ===== 动画 ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .side-menu {
    width: 200px;
  }
  .cat-preview {
    left: 200px;
    width: 500px;
  }
  .cat-preview-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero,
  .brand-section,
  .collections-section,
  .footer {
    width: calc(100% - 200px);
    margin-left: 200px;
  }
  .hero-content {
    left: 40px;
    max-width: 500px;
  }
  .hero-title {
    font-size: 36px;
  }
  .collections-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* 侧边栏隐藏 */
  .side-menu {
    display: none;
  }

  .hero,
  .brand-section,
  .collections-section,
  .footer {
    width: 100%;
    margin-left: 0;
  }

  /* 顶部导航优化 */
  .header-inner {
    height: 60px;
    padding: 0 16px;
  }

  .logo-img {
    height: 48px;
  }

  .logo-en {
    font-size: 9px;
    letter-spacing: 2px;
  }

  /* 隐藏桌面导航，显示汉堡菜单 */
  .main-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
  }

  .mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    margin: 4px 0;
    transition: var(--transition);
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* 移动端全屏导航菜单 */
  .mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .mobile-nav.active {
    display: flex;
  }

  .mobile-nav .nav-item {
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 6px 0;
    position: relative;
  }

  .mobile-nav .nav-cn {
    font-size: 20px;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 3px;
    transition: var(--transition);
  }

  .mobile-nav .nav-en {
    font-size: 12px;
    font-weight: 400;
    color: var(--gray);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 4px;
    transition: var(--transition);
  }

  .mobile-nav .nav-item:hover .nav-cn,
  .mobile-nav .nav-item.active .nav-cn {
    color: var(--gold);
  }

  .mobile-nav .nav-item:hover .nav-en,
  .mobile-nav .nav-item.active .nav-en {
    color: var(--gold-light);
  }

  /* 移动端菜单分隔线 */
  .mobile-nav .nav-divider {
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: 4px 0;
  }

  /* 移动端菜单小号子项（对应侧边栏） */
  .mobile-nav .nav-sub-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 4px 0;
    position: relative;
  }

  .mobile-nav .nav-sub-item .nav-cn {
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 2px;
    transition: var(--transition);
  }

  .mobile-nav .nav-sub-item .nav-en {
    font-size: 10px;
    font-weight: 400;
    color: var(--gray);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 2px;
    transition: var(--transition);
  }

  .mobile-nav .nav-sub-item:hover .nav-cn {
    color: var(--gold);
  }

  .mobile-nav .nav-sub-item:hover .nav-en {
    color: var(--gold-light);
  }

  /* 轮播区优化 */
  .hero {
    height: 80vh;
    min-height: 500px;
  }

  .hero-content {
    left: 16px;
    bottom: 100px;
    max-width: calc(100% - 32px);
  }

  .hero-title {
    font-size: 22px;
    letter-spacing: 3px;
  }

  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .hero-btn {
    padding: 10px 28px;
    font-size: 13px;
  }

  .hero-dots {
    left: 20px;
    bottom: 30px;
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  /* 品牌理念区优化 */
  .brand-section {
    padding: 40px 16px;
  }

  .brand-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .brand-title {
    font-size: 24px;
  }

  .brand-desc {
    font-size: 14px;
  }

  .brand-image img {
    height: 260px;
  }

  /* 产品系列区优化 */
  .collections-section {
    padding: 50px 16px;
  }

  .section-title {
    font-size: 22px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .collections-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .collection-img {
    height: 220px;
  }

  .product-card-img {
    height: 240px;
  }

  /* 页脚优化 */
  .footer {
    padding: 30px 16px 20px;
  }

  .logoa {
    height: 100px;
    margin: 30px auto 30px;
  }

  .footer-links {
    gap: 20px;
  }

  .footer-search {
    max-width: 100%;
  }
}

/* ===== 超小屏断点 (max-width: 480px) ===== */
@media (max-width: 480px) {
  .header-inner {
    height: 56px;
    padding: 0 12px;
  }

  .logo-img {
    height: 40px;
  }

  .logo-en {
    font-size: 8px;
    letter-spacing: 1px;
  }

  .hero {
    height: 70vh;
    min-height: 400px;
  }

  .hero-content {
    left: 12px;
    bottom: 80px;
    max-width: calc(100% - 24px);
  }

  .hero-title {
    font-size: 18px;
    letter-spacing: 2px;
  }

  .hero-subtitle {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .hero-btn {
    padding: 8px 24px;
    font-size: 12px;
  }

  .hero-dots {
    left: 12px;
    bottom: 20px;
    gap: 8px;
  }

  .dot {
    width: 30px;
  }

  .dot.active {
    width: 45px;
  }

  .hero-arrow {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .hero-prev {
    left: 10px;
  }

  .hero-next {
    right: 10px;
  }

  .brand-section {
    padding: 30px 12px;
  }

  .brand-title {
    font-size: 20px;
    letter-spacing: 3px;
  }

  .brand-desc {
    font-size: 13px;
    line-height: 1.8;
  }

  .brand-image img {
    height: 200px;
  }

  .collections-section {
    padding: 30px 12px;
  }

  .section-title {
    font-size: 20px;
    letter-spacing: 4px;
  }

  .section-subtitle {
    font-size: 10px;
    letter-spacing: 3px;
  }

  .collection-img {
    height: 180px;
  }

  .collection-info {
    padding: 16px 12px;
  }

  .collection-info h4 {
    font-size: 14px;
  }

  .collection-info p {
    font-size: 10px;
  }

  .product-card-img {
    height: 200px;
  }

  .product-card-body {
    padding: 16px;
  }

  .product-card-name {
    font-size: 14px;
  }

  .product-card-price {
    font-size: 14px;
  }

  .footer {
    padding: 20px 12px 15px;
  }

  .logoa {
    height: 80px;
    margin: 20px auto 20px;
  }

  .footer-links {
    gap: 15px;
  }

  .footer-links a {
    font-size: 11px;
    letter-spacing: 1px;
  }

  .footer-bottom p {
    font-size: 10px;
  }
}
