/* ===================帝王云 ==================== */
/* ============= www.diwangyun.com ================ */
/* ============= www.diwangyun.cn ================= */
/* ============== 代码有价，版权无价 ================= */
/* =======帝王云模板为帝王云自行开发，已办理源码著作权 ========== */
/* =======未经允许 仿站或扒站 发现必究，请尊重开发者心血 ========== */
/* ==========="愿你走完山水万城 仍与理想重逢" ============ */
/* ============模板作者：江遇:QQ 1481234828=========== */


/* 联系我们页面样式 - 帝王尊贵版 */

.contact-page {
  padding-top: 70px;
}

/* Hero Section */
.contact-hero {
  background: linear-gradient(135deg, #4a1a6b 0%, #7c3aed 30%, #5b21b6 70%, #3b0764 100%);
  padding: 120px 0 100px;
  position: relative;
  color: white;
  overflow: hidden;
}

/* 金色光效背景 */
.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* 金色光带动画 */
.contact-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 0%,
    transparent 40%,
    rgba(212, 175, 55, 0.05) 50%,
    transparent 60%,
    transparent 100%
  );
  animation: goldShimmer 15s linear infinite;
  pointer-events: none;
}

@keyframes goldShimmer {
  0% { transform: translateY(-50%) rotate(0deg); }
  100% { transform: translateY(-50%) rotate(360deg); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.15);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-content h1 {
  font-size: 64px;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 50%, #b8860b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldGlow 3s ease-in-out infinite alternate;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

@keyframes goldGlow {
  0% {
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
  }
  100% {
    filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.6));
  }
}

.hero-content > p {
  font-size: 22px;
  opacity: 0.95;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 1px;
  margin-top: 16px;
}

/* 联系方式 */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

.contact-card {
  text-align: center;
  padding: 48px 32px;
  background: white;
  border-radius: 20px;
  border: 2px solid rgba(124, 58, 237, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4af37 0%, #ffd700 50%, #d4af37 100%);
}

.contact-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 0%,
    transparent 40%,
    rgba(212, 175, 55, 0.05) 50%,
    transparent 60%,
    transparent 100%
  );
  animation: goldShimmer 6s linear infinite;
  pointer-events: none;
}

.contact-card:hover {
  transform: translateY(-10px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 16px 50px rgba(124, 58, 237, 0.18);
}

.contact-icon {
  font-size: 64px;
  margin-bottom: 28px;
  filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.4));
}

.contact-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-value {
  font-size: 26px;
  font-weight: 700;
  background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  display: block;
}

.contact-card > p:last-of-type {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* 表单容器 */
.form-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: flex-start;
}

.form-info h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.form-info h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #d4af37 0%, #ffd700 100%);
  border-radius: 2px;
}

.form-info > p {
  font-size: 18px;
  margin-bottom: 48px;
  color: var(--text-gray);
  line-height: 1.8;
}

.form-features {
  margin-top: 48px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 18px;
  color: var(--text-gray);
  line-height: 1.6;
}

.feature-icon {
  width: 32px;
  height: 32px;
  color: #d4af37;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

/* 表单内容 */
.form-content {
  background: white;
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.12);
  border: 2px solid rgba(124, 58, 237, 0.1);
  position: relative;
  overflow: hidden;
}

.form-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4af37 0%, #ffd700 50%, #d4af37 100%);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 16px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 16px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: white;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #a0aec0;
}

.btn-large {
  width: 100%;
  padding: 18px 32px;
  font-size: 18px;
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-large::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-large:hover::before {
  left: 100%;
}

/* 地图 */
.map-container {
  max-width: 1100px;
  margin: 0 auto;
}

.map-placeholder {
  background: linear-gradient(135deg, #f8f7ff 0%, #fef9f3 100%);
  border-radius: 20px;
  padding: 120px 40px;
  text-align: center;
  border: 2px solid rgba(124, 58, 237, 0.1);
  position: relative;
  overflow: hidden;
}

.map-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.map-icon {
  font-size: 80px;
  margin-bottom: 24px;
  filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.3));
}

.map-placeholder > p {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.map-address {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 18px;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f7fafc;
}

.faq-arrow {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 24px;
  color: var(--text-gray);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  display: block;
}

/* 工作时间 */
.hours-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px;
  text-align: center;
}

.hours-card h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--text-dark);
}

.hours-list {
  margin-bottom: 24px;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 18px;
}

.hours-item:last-of-type {
  border-bottom: none;
}

.hours-day {
  font-weight: 600;
  color: var(--text-dark);
}

.hours-time {
  color: var(--primary-color);
  font-weight: 600;
}

.hours-note {
  font-size: 16px;
  color: var(--text-gray);
  padding-top: 24px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #3b82f6 100%);
  padding: 100px 0;
  color: white;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-content > p {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* 响应式 */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 60px 0 40px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-content {
    padding: 32px 24px;
  }

  .form-info h2 {
    font-size: 32px;
  }

  .hours-card {
    padding: 32px 24px;
  }

  .hours-item {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .cta-section {
    padding: 60px 0;
  }

  .cta-content h2 {
    font-size: 32px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 28px;
  }

  .contact-card {
    padding: 32px 24px;
  }

  .form-group label {
    font-size: 14px;
  }

  .map-placeholder {
    padding: 80px 24px;
  }

  .hours-item {
    font-size: 16px;
  }
}
