/* ========================================
   荃鹿鹿角胶（广州）品牌运营 - 企业官网
   简约大气风格
   ======================================== */

/* ----- CSS Variables ----- */
:root {
  --color-primary: #8B1A2B;
  --color-primary-light: #A83242;
  --color-primary-dark: #6B1220;
  --color-gold: #BF9B30;
  --color-gold-light: #D4B65A;
  --color-bg: #FDFBF7;
  --color-bg-alt: #F5F0EB;
  --color-bg-dark: #1A1A1A;
  --color-text: #2D2D2D;
  --color-text-light: #6B6B6B;
  --color-text-muted: #999999;
  --color-white: #FFFFFF;
  --color-border: #E8E3DC;
  --font-heading: 'Noto Serif SC', 'STSong', 'SimSun', 'Songti SC', serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  --max-width: 1200px;
  --nav-height: 72px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
}

h2 {
  font-size: 2.25rem;
  letter-spacing: 0.02em;
}

h3 {
  font-size: 1.5rem;
}

p {
  color: var(--color-text-light);
  line-height: 1.8;
}

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

.section-title h2 {
  color: var(--color-text);
  margin-bottom: 12px;
}

.section-title .subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
}

.section-title .divider {
  width: 48px;
  height: 3px;
  background: var(--color-gold);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ----- Navigation ----- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  transition: all var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar .logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.navbar .logo span {
  color: var(--color-gold);
}

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

.nav-links a {
  font-size: 0.95rem;
  color: var(--color-text);
  position: relative;
  padding: 4px 0;
  letter-spacing: 0.03em;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
}

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

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all var(--transition);
  border-radius: 2px;
}

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

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

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

/* ----- Hero / Banner ----- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, 
    var(--color-primary-dark) 0%, 
    var(--color-primary) 40%, 
    var(--color-primary-light) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(191, 155, 48, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 24px;
}

.hero-content .hero-tag {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--color-gold-light);
  border: 1px solid rgba(191, 155, 48, 0.4);
  padding: 6px 24px;
  border-radius: 50px;
  margin-bottom: 28px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content .hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-content .btn-primary {
  display: inline-block;
  padding: 14px 48px;
  background: var(--color-gold);
  color: var(--color-white);
  font-size: 1rem;
  letter-spacing: 0.08em;
  border-radius: 50px;
  transition: all var(--transition);
  font-weight: 500;
}

.hero-content .btn-primary:hover {
  background: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(191, 155, 48, 0.3);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: bounce 2s infinite;
}

.hero-scroll span {
  display: block;
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255, 255, 255, 0.5);
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  padding: 12px 36px;
  border-radius: 50px;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  font-family: var(--font-body);
  font-weight: 500;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-gold {
  background: var(--color-gold);
  color: var(--color-white);
}

.btn-gold:hover {
  background: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(191, 155, 48, 0.3);
}

/* ----- Intro Section (Home) ----- */
.intro-section {
  padding: 100px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-text h2 {
  margin-bottom: 24px;
  color: var(--color-primary);
}

.intro-text p {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.intro-text .features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.intro-text .feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-item .icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.feature-item .info h4 {
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 2px;
}

.feature-item .info p {
  font-size: 0.85rem;
  margin-bottom: 0;
  color: var(--color-text-muted);
}

.intro-image {
  position: relative;
}

.intro-image .image-box {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--color-bg-alt), #EDE6DC);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.intro-image .image-box .placeholder {
  text-align: center;
  color: var(--color-text-muted);
}

.intro-image .image-box .placeholder .big-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 12px;
  opacity: 0.5;
}

.intro-image .badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 140px;
  height: 140px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  box-shadow: var(--shadow-md);
}

.intro-image .badge .number {
  font-size: 2rem;
  font-weight: 700;
}

.intro-image .badge .label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

/* ----- Products Preview (Home) ----- */
.products-preview {
  padding: 100px 0;
  background: var(--color-bg-alt);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card .card-image {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #F5F0EB, #EDE6DC);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--color-text-muted);
  opacity: 0.5;
}

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

.product-card .card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--color-text);
}

.product-card .card-body p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.product-card .card-body .tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.product-card .tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(139, 26, 43, 0.08);
  color: var(--color-primary);
  font-size: 0.8rem;
  border-radius: 50px;
  letter-spacing: 0.04em;
}

/* ----- Value / Stats Bar ----- */
.stats-bar {
  padding: 60px 0;
  background: var(--color-primary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-gold-light);
  margin-bottom: 6px;
}

.stat-item .stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.06em;
}

/* ----- Footer ----- */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.footer-brand .logo span {
  color: var(--color-gold);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.footer h4 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ========================================
   Page Header (Inner Pages)
   ======================================== */
.page-header {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(191, 155, 48, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header h1 {
  font-size: 2.75rem;
  color: var(--color-white);
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}

.page-header .breadcrumb {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

.page-header .breadcrumb a {
  color: var(--color-gold-light);
}

.page-header .breadcrumb a:hover {
  text-decoration: underline;
}

/* ========================================
   About Page
   ======================================== */
.about-story {
  padding: 100px 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.story-image {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #F5F0EB, #EDE6DC);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--color-text-muted);
  opacity: 0.5;
  box-shadow: var(--shadow-lg);
}

.story-text h2 {
  color: var(--color-primary);
  margin-bottom: 24px;
}

.story-text p {
  margin-bottom: 16px;
}

.about-values {
  padding: 100px 0;
  background: var(--color-bg-alt);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  background: var(--color-white);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-card .value-icon {
  width: 64px;
  height: 64px;
  background: rgba(139, 26, 43, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 20px;
}

.value-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--color-text);
}

.value-card p {
  font-size: 0.9rem;
}

/* ========================================
   Products Page
   ======================================== */
.products-detail {
  padding: 100px 0;
}

.product-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.product-detail-card:last-child {
  margin-bottom: 0;
}

.product-detail-card .product-image {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #F5F0EB, #EDE6DC);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--color-text-muted);
  opacity: 0.5;
  box-shadow: var(--shadow-md);
}

.product-detail-card .product-info h2 {
  color: var(--color-primary);
  margin-bottom: 16px;
}

.product-detail-card .product-info .product-subtitle {
  color: var(--color-gold);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  font-weight: 500;
}

.product-detail-card .product-info p {
  margin-bottom: 24px;
}

.product-detail-card .product-info .highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.product-detail-card .highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.product-detail-card .highlight-item::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.product-detail-card.reverse {
  direction: rtl;
}

.product-detail-card.reverse .product-info {
  direction: ltr;
}

/* ========================================
   Contact Page
   ======================================== */
.contact-section {
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info h2 {
  color: var(--color-primary);
  margin-bottom: 16px;
}

.contact-info > p {
  margin-bottom: 40px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.info-item {
  display: flex;
  gap: 16px;
}

.info-item .info-icon {
  width: 48px;
  height: 48px;
  background: rgba(139, 26, 43, 0.06);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-item .info-text h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--color-text);
}

.info-item .info-text p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.contact-qr {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
}

.contact-qr .qr-placeholder {
  width: 100px;
  height: 100px;
  background: var(--color-white);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-text-muted);
}

.contact-qr .qr-text {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* Contact Form */
.contact-form {
  background: var(--color-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  margin-bottom: 28px;
  color: var(--color-text);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(191, 155, 48, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
  font-weight: 500;
}

.form-submit:hover {
  background: var(--color-primary-light);
  transform: translateY(-1px);
}

/* ----- Map Placeholder ----- */
.map-section {
  padding: 0 0 100px;
}

.map-placeholder {
  width: 100%;
  aspect-ratio: 16/5;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--color-text-muted);
}

.map-placeholder .map-icon {
  font-size: 2.5rem;
  opacity: 0.4;
}

/* ========================================
   Animations
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .intro-grid,
  .story-grid,
  .product-detail-card {
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  h2 { font-size: 1.75rem; }
  .hero-content h1 { font-size: 2.25rem; }
  .page-header h1 { font-size: 2rem; }

  .menu-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    padding: 100px 32px 32px;
    gap: 28px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right var(--transition);
  }

  .nav-links.open {
    right: 0;
  }

  .intro-grid,
  .story-grid,
  .product-detail-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-detail-card.reverse {
    direction: ltr;
  }

  .products-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .intro-text .features {
    grid-template-columns: 1fr;
  }

  .intro-image .badge {
    width: 100px;
    height: 100px;
    bottom: -12px;
    right: -12px;
  }

  .intro-image .badge .number {
    font-size: 1.5rem;
  }

  .contact-form {
    padding: 24px;
  }

  section, .intro-section, .products-preview,
  .about-story, .about-values, .products-detail,
  .contact-section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.75rem; }
  .hero-content .hero-desc { font-size: 0.95rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat-item .stat-number { font-size: 1.75rem; }
}
