/* ==========================================
   锦润满堂珠宝首饰店 - 官方网站样式表
   风格：新中式极简 / 古风简约 (Minimalist Chinese Aesthetic)
   ========================================== */

/* 引入谷歌字体：Noto Serif SC (中式宋体/衬线体), Ma Shan Zheng (古典书法) */
@import url('https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&family=Noto+Serif+SC:wght@300;400;600;700&family=Inter:wght@300;400;500&display=swap');

:root {
  /* 宣纸色温润背景 */
  --bg-parchment: #FAF8F5;
  --bg-card: #FAF8F5;
  --bg-footer: #F3EFE9;
  
  /* 水墨与炭黑文字 */
  --text-primary: #2A2826;
  --text-secondary: #5D5854;
  --text-muted: #8E8881;
  
  /* 传统中国风点缀色 */
  --accent-red: #A8201A; /* 朱砂红/印泥红 */
  --accent-gold: #B29156; /* 斑驳古铜色 */
  --accent-green: #3D614D; /* 翡翠绿/温润玉色 */
  
  /* 边框与线段 */
  --border-light: rgba(178, 145, 86, 0.2); /* 浅古铜色细线 */
  --border-medium: rgba(178, 145, 86, 0.4);
  
  /* 阴影 - 极简淡雅阴影 */
  --shadow-light: 0 4px 20px rgba(42, 40, 38, 0.03);
  --shadow-hover: 0 10px 30px rgba(42, 40, 38, 0.06);
  
  /* 动画过渡 */
  --transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', 'Noto Serif SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-parchment);
  color: var(--text-primary);
  line-height: 1.8;
  overflow-x: hidden;
}

/* 留白与间距 */
section {
  padding: 100px 20px;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-parchment);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-gold);
  border-radius: 3px;
}

/* ==========================================
   公共组件 & 古风修饰
   ========================================== */

/* 传统印章 */
.seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-red);
  color: #FFFFFF;
  font-family: 'Ma Shan Zheng', 'Noto Serif SC', serif;
  font-weight: bold;
  padding: 4px;
  border-radius: 2px;
  box-shadow: 1px 1px 3px rgba(168, 32, 26, 0.3);
  user-select: none;
}

.seal-lg {
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  line-height: 1.1;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.seal-sm {
  width: 24px;
  height: 24px;
  font-size: 0.75rem;
  line-height: 1;
}

/* 标题样式 - 带有古典对称和副标题 */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-family: 'Noto Serif SC', serif;
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: 4px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.section-title h2::before,
.section-title h2::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background-color: var(--accent-gold);
  opacity: 0.6;
}

.section-title p {
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-top: 10px;
  text-transform: uppercase;
}

/* 中式古典按钮 */
.btn-classical {
  display: inline-block;
  padding: 12px 35px;
  border: 1px solid var(--accent-gold);
  background-color: transparent;
  color: var(--text-primary);
  font-family: 'Noto Serif SC', serif;
  font-size: 0.9rem;
  letter-spacing: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
}

.btn-classical::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--text-primary);
  transition: var(--transition);
  z-index: -1;
}

.btn-classical:hover {
  color: var(--bg-parchment);
  border-color: var(--text-primary);
}

.btn-classical:hover::before {
  left: 0;
}

/* ==========================================
   导航栏 Header
   ========================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

header.scrolled {
  padding: 5px 0;
  box-shadow: var(--shadow-light);
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

header.scrolled .navbar {
  padding: 10px 20px;
}

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

.logo-text {
  font-family: 'Noto Serif SC', serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--text-primary);
  letter-spacing: 2px;
}

.logo-subtext {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  display: block;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 1px;
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
}

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

.nav-link:hover {
  color: var(--text-primary);
}

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

/* 手机菜单触发按钮 */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition);
}

/* ==========================================
   首屏 Hero Section
   ========================================== */
.hero {
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0;
  margin-top: 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.92) contrast(0.98);
}

/* 雾状覆盖层，营造中式水墨意境 */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 60% 40%, rgba(250, 248, 245, 0.1) 0%, rgba(250, 248, 245, 0.6) 60%, rgba(250, 248, 245, 0.95) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  width: 100%;
  padding: 0 40px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.hero-text-card {
  max-width: 500px;
  background-color: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(8px);
  padding: 50px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-light);
  animation: fadeInUp 1.5s ease;
  position: relative;
}

/* 四角边框角饰，传统细节 */
.hero-text-card::before, .hero-text-card::after {
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  border-color: var(--accent-gold);
  border-style: solid;
  pointer-events: none;
}
.hero-text-card::before {
  top: 15px;
  left: 15px;
  border-width: 1px 0 0 1px;
}
.hero-text-card::after {
  bottom: 15px;
  right: 15px;
  border-width: 0 1px 1px 0;
}

.hero-subtitle {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.1rem;
  letter-spacing: 6px;
  color: var(--accent-gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 25px;
  letter-spacing: 6px;
  color: var(--text-primary);
}

.hero-title span {
  display: block;
  font-size: 1.8rem;
  font-weight: 300;
  margin-top: 5px;
  color: var(--text-secondary);
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 35px;
  letter-spacing: 1.5px;
  line-height: 2;
}

/* ==========================================
   珍品系列 - Featured Collections
   ========================================== */
.collections {
  background-color: var(--bg-parchment);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 20px;
}

.collection-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 20px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.collection-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-hover);
}

.collection-img-wrapper {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
  background-color: #EFEFEF;
}

.collection-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* 饰品分类标签 */
.collection-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: rgba(250, 248, 245, 0.9);
  padding: 8px 4px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: 'Noto Serif SC', serif;
  font-size: 0.8rem;
  letter-spacing: 4px;
  color: var(--accent-gold);
  border: 1px solid var(--border-light);
  z-index: 10;
}

.collection-info {
  margin-top: 25px;
  text-align: center;
  padding: 0 10px 10px;
}

.collection-info h3 {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.collection-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================
   品牌故事 - About Section (堂记)
   ========================================== */
.about {
  background-color: #F8F5EF; /* 略深的宣纸底色 */
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.about-content {
  display: flex;
  gap: 80px;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-badge {
  font-family: 'Ma Shan Zheng', cursive;
  font-size: 1.8rem;
  color: var(--accent-red);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-text h3 {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 3px;
  margin-bottom: 25px;
  line-height: 1.5;
  color: var(--text-primary);
}

.about-text p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  text-align: justify;
  letter-spacing: 1px;
}

.about-quote {
  font-family: 'Noto Serif SC', serif;
  font-style: italic;
  font-size: 1.05rem;
  border-left: 2px solid var(--accent-gold);
  padding-left: 20px;
  margin: 30px 0;
  color: var(--accent-gold);
  letter-spacing: 2px;
}

.about-decor {
  flex: 0.8;
  display: flex;
  justify-content: center;
  position: relative;
}

/* 竖版排版的意境文字 */
.vertical-scroll {
  writing-mode: vertical-rl;
  font-family: 'Noto Serif SC', serif;
  font-size: 1.5rem;
  letter-spacing: 12px;
  color: var(--text-muted);
  opacity: 0.25;
  line-height: 2.2;
  user-select: none;
  padding: 20px 0;
  border-right: 1px solid var(--border-medium);
  height: 350px;
}

.vertical-scroll span {
  display: block;
}

.vertical-scroll span.highlight {
  color: var(--accent-red);
  opacity: 0.8;
}

/* ==========================================
   联系我们 - Contact Section (寻处)
   ========================================== */
.contact {
  background-color: var(--bg-parchment);
}

.contact-layout {
  display: flex;
  gap: 60px;
}

.contact-info-card {
  flex: 1.2;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  padding: 50px;
  position: relative;
  box-shadow: var(--shadow-light);
}

/* 四角边框角饰，传统细节 */
.contact-info-card::before, .contact-info-card::after {
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  border-color: var(--accent-gold);
  border-style: solid;
  pointer-events: none;
}
.contact-info-card::before {
  top: 15px;
  left: 15px;
  border-width: 1px 0 0 1px;
}
.contact-info-card::after {
  bottom: 15px;
  right: 15px;
  border-width: 0 1px 1px 0;
}

.contact-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.5rem;
  letter-spacing: 2px;
  margin-bottom: 30px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 15px;
}

.info-item {
  display: flex;
  margin-bottom: 25px;
  align-items: flex-start;
  gap: 20px;
}

.info-icon {
  width: 20px;
  height: 20px;
  margin-top: 5px;
  fill: var(--accent-gold);
  flex-shrink: 0;
}

.info-text label {
  display: block;
  font-family: 'Noto Serif SC', serif;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 3px;
}

.info-text p {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 400;
  word-break: break-all;
}

.info-text p.company-name {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-red);
}

.contact-map-placeholder {
  flex: 0.8;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  background-color: #F3EFE9;
  text-align: center;
}

.map-icon {
  width: 48px;
  height: 48px;
  fill: var(--accent-gold);
  margin-bottom: 20px;
  opacity: 0.8;
}

.map-text h4 {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.map-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  max-width: 280px;
  margin: 0 auto;
}

/* ==========================================
   页脚 - Footer (包含ICP备案)
   ========================================== */
footer {
  background-color: var(--bg-footer);
  border-top: 1px solid var(--border-medium);
  padding: 60px 20px 40px;
  color: var(--text-secondary);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(178, 145, 86, 0.15);
}

.footer-brand {
  max-width: 400px;
}

.footer-brand h4 {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.25rem;
  color: var(--text-primary);
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  gap: 40px;
}

.footer-link-group h5 {
  font-family: 'Noto Serif SC', serif;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.footer-link-group ul {
  list-style: none;
}

.footer-link-group ul li {
  margin-bottom: 8px;
}

.footer-link-group ul li a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-link-group ul li a:hover {
  color: var(--accent-red);
}

/* 版权及工信部备案信息 */
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-copyright p {
  letter-spacing: 0.5px;
}

.footer-beian {
  display: flex;
  gap: 20px;
  align-items: center;
}

.beian-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
}

.beian-link:hover {
  color: var(--accent-red);
}

/* ==========================================
   动画与响应式媒体查询
   ========================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 渐显进入效果类 (用于JS滚动加载) */
.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 响应式断点 */
@media (max-width: 1024px) {
  .collection-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .about-content {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 70px 20px;
  }
  
  .section-title {
    margin-bottom: 40px;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: var(--bg-parchment);
    box-shadow: -5px 0 30px rgba(0,0,0,0.05);
    flex-direction: column;
    padding: 100px 40px;
    gap: 30px;
    transition: var(--transition);
    z-index: 1000;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  /* 汉堡菜单变成X */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hero-content {
    padding: 0 20px;
  }
  
  .hero-text-card {
    padding: 35px 25px;
    max-width: 100%;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .collection-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }
  
  .about-content {
    flex-direction: column-reverse;
    gap: 40px;
  }
  
  .vertical-scroll {
    writing-mode: horizontal-tb;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border-medium);
    padding: 0 0 20px 0;
    text-align: center;
    width: 100%;
    letter-spacing: 6px;
    line-height: 1.8;
  }
  
  .contact-layout {
    flex-direction: column;
  }
  
  .contact-info-card {
    padding: 35px 20px;
  }
  
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-links {
    width: 100%;
    justify-content: space-between;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
