/* Main Theme Colors */
:root {
  --primary-red: rgba(203, 30, 25, 0.9); /* #CB1E19 90% opacity */
  --dark-red: #a81915;
  --text-dark: #333;
  --text-gray: #666;
  --text-light: #999;
  --bg-light: #f5f5f5;
  --white: #fff;
  --border-color: #e5e5e5;
}

body {
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

/* Container */
.container {
  /* width: 1200px; */
  margin: 0 auto;
  background-color: var(--white);
}

/* Header */
.header {
  background: var(--white);
  padding: 20px 150px;
  position: relative;
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  /* background: var(--primary-red); */
  padding: 8px 20px;
  color: var(--white);
}

.logo-wrap .logo {
  height: 50px;
  width: auto;
}

.logo-wrap .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-weight: bold;
  color: var(--primary-red);
  font-size: 14px;
}

.logo-wrap .logo-text {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 2px;
}

/* Hero Banner */
.hero-banner {
  /* height: 450px; */
  /* background: url(../images/banner.jpg) no-repeat center center; */
  background-size: cover;
  position: relative;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-decoration {
  position: absolute;
  bottom: 30px;
  right: 50px;
  width: 80px;
  height: 3px;
  background: var(--primary-red);
}

/* About Section */
.about-section {
  padding: 60px 150px;
  display: flex;
  gap: 50px;
  padding-top: 0;
}

.about-left {
  width: 280px;
  flex-shrink: 0;
  background: var(--primary-red);
  padding: 80px 30px;
  color: var(--white);
}

.about-left .about-title-en {
  font-size: 28px;
  letter-spacing: 8px;
  margin-bottom: 10px;
  font-weight: bold;
  transform: scaleY(1.5);      /* 重点：水平拉伸40% */
  transform-origin: left center;
  display: inline-block;       /* 必须 */
  letter-spacing: 4px;         /* 增加字距，让拉伸后不显拥挤 */
  line-height: 1.1;            /* 控制行高，防止拉伸影响垂直间距 */
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.about-left .about-line {
  width: 50px;
  height: 3px;
  background: var(--white);
  margin: 20px 0;
}

.about-left .about-title-cn {
  font-size: 16px;
  letter-spacing: 2px;
}

.about-right {
  flex: 1;
  padding-top: 75px;
}

.about-right .company-name {
  font-size: 22px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.about-right .company-desc {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 2;
  text-align: justify;
}

/* News Section */
.news-section {
  padding: 40px 150px 60px;
}

.section-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 30px;
  padding-bottom: 15px;
  /* border-bottom: 1px solid var(--border-color); */
}

.news-list {
  list-style: none;
}

.news-item {
  display: flex;
  padding: 25px 55px;
  border-bottom: none;
  position: relative;
}

.news-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 55px;
  right: 55px;
  height: 1px;
  background-color: var(--border-color);
}

.news-item:last-child::after {
  display: none;
}

.news-thumb {
  width: 200px;
  height: 130px;
  flex-shrink: 0;
  overflow: hidden;
  margin-right: 25px;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-title {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 10px;
  cursor: pointer;
  transition: color 0.3s;
}

.news-title:hover {
  color: var(--primary-red);
}

.news-title .hover-hint {
  color: var(--primary-red);
  font-size: 14px;
  margin-left: 10px;
}

.news-excerpt {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 15px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.news-date {
  font-size: 13px;
  color: var(--text-light);
}

.news-date span {
  margin-right: 15px;
}

.news-link {
  display: inline-block;
  padding: 6px 20px;
  border: 1px solid var(--border-color);
  color: var(--text-gray);
  font-size: 13px;
  transition: all 0.3s;
  border-radius: 20px;
}

.news-link:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
}

/* Contact Section */
.contact-section {
  padding: 40px 150px 60px;
}

.contact-section .section-title {
  border-bottom: none;
  padding-bottom: 0;
  padding-left: 15px;
  /* border-left: 4px solid var(--primary-red); */
}

.contact-content {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  /* gap: 50px;
  padding: 40px 0; */
}

.contact-info {
  flex: 0 0 40%;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  padding: 10px 0;
}

.contact-icon {
  width: 36px;
  height: 36px;
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.contact-text {
  flex: 1;
}

.contact-text p {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.8;
}

.contact-text .highlight {
  color: var(--text-dark);
  font-weight: 400;
}

.contact-address {
  background: var(--primary-red);
  color: var(--white);
  padding: 12px 25px;
  padding-right: 50px;
  font-size: 14px;
  display: flex;
  align-items: center;
  margin-top: 20px;
  position: relative;
  max-width: fit-content;
  padding-left: 8px;
}

/* .contact-address::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 12px solid var(--white);
} */

.contact-address::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid var(--primary-red);
}

.contact-address .addr-icon {
  margin-right: 10px;
  display: flex;
  align-items: center;
}

.contact-address .addr-icon img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.contact-map {
  flex: 0 0 60%;
  border: 1px dashed #ccc;
}

.contact-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Footer */
.footer {
  background: var(--primary-red);
  color: var(--white);
  text-align: center;
  padding: 20px 0;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer a:hover {
  text-decoration: underline;
}

.footer img {
  width: 14px;
  height: 14px;
}

/* Payment Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  /* background: var(--white);
  padding: 30px; */
  /* border-radius: 8px; */
  text-align: center;
  max-width: 400px;
}

.modal-header {
  background: #07c160;
  color: var(--white);
  padding: 15px 30px;
  margin: -30px -30px 20px;
  border-radius: 8px 8px 0 0;
  font-size: 18px;
}

.modal-qrcode {
  width: 400px;
  height: 500px;
  margin: 20px auto;
  border: 1px solid var(--border-color);
}

.modal-qrcode img {
  width: 100%;
  height: 100%;
}

.modal-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.btn-paid {
  padding: 12px 30px;
  background: var(--primary-red);
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  font-family: 'PingFang SC', sans-serif;
}

.btn-paid:hover {
  background: var(--dark-red);
}

.btn-cancel {
  padding: 12px 30px;
  background: #999;
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  font-family: 'PingFang SC', sans-serif;
}

.btn-cancel:hover {
  background: #777;
}

.modal-name {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 20px;
}

.modal-wechat {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #07c160;
  font-size: 16px;
}

.modal-wechat .wechat-icon {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

/* Article Detail Page */
.article-page {
  padding: 60px 250px;
  min-height: 800px;
  padding-left: 250px;
}

.article-title {
  font-size: 28px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 40px;
  line-height: 1.4;
}

.article-content {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 2;
}

.article-content p {
  margin-bottom: 20px;
}

.article-source {
  margin-top: 40px;
  font-size: 14px;
  color: var(--text-light);
}

/* Utility Classes */
.clear {
  zoom: 1;
}

.clear:after {
  content: '';
  display: block;
  clear: both;
}

/* Responsive adjustments for icons */
.icon-phone::before {
  content: "📞";
}

.icon-email::before {
  content: "✉️";
}

.icon-location::before {
  content: "📍";
}
.date-icon {
    width: 15px;
    height: 15px;
    position: relative;
    top: 3px;
}
