/* 全局样式 */
:root {
  --primary-color: #1a56db;
  --secondary-color: #4b5563;
  --accent-color: #0ea5e9;
  --light-bg: #f9fafb;
  --dark-bg: #111827;
  --text-light: #f9fafb;
  --text-dark: #111827;
  --text-gray: #6b7280;
  --border-color: #e5e7eb;
  --success-color: #10b981;
  --error-color: #ef4444;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #ffffff;
}

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

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-color);
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
  color: white;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-gray);
  text-align: center;
  margin-bottom: 3rem;
}

/* 导航栏样式 */
.navbar {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

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

.navbar-logo img {
  height: 50px;
  margin-right: 10px;
}

.navbar-logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.navbar-menu {
  display: flex;
  list-style: none;
}

.navbar-item {
  margin-left: 2rem;
}

.navbar-link {
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-link:hover {
  color: var(--primary-color);
}

.navbar-link.active {
  color: var(--primary-color);
  font-weight: 700;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--text-dark);
  transition: all 0.3s ease;
}

/* 首屏样式 */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://p6-flow-imagex-sign.byteimg.com/tos-cn-i-a9rns2rl98/rc/pc/super_tool/95e9b76e4f3d4dddb1b6910790a3e07b~tplv-a9rns2rl98-image.image?lk3s=8e244e95&rcl=20260506141551ED82E6F83ED57D68C0C6&rrcfp=f06b921b&x-expires=1780640221&x-signature=Eu4rFMvYmJlG1rIiGFOnQMvB1zU%3D') center/cover no-repeat;
  color: white;
  text-align: center;
  margin-top: 0;
  padding-top: 80px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  animation: fadeInUp 1s ease 0.4s both;
}

/* 公司简介样式 */
.about-section {
  padding: 6rem 0;
  background-color: var(--light-bg);
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.about-content {
  flex: 1;
  min-width: 300px;
}

.about-content h2 {
  text-align: left;
}

.about-content h2::after {
  left: 0;
  transform: none;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 业务板块样式 */
.services-section {
  padding: 6rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

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

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.service-content p {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-features li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.service-features li::before {
  content: '✓';
  color: var(--success-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* 业务详情页样式 */
.business-hero {
  height: 60vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://p6-flow-imagex-sign.byteimg.com/tos-cn-i-a9rns2rl98/rc/pc/super_tool/95e9b76e4f3d4dddb1b6910790a3e07b~tplv-a9rns2rl98-image.image?lk3s=8e244e95&rcl=20260506141551ED82E6F83ED57D68C0C6&rrcfp=f06b921b&x-expires=1780640221&x-signature=Eu4rFMvYmJlG1rIiGFOnQMvB1zU%3D') center/cover no-repeat;
  color: white;
  text-align: center;
  margin-top: 0;
  padding-top: 80px;
}

.bim-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('img/3d-team.jpg') center/cover no-repeat;
}

.business-content {
  padding: 6rem 0;
}

.business-details {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 4rem;
}

.business-info {
  flex: 1;
  min-width: 300px;
}

.business-info h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.business-info p {
  margin-bottom: 1.5rem;
  color: var(--text-gray);
}

.business-features {
  list-style: none;
  margin-bottom: 2rem;
}

.business-features li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  color: var(--text-gray);
}

.business-features li::before {
  content: '✓';
  color: var(--success-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

.business-image {
  flex: 1;
  min-width: 300px;
}

.business-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.process-section {
  padding: 4rem 0;
  background-color: var(--light-bg);
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 3rem;
}

.process-step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -50%;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  transform: translateY(-50%);
  z-index: -1;
}

.process-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.process-step h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.process-step p {
  color: var(--text-gray);
}

.cases-section {
  padding: 6rem 0;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.case-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.case-image {
  height: 200px;
  overflow: hidden;
  background-color: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-placeholder {
  padding: 2rem;
  text-align: center;
  color: var(--text-gray);
}

.case-content {
  padding: 1.5rem;
}

.case-content h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.case-content p {
  color: var(--text-gray);
  margin-bottom: 1rem;
}

/* 关于我们页面样式 */
.about-hero {
  height: 60vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://p6-flow-imagex-sign.byteimg.com/tos-cn-i-a9rns2rl98/rc/pc/super_tool/95e9b76e4f3d4dddb1b6910790a3e07b~tplv-a9rns2rl98-image.image?lk3s=8e244e95&rcl=20260506141551ED82E6F83ED57D68C0C6&rrcfp=f06b921b&x-expires=1780640221&x-signature=Eu4rFMvYmJlG1rIiGFOnQMvB1zU%3D') center/cover no-repeat;
  color: white;
  text-align: center;
  margin-top: 0;
  padding-top: 80px;
}

.about-content {
  padding: 6rem 0;
}

.company-info {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 4rem;
}

.info-text {
  flex: 1;
  min-width: 300px;
}

.info-text h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.info-text p {
  margin-bottom: 1.5rem;
  color: var(--text-gray);
}

.info-image {
  flex: 1;
  min-width: 300px;
}

.info-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.vision-section {
  padding: 4rem 0;
  background-color: var(--light-bg);
  text-align: center;
}

.vision-content {
  max-width: 800px;
  margin: 0 auto;
}

.vision-content h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.vision-content p {
  margin-bottom: 1.5rem;
  color: var(--text-gray);
  font-size: 1.1rem;
}

.values-section {
  padding: 6rem 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  text-align: center;
  padding: 2rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.value-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.value-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.value-card p {
  color: var(--text-gray);
}

/* 联系我们页面样式 */
.contact-hero {
  height: 60vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://p6-flow-imagex-sign.byteimg.com/tos-cn-i-a9rns2rl98/rc/pc/super_tool/95e9b76e4f3d4dddb1b6910790a3e07b~tplv-a9rns2rl98-image.image?lk3s=8e244e95&rcl=20260506141551ED82E6F83ED57D68C0C6&rrcfp=f06b921b&x-expires=1780640221&x-signature=Eu4rFMvYmJlG1rIiGFOnQMvB1zU%3D') center/cover no-repeat;
  color: white;
  text-align: center;
  margin-top: 0;
  padding-top: 80px;
}

.contact-content {
  padding: 6rem 0;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.error-message {
  color: var(--error-color);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.success-message {
  color: var(--success-color);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.info-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.info-text {
  flex: 1;
}

.info-text h4 {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.info-text p {
  color: var(--text-gray);
}

.map-container {
  margin-top: 2rem;
  height: 300px;
  background-color: var(--light-bg);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder {
  text-align: center;
  color: var(--text-gray);
}

/* 页脚样式 */
.footer {
  background-color: var(--dark-bg);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-about {
  flex: 1;
  min-width: 300px;
}

.footer-about img {
  height: 50px;
  margin-bottom: 1rem;
}

.footer-about p {
  margin-bottom: 1rem;
  color: #9ca3af;
}

.footer-links {
  flex: 1;
  min-width: 200px;
}

.footer-links h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #9ca3af;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-contact {
  flex: 1;
  min-width: 200px;
}

.footer-contact h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.footer-contact-item i {
  margin-right: 1rem;
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
  color: #9ca3af;
}

/* 动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .navbar-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
  }

  .navbar-menu.active {
    left: 0;
  }

  .navbar-item {
    margin: 1.5rem 0;
  }

  .hamburger {
    display: block;
  }

  .hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero h1 {
    font-size: 2.5rem;
  }

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

  .process-step:not(:last-child)::after {
    display: none;
  }

  .process-step {
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 15px;
  }

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

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .navbar-container {
    padding: 1rem;
  }
}

/* 图片放大弹窗样式 */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.image-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  z-index: 2001;
}

.image-modal-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.image-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.image-modal-close:hover {
  background-color: rgba(255, 255, 255, 0.3);
}