/* GOODWEBCA 样式文件 */
:root {
  --primary-color: #3498db;
  --secondary-color: #2c3e50;
  --accent-color: #e74c3c;
  --text-color: #333;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --gradient-primary: linear-gradient(135deg, #3498db, #2c3e50);
  --gradient-accent: linear-gradient(135deg, #e74c3c, #c0392b);
  --shadow-soft: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 顶部导航 */
.navbar {
  background-color: var(--secondary-color);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  color: white;
}

/* Logo样式 */
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  color: white;
}

/* 添加特殊点号样式 */
.dot-separator {
  font-size: 1.2em;
  font-weight: 800;
  position: relative;
  top: 0.05em;
  margin: 0 0.05em;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 1.5rem;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link:hover:after {
  width: 100%;
}

.language-selector {
  margin-left: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.language-selector span {
  margin-right: 5px;
}

/* 页面标题 */
.page-header {
  background: var(--gradient-primary);
  color: white;
  text-align: center;
  padding: 3rem 0;
  margin-bottom: 3rem;
}

.page-header h1 {
  font-size: 2.5rem;
  letter-spacing: 1px;
}

/* 首页 Hero 区域 */
.hero {
  height: 70vh;
  background: var(--gradient-primary);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,128L48,144C96,160,192,192,288,218.7C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,240C1248,245,1344,203,1392,181.3L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  background-position: center;
  opacity: 0.7;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-weight: 500;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.btn:hover {
  background-color: #2980b9;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 服务部分 */
.services {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title h2:after {
  content: '';
  position: absolute;
  width: 70px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-title p {
  font-size: 1.1rem;
  color: #777;
  max-width: 700px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 3px solid transparent;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
  border-top: 3px solid var(--primary-color);
}

.service-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

/* 关于我们 */
.about {
  padding: 5rem 0;
  background-color: #f4f4f4;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.graphic-element {
  width: 250px;
  height: 250px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-medium);
  position: relative;
}

.graphic-element:before {
  content: '';
  position: absolute;
  width: 270px;
  height: 270px;
  border: 2px dashed rgba(52, 152, 219, 0.5);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.graphic-element i {
  font-size: 5rem;
  color: white;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.highlight-item {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.highlight-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.highlight-item h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

/* 团队部分 */
.team {
  padding: 5rem 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  justify-content: center;
}

.team-member {
  text-align: center;
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  padding: 2rem;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
}

.member-avatar {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.member-avatar i {
  font-size: 5rem;
  color: white;
}

.member-overlay {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  padding: 1rem 0;
  transition: bottom 0.3s ease;
}

.team-member:hover .member-overlay {
  bottom: 0;
}

.team-member h3 {
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.team-member p {
  color: #777;
  margin-bottom: 1rem;
}

.social-links a {
  display: inline-block;
  width: 35px;
  height: 35px;
  line-height: 35px;
  background-color: #f4f4f4;
  border-radius: 50%;
  margin: 0 5px;
  color: var(--secondary-color);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* 使命部分 */
.mission {
  padding: 5rem 0;
  background-color: #f4f4f4;
}

.mission-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.mission-card {
  text-align: center;
  padding: 2rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-10px);
}

.mission-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.mission-card h3 {
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

/* 服务详情部分 */
.service-detail {
  padding: 4rem 0;
}

.service-detail.alternate {
  background-color: #f4f4f4;
}

.service-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.service-icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-icon {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-medium);
}

.service-icon.design-icon {
  background: linear-gradient(135deg, #3498db, #9b59b6);
}

.service-icon.dev-icon {
  background: linear-gradient(135deg, #2ecc71, #3498db);
}

.service-icon.seo-icon {
  background: linear-gradient(135deg, #e74c3c, #f39c12);
}

.service-icon i {
  font-size: 5rem;
  color: white;
}

.service-features {
  list-style: none;
  margin: 1.5rem 0;
}

.service-features li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
}

.service-features li i {
  color: var(--accent-color);
  margin-right: 10px;
}

/* 流程部分 */
.process {
  padding: 5rem 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.step {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.5rem;
}

.step h3 {
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

/* 联系我们 */
.contact {
  padding: 5rem 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 6fr 4fr;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-form {
  padding: 2rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}

.submit-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.submit-btn:hover {
  background-color: #2980b9;
  transform: translateY(-3px);
}

.contact-info {
  background-color: var(--secondary-color);
  color: white;
  padding: 2rem;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.contact-info:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,192L48,208C96,224,192,256,288,261.3C384,267,480,245,576,224C672,203,768,181,864,181.3C960,181,1056,203,1152,213.3C1248,224,1344,224,1392,224L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.info-item {
  display: flex;
  margin-bottom: 1.5rem;
  position: relative;
}

.info-item i {
  font-size: 1.3rem;
  margin-right: 1rem;
  color: var(--primary-color);
}

.info-item h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  opacity: 0.8;
}

/* 地图 */
.map {
  height: 450px;
}

.map-container {
  height: 100%;
}

.map-container iframe {
  border: none;
}

/* FAQ部分 */
.faq {
  padding: 5rem 0;
  background-color: #f4f4f4;
}

.faq-items {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.faq-item h3 {
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

/* 页脚 */
.footer {
  background-color: var(--dark-color);
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-column h3:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.8rem;
}

.footer-column ul li a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: var(--primary-color);
}

.copyright {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* 特色部分 */
.features {
  padding: 4rem 0;
  background-color: white;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-item {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background-color: white;
  box-shadow: var(--shadow-soft);
  transform: translateY(-5px);
}

.feature-item i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.feature-item h3 {
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

/* 信任标志 */
.trust {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.trust-item {
  text-align: center;
  padding: 2rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}

.trust-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.trust-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.5rem;
}

.trust-icon i {
  font-size: 2rem;
  color: white;
}

.trust-item h3 {
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

/* 行动号召 */
.cta {
  padding: 5rem 0;
  background: var(--gradient-primary);
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  background-color: var(--accent-color);
}

.btn-large:hover {
  background-color: #c0392b;
}

/* 响应式设计 - 添加特色部分和信任部分的响应式设计 */
@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
  }
  
  .nav-menu {
    margin-top: 1rem;
  }
  
  .about-content,
  .service-content,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .about-highlights {
    grid-template-columns: 1fr;
  }
  
  .features-grid,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .section-title h2 {
    font-size: 2rem;
  }
  
  .services-grid,
  .mission-content,
  .process-steps,
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
}

/* 菜单切换按钮样式 */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  border-radius: 5px;
  cursor: pointer;
  padding: 10px;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.menu-toggle:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
}

.menu-toggle i {
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

/* 为菜单图标添加不同状态的动画效果 */
.menu-toggle i.fa-bars {
  transform: rotate(0deg);
}

.menu-toggle i.fa-times {
  transform: rotate(90deg);
}

/* 移动端导航菜单样式 */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
  }
  
  .navbar .container {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--secondary-color);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 99;
  }
  
  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .nav-item {
    margin: 0;
    padding: 0.8rem 2rem;
    width: 100%;
    text-align: center;
  }
  
  .nav-link {
    padding: 0;
  }
  
  .nav-link:after {
    display: none;
  }
  
  .language-selector {
    margin: 1rem auto;
  }
}