/* ============================================================
   Wuhan Jutongjie E-commerce Co., Ltd — Global Stylesheet
   暖调都市精致生活新零售商务风 | Warm Urban Refined Lifestyle E-commerce
   ============================================================ */

/* ----- CSS Variables / Design Tokens ----- */
:root {
  /* Brand Colors */
  --color-primary:       #C48A69;   /* 暖柔赤陶色 — 主色调 */
  --color-primary-rgb:   196, 138, 105;
  --color-secondary:     #E8D7CB;   /* 浅暖杏色 — 辅助色 */
  --color-secondary-rgb: 232, 215, 203;

  /* Text Colors */
  --color-title:         #F8F3EF;   /* 主标题：暖白 */
  --color-body:          #DCD3CD;   /* 正文：浅暖灰 */
  --color-muted:         #A99F98;   /* 辅助说明：淡灰 */

  /* Overlay & Card */
  --color-overlay:       rgba(34, 34, 34, 0.48);  /* 半透柔灰蒙版 */
  --color-card-base:     rgba(255, 255, 255, 0.08); /* 磨砂透色卡片基底 */
  --color-card-border:   rgba(232, 215, 203, 0.18);  /* 卡片边框 */

  /* Spacing */
  --section-min-height:  100vh;
  --content-max-width:   1200px;
  --content-padding-x:   2rem;

  /* Typography */
  --font-sans:           'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display:        'Playfair Display', 'Georgia', serif;
}

/* ----- Reset & Base ----- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--color-body);
  background: #1a1817;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-secondary);
}

/* ----- Section: Full-Screen Panel ----- */
.section {
  position: relative;
  min-height: var(--section-min-height);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Background Image Layer */
.section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Overlay Layer — 半透柔灰蒙版 */
.section-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--color-overlay);
}

/* Theme Overlay — 主题色区块专用叠加层 */
.section-overlay--theme {
  background: linear-gradient(
    135deg,
    rgba(var(--color-primary-rgb), 0.72) 0%,
    rgba(var(--color-primary-rgb), 0.48) 50%,
    rgba(var(--color-secondary-rgb), 0.36) 100%
  );
}

/* Content Layer */
.section-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 5rem var(--content-padding-x);
}

/* ----- Cards ----- */
.card {
  background: var(--color-card-base);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--color-card-border);
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  border-color: rgba(var(--color-primary-rgb), 0.35);
}

/* Gradient Card — 主题色板块内部卡片渐变 */
.card--gradient {
  background: linear-gradient(
    135deg,
    rgba(var(--color-primary-rgb), 0.22) 0%,
    rgba(255, 255, 255, 0.06) 100%
  );
  border: 1px solid rgba(var(--color-secondary-rgb), 0.25);
}

.card--gradient:hover {
  background: linear-gradient(
    135deg,
    rgba(var(--color-primary-rgb), 0.32) 0%,
    rgba(255, 255, 255, 0.10) 100%
  );
}

/* ----- Typography Helpers ----- */
.text-title {
  font-family: var(--font-display);
  color: var(--color-title);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.text-body {
  color: var(--color-body);
  font-weight: 300;
  line-height: 1.85;
}

.text-muted {
  color: var(--color-muted);
  font-weight: 300;
  font-size: 0.925rem;
}

.text-accent {
  color: var(--color-primary);
}

.text-secondary-accent {
  color: var(--color-secondary);
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: none;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background: rgba(var(--color-primary-rgb), 0.8);
  border-color: rgba(var(--color-primary-rgb), 0.6);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}

.btn--outline:hover {
  background: rgba(var(--color-secondary-rgb), 0.12);
  color: var(--color-title);
  border-color: var(--color-title);
}

/* ----- Divider ----- */
.divider {
  width: 60px;
  height: 2px;
  background: var(--color-primary);
  margin: 1.5rem 0;
  border-radius: 1px;
}

.divider--center {
  margin-left: auto;
  margin-right: auto;
}

.divider--light {
  background: var(--color-secondary);
  opacity: 0.7;
}

/* ----- Badge / Tag ----- */
.badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-secondary);
  border: 1px solid rgba(var(--color-secondary-rgb), 0.3);
  border-radius: 9999px;
  background: rgba(var(--color-primary-rgb), 0.12);
  margin-bottom: 0.75rem;
}

/* ----- Grid Layouts ----- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ----- Fade-in Animation ----- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ----- Page Navigation ----- */
.page-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem var(--content-padding-x);
  background: linear-gradient(180deg, rgba(26, 24, 23, 0.9) 0%, rgba(26, 24, 23, 0) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-nav__brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-title);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.page-nav__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.page-nav__links a {
  color: var(--color-muted);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid transparent;
}

.page-nav__links a:hover,
.page-nav__links a.active {
  color: var(--color-title);
  border-bottom-color: var(--color-primary);
}

/* ----- Footer ----- */
.site-footer {
  text-align: center;
  padding: 2rem var(--content-padding-x);
  background: #1a1817;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer p {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* ----- Image Background Cards (with hover zoom) ----- */
.card-bg {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  min-height: 280px;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card-bg:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.card-bg__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.card-bg:hover .card-bg__image {
  transform: scale(1.08);
}

.card-bg__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.48) 45%, rgba(0,0,0,0.75) 100%);
  z-index: 1;
}

.card-bg__content {
  position: relative;
  z-index: 2;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: 280px;
}

/* ----- Icon Placeholder (emoji-style decorative bullets) ----- */
.icon-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  margin-right: 0.6rem;
  flex-shrink: 0;
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --content-padding-x: 1.25rem;
  }

  .section-content {
    padding: 4rem var(--content-padding-x);
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 1.75rem 1.5rem;
  }

  .page-nav {
    padding: 1rem var(--content-padding-x);
  }

  .page-nav__links {
    gap: 1.25rem;
  }

  .page-nav__links a {
    font-size: 0.75rem;
  }
}
