/* 基础样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-color: #f9f9f9;
  padding: 0;
  margin: 0;
  cursor: default;
}

/* 导航栏容器 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(44, 62, 80, 0.8);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  height: 100px;
  transition: all 0.3s ease;
}

.nav-wrapper {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 30px;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
}

.logo-con{
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo-container{
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  transition: gap 0.5s ease;
}

#logo1 {
  height: 50px;
  margin: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

#logo2 {
  width: 100px;
  margin: 0;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.logo {
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  position: relative;
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

.logo:hover::after {
  width: 100%;
}

.main-nav {
  display: flex;
  list-style: none;
}

.nav-item {
  position: relative;
  margin-left: 1px;
}

.nav-link {
  display: block;
  color: #ecf0f1;
  text-decoration: none;
  padding: 0 20px;
  height: 100px;
  line-height: 100px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.nav-link:hover {
  background-color: rgba(52, 73, 94, 0.8);
  color: #ffffff;
  transform: translateY(-2px);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: #ffffff;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  list-style: none;
  border-bottom: 1px solid #f5f5f5;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-link {
  display: block;
  padding: 12px 20px;
  color: #34495e;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.dropdown-link:hover {
  background-color: #f8f9fa;
  color: #2980b9;
  padding-left: 22px;
  transform: translateX(3px);
}

.has-dropdown > .nav-link::after {
  content: "▼";
  font-size: 0.7rem;
  margin-left: 8px;
  vertical-align: middle;
  display: inline-block;
  transition: transform 0.3s ease;
}

.has-dropdown:hover > .nav-link::after {
  transform: rotate(180deg);
}

.scrolled {
  background-color: #2c3e50;
  height: 90px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.scrolled .nav-content {
  height: 90px;
}

.scrolled .nav-link {
  height: 90px;
  line-height: 90px;
}

.scrolled #logo1 {
  transform: translateX(-30px);
}

.scrolled #logo2 {
  opacity: 1;
  transform: translateX(0);
}

.scrolled .logo-container {
  gap: 15px;
}

/* 主要内容区域 */
.main-container {
  padding: 80px 0 60px;
  background-color: #f9f9f9;
}

.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title h2 {
  display: inline-block;
  font-size: 2.2rem;
  color: #2c3e50;
  position: relative;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #3498db, transparent);
}

/* 关于我们 */
.about-section {
  margin-bottom: 100px;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #34495e;
  margin-bottom: 20px;
  transition: text-shadow 0.3s ease;
}

.about-text p:hover {
  text-shadow: 0 0 5px rgba(52, 152, 219, 0.7),
               0 0 10px rgba(52, 152, 219, 0.5),
               0 0 15px rgba(52, 152, 219, 0.3);
}

.about-image {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: translateY(-10px);
}

/* 团队成员 */
.members-section {
  margin-bottom: 100px;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(250px, 1fr));
  gap: 40px;
}

.member-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.member-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.member-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
}

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

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

.member-info {
  padding: 20px;
  text-align: center;
}

.member-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  display: inline-block;
  margin-right: 10px;
}

.member-position {
  font-size: 0.9rem;
  color: #7f8c8d;
  margin-bottom: 15px;
  display: inline-block;
  background-color: #f0f0f0;
  padding: 3px 10px;
  border-radius: 15px;
}

.member-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #34495e;
}

/* 团队荣誉 */
.achievements-section {
  margin-bottom: 60px;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 400px; /* 设置轮播高度 */
  overflow: hidden;
}

.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.carousel-item.active {
  opacity: 1;
  z-index: 1;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white;
  text-align: center;
  z-index: 2;
}

.carousel-caption h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.carousel-caption p {
  font-size: 1rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 15px 0;
  position: relative;
  z-index: 3;
}

.indicator-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.indicator-dot.active {
  background-color: white;
  box-shadow: 0 0 10px rgba(255,255,255,0.8);
}

/* 移除旧的轮播相关样式 */
.achievements-grid {
  display: none;
}

.achievement-image, .image-overlay, .overlay-text, .achievement-link {
  display: none;
}

/* 页脚 */
.footer {
  background-color: #2c3e50;
  padding: 40px 0;
  color: white;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.footer-logo img {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
}

/* 鼠标拖尾效果 */
.mouse-circle {
  pointer-events: none;
  position: fixed;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(52, 152, 219, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s;
  z-index: 9999;
}