/* 基础样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}
.container-wide { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 头部导航 */
.site-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.site-logo .logo-text {
  font-size: 24px;
  font-weight: bold;
  color: #007bff;
  text-decoration: none;
}

/* 移动端菜单按钮 */
/*.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  z-index: 1001;
  position: relative;
}

.menu-btn .bar {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.menu-btn:hover .bar {
  background: #007bff;
}

.site-menu {
  display: flex;
  gap: 30px;
}

.site-menu a {
  color: #333;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

.site-menu a:hover,
.site-menu a.active {
  color: #007bff;
}

.contact-hotline {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #007bff;
  font-weight: 500;
}*/


/* 移动端菜单按钮 */
.menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(2px);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .menu-btn .bar, .menu-btn .bar::before, .menu-btn .bar::after {
        width: 18px;
        height: 2px;
        background: #ffffff;
        display: block;
        position: relative;
        transition: transform .3s ease, background .3s ease;
    }

        .menu-btn .bar::before, .menu-btn .bar::after {
            content: "";
            position: absolute;
            left: 0;
        }

        .menu-btn .bar::before {
            top: -6px;
        }

        .menu-btn .bar::after {
            top: 6px;
        }

.site-header.scrolled .menu-btn {
    background: #ffffff;
    border-color: rgba(17,24,39,.18);
}

    .site-header.scrolled .menu-btn .bar, .site-header.scrolled .menu-btn .bar::before, .site-header.scrolled .menu-btn .bar::after {
        background: #111827;
    }

@media (max-width: 992px) {
    .menu-btn {
        display: inline-flex;
    }
}
/* 移动端全屏菜单 */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s ease;
}

    .mobile-menu.open {
        opacity: 1;
        pointer-events: auto;
    }

.mm-sheet {
    position: absolute;
    inset: 0;
    background: #f3f4f6;
}

.mm-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #111827;
    font-size: 22px;
    line-height: 38px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

.mm-list {
    list-style: none;
    margin: 56px 0 0;
    padding: 0 16px;
}

    .mm-list li {
        border-bottom: 1px solid #e5e7eb;
    }

    .mm-list a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 6px;
        color: #111827;
        font-weight: 700;
        text-decoration: none;
    }

        .mm-list a:hover {
            color: #0b43c4;
        }

.mm-arrow {
    color: #9ca3af;
    font-size: 18px;
}

/* 横幅区域 */
.hero-banner {
  background: /*linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),*/ url('../images/banner_about.jpg');
  background-size: 1920px 350px;
  background-position: center center;
  background-repeat: no-repeat;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  /*margin-top: 70px;*/
  position: relative;
}

/* 响应式背景图片 */
@media (max-width: 1920px) {
  .hero-banner {
    background-size: cover;
  }
}

@media (max-width: 768px) {
  .hero-banner {
    height: 400px;
    background-size: cover;
    background-position: center center;
  }
}
.hero-content h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 10px;
}
.hero-content p {
  font-size: 18px;
  opacity: 0.9;
}

/* 公司介绍 */
.company-intro {
  padding: 80px 0;
  background: /*linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),*/ url('../images/a1_img3.jpg');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  position: relative;
}
.intro-content {
  /*display: grid;*/
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.intro-text h2 {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}
.intro-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}
.btn-primary {
  display: inline-block;
  background: #007bff;
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: background 0.3s;
}
.btn-primary:hover {
  background: #0056b3;
  color: white;
}

/* 图片胶囊 */
.intro-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.image-capsule {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.image-capsule img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-capsule.small {
  width: 200px;
  height: 150px;
}
.image-capsule.large {
  width: 300px;
  height: 250px;
}

/* 核心价值观 */
.core-values {
  padding: 80px 0;
  background: white;
}
.values-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.values-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
}
.values-text h2 {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}
.values-text p {
  font-size: 18px;
  color: #666;
  line-height: 1.6;
}

/* 企业原则 */
.principles {
  padding: 80px 0;
  background: #f8f9fa;
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.principle-item {
  text-align: center;
  padding: 40px 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.principle-item:hover {
  transform: translateY(-5px);
}
.principle-item.active {
  background: #007bff;
  color: white;
}
.principle-number {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 15px;
}
.principle-item h3 {
  font-size: 18px;
  font-weight: 500;
}

/* 最新文章 */
.latest-articles {
  padding: 80px 0;
  background: white;
}
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header h2 {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}
.section-header p {
  color: #666;
  font-size: 16px;
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.article-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.article-card:hover {
  transform: translateY(-5px);
}
.article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.article-content {
  padding: 20px;
}
.article-content h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}
.article-content p {
  color: #666;
  margin-bottom: 15px;
  line-height: 1.6;
}
.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.date {
  color: #999;
  font-size: 14px;
}
.btn-details {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

/* 联系表单 */
.contact-form-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  /*position: relative;*/
}

.contact-form-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.form-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.form-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.form-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #007bff, #0056b3);
  border-radius: 2px;
}

.form-header p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
  /*max-width: 600px;*/
  margin: 0 auto;
}

.contact-form {
  max-width: 1200px;
  margin: 0 auto;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  border: none;
  position: relative;
  z-index: 2;
  transition: none;
}

.contact-form:hover {
  transform: none;
  box-shadow: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 30px;
}

.form-group label {
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
  color: #333;
  font-size: 1rem;
  position: relative;
}

.form-group label::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: #007bff;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-group:focus-within label::before {
  opacity: 1;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 18px 20px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  font-family: inherit;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 4px rgba(0,123,255,0.1), 0 8px 25px rgba(0,0,0,0.12);
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
  opacity: 0.8;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.btn-submit {
  width: auto;
  min-width: 200px;
  max-width: 300px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  padding: 18px 50px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0,123,255,0.3);
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  display: block;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-submit:hover::before {
  left: 100%;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #0056b3, #004085);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0,123,255,0.4);
}

.btn-submit:active {
  transform: translateY(-1px);
}

/* 表单验证样式 */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: #dc3545;
  box-shadow: 0 0 0 4px rgba(220,53,69,0.1), 0 8px 25px rgba(0,0,0,0.12);
}

.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
  border-color: #28a745;
  box-shadow: 0 0 0 4px rgba(40,167,69,0.1), 0 8px 25px rgba(0,0,0,0.12);
}

/* 页脚 */
.site-footer {
  background: #333;
  color: white;
  /*text-align: center;*/
  padding: 20px 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .site-menu {
    display: none;
  }
  
  .contact-hotline {
    display: none;
  }
  
  .menu-btn {
    /*display: block !important;*/
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
  }
  .hero-content h1 {
    font-size: 36px;
  }
  .intro-content,
  .values-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 0;
    margin: 0;
  }
  
  .form-header h2 {
    font-size: 2rem;
  }
  
  .form-header p {
    font-size: 1rem;
    padding: 0;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 16px 18px;
  }
  
  .btn-submit {
    padding: 16px 40px;
    font-size: 1rem;
    min-width: 180px;
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .principles-grid {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 28px;
  }
  .intro-text h2,
  .values-text h2,
  .section-header h2,
  .form-header h2 {
    font-size: 24px;
  }
}

/* 移动端菜单 */
/*.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.8);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mm-sheet {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: white;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 20px;
  box-shadow: -5px 0 20px rgba(0,0,0,0.2);
}

.mobile-menu.open .mm-sheet {
  transform: translateX(0);
}

.mm-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.mm-close:hover {
  background: #f8f9fa;
  color: #007bff;
}

.mm-list {
  list-style: none;
  margin-top: 60px;
  padding: 0;
}

.mm-list li {
  margin-bottom: 0;
}

.mm-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.mm-list a:hover {
  color: #007bff;
  padding-left: 10px;
}

.mm-arrow {
  color: #999;
  font-size: 14px;
}*/

/* 调试样式 - 确保菜单按钮可见 */
/*@media (max-width: 768px) {
  .menu-btn {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    background: rgba(255, 0, 0, 0.1) !important;  
    border: 2px solid #ff0000 !important; 
  }
  
  .site-menu {
    display: none !important;
  }
  
  .contact-hotline {
    display: none !important;
  }
}*/
