/* 联系我们页面样式 */

.page-header {
  background: linear-gradient(180deg, #1e88e5 0%, #00d4ff 100%);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* 联系区域 */
.contact-section {
  padding: 80px 20px;
  background: #f8f9fa;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* 联系信息 */
.contact-info h2,
.contact-form-wrapper h2 {
  font-size: 2rem;
  color: #1890ff;
  margin-bottom: 15px;
}

.contact-desc,
.form-desc {
  color: #666;
  margin-bottom: 30px;
  line-height: 1.6;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 40px;
}

.info-item {
  display: flex;
  gap: 20px;
  padding: 25px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: all 0.3s;
}

.info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(44,90,160,0.15);
}

.info-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-content {
  flex: 1;
}

.info-content h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 10px;
}

.info-content p {
  font-size: 1.1rem;
  color: #1890ff;
  font-weight: 500;
  margin-bottom: 5px;
}

.info-note {
  color: #999;
  font-size: 0.9rem;
}

/* 二维码区域 */
.qrcode-section {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.qrcode-section h3 {
  font-size: 1.3rem;
  color: #1890ff;
  margin-bottom: 20px;
  text-align: center;
}

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

.qrcode-item {
  text-align: center;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
}

.qrcode-placeholder {
  width: 120px;
  height: 120px;
  margin: 0 auto 15px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #e0e0e0;
}

.qrcode-item p {
  color: #666;
  font-size: 0.95rem;
  font-weight: 500;
}

/* 联系表单 */
.contact-form-wrapper {
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: #333;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.required {
  color: #dc3545;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  font-size: 1rem;
  transition: all 0.3s;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2c5aa0;
  box-shadow: 0 0 0 3px rgba(44,90,160,0.1);
}

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

.checkbox-group {
  flex-direction: row;
  align-items: center;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: normal;
  color: #666;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.checkbox-group a {
  color: #1890ff;
  text-decoration: none;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

.btn-block {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
}

/* 地图区域 */
.map-section {
  padding: 80px 20px;
  background: #fff;
}

.map-section h2 {
  font-size: 2rem;
  color: #1890ff;
  text-align: center;
  margin-bottom: 40px;
}

.map-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.map-image {
  width: 100%;
  height: auto;
  display: block;
}

/* 响应式设计 */
@media (max-width: 968px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form-wrapper {
    order: 2;
  }
}

@media (max-width: 768px) {
  .contact-info h2,
  .contact-form-wrapper h2,
  .map-section h2 {
    font-size: 1.6rem;
  }
  
  .info-item {
    flex-direction: column;
    text-align: center;
  }
  
  .info-icon {
  }
  
  .qrcode-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form-wrapper {
    padding: 25px;
  }
  
  .map-placeholder {
    height: 350px;
  }
  
  .map-icon {
  }
}


/* 始终为滚动条保留位置，防止跨页跳转时 navbar 抖动 */
html { overflow-y: scroll; }

