/**
 * home-sections.css — 首页样式（2026-07 重构）
 * 三段：Hero 轮播 / Display Solutions by Industry / Integrated Display Manufacturing
 */

/* ============ Hero Carousel ============ */
.home-hero-carousel {
  position: relative;
  height: 92vh;
  min-height: 560px;
  max-height: 820px;
  overflow: hidden;
  background: var(--color-charcoal, #2a221a);
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 1;
}
.hero-slide.is-active {
  opacity: 1;
  z-index: 2;
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(40, 32, 24, 0.55) 0%,
    rgba(40, 32, 24, 0.40) 40%,
    rgba(40, 32, 24, 0.70) 100%);
}
.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  max-width: 1280px;
}
.hero-eyebrow {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--brand-accent, #c9a96a);
  margin-bottom: var(--space-3);
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: var(--weight-light, 300);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,0.55);
  max-width: 820px;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: var(--space-6);
  max-width: 640px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.hero-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.hero-actions .btn {
  padding: 14px 28px;
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide, 0.05em);
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hero-actions .btn-primary {
  background: var(--brand-accent, #c9a96a);
  color: #1a1410;
  border: 1px solid var(--brand-accent, #c9a96a);
}
.hero-actions .btn-primary:hover {
  background: #d9b97a;
  border-color: #d9b97a;
  transform: translateY(-1px);
}
.hero-actions .btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.hero-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}
.hero-nav {
  position: absolute;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 28px;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s;
}
.hero-dot.is-active {
  background: var(--brand-accent, #c9a96a);
}

@media (max-width: 767px) {
  .home-hero-carousel { height: 78vh; min-height: 440px; }
  .hero-title { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-actions .btn { padding: 12px 20px; font-size: 0.85rem; }
}

/* ============ Common Section ============ */
.home-section {
  padding-block: var(--space-9, 125px);
}
.home-section .container {
  max-width: 1280px;
}
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--space-8);
}
.section-eyebrow {
  display: block;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest, 0.2em);
  text-transform: uppercase;
  color: var(--brand-accent-deep, #8c7340);
  margin-bottom: var(--space-2);
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: var(--weight-light, 300);
  color: var(--color-text, #2a221a);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-3);
}
.section-desc {
  color: var(--color-text-soft, #6e6358);
  font-size: var(--text-base, 1rem);
  line-height: 1.7;
}
.section-cta {
  text-align: center;
  margin-top: var(--space-7);
}
.btn-outline {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid var(--brand-accent, #c9a96a);
  color: var(--brand-accent-deep, #8c7340);
  background: transparent;
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide, 0.05em);
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-outline:hover {
  background: var(--brand-accent, #c9a96a);
  color: #fff;
}

/* ============ Industry Grid ============ */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.industry-card {
  background: #fff;
  border: 1px solid var(--color-border-soft, #e8e2d4);
  overflow: hidden;
  transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s;
}
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(40, 32, 24, 0.08);
  border-color: var(--brand-accent, #c9a96a);
}
.industry-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin: 0;
  background: var(--color-beige, #f5efe2);
}
.industry-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.industry-card:hover .industry-card-img img {
  transform: scale(1.05);
}
.industry-card-body {
  padding: var(--space-4) var(--space-4) var(--space-5);
}
.industry-card-name {
  font-size: var(--text-lg, 1.125rem);
  font-weight: var(--weight-medium, 500);
  color: var(--color-text, #2a221a);
  margin-bottom: var(--space-2);
}
.industry-card-desc {
  font-size: var(--text-sm, 0.875rem);
  color: var(--color-text-soft, #6e6358);
  line-height: 1.6;
}

@media (max-width: 980px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .industry-grid { grid-template-columns: 1fr; }
}

/* ============ Manufacturing Grid ============ */
.home-manufacturing {
  background: var(--color-ivory-soft, #faf6ec);
}
.manufacturing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}
.manufacturing-card {
  background: #fff;
  overflow: hidden;
  border: 1px solid var(--color-border-soft, #e8e2d4);
  transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s;
}
.manufacturing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(40, 32, 24, 0.08);
  border-color: var(--brand-accent, #c9a96a);
}
.manufacturing-card-img {
  position: relative;
  margin: 0;
  line-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-beige, #f5efe2);
}
.manufacturing-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.manufacturing-card:hover .manufacturing-card-img img {
  transform: scale(1.06);
}
.manufacturing-card-body {
  padding: var(--space-4) var(--space-5) var(--space-5);
  background: #fff;
  color: var(--color-text, #2a221a);
}
.manufacturing-card-name {
  font-size: var(--text-lg, 1.125rem);
  font-weight: var(--weight-medium, 500);
  color: var(--color-text, #2a221a);
  margin-bottom: var(--space-2);
  letter-spacing: 0.01em;
}
.manufacturing-card-desc {
  font-size: var(--text-sm, 0.875rem);
  color: var(--color-text-soft, #6e6358);
  line-height: 1.6;
}

@media (max-width: 760px) {
  .manufacturing-grid { grid-template-columns: 1fr; }
}
