/* 联系我们页面样式 */
.main-content {
  margin-top: 70px;
}

.page-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 0 60px;
  text-align: center;
}

.page-header h1 {
  font-size: 36px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

.contact-section {
  padding: 80px 0;
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2,
.contact-map h2 {
  font-size: 28px;
  color: #333;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}

.contact-info h2::after,
.contact-map h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 15px;
  margin-bottom: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  font-size: 32px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-detail h3 {
  font-size: 18px;
  color: #333;
  margin-bottom: 8px;
}

.contact-detail p {
  font-size: 16px;
  color: #666;
  margin-bottom: 5px;
}

.contact-detail small {
  font-size: 12px;
  color: #999;
}

.phone-number {
  color: #667eea !important;
  font-weight: bold;
  font-size: 18px !important;
  cursor: pointer;
  transition: color 0.3s;
}

.phone-number:hover {
  color: #764ba2 !important;
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  position: relative;
  width: 100%;
  height: 400px;
}

.map-container iframe {
  border-radius: 15px;
}

/* 地图图片样式 */
.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  display: block;
}

.map-info {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 15px;
}

.map-info h3 {
  font-size: 18px;
  color: #333;
  margin-bottom: 15px;
}

.map-info p {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
  line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .page-header {
    padding: 60px 0 40px;
  }

  .page-header h1 {
    font-size: 28px;
  }

  .page-header p {
    font-size: 16px;
  }

  .contact-section {
    padding: 60px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info h2,
  .contact-map h2 {
    font-size: 24px;
  }

  .contact-item {
    padding: 20px;
  }

  .map-container {
    height: 300px;
  }

  .contact-icon {
    font-size: 24px;
    width: 50px;
    height: 50px;
  }

  .contact-detail h3 {
    font-size: 16px;
  }

  .contact-detail p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .page-header h1 {
    font-size: 24px;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .contact-icon {
    font-size: 20px;
    width: 40px;
    height: 40px;
  }

  .contact-detail h3 {
    font-size: 14px;
  }

  .contact-detail p {
    font-size: 12px;
  }

  .phone-number {
    font-size: 16px !important;
  }

  .map-info {
    padding: 20px;
  }

  .map-info h3 {
    font-size: 16px;
  }

  .map-info p {
    font-size: 12px;
  }

  .map-container {
    height: 250px;
  }
}
