* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #2d3748;
  line-height: 1.6;
  min-height: 100vh;
}

header {
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  color: #fff;
  padding-bottom: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);
  pointer-events: none;
}

/* 语言切换器样式 */
.language-switcher {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 0;
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
}

.lang-btn {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
  backdrop-filter: blur(5px);
}

.lang-btn:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.lang-btn.active {
  background: rgba(255,255,255,0.3);
  border-color: rgba(255,255,255,0.4);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.top-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  font-size: 1.1rem;
  background: rgba(0,0,0,0.3);
  padding: 0.8rem 0;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.top-contact a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.1);
}

.top-contact a:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.logo-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}

.logo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin-bottom: 0.8rem;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  border: 4px solid rgba(255,255,255,0.2);
}

.logo:hover {
  transform: scale(1.05);
}

.subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  margin: 0.3rem 0 0.8rem 0;
  color: #e2e8f0;
  letter-spacing: 1px;
}

main {
  max-width: 1200px;
  margin: 2rem auto;
  background: rgba(255,255,255,0.95);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
}

section {
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.7);
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

/* 技师介绍样式 */
.technician {
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  border-radius: 12px;
  border: 1px solid rgba(102, 126, 234, 0.2);
}

.technician h3 {
  color: #667eea;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.tech-info {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.tech-avatar {
  flex-shrink: 0;
}

.tech-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #667eea;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  transition: transform 0.3s ease;
}

.tech-img:hover {
  transform: scale(1.05);
}

.tech-details {
  flex: 1;
}

.tech-details h4 {
  color: #2d3748;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.tech-details p {
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.tech-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-skills span {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
  transition: transform 0.2s ease;
}

.tech-skills span:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* 幻灯片样式 */
.slideshow {
  margin-bottom: 2rem;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.slideshow:hover {
  transform: none;
  box-shadow: none;
}

.slide-container {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  padding: 1rem 0.8rem;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-btn:hover {
  background: rgba(0,0,0,0.8);
  transform: translateY(-50%) scale(1.1);
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

h2 {
  color: #2d3748;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.5rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
}

ul {
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.8rem;
  line-height: 1.8;
  position: relative;
}

li::before {
  content: '✓';
  color: #48bb78;
  font-weight: bold;
  position: absolute;
  left: -1.2rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.gallery img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery img:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.contact a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.contact a:hover {
  background: rgba(102, 126, 234, 0.1);
  color: #4c51bf;
}

.map {
  margin-top: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.map:hover {
  transform: scale(1.02);
}

.map iframe {
  width: 100%;
  height: 250px;
  border: 0;
}

footer {
  text-align: center;
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  padding: 2rem 0 1rem 0;
  background: rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
}

.whyus ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  padding-left: 0;
  list-style: none;
}

.whyus li {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-radius: 10px;
  padding: 1rem;
  font-size: 1rem;
  margin-bottom: 0;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.whyus li::before {
  display: none;
}

.whyus li:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.whyus li::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.whyus li:hover::after {
  left: 100%;
}

@media (max-width: 1200px) {
  main {
    max-width: 95vw;
    margin: 1.5rem;
  }
}

@media (max-width: 900px) {
  main {
    max-width: 95vw;
    padding: 1.5rem;
    margin: 1rem;
  }
  .slide-container {
    height: 250px;
  }
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  .gallery img {
    height: 120px;
  }
  .tech-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .tech-img {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 700px) {
  .language-switcher {
    gap: 0.3rem;
    padding: 0.6rem 0;
  }
  .lang-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  .top-contact {
    flex-direction: column;
    gap: 0.5rem;
    font-size: 1rem;
    padding: 0.6rem 0;
  }
  .logo {
    width: 70px;
    height: 70px;
  }
  .slide-container {
    height: 200px;
  }
  .slide-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    padding: 0.5rem;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .gallery img {
    height: 200px;
  }
  .map iframe {
    height: 200px;
  }
  main {
    margin: 0.5rem;
    padding: 1rem;
  }
  section {
    padding: 1rem;
  }
  .whyus ul {
    grid-template-columns: 1fr;
  }
  .tech-skills {
    justify-content: center;
  }
  .tech-skills span {
    font-size: 0.8rem;
    padding: 0.25rem 0.6rem;
  }
}

/* 浮动图标样式 */
.floating-icon {
  position: fixed;
  top: 20px;
  left: 30px;
  width: 80px;
  height: 80px;
  cursor: move;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  user-select: none;
  touch-action: none;
  background: white;
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.floating-icon:hover {
  transform: scale(1.5);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  z-index: 1001;
}

.floating-icon img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.floating-tooltip {
  position: absolute;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px;
  border-radius: 4px;
  font-size: 12px;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  bottom: -45px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  white-space: normal;
  line-height: 1.3;
  word-break: break-word;
}

.floating-icon:hover .floating-tooltip {
  opacity: 1;
} 