/* 崇来饰家网站 - 优化样式 */

/* 全局优化 */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  color: #333;
  line-height: 1.6;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, #1890ff, #722ed1);
  margin: 20px auto 0;
  border-radius: 2px;
}

/* 快捷服务入口优化 */
.quick-entries {
  padding: 60px 0;
  background: #f8f9fa;
}

.entries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.entry-card {
  background: white;
  padding: 40px 20px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.entry-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.entry-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1890ff 0%, #722ed1 100%);
  border-radius: 50%;
}

.entry-icon img {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1);
}

.entry-text {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

/* 案例卡片优化 */
.case-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.16);
}

.case-image {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
  transform: scale(1.1);
}

.case-info {
  padding: 25px;
}

.case-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #333;
}

.case-meta {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #999;
}

.case-area {
  color: #1890ff;
  font-weight: 600;
}

/* 公司优势优化 */
.advantages-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 80px 0;
}

.advantages-section .section-title {
  color: white;
}

.advantages-section .section-title::after {
  background: rgba(255,255,255,0.3);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.advantage-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 40px 20px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.2);
}

.advantage-card:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-8px);
}

.advantage-icon {
  font-size: 56px;
  margin-bottom: 20px;
}

.advantage-card h3 {
  font-size: 20px;
  color: white;
  margin-bottom: 12px;
}

.advantage-card p {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
}

/* 设计师卡片优化 */
.designer-card {
  background: white;
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.designer-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.16);
}

.designer-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #1890ff;
}

.designer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.designer-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.designer-title {
  font-size: 14px;
  color: #999;
  margin-bottom: 15px;
}

.designer-cases {
  font-size: 14px;
  color: #1890ff;
  font-weight: 600;
}

/* 知识卡片优化 */
.knowledge-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border-left: 4px solid #1890ff;
}

.knowledge-card:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.16);
}

.knowledge-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.knowledge-meta {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #999;
}

/* 预约表单优化 */
.appointment-section {
  background: linear-gradient(135deg, #1890ff 0%, #722ed1 100%);
  padding: 80px 0;
}

.appointment-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: white;
}

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

.appointment-content p {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.95;
}

.appointment-form {
  background: white;
  padding: 50px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

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

.appointment-form input,
.appointment-form textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.appointment-form input:focus,
.appointment-form textarea:focus {
  border-color: #1890ff;
  outline: none;
}

.appointment-form textarea {
  resize: vertical;
  margin-bottom: 25px;
}

.submit-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #1890ff 0%, #722ed1 100%);
  color: white;
  font-size: 18px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(24,144,255,0.4);
}

/* 页脚优化 */
.footer {
  background: #2c3e50;
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #1890ff;
}

.footer-section p,
.footer-section li {
  font-size: 14px;
  line-height: 2.2;
  opacity: 0.9;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
  opacity: 0.8;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }
  
  .section-title {
    font-size: 28px;
    margin-bottom: 35px;
  }
  
  .entries-grid,
  .advantages-grid,
  .designers-grid,
  .knowledge-grid,
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .appointment-form {
    padding: 30px 20px;
  }
  
  .appointment-content h2 {
    font-size: 28px;
  }
}

/* ===== 新增页面样式 ===== */
.empty-state { text-align: center; padding: 60px 0; color: #999; font-size: 15px; }
.worker-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,0.08); text-align: center; padding: 24px 16px; transition: transform 0.2s, box-shadow 0.2s; }
.worker-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.12); }
.worker-avatar { width: 100px; height: 100px; border-radius: 50%; overflow: hidden; margin: 0 auto 16px; border: 4px solid #f5f0eb; }
.worker-avatar img { width: 100%; height: 100%; object-fit: cover; }
.worker-name { font-size: 17px; font-weight: 600; color: #333; margin: 0 0 4px; }
.worker-type { color: #c39c6d; font-size: 14px; margin: 0 0 6px; }
.worker-exp { color: #999; font-size: 13px; margin: 0 0 10px; }
.worker-specialties { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.material-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.07); transition: transform 0.2s, box-shadow 0.2s; }
.material-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.material-cover { height: 180px; overflow: hidden; background: #f5f5f5; }
.material-cover img { width: 100%; height: 100%; object-fit: cover; }
.material-info { padding: 14px; }
.material-name { font-size: 15px; font-weight: 600; color: #333; margin: 0 0 6px; }
.material-brand { color: #999; font-size: 12px; margin: 0 0 6px; }
.material-price { color: #c39c6d; font-size: 15px; font-weight: 600; margin: 0; }
.designers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; padding: 32px 0; }
.designers-grid .designer-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,0.08); text-align: center; transition: transform 0.2s, box-shadow 0.2s; padding-bottom: 20px; }
.designers-grid .designer-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.12); }
.designers-grid .designer-avatar { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; margin: 24px auto 16px; border: 4px solid #f5f0eb; }
.designers-grid .designer-avatar img { width: 100%; height: 100%; object-fit: cover; }
.designers-grid .designer-name { font-size: 18px; font-weight: 600; color: #333; margin: 0 0 4px; }
.designers-grid .designer-title { color: #c39c6d; font-size: 14px; margin: 0 0 8px; }
.designers-grid .designer-exp { color: #999; font-size: 13px; margin: 0 0 12px; }
.designers-grid .designer-specialties { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0 16px; }
.designers-grid .specialty-tag { padding: 3px 10px; background: #f5f0eb; color: #666; border-radius: 12px; font-size: 12px; }
.designers-grid .designer-cases { color: #666; font-size: 13px; margin: 12px 0 0; }
.workers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; padding: 32px 0; }
.materials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; padding: 32px 0; }
