/* ============================================================
   Lusha Crafts — B2B Artificial Plants Factory Website
   Dongguan Lusha Crafts Co., Ltd.
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --green-dark: #1b4332;
  --green: #2d6a4f;
  --green-mid: #40916c;
  --green-light: #95d5b2;
  --green-pale: #d8f3dc;
  --gold: #c9a84c;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #e9ecef;
  --gray-200: #dee2e6;
  --gray-600: #6c757d;
  --gray-800: #343a40;
  --gray-900: #212529;
  --text: #2d3436;
  --text-light: #636e72;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 24px rgba(0,0,0,0.12);
  --max-width: 1200px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--green-dark); }

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

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

/* --- Typography --- */
h1, h2, h3, h4 { color: var(--green-dark); line-height: 1.3; font-weight: 700; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.35rem; margin-bottom: 8px; }
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-top: 8px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--green-dark);
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: #b8942f;
  border-color: #b8942f;
  color: var(--white);
}

/* --- Header / Navigation --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: -0.5px;
}
.logo span { color: var(--green); }
.nav { display: flex; gap: 32px; list-style: none; }
.nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.nav a:hover, .nav a.active {
  color: var(--green);
  border-bottom-color: var(--green);
}
.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav-cta .btn { padding: 8px 20px; font-size: 0.9rem; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 50%, var(--green-mid) 100%);
  color: var(--white);
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(60% 100% at 50% 100%);
}
.hero h1 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.hero .subtitle {
  font-size: 1.2rem;
  color: var(--green-pale);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.hero-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-badge {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* --- Sections --- */
.section { padding: 80px 0; }
.section-alt { background: var(--gray-50); }

/* --- Product Cards --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.product-card-img {
  height: 240px;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card-body { padding: 20px; }
.product-card-body h3 { margin-bottom: 8px; }
.product-card-body .specs {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 12px 0;
  font-size: 0.85rem;
  color: var(--text-light);
}
.product-card-body .specs span {
  background: var(--gray-100);
  padding: 4px 12px;
  border-radius: 20px;
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 32px;
}
.feature-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}
.feature-card .icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: var(--text-light); font-size: 0.95rem; }

/* --- Stats Bar --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  padding: 48px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  margin: 48px 0;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--green);
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* --- Trust / Certifications --- */
.certs-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.cert-badge {
  background: var(--green-pale);
  padding: 16px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--green-dark);
  font-size: 0.95rem;
}

/* --- Case Studies --- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}
.case-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.case-card-img {
  height: 200px;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}
.case-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-card-body { padding: 24px; }
.case-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}

/* --- FAQ --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 20px 0;
}
.faq-item summary {
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--green-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--green);
  font-weight: 400;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-answer { padding-top: 12px; color: var(--text-light); line-height: 1.7; }

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.contact-info-item .icon {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button { align-self: flex-start; }

/* --- Buying Guide --- */
.guide-content { max-width: 800px; margin: 0 auto; }
.guide-content h2 { margin-top: 48px; }
.guide-content p { margin-bottom: 16px; color: var(--text-light); }
.guide-content ul, .guide-content ol { margin: 16px 0 24px 24px; color: var(--text-light); }
.guide-content li { margin-bottom: 8px; }
.step-card {
  background: var(--white);
  border-left: 4px solid var(--green);
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}
.step-card h3 { margin-bottom: 8px; }

/* --- Table (product specs) --- */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
.specs-table th, .specs-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}
.specs-table th {
  background: var(--gray-50);
  font-weight: 600;
  color: var(--green-dark);
}
.specs-table tr:hover { background: var(--gray-50); }

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--white);
  text-align: center;
  padding: 64px 24px;
  border-radius: var(--radius-lg);
  margin: 48px 0;
}
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: var(--green-pale); margin-bottom: 28px; font-size: 1.1rem; }

/* --- Footer --- */
.footer {
  background: var(--green-dark);
  color: var(--green-pale);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h4 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1rem;
}
.footer p, .footer a { color: var(--green-pale); font-size: 0.9rem; }
.footer a { display: block; margin-bottom: 8px; }
.footer a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* --- Utility --- */
.text-center { text-align: center; }
.mt-1 { margin-top: 16px; }
.mt-2 { margin-top: 32px; }
.mt-3 { margin-top: 48px; }
.mb-1 { margin-bottom: 16px; }
.mb-2 { margin-bottom: 32px; }

/* --- Responsive --- */
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .hero { padding: 60px 0 50px; }
  .hero h1 { font-size: 2rem; }
  .hero .subtitle { font-size: 1rem; }

  .nav, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px 24px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    gap: 0;
  }
  .nav.open a { padding: 12px 0; border-bottom: 1px solid var(--gray-100); }

  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cases-grid, .products-grid { grid-template-columns: 1fr; }
}

/* --- Company Intro Banner (like 海虹) --- */
.company-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
}
.company-intro-img {
  background: linear-gradient(135deg, var(--green-pale), var(--green-light));
  border-radius: var(--radius-lg);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  overflow: hidden;
}
.company-intro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.company-intro h2 { font-size: 1.8rem; margin-bottom: 16px; }
.company-intro h2 em { font-style: normal; color: var(--green); }
.company-intro .intro-text { color: var(--text-light); line-height: 1.8; margin-bottom: 20px; }
.company-intro .intro-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}
.company-intro .intro-highlights span {
  background: var(--green-pale);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-dark);
}

/* --- Product Category Grid (like 圣杰) --- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.cat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.cat-card-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  overflow: hidden;
}
.cat-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-card:nth-child(1) .cat-card-img { background: #e8f5e9; }
.cat-card:nth-child(2) .cat-card-img { background: #f1f8e9; }
.cat-card:nth-child(3) .cat-card-img { background: #fbe9e7; }
.cat-card:nth-child(4) .cat-card-img { background: #e3f2fd; }
.cat-card:nth-child(5) .cat-card-img { background: #f3e5f5; }
.cat-card:nth-child(6) .cat-card-img { background: #fff8e1; }
.cat-card:nth-child(7) .cat-card-img { background: #e0f2f1; }
.cat-card:nth-child(8) .cat-card-img { background: #fce4ec; }
.cat-card-body {
  padding: 16px;
  text-align: center;
}
.cat-card-body h3 { font-size: 1rem; margin-bottom: 4px; }
.cat-card-body p { font-size: 0.82rem; color: var(--text-light); }

/* --- Client Logo Grid --- */
.client-grid {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  opacity: 0.7;
}
.client-logo {
  width: 120px;
  height: 60px;
  background: var(--gray-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-600);
  text-align: center;
  padding: 8px;
}

/* --- Blog Preview Cards --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.blog-card-img {
  height: 180px;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.blog-card-body { padding: 20px; }
.blog-card-body .blog-date {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 8px;
}
.blog-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* --- Production Process ——- */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  margin: 32px 0;
}
.process-step {
  position: relative;
  padding: 32px 16px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.process-step::after {
  content: '→';
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--green);
  font-weight: bold;
}
.process-step:last-child::after { content: ''; }
.process-step .step-num {
  width: 40px;
  height: 40px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 12px;
}
.process-step h4 { font-size: 0.95rem; margin-bottom: 6px; }
.process-step p { font-size: 0.82rem; color: var(--text-light); }

/* --- Breadcrumb --- */
.breadcrumb {
  background: var(--gray-50);
  padding: 16px 0;
  font-size: 0.9rem;
}
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { color: var(--text); }

/* --- Page Hero --- */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: var(--green-pale); font-size: 1.1rem; }

/* --- Blog Article --- */
.blog-article { max-width: 800px; margin: 0 auto; }
.blog-article h2 { margin-top: 40px; margin-bottom: 16px; }
.blog-article h3 { margin-top: 28px; margin-bottom: 12px; }
.blog-article p { margin-bottom: 16px; color: var(--text-light); line-height: 1.8; }
.blog-article ul, .blog-article ol { margin: 16px 0 24px 24px; color: var(--text-light); }
.blog-article li { margin-bottom: 8px; }
.blog-article .highlight-box {
  background: var(--green-pale);
  border-left: 4px solid var(--green);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}

/* --- Responsive additions --- */
@media (max-width: 768px) {
  .company-intro { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .section { padding: 48px 0; }
  .hero-badges { gap: 8px; }
  .hero-badge { font-size: 0.8rem; padding: 6px 14px; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* Product image fallback */
.no-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: var(--green-pale);
  color: var(--green);
  font-size: 13px;
  text-align: center;
  padding: 12px;
}
