/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: #1a1a1a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Noto Serif SC', 'Georgia', serif;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── Color Variables ── */
:root {
  --gold-300: #d4b86a;
  --gold-400: #C9A84C;
  --gold-500: #b8860b;
  --gold-600: #9a7209;
  --charcoal-50:  #f7f7f7;
  --charcoal-100: #e8e8e8;
  --charcoal-200: #d0d0d0;
  --charcoal-300: #a8a8a8;
  --charcoal-400: #6b6b6b;
  --charcoal-500: #4a4a4a;
  --charcoal-600: #3a3a3a;
  --charcoal-700: #2d2d2d;
  --charcoal-800: #222222;
  --charcoal-900: #1a1a1a;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f5f5f5; }
::-webkit-scrollbar-thumb { background: var(--gold-400); border-radius: 3px; }

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  padding: 12px 32px;
  background: var(--gold-400);
  color: #fff;
  font-family: inherit;
  font-weight: 500;
  letter-spacing: 0.15em;
  font-size: 0.875rem;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s;
}
.btn-primary:hover {
  background: var(--gold-600);
  box-shadow: 0 8px 24px rgba(201,168,76,0.2);
}

.btn-outline {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid var(--gold-400);
  color: var(--gold-400);
  font-family: inherit;
  font-weight: 500;
  letter-spacing: 0.15em;
  font-size: 0.875rem;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.btn-outline:hover { background: var(--gold-400); color: #fff; }

/* ── Section Padding ── */
.section-padding { padding: 80px 24px; }
@media (min-width: 768px)  { .section-padding { padding: 80px 48px; } }
@media (min-width: 1024px) { .section-padding { padding: 80px 96px; } }

/* ── Container ── */
.container { max-width: 1280px; margin: 0 auto; }

/* ── Section Title ── */
.section-title { margin-bottom: 56px; text-align: center; }
.section-title.left { text-align: left; }
.section-title .subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 12px;
}
.section-title .subtitle.light { color: var(--gold-300); }
.section-title h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--charcoal-900);
}
.section-title h2.light { color: #fff; }
.section-title .divider {
  width: 64px; height: 2px;
  background: var(--gold-400);
  margin: 16px auto 0;
}
.section-title.left .divider { margin-left: 0; }
.divider.left { margin-left: 0 !important; }
.section-title .desc {
  margin-top: 24px;
  font-size: 1rem;
  line-height: 1.75;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  color: var(--charcoal-500);
}
.section-title.left .desc { margin-left: 0; }
.section-title .desc.light { color: var(--charcoal-200); }

/* ── Header ── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: 80px;
  display: flex;
  align-items: center;
  transition: background 0.5s, box-shadow 0.5s;
}
#site-header.scrolled,
#site-header.opaque {
  background: rgba(26,26,26,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.header-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 768px) { .header-inner { padding: 0 48px; } }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 40px; height: 40px;
  background: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Noto Serif SC', serif;
  color: #fff; font-size: 1.25rem; font-weight: 700;
  flex-shrink: 0;
}
.logo-text { line-height: 1.2; }
.logo-cn { font-family: 'Noto Serif SC', serif; color: #fff; font-size: 1.1rem; letter-spacing: 0.1em; }
.logo-en { color: var(--gold-400); font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; }

.nav-desktop { display: none; align-items: center; gap: 40px; }
@media (min-width: 768px) { .nav-desktop { display: flex; } }
.nav-desktop a {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--charcoal-200);
  transition: color 0.2s;
}
.nav-desktop a:hover, .nav-desktop a.active { color: var(--gold-400); }
.nav-desktop .btn-primary { font-size: 0.75rem; padding: 8px 24px; }

.menu-toggle {
  display: flex;
  background: none; border: none; cursor: pointer;
  color: #fff; padding: 4px;
}
@media (min-width: 768px) { .menu-toggle { display: none; } }

.nav-mobile {
  display: none;
  position: absolute;
  top: 80px; left: 0; right: 0;
  background: var(--charcoal-900);
  border-top: 1px solid var(--charcoal-700);
  padding: 24px;
  flex-direction: column;
  gap: 24px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--charcoal-100);
}
.nav-mobile a.active { color: var(--gold-400); }
.nav-mobile .btn-primary { text-align: center; font-size: 0.75rem; padding: 8px; }

/* ── Footer ── */
footer {
  background: var(--charcoal-900);
  color: var(--charcoal-200);
}
.footer-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 768px) { .footer-main { grid-template-columns: 1fr 1fr; padding: 80px 48px; } }
@media (min-width: 1024px) { .footer-main { grid-template-columns: repeat(4,1fr); } }

.footer-brand p { font-size: 0.875rem; line-height: 1.75; color: var(--charcoal-300); margin: 24px 0; }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--charcoal-600);
  display: flex; align-items: center; justify-content: center;
  color: var(--charcoal-300);
  transition: border-color 0.2s, color 0.2s;
}
.footer-social a:hover { border-color: var(--gold-400); color: var(--gold-400); }

.footer-col h4 {
  font-family: 'Noto Serif SC', serif;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold-400);
  display: inline-block;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 0.875rem; color: var(--charcoal-300); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold-400); }
.footer-col ul li.contact-item { display: flex; align-items: flex-start; gap: 12px; }
.footer-col ul li.contact-item svg { color: var(--gold-400); flex-shrink: 0; margin-top: 2px; }
.footer-col ul li.contact-item span { font-size: 0.875rem; color: var(--charcoal-300); }

.footer-bottom {
  border-top: 1px solid var(--charcoal-800);
}
.footer-bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 0.75rem;
  color: var(--charcoal-400);
}
@media (min-width: 768px) {
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; padding: 24px 48px; }
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--charcoal-400); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-400); }

/* ── Page Hero (inner pages) ── */
.page-hero {
  position: relative;
  height: 256px;
  display: flex; align-items: center; justify-content: center;
  background-size: cover;
  background-position: center;
}
@media (min-width: 768px) { .page-hero { height: 320px; } }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: rgba(26,26,26,0.70);
}
.page-hero-content {
  position: relative; z-index: 10;
  text-align: center;
}
.page-hero-content .eyebrow {
  color: var(--gold-400);
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.page-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #fff;
}
.page-hero-content .divider {
  width: 64px; height: 2px;
  background: var(--gold-400);
  margin: 16px auto 0;
}

/* ── Product Card ── */
.product-card {
  position: relative;
  overflow: hidden;
  background: var(--charcoal-50);
}
.product-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.product-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s;
}
.product-card:hover .product-card-img img { transform: scale(1.1); }
.product-card-img-overlay {
  position: absolute; inset: 0;
  background: rgba(26,26,26,0);
  transition: background 0.5s;
}
.product-card:hover .product-card-img-overlay { background: rgba(26,26,26,0.3); }
.product-card-badge {
  position: absolute; top: 16px; left: 16px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold-400);
  color: #fff;
  padding: 4px 12px;
}
.product-card-body { padding: 24px; }
.product-card-body h3 {
  font-size: 1.25rem;
  color: var(--charcoal-900);
  margin-bottom: 8px;
}
.product-card-body p {
  font-size: 0.875rem;
  color: var(--charcoal-400);
  line-height: 1.75;
  margin-bottom: 16px;
}
.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--gold-500);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: gap 0.2s;
}
.product-card-link:hover { gap: 16px; }
.product-card-bottom-line {
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold-400);
  transition: width 0.5s;
}
.product-card:hover .product-card-bottom-line { width: 100%; }

/* ── Animate on scroll ── */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Anchor offset for fixed header */
[id] { scroll-margin-top: 100px; }
