/* 联系我们页面专用样式 */

/* 电话链接 - 只在移动端启用点击效果 */
@media (min-width: 768px) {
  a[href^="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
  
  a[href^="tel:"]:hover {
    color: inherit;
    transform: none;
  }

}

/* 移动端保持正常的电话链接功能 */
@media (max-width: 767px) {
  a[href^="tel:"] {
    pointer-events: auto;
    cursor: pointer;
  }
    /* 页面整体布局 */
  .contact-section {
    padding-top: 71px !important; /* 为固定头部留出空间 */
  }
}

/* 页面整体布局 */
.contact-section {
  min-height: 100vh;
  padding-top: 65px; /* 为固定头部留出空间 */
}

/* 联系我们英雄区域 - 蓝色渐变背景 */
.contact-hero {
  background: linear-gradient(135deg, #165dff 0%, #36cfc9 100%);
  /* min-height: 300px; */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
}

.contact-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.contact-hero-content {
  text-align: center;
  color: white;
  z-index: 2;
  position: relative;
  max-width: 800px;
  padding: 0 2rem;
  animation: fadeInUp 0.8s ease-out;
}

.contact-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: var(--font-chinese);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
}

.contact-cta-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50px;
  padding: 12px 32px;
  color: white;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  font-family: var(--font-chinese);
}

.contact-cta-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* 联系信息区域 */
.contact-info-section {
  background: #f8f9fa;
  padding: 4rem 0;
  min-height: 40vh;
}

.contact-info-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-family: var(--font-chinese);
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* 联系方式网格布局 */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-method {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  opacity: 0;
  transform: translateY(20px);
}

.contact-method.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.contact-method:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.method-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
}

.email-icon {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.phone-icon {
  background: linear-gradient(135deg, #f093fb, #f5576c);
}

.wechat-icon {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.location-icon {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.method-content h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-family: var(--font-chinese);
}

.method-content p {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.method-link {
  color: #4285f4;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.method-link:hover {
  color: #1a73e8;
  text-decoration: underline;
}

/* 微信二维码样式 */
.wechat-qr {
  margin-top: 1rem;
}

.qr-placeholder {
  display: inline-block;
  border-radius: 8px;
  overflow: hidden;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
}

/* 地址信息样式 */
.address-info p {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 500;
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .contact-title {
    font-size: 2.2rem;
  }

  .contact-subtitle {
    font-size: 1rem;
  }

  .contact-methods {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-method {
    padding: 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  /* .contact-hero {
    /* min-height: 50vh; */
  } */

  .contact-info-container {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .contact-title {
    font-size: 2rem;
  }

  .contact-hero-content {
    padding: 0 1rem;
  }

  .contact-method {
    padding: 1rem;
  }

  .method-icon {
    width: 50px;
    height: 50px;
  }
}

/* 页脚样式调整 */
.contact-section .footer {
  background: var(--text-dark);
  color: var(--text-light);
  padding: 10px 0;
  text-align: center;
}

.contact-section .footer .beian-info a {
  color: var(--text-light);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.contact-section .footer .beian-info a:hover {
  opacity: 1;
  text-decoration: underline;
}
}
