/* ===== Hero Section ===== */
.hero {
  margin-top: var(--header-h);
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-h));
  min-height: 500px;
  background: url('../assets/images/about/culture-bg.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 8px;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-content .hero-sub {
  font-size: 22px;
  margin-bottom: 8px;
  font-weight: 400;
}

.hero-content .hero-sub-en {
  font-size: 16px;
  opacity: 0.85;
  letter-spacing: 1px;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: bounce 2s infinite;
}

.hero-scroll svg {
  width: 30px;
  height: 30px;
  fill: #fff;
  opacity: 0.8;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ===== About Section ===== */
.about-section {
  padding: 100px 0;
  background: var(--bg-white) url('../assets/images/home/pattern-bg.png') repeat;
  background-size: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 12px;
}

.about-text h2 .plain {
  color: var(--text-dark);
}

.about-text .tagline {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.about-text p {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.9;
  margin-bottom: 16px;
  text-align: justify;
}

.about-image img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.about-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.about-tab {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 17px;
  padding: 24px 28px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s ease, border-color 0.35s ease, border-radius 0.35s ease;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
}

.about-tab:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(24, 144, 255, 0.14);
  border-color: transparent;
  border-radius: 0;
  background: #fff;
}

.about-tab.active {
  background: linear-gradient(180deg, #f0f8ff 0%, #fff 100%);
  border-color: transparent;
  border-radius: 0;
  box-shadow: 0 10px 28px rgba(24, 144, 255, 0.18);
  transform: translateY(-4px);
}

.about-tab .tab-icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--text-dark);
  border-radius: 50%;
  background: var(--bg-white);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.about-tab.active .tab-icon {
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(24, 144, 255, 0.18);
}

.about-tab .tab-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.about-tab .tab-text {
  flex: 1;
  min-width: 0;
}

.about-tab h3 {
  font-size: 20px;
  color: #000;
  font-weight: 250;
  line-height: 1;
  margin-bottom: 6px;
}

.about-tab p {
  font-size: 12px;
  color: #000;
  font-weight: 250;
  line-height: 1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ===== Products Carousel Section ===== */
.products-section {
  padding: 40px 0 100px;
  background: var(--bg-gray);
}

.products-header {
  text-align: center;
  margin-bottom: 40px;
}

.products-header h2 {
  font-size: 28px;
  color: var(--text-dark);
}

.products-carousel {
  position: relative;
}

.products-carousel-viewport {
  overflow: hidden;
}

.products-track {
  display: flex;
  transition: transform 0.5s ease;
}

.product-card {
  flex: 0 0 33.333%;
  padding: 0 15px;
  text-align: center;
  box-sizing: border-box;
}

.product-card-inner {
  background: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card-inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-card .card-body {
  padding: 20px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card h3 {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 8px;
  flex: 1;
}

.product-card .model {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.carousel-btn:hover {
  transform: translateY(-50%) scale(1.08);
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(24, 144, 255, 0.2);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.96);
}

.carousel-btn.prev { left: -10px; }
.carousel-btn.next { right: -10px; }

.carousel-btn img {
  width: 12px;
  height: auto;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.carousel-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 5px;
}

/* ===== Home Responsive ===== */
@media (max-width: 992px) {
  .hero-content h1 { font-size: 40px; letter-spacing: 4px; }
  .hero-content .hero-sub { font-size: 18px; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-image { order: -1; }

  .about-tabs {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 40px;
  }

  .about-tab { padding: 18px 16px; gap: 14px; }
  .about-tab .tab-icon { width: 56px; height: 56px; }
  .about-tab .tab-icon img { width: 30px; height: 30px; }
  .about-tab h3 { font-size: 14px; }
  .about-tab p { font-size: 11px; }

  .product-card { flex: 0 0 50%; }

  .carousel-btn.prev { left: 5px; }
  .carousel-btn.next { right: 5px; }
}

@media (max-width: 640px) {
  .about-tabs {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 32px;
  }

  .about-tab {
    padding: 14px 18px;
    gap: 14px;
  }

  .about-tab .tab-icon {
    width: 48px;
    height: 48px;
  }

  .about-tab .tab-icon img {
    width: 26px;
    height: 26px;
  }

  .about-tab h3 { margin-bottom: 6px; }
}

@media (max-width: 576px) {
  .hero {
    min-height: 400px;
  }

  .hero-content h1 { font-size: 28px; letter-spacing: 2px; }
  .hero-content .hero-sub { font-size: 15px; }
  .hero-content .hero-sub-en { font-size: 12px; }

  .about-section { padding: 60px 0; }

  .product-card { flex: 0 0 100%; }

  .products-section { padding: 20px 0 70px; }
}
