/*
 * WGACA Frontend - Contact Page Styles
 * 联系页面样式
 */

.contact-section {
  padding: 60px 0;
}

.contact-intro {
  text-align: center;
  margin-bottom: 50px;
}

.contact-intro h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.contact-intro p {
  font-size: 15px;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

/* 联系信息卡片 */
.contact-info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-info-card {
  background: #fafafa;
  padding: 30px 25px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s;
}

.contact-info-card:hover {
  background: #000;
  color: #fff;
  transform: translateY(-5px);
}

.contact-info-card:hover i {
  background: #fff;
  color: #000;
}

.contact-info-card:hover .label,
.contact-info-card:hover .info {
  color: #fff;
}

.contact-info-card i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  font-size: 24px;
  transition: all 0.3s;
}

.contact-info-card .label {
  font-size: 13px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.contact-info-card .info {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
  transition: color 0.3s;
}

/* 表单 */
.contact-form-wrapper {
  background: #fff;
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.contact-form-wrapper h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.contact-form-wrapper .form-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 30px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.contact-form label span.required {
  color: #e74c3c;
}

.contact-form .form-control {
  width: 100%;
  padding: 12px 18px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.contact-form .form-control:focus {
  outline: none;
  border-color: #000;
}

.contact-form textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.contact-form .btn-submit {
  width: 100%;
  padding: 15px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 10px;
}

.contact-form .btn-submit:hover {
  background: #333;
}

/* 侧边栏信息 */
.contact-sidebar {
  background: #fafafa;
  border-radius: 12px;
  padding: 40px 30px;
}

.contact-sidebar h3 {
  font-size: 22px;
  margin-bottom: 20px;
}

.contact-sidebar .info-block {
  margin-bottom: 30px;
}

.contact-sidebar .info-block:last-child {
  margin-bottom: 0;
}

.contact-sidebar .info-block .label {
  font-size: 13px;
  text-transform: uppercase;
  color: #999;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-weight: 600;
}

.contact-sidebar .info-block .content {
  font-size: 15px;
  color: #333;
  line-height: 1.8;
}

.contact-sidebar .info-block .content a {
  color: #333;
}

.contact-sidebar .info-block .content a:hover {
  color: #000;
  text-decoration: underline;
}

/* 地图 */
.contact-map {
  margin-top: 60px;
  border-radius: 12px;
  overflow: hidden;
  height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* 响应式 */
@media (min-width: 576px) {
  .contact-info-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .contact-info-cards {
    grid-template-columns: repeat(4, 1fr);
  }

  .contact-form .form-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1.5fr 1fr;
  }
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 2fr 1fr;
    gap: 50px;
  }
}
