/* 联系我们页面 */

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

/* Hero */
.contact-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  overflow: hidden;
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.contact-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.contact-hero-content h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 2rem;
  text-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.02em;
}

.contact-hero-content p {
  font-size: 1.6rem;
  opacity: 0.95;
  margin-bottom: 3rem;
  text-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  font-weight: 300;
  letter-spacing: 0.05em;
}

.contact-hero-tags {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.contact-tag {
  padding: 0.8rem 2rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 40px;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.contact-tag:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* 主要内容区 */
.contact-main {
  padding: 8rem 0;
  background: #f7f7f7;

}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background-color: #fff;
  border-radius: 8px;
}

/* 联系信息 */
.contact-info {
  position: relative;
  padding: 4rem 3rem;
  overflow: hidden;
  background-image: url('../images/banner.png');
  background-size: cover;
  background-position: center;
}

/* 背景遮罩 */
.contact-info::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(58, 11, 11, 0.85) 0%, rgba(26, 77, 94, 0.85) 100%);
  z-index: 1;
}

/* 确保内容在遮罩之上 */
.contact-info>* {
  position: relative;
  z-index: 2;
}

.contact-info h2 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1rem;
}

.contact-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  line-height: 1.8;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 4rem;
}

.contact-info-item {
  display: flex;
  gap: 1.5rem;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.contact-info-item:hover .contact-info-icon {
  background: linear-gradient(135deg, #d12b26, #f7532e);
  border-color: transparent;
  transform: scale(1.05);
}

.contact-info-content h4 {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-info-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.contact-social {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-social h4 {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.contact-social-icons {
  display: flex;
  gap: 1rem;
}

.contact-social-icon {
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.contact-social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  transform: translateY(-5px);
}

/* 联系表单 */
.contact-form-wrapper {
  padding: 4rem;
}

.contact-form h3 {
  font-size: 2rem;
  font-weight: 900;
  color: #0b2b3a;
  margin-bottom: 0.5rem;
}

.form-desc {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 3rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #d12b26;
  box-shadow: 0 0 0 3px rgba(209, 43, 38, 0.1);
}

.form-group textarea {
  resize: vertical;
}

.btn-block {
  width: 100%;
  margin-top: 1rem;
}

.btn-lg {
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
}

/* 地图区域 */
.contact-map {
  padding: 0;
  margin: 0;
}

.contact-map-container {
  height: 500px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.contact-map-container iframe {
  border: none;
  display: block;
}

/* 响应式 */
@media (max-width: 1200px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

@media (max-width: 768px) {
  .container-wide {
    padding: 0 1.5rem;
  }

  .contact-hero {
    min-height: 400px;
  }

  .contact-hero-content h1 {
    font-size: 3rem;
  }

  .contact-hero-content p {
    font-size: 1.2rem;
  }

  .contact-main {
    padding: 6rem 0;
  }

  .contact-info {
    padding: 3rem 2rem;
  }

  .contact-info h2 {
    font-size: 2rem;
  }

  .contact-form-wrapper {
    padding: 2.5rem 2rem;
  }

  .contact-form h3 {
    font-size: 1.6rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-map-container {
    height: 400px;
  }
}