/* ==========================================
   联系我们页面样式 - contact.css
   ========================================== */

/* ==========================================
   Banner区域样式
   ========================================== */
.contact-banner {
  margin-top: 76px;
  padding: 5rem 0 4rem;
  background-color: #fafafa;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-banner-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  letter-spacing: -0.03em;
  line-height: 1.1;
  position: relative;
  z-index: 1;
}

.contact-banner-title .highlight {
  color: #6366f1;
  position: relative;
}

.contact-banner-subtitle {
  font-size: 1.25rem;
  color: #6b7280;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ==========================================
   联系信息卡片区域
   ========================================== */
.contact-info-section {
  padding: 5rem 0;
  background-color: #fff;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.contact-info-card {
  background: #fafafa;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-info-card:hover {
  transform: translateY(-4px);
  border-color: #d1d5db;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.08);
}

.contact-info-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: #f3f4f6;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #6366f1;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-info-card:hover .contact-info-icon {
  background: #1a1a1a;
  color: white;
}

.contact-info-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.contact-info-card p {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.contact-info-card a {
  color: #6366f1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-card a:hover {
  color: #4f46e5;
  text-decoration: underline;
}

/* ==========================================
   联系表单区域
   ========================================== */
.contact-form-section {
  padding: 5rem 0;
  background-color: #fafafa;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form-wrapper {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 3rem;
}

.contact-form-wrapper h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
  letter-spacing: -0.03em;
}

.contact-form-wrapper .form-subtitle {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

.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 textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  color: #1a1a1a;
  background-color: #fff;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: #1a1a1a;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-submit:hover {
  background: #6366f1;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.3);
}

/* ==========================================
   公司地址详情区域
   ========================================== */
.contact-details-section {
  padding: 5rem 0;
  background-color: #fff;
}

.contact-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-details-content h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: #1a1a1a;
  letter-spacing: -0.03em;
}

.detail-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #fafafa;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.detail-item:hover {
  background: #f3f4f6;
  transform: translateX(4px);
}

.detail-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #6366f1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.detail-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.detail-content p {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 0.25rem;
}

.contact-map-wrapper {
  background: #fafafa;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  min-height: 500px;
}

.contact-map-placeholder {
  width: 100%;
  height: 100%;
  min-height: 500px;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.contact-map-placeholder i {
  font-size: 4rem;
  color: #6366f1;
}

.contact-map-placeholder p {
  font-size: 1rem;
  color: #6b7280;
  font-weight: 500;
}

/* ==========================================
   工作时间区域
   ========================================== */
.contact-hours-section {
  padding: 4rem 0;
  background-color: #fafafa;
}

.hours-card {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
}

.hours-card h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: #1a1a1a;
  letter-spacing: -0.03em;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.hours-item {
  padding: 1.5rem;
  background: #fafafa;
  border-radius: 12px;
}

.hours-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.hours-item p {
  font-size: 0.95rem;
  color: #6b7280;
}

/* ==========================================
   响应式设计
   ========================================== */
@media (max-width: 992px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form-grid,
  .contact-details-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hours-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-banner {
    padding: 4rem 0 3rem;
  }
  
  .contact-info-section,
  .contact-form-section,
  .contact-details-section,
  .contact-hours-section {
    padding: 3rem 0;
  }
  
  .contact-form-wrapper {
    padding: 2rem;
  }
  
  .hours-card {
    padding: 2rem;
  }
}
