/* === 基础重置和变量 === */
:root {
  /* 大地色系调色板 */
  --color-paper: #f8f4e6; /* 米白色纸张 */
  --color-paper-dark: #e8e2d0; /* 深一点的纸张色 */
  --color-brown-light: #d4c8b0; /* 浅棕色 */
  --color-brown: #a89a7e; /* 中棕色 */
  --color-brown-dark: #7a6d57; /* 深棕色 */
  --color-green: #8a9b68; /* 墨绿色 */
  --color-green-dark: #65724a; /* 深墨绿 */
  --color-text: #3c3528; /* 深褐色文字 */
  --color-text-light: #6b6254; /* 浅褐色文字 */
  
  /* 粗糙质感相关 */
  --roughness: 2px; /* 粗糙程度 */
  --paper-texture: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="2" stitchTiles="stitch"/><feColorMatrix type="matrix" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.1 0"/></filter><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.05"/></svg>');
  
  /* 字体设置 */
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-handwritten: 'Kalam', 'Comic Sans MS', cursive;
  --font-mono: 'Courier New', monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-paper);
  color: var(--color-text);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* 添加纸张纹理背景 */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--paper-texture);
  opacity: 0.3;
  pointer-events: none;
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.center {
  text-align: center;
}

.handwritten {
  font-family: var(--font-handwritten);
  font-weight: normal;
}

/* === 头部样式 === */
.header {
  background-color: rgba(248, 244, 230, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--color-brown-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.logo {
  cursor: pointer;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--color-brown-dark);
  margin: 0;
  letter-spacing: -1px;
}

.logo-subtext {
  font-size: 0.9rem;
  color: var(--color-green);
  display: block;
  margin-top: 0.2rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--color-text-light);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-brown-dark);
  background-color: var(--color-paper-dark);
  transform: translateY(-2px);
}

/* === 英雄区域 === */
.hero {
  padding: 6rem 0 4rem;
  text-align: center;
  background: linear-gradient(135deg, var(--color-paper) 0%, var(--color-paper-dark) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  border: 3px solid var(--color-brown-light);
  border-radius: 50%;
  opacity: 0.3;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 150px;
  height: 150px;
  background-color: var(--color-green);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  opacity: 0.2;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-brown-dark);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-style: italic;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* === 按钮样式 === */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--color-green);
  color: white;
}

.btn-primary:hover {
  background-color: var(--color-green-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(106, 123, 87, 0.3);
}

.btn-secondary {
  background-color: var(--color-brown);
  color: white;
}

.btn-secondary:hover {
  background-color: var(--color-brown-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(122, 109, 87, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-brown-dark);
  border: 2px solid var(--color-brown);
}

.btn-outline:hover {
  background-color: var(--color-brown);
  color: white;
  transform: translateY(-3px);
}

/* === 粗糙按钮效果 === */
.rough-button {
  position: relative;
  border: 2px solid var(--color-brown);
}

.rough-button::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, 
    transparent 30%, 
    var(--color-brown-light) 45%, 
    transparent 55%, 
    var(--color-brown-light) 70%, 
    transparent 80%);
  z-index: -1;
  border-radius: 10px;
  opacity: 0.3;
}

/* === 卡片粗糙效果 === */
.rough-card {
  position: relative;
  background-color: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 8px 8px 0 rgba(168, 154, 126, 0.2);
  transition: all 0.3s ease;
  border: 1px solid var(--color-brown-light);
}

.rough-card:hover {
  transform: translateY(-5px) rotate(1deg);
  box-shadow: 12px 12px 0 rgba(168, 154, 126, 0.3);
}

.rough-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    var(--color-brown-light) 0%, 
    var(--color-green) 25%, 
    var(--color-brown-light) 50%, 
    var(--color-green) 75%, 
    var(--color-brown-light) 100%);
  border-radius: 12px 12px 0 0;
}

/* === 理念展示区域 === */
.philosophy-section {
  padding: 5rem 0;
  background-color: var(--color-paper-dark);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.philosophy-card h3 {
  color: var(--color-brown-dark);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.philosophy-card p {
  color: var(--color-text-light);
  line-height: 1.7;
}

/* === 服务区域 === */
.services-section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--color-brown-dark);
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-green), var(--color-brown));
  margin: 1rem auto;
  border-radius: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.service-item {
  text-align: center;
  padding: 2rem;
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.service-item h3 {
  color: var(--color-brown-dark);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.service-item p {
  color: var(--color-text-light);
}

/* === 作品预览区域 === */
.preview-section {
  padding: 5rem 0;
  background-color: var(--color-paper-dark);
}

.works-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.work-preview-card {
  text-align: center;
}

.work-image {
  height: 200px;
  background: linear-gradient(45deg, var(--color-brown-light), var(--color-green));
  border-radius: 8px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  font-weight: bold;
  position: relative;
  overflow: hidden;
}

.work-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--paper-texture);
  opacity: 0.2;
}

.placeholder-image {
  background: repeating-linear-gradient(
    45deg,
    var(--color-brown-light),
    var(--color-brown-light) 10px,
    var(--color-green) 10px,
    var(--color-green) 20px
  );
}

.work-preview-card h3 {
  color: var(--color-brown-dark);
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

.work-preview-card p {
  color: var(--color-text-light);
}

/* === 页脚样式 === */
.footer {
  background-color: var(--color-brown-dark);
  color: white;
  padding: 3rem 0 1.5rem;
  margin-top: 5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-logo {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: white;
}

.footer-tagline {
  color: var(--color-brown-light);
  margin-bottom: 1rem;
}

.footer-location,
.footer-scope {
  color: var(--color-brown-light);
  margin-bottom: 0.5rem;
}

.footer-column h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.5rem;
  color: var(--color-brown-light);
}

.footer-column a {
  color: var(--color-brown-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid var(--color-brown);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--color-brown-light);
  font-size: 0.9rem;
}

/* === 响应式设计 === */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .nav {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-links {
    gap: 1rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .philosophy-grid,
  .services-grid,
  .works-preview-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 4rem 0 3rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .rough-card {
    padding: 1.5rem;
  }
}

/* === 关于我们页面特有样式 === */
.about-hero {
  padding: 5rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--color-paper) 0%, var(--color-paper-dark) 100%);
}

.about-title {
  font-size: 3rem;
  margin-bottom: 2rem;
  color: var(--color-brown-dark);
}

.about-description {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

.about-description p {
  margin-bottom: 1.5rem;
}

.philosophy-detail {
  padding: 5rem 0;
  background-color: var(--color-paper-dark);
}

.philosophy-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
}

.philosophy-item h3 {
  color: var(--color-brown-dark);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.quote-box {
  margin-top: 2rem;
  padding: 1.5rem;
  border-left: 4px solid var(--color-green);
  background-color: var(--color-paper);
  font-style: italic;
}

.quote-box blockquote {
  margin: 0;
  color: var(--color-brown-dark);
  font-size: 1.1rem;
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  align-items: center;
}

.step {
  background-color: var(--color-brown-light);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.step.arrow {
  background: none;
  color: var(--color-brown);
  padding: 0;
  font-size: 1.2rem;
}

.team-section {
  padding: 5rem 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin: 3rem 0;
}

.member-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--color-green), var(--color-brown));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
}

.team-member h3 {
  text-align: center;
  color: var(--color-brown-dark);
  margin-bottom: 0.5rem;
}

.member-role {
  text-align: center;
  color: var(--color-green);
  font-style: italic;
  margin-bottom: 1rem;
}

.member-bio {
  text-align: center;
  color: var(--color-text-light);
  line-height: 1.6;
}

.team-note {
  max-width: 600px;
  margin: 3rem auto 0;
}

.workflow-section {
  padding: 5rem 0;
  background-color: var(--color-paper-dark);
}

.workflow-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.workflow-item {
  text-align: center;
  padding: 2rem;
}

.workflow-item h3 {
  margin: 1.5rem 0 1rem;
  color: var(--color-brown-dark);
}

.workflow-item p {
  color: var(--color-text-light);
  line-height: 1.6;
}

.dont-do-section {
  padding: 5rem 0;
}

.dont-do-container {
  max-width: 800px;
  margin: 0 auto;
}

.dont-do-list {
  list-style: none;
  margin: 2rem 0;
}

.dont-do-list li {
  padding: 0.8rem 0;
  border-bottom: 1px dashed var(--color-brown-light);
  font-size: 1.1rem;
  color: var(--color-text);
}

.dont-do-list li:last-child {
  border-bottom: none;
}

.note-box {
  background-color: var(--color-paper);
  padding: 1.5rem;
  border-left: 4px solid var(--color-brown);
  margin-top: 2rem;
}

.note-box p {
  margin: 0;
  color: var(--color-text-light);
  line-height: 1.6;
}

.location-section {
  padding: 5rem 0;
  background-color: var(--color-paper-dark);
}

.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.location-info h3 {
  color: var(--color-brown-dark);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.location-text {
  font-size: 1.5rem;
  color: var(--color-green);
  margin-bottom: 1rem;
  font-weight: 500;
}

.scope-text {
  font-size: 1.2rem;
  color: var(--color-brown);
  margin-bottom: 2rem;
}

.timezone-info p {
  margin-bottom: 0.5rem;
  color: var(--color-text-light);
}

.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .about-title {
    font-size: 2.2rem;
  }
  
  .philosophy-container {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .workflow-container {
    grid-template-columns: 1fr;
  }
  
  .location-content {
    grid-template-columns: 1fr;
  }
  
  .process-steps {
    justify-content: center;
  }
}