/* 联系我们区域样式 */
#contact-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.contact-header {
  text-align: left;
  margin-bottom: 60px;
}

.contact-subtitle {
  font-size: 18px;
  color: var(--light-text);
  max-width: 800px;
  margin-top: 20px;
  opacity: 0.8;
}

.contact-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.contact-info {
  flex: 1;
  max-width: 600px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

#google-location {
  display: block;
  border: solid rgb(198, 198, 198) 1px;
  border-radius: 10px;
  width: 100%;
  max-width: 800px; /* 最大宽度限制 */
  height: 200px;
  margin: 20px auto 50px auto;
  box-sizing: border-box;
}

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

.contact-icon i {
  font-size: 20px;
  color: var(--secondary-color);
}

.contact-text h3 {
  font-size: 20px;
  margin-bottom: 5px;
  color: var(--light-text);
}

.contact-text p {
  font-size: 16px;
  color: var(--light-text);
  opacity: 0.8;
}

.contact-qrcode {
  flex-shrink: 0;
  margin-left: 40px;
}

.qrcode-container {
  background-color: var(--secondary-color);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.qrcode-container img {
  width: 200px;
  height: 200px;
  margin-bottom: 10px;
}

.qrcode-container p {
  font-size: 14px;
  color: var(--text-color);
  margin: 0;
}

.contact-cta {
  display: flex;
  justify-content: center;
}

/* 响应式设计 */
@media (max-width: 992px) {
  #contact-section {
    padding: 80px 0;
  }

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

  .contact-text h3 {
    font-size: 18px;
  }

  .contact-text p {
    font-size: 14px;
  }

  .qrcode-container img {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
  }

  .contact-info {
    max-width: 100%;
    margin-bottom: 40px;
  }

  .contact-qrcode {
    margin-left: 0;
  }

  .contact-header {
    text-align: center;
  }

  .contact-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 576px) {
  #contact-section {
    padding: 60px 0;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
  }

  .contact-icon i {
    font-size: 16px;
  }
}
