/* Hero 板块 - 图片背景 */
.ct-hero {
  background-image: url("../images/contact-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 150px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* 背景遮罩层 */
.ct-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.ct-hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.ct-hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.ct-hero-subtitle {
  font-size: 1.4em;
  margin-bottom: 30px;
  opacity: 0.9;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.contact-details {
  max-width: 950px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}

.detail-item {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  box-shadow: 0 10px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.detail-label {
  display: block;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 8px;
  font-size: 1.1em;
}

.contact-form-wrapper {
  max-width: 950px;
  margin: auto;
}

.form-row {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #2c3e50;
}

.form-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  background: var(--primary-light);
  transition: border-color 0.3s;
}

.form-input:focus {
  border-color: #3498db;
  outline: none;
}

textarea.form-input {
  min-height: 150px;
  resize: vertical;
}

.submit-button {
  background-color: #3498db;
  color: white;
  border: none;
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  display: inline-block;
}

.submit-button:hover {
  background-color: #2980b9;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .ct-hero {
    padding: 80px 20px;
  }

  .ct-hero-title {
    font-size: 2.5em;
  }

  .ct-hero-subtitle {
    font-size: 1.2em;
  }
}
