/* Products Page Styles - 山东诺为新材料网站 */

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/064319b7935e117765459e3ccfc12dfe.png') no-repeat center center;
  background-size: cover;
  height: 450px;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text-overlay {
  text-align: center;
  width: 90%;
  max-width: 1200px;
}

.hero-text-overlay p {
  color: #ffffff;
  font-size: clamp(20px, 2vw, 32px);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.4;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Introduction Section */
.intro-section {
  padding: 80px 0 60px;
  background: #ffffff;
  text-align: center;
}

.intro-header {
  margin-bottom: 40px;
}

.intro-title {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.intro-subtitle {
  font-size: 16px;
  color: #888;
  margin-bottom: 20px;
}

.intro-underline {
  width: 60px;
  height: 4px;
  background-color: #ff9966;
  /* Orange color from design */
  margin: 0 auto;
  border-radius: 2px;
}

.intro-text {
  font-size: 18px;
  line-height: 2;
  color: #333;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Product Systems Section */
.product-systems-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.product-system-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.product-system-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  background: #ffffff;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.product-system-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.product-system-content {
  padding: 60px;
  background-color: #ff9966;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-system-title {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.3;
}

.title-underline {
  display: none;
}

.product-system-description {
  font-size: 16px;
  line-height: 2;
  color: #ffffff;
}

.product-system-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-system-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.3s ease;
}

.product-system-card:hover .product-system-image img {
  transform: scale(1.05);
}

/* OEM Section */
.oem-section {
  padding: 100px 0;
  background: #ffffff;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 18px;
  color: #666;
  font-weight: 400;
  line-height: 1.6;
}

.oem-icons {
  display: none;
}

.oem-features {
  display: none;
}

.oem-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.oem-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.oem-image-wrapper {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 40px;
  /* Ensure images are perfectly circular and centered */
  display: flex;
  align-items: center;
  justify-content: center;
}

.oem-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.oem-item:hover .oem-image-wrapper img {
  transform: scale(1.1);
}

.oem-item-title {
  font-size: 24px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.oem-item-text {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  text-align: left;
  max-width: 300px;
  margin: 0 auto;
}

/* Update Section Header to include underline styling */
.section-header .intro-underline {
  margin: 15px auto 20px;
}

/* Project Cases Section */
.cases-section {
  padding: 80px 0;
  background: #ffffff;
}

.case-category {
  margin: 0 auto 40px;
  max-width: 1200px;
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 12px;
  padding: 20px;
  position: relative;
  transition: all 0.3s ease;
}

.case-category:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.case-category:last-child {
  margin-bottom: 0;
}

.category-ribbon {
  position: absolute;
  top: -11px;
  left: -37px;
  background: #ff9966;
  color: #fff;
  padding: 8px 112px 8px 55px;
  font-size: 24px;
  font-weight: 500;
  z-index: 10;
  clip-path: polygon(0 0, 100% 0, 85% 50%, 100% 100%, 0 100%);
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

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

.case-card {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.case-card:hover {
  transform: translateY(-5px);
}

.case-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.case-card:hover .case-image {
  transform: none;
}

.case-name {
  padding: 5px 0;
  font-size: 14px;
  color: #333;
  background: transparent;
  font-weight: 500;
}

/* Partners Section */
.partners-section {
  padding: 40px 0;
  background: #ffffff;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto 60px;
  align-items: center;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s ease;
  min-height: 120px;
}

.partner-logo:hover {
  background: #ffffff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.partner-logo img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.partner-logo:hover img {
  filter: grayscale(0%);
}

.partners-banner {
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.partners-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive Design - Tablet */
@media (max-width: 1199px) {
  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .intro-text {
    font-size: 16px;
  }

  .product-system-card {
    padding: 40px;
    gap: 40px;
  }

  .product-system-title {
    font-size: 24px;
  }

  .product-system-description {
    font-size: 15px;
  }

  .section-title {
    font-size: 36px;
  }

  .oem-grid {
    gap: 30px;
  }

  .oem-image-wrapper {
    width: 220px;
    height: 220px;
  }

  .case-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .case-category-title {
    font-size: 28px;
  }

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

/* Responsive Design - Mobile */
@media (max-width: 767px) {
  .hero-section {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .intro-section {
    padding: 40px 0;
  }

  .intro-text {
    font-size: 14px;
    line-height: 1.8;
  }

  .intro-text br {
    display: none;
  }

  .product-systems-section {
    padding: 60px 0;
  }

  .product-system-grid {
    gap: 40px;
  }

  .product-system-card {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 0;
  }

  .product-system-content {
    padding: 30px 20px;
  }

  .product-system-title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .title-underline {
    width: 50px;
    height: 3px;
    margin-bottom: 20px;
  }

  .product-system-description {
    font-size: 14px;
    line-height: 1.8;
  }

  .product-system-description br {
    display: none;
  }

  .oem-section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .oem-grid {
    flex-direction: column;
    gap: 40px;
  }

  .oem-image-wrapper {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
  }

  .oem-item-title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .oem-item-text {
    font-size: 14px;
    max-width: 100%;
    text-align: center;
  }

  .oem-item-text br {
    display: none;
  }

  .cases-section {
    padding: 60px 0;
  }

  .case-category {
    margin-bottom: 50px;
  }

  .case-category-title {
    font-size: 24px;
    margin-bottom: 30px;
    padding-bottom: 12px;
  }

  .case-category-title::after {
    width: 60px;
    height: 3px;
  }

  .case-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .case-image {
    height: 200px;
  }

  .case-name {
    padding: 15px;
    font-size: 15px;
  }

  .partners-section {
    padding: 60px 0;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
  }

  .partner-logo {
    padding: 15px;
    min-height: 100px;
  }

  .partner-logo img {
    max-height: 60px;
  }
}

/* Additional utility classes */
.text-center {
  text-align: center;
}

/* Loading states */
.case-card.loading,
.partner-logo.loading {
  background: #f0f0f0;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

/* Print styles */
@media print {

  .header,
  .footer {
    display: none;
  }

  .product-system-card,
  .case-card,
  .partner-logo {
    break-inside: avoid;
  }
}