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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #333;
  line-height: 1.7;
  background: #fff;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== Buttons ========== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: #d4a056;
  color: #fff;
  border-color: #d4a056;
}

.btn-primary:hover {
  background: #c48d3f;
  border-color: #c48d3f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 160, 86, 0.4);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: #333;
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* ========== Language Bar ========== */
.lang-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  background: #1a1a1a;
  padding: 6px 0;
}

.lang-container {
  display: flex;
  justify-content: flex-end;
}

.lang-switcher {
  display: flex;
  gap: 4px;
}

.lang-btn {
  background: transparent;
  border: 1px solid #555;
  color: #ccc;
  padding: 3px 10px;
  font-size: 0.7rem;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.3s;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.lang-btn:hover {
  border-color: #d4a056;
  color: #d4a056;
}

.lang-btn.active {
  background: #d4a056;
  border-color: #d4a056;
  color: #fff;
}

/* ========== Navbar ========== */
.navbar {
  position: fixed;
  top: 32px;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 46px;
  width: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-menu {
  display: flex;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  border-radius: 4px;
  transition: all 0.3s;
}

.navbar.scrolled .nav-link {
  color: #333;
}

.nav-link:hover,
.nav-link.active {
  color: #d4a056;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
}

.navbar.scrolled .nav-toggle span {
  background: #333;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('images/factory-01.png') center/cover no-repeat;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.75), rgba(50, 40, 30, 0.65));
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 2px;
  line-height: 1.3;
}

.hero-tagline {
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 6px;
  text-transform: uppercase;
  opacity: 0.9;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 12px;
  opacity: 0.95;
  letter-spacing: 4px;
}

.hero-desc {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== Sections ========== */
.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}

.section-subtitle {
  text-align: center;
  font-size: 1.05rem;
  color: #777;
  margin-bottom: 60px;
}

/* ========== About ========== */
.about {
  background: #fff;
}

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

.about-text p {
  margin-bottom: 20px;
  font-size: 1.02rem;
  color: #555;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #d4a056;
}

.stat-label {
  font-size: 0.85rem;
  color: #888;
}

.about-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* ========== Services ========== */
.services {
  background: #f9f7f4;
}

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

.service-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-color: #d4a056;
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
  color: #222;
}

.service-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
}

/* ========== Process ========== */
.process {
  background: #fff;
}

.process-steps {
  display: flex;
  gap: 24px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 0;
  right: 0;
  height: 2px;
  background: #e8e0d6;
  z-index: 0;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #d4a056;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s;
}

.process-step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(212, 160, 86, 0.4);
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #222;
}

.process-step p {
  font-size: 0.9rem;
  color: #777;
  padding: 0 8px;
}

/* ========== Gallery ========== */
.gallery {
  background: #f9f7f4;
}

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

.gallery-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* ========== Contact ========== */
.contact {
  background: #fff;
}

.contact-qr-center {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.qr-item {
  text-align: center;
}

.qr-item img {
  width: 220px;
  height: 220px;
  border-radius: 12px;
  border: 1px solid #eee;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.qr-item img:hover {
  transform: scale(1.05);
}

.qr-item span {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #555;
}

/* ========== Footer ========== */
.footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #333;
}

.footer-logo {
  height: 50px;
  margin-bottom: 16px;
  border-radius: 50%;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #999;
}

.footer-links h4,
.footer-services h4 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 16px;
}

.footer-links li,
.footer-services li {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #d4a056;
}

.footer-bottom {
  text-align: center;
  padding: 24px 0;
  font-size: 0.85rem;
  color: #666;
}

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

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

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    flex-wrap: wrap;
  }

  .process-steps::before {
    display: none;
  }

  .process-step {
    flex: 0 0 calc(50% - 12px);
  }

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

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    letter-spacing: 2px;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-image {
    order: -1;
  }

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

  .process-step {
    flex: 0 0 100%;
  }

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

  .contact-qr-center {
    gap: 40px;
  }

  .qr-item img {
    width: 180px;
    height: 180px;
  }

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

  /* Mobile nav */
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 80px 30px 30px;
    gap: 4px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  }

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

  .nav-menu .nav-link {
    color: #333;
    padding: 12px 16px;
    font-size: 1.05rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    padding: 12px 28px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }

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

  .gallery-item img {
    height: 200px;
  }

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

  .contact-qr {
    justify-content: center;
  }
}
