   .banner-content{
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
.banner-content {
      position: relative;
      width: 100%;
      height: 400px;
      background-image: url('/skin/static/images/contact.webp'); /* 替换为你自己的图片链接 */
      background-size: cover;
      background-position: center;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      text-align: center;
    }

    .banner-content::after {
      content: '';
      position: absolute;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5); /* 黑色半透明遮罩层 */
      z-index: 1;
    }

    .banner-text {
      position: relative;
      z-index: 2;
      max-width: 800px;
      padding: 20px;
    }

    .banner-content h1 {
        color: white;
      font-size: 3rem;
      font-weight: bold;
      margin-bottom: 10px;
    }
.contact-form {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

.form-contents,
.map-container {
  flex: 1;
  min-width: 300px; /* 手机端最小宽度 */
}

/* === 表单美化 === */
.form-contents {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-contents h2 {
  color: #333;
  text-align: center;
  margin-bottom: 25px;
  font-size: 24px;
  font-weight: bold;
}

.form-contents label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #555;
}

.form-contents input[type="text"],
.form-contents input[type="email"],
.form-contents textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.form-contents input:focus,
.form-contents textarea:focus {
  border-color: #ccaf7f;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
}

.form-contents textarea {
  resize: vertical;
  min-height: 80px;
  padding-top: 10px;
}

.form-contents button[type="submit"] {
  background-color: #ccaf7f;
  color: white;
  border: none;
  padding: 12px 20px;
  width: 100%;
  font-size: 14px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-contents button[type="submit"]:hover {
  background-color: #0056b3;
}

/* === 地图区域 === */
.map-container {
  display: flex;
  flex-direction: column;
}

.map-container h2 {
    margin-top: 0;
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: none;
  border-radius: 10px;
  flex-grow: 1;
}

/* === 响应式布局 === */
@media (max-width: 992px) {
  .contact-form {
    flex-direction: column;
    gap: 20px;
  }
}