/*
Theme Name: 克鲁德工业 Kelude Industrial Premium
Theme URI: https://h.qizhongji.com
Author: 克鲁德重工
Description: 高端工业起重机企业WordPress主题 · 极简黑金 · 电影级视觉
Version: 2.0.0
Text Domain: kelude-industrial

=====================================
  PREMIUM DESIGN SYSTEM
=====================================
  主色      #0A0A0A / #1A1A1A
  香槟金    #D4AF37 / #C9A94E / #F0DFA0
  米白      #F5F0EB / #FAF7F2
  过渡灰    #2A2A2A / #3A3A3A / #666
  字体      Inter (UI) / Playfair Display (标题)
  金线      linear-gradient(90deg, transparent, #D4AF37, transparent) 
=====================================
*/

/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: #3A3A3A; background: #FAF7F2;
  line-height: 1.9; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: #C9A94E; text-decoration: none; transition: all .4s cubic-bezier(.25,.46,.45,.94); }
a:hover { color: #D4AF37; }
img { max-width: 100%; height: auto; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: 'Playfair Display', 'PingFang SC', serif; font-weight: 600; color: #0A0A0A; line-height: 1.25; letter-spacing: -0.02em; }
h1 { font-size: clamp(32px, 5vw, 56px); margin: 0 0 24px; }
h2 { font-size: clamp(24px, 3.5vw, 38px); margin: 50px 0 20px; }
h3 { font-size: clamp(18px, 2vw, 24px); margin: 35px 0 16px; }
h4 { font-size: 17px; margin: 24px 0 12px; letter-spacing: 0.5px; }
p { margin: 0 0 20px; color: #555; }

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes goldShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes lineExpand {
  from { width: 0; }
  to { width: 80px; }
}
.animate-in {
  opacity: 0; transform: translateY(40px);
  transition: all .8s cubic-bezier(.25,.46,.45,.94);
}
.animate-in.visible { opacity: 1; transform: translateY(0); }

/* === CONTAINER === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 30px; }

/* === GOLD DIVIDER === */
.gold-line {
  width: 80px; height: 1px;
  background: linear-gradient(90deg, #D4AF37, #C9A94E, #D4AF37);
  margin: 0 auto 24px;
  animation: lineExpand 1s ease-out forwards;
}

/* === HEADER (透明玻璃效果) === */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0;
  transition: all .4s cubic-bezier(.25,.46,.45,.94);
}
.site-header.scrolled {
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  border-bottom: 1px solid rgba(212,175,55,.15);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 30px;
}
.site-logo { display: flex; align-items: center; gap: 12px; }
.site-logo img { height: 36px; width: auto; transition: all .3s; }
.site-logo span {
  font-family: 'Playfair Display', serif;
  color: #F5F0EB; font-size: 22px; letter-spacing: 3px;
  font-weight: 600;
}
.main-nav ul { display: flex; list-style: none; gap: 2px; padding: 0; }
.main-nav ul li a {
  display: block; padding: 10px 20px;
  color: rgba(245,240,235,.7); font-size: 13px;
  letter-spacing: 2px; text-transform: uppercase;
  transition: all .3s; position: relative;
  font-weight: 500;
}
.main-nav ul li a::after {
  content: ''; position: absolute; bottom: 4px; left: 20px; right: 20px;
  height: 1px; background: #D4AF37;
  transform: scaleX(0); transition: transform .3s;
}
.main-nav ul li a:hover { color: #F5F0EB; }
.main-nav ul li a:hover::after { transform: scaleX(1); }

/* === HERO (电影级全屏) === */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: #0A0A0A;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(10,10,10,.95) 0%, rgba(26,26,26,.8) 50%, rgba(10,10,10,.9) 100%),
    radial-gradient(ellipse at 30% 50%, rgba(212,175,55,.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(212,175,55,.05) 0%, transparent 60%);
  z-index: 1;
}
.hero-section .container { position: relative; z-index: 2; text-align: center; padding: 120px 30px 60px; }
.hero-section .gold-line { margin: 0 auto 30px; }
.hero-section h1 {
  color: #F5F0EB; font-size: clamp(36px, 6vw, 64px);
  line-height: 1.15; margin-bottom: 20px;
  animation: fadeInUp 1s ease-out;
}
.hero-section .subtitle {
  color: #D4AF37; font-size: clamp(14px, 1.2vw, 18px);
  letter-spacing: 6px; text-transform: uppercase;
  margin-bottom: 20px; font-weight: 500;
  animation: fadeInUp .8s ease-out .2s both;
}
.hero-section p {
  color: rgba(245,240,235,.6);
  font-size: clamp(15px, 1.4vw, 18px);
  max-width: 640px; margin: 0 auto 40px;
  font-weight: 300; line-height: 1.8;
  animation: fadeInUp .8s ease-out .4s both;
}
.hero-section .btn-group { animation: fadeInUp .8s ease-out .6s both; }

/* === BUTTONS (高级质感) === */
.btn {
  display: inline-block; padding: 16px 40px;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; transition: all .4s;
  font-weight: 600; border: none; border-radius: 0;
  position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, #D4AF37, #C9A94E, #D4AF37);
  background-size: 200% 200%;
  color: #0A0A0A;
  animation: goldShimmer 3s ease-in-out infinite;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(212,175,55,.3); color: #0A0A0A; }
.btn-outline {
  background: transparent; color: #D4AF37;
  border: 1px solid rgba(212,175,55,.5);
}
.btn-outline:hover { background: rgba(212,175,55,.1); border-color: #D4AF37; transform: translateY(-2px); }
.btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* === PRODUCT CARDS (卡片悬停高级效果) === */
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { margin-bottom: 16px; }
.section-title p { color: #888; font-size: 15px; max-width: 500px; margin: 0 auto; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 30px; }
.product-card {
  background: #fff; position: relative;
  transition: all .5s cubic-bezier(.25,.46,.45,.94);
  cursor: pointer; overflow: hidden;
}
.product-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #D4AF37, transparent);
  transform: scaleX(0); transition: transform .5s;
}
.product-card:hover::before { transform: scaleX(1); }
.product-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(0,0,0,.12); }
.product-card .card-image { height: 240px; overflow: hidden; }
.product-card .card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.product-card:hover .card-image img { transform: scale(1.05); }
.product-card .card-body { padding: 28px; }
.product-card h3 { font-size: 20px; margin: 0 0 12px; }
.product-card h3 a { color: #0A0A0A; }
.product-card h3 a:hover { color: #C9A94E; }
.product-card p { color: #666; font-size: 14px; }
.product-card .card-link {
  display: inline-block; margin-top: 16px;
  color: #C9A94E; font-size: 13px; font-weight: 600; letter-spacing: 1px;
}
.product-card .card-link::after { content: ' →'; }

/* === TABLES === */
table { width: 100%; border-collapse: collapse; margin: 30px 0; }
th {
  background: #0A0A0A; color: #D4AF37;
  padding: 14px 20px; text-align: left;
  font-weight: 600; font-size: 14px; letter-spacing: 1px;
}
td { padding: 12px 20px; border-bottom: 1px solid #eee; font-size: 14px; }
tr:hover td { background: #FAF7F2; }

/* === FAQ === */
.faq-block { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e8e0d8; padding: 0; }
.faq-question {
  padding: 22px 40px 22px 0; font-weight: 600; font-size: 17px;
  color: #0A0A0A; cursor: pointer; position: relative;
  font-family: 'Playfair Display', serif;
}
.faq-question::after {
  content: '+'; position: absolute; right: 0; top: 20px;
  color: #D4AF37; font-size: 24px; font-weight: 300;
  transition: transform .3s;
}
.faq-item.active .faq-question::after { transform: rotate(45deg); content: '+'; }
.faq-answer { display: none; padding: 0 0 22px; color: #555; line-height: 1.9; }
.faq-item.active .faq-answer { display: block; animation: fadeInUp .4s ease-out; }

/* === STATS COUNTER === */
.stats-section { background: #0A0A0A; padding: 80px 0; position: relative; }
.stats-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,.3), transparent);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.stat-item .stat-number {
  font-size: 48px; font-weight: 700;
  background: linear-gradient(135deg, #D4AF37, #F0DFA0, #D4AF37);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Playfair Display', serif;
}
.stat-item .stat-label { color: rgba(245,240,235,.5); font-size: 14px; margin-top: 8px; letter-spacing: 2px; text-transform: uppercase; }

/* === PARAM GRID === */
.param-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.param-item {
  display: flex; padding: 14px 20px;
  background: #FAF7F2; border-left: 3px solid #D4AF37;
  transition: all .3s;
}
.param-item:hover { background: #F0EBE4; }
.param-label { color: #888; min-width: 120px; font-size: 14px; }
.param-value { color: #0A0A0A; font-weight: 600; font-size: 14px; }

/* === BLOG === */
.post-content { max-width: 780px; margin: 0 auto; }
.post-content h2 {
  margin-top: 50px;
  background: linear-gradient(90deg, #0A0A0A, #555);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.post-content blockquote {
  border: none; position: relative;
  background: #F5F0EB; padding: 30px 30px 30px 50px;
  margin: 30px 0; font-style: italic;
}
.post-content blockquote::before {
  content: '"'; position: absolute; left: 20px; top: 20px;
  font-size: 48px; color: #D4AF37; font-family: 'Playfair Display', serif;
  line-height: 1;
}

/* === CTA SECTION === */
.cta-section {
  background: #0A0A0A; padding: 80px 0;
  text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #D4AF37, transparent);
}
.cta-section h2 { color: #F5F0EB; margin-bottom: 16px; }
.cta-section p { color: rgba(245,240,235,.5); margin: 0 0 30px; }

/* === FOOTER === */
.site-footer {
  background: #0A0A0A; color: #666;
  padding: 80px 0 30px;
  position: relative;
}
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,.2), transparent);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; }
.footer-grid h4 {
  color: #D4AF37; font-size: 14px; margin-bottom: 20px;
  letter-spacing: 2px; text-transform: uppercase; font-family: 'Inter', sans-serif;
}
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul li a { color: #666; font-size: 14px; }
.footer-grid ul li a:hover { color: #D4AF37; padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid #1A1A1A; margin-top: 50px;
  padding-top: 24px; text-align: center; font-size: 13px; color: #555;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .product-grid { grid-template-columns: 1fr; }
  .param-grid { grid-template-columns: 1fr; }
  .hero-section { min-height: auto; }
  .hero-section .container { padding: 100px 20px 60px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
  .main-nav ul { gap: 0; }
  .main-nav ul li a { padding: 8px 12px; font-size: 11px; letter-spacing: 1px; }
  .site-header { padding: 12px 0; }
  .site-logo span { font-size: 18px; letter-spacing: 2px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .btn { padding: 14px 28px; font-size: 12px; }
}
