.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 85px;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  padding: 0 5%;
  z-index: 1000;
}

.navbar .logo {
  width: 200px;
  height: 70px;
  background: white;
}

.navbar .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.navbar .nav-links {
  display: flex;
  margin-left: auto;
  gap: 25px;
}

.navbar .nav-item {
  position: relative;
  padding: 0 15px;
}

.navbar .nav-item > a {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 85px;
  text-decoration: none;
  color: #333;
  font-size: 16px;
  transition: color 0.3s;
}

/* 悬停效果 - 旧版样式 */
.navbar .nav-item:hover > a {
  color: #007bff;
  font-weight: bold;
}

.navbar .nav-item:hover .arrow {
  transform: rotate(180deg);
}

.navbar .nav-link.active {
  color: #007bff !important;
  font-weight: bold;
}

.navbar .arrow {
  transition: transform 0.3s;
}

.user-dropdown {
  position: relative;
  cursor: pointer;
}

.user-dropdown .user-name {
  display: flex;
  align-items: center;
  height: 85px;
  color: #333;
  font-size: 16px;
  transition: color 0.3s;
}

.user-dropdown:hover .user-name {
  color: #007bff;
  font-weight: bold;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 85px;
  right: 0;
  background-color: white;
  min-width: 120px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  z-index: 1001;
  border-radius: 0 0 4px 4px;
  overflow: hidden;
}

.dropdown-content a {
  color: #333;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 14px;
  transition: background-color 0.3s;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
  color: #007bff;
}

.user-dropdown:hover .dropdown-content {
  display: block;
}

#page1 {
  position: relative;
}

.page1_carousel-container {
  width: 100%;
  height: calc(100vh - 85px);
  overflow: hidden;
  position: relative;
}

.page1_carousel-slider {
  display: flex;
  width: 200%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.page1_carousel-image {
  width: 50%;
  height: 100%;
  object-fit: fill;
  object-position: center center;
  flex-shrink: 0;
  display: block;
}

.page1_button-section {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
  z-index: 10;
}

.logo,
.nav-links,
.nav-item,
.nav-link,
.arrow {
  transition: all 0.3s;
}

.dot {
  position: fixed;
  right: 24px;
  width: 12px;
  height: 12px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 999;
  border: none;
  padding: 0;
}

.page-dots {
  position: fixed;
  right: 24px;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  z-index: 999;
}

.page-dots .dot {
  position: static;
}

.dot.active {
  background-color: #667eea;
  transform: scale(1.3);
}

.dot:hover {
  background-color: rgba(102, 126, 234, 0.5);
}

@media (max-width: 1024px) {
  .navbar {
    padding: 0 24px;
  }

  .navbar .nav-links {
    gap: 16px;
  }

  .navbar .nav-item > a {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 16px;
    height: 60px;
  }

  .navbar .logo {
    width: 140px;
    height: 50px;
  }

  .navbar .nav-links {
    gap: 12px;
  }

  .navbar .nav-item {
    padding: 0 10px;
  }

  .navbar .nav-item > a {
    font-size: 14px;
    height: 60px;
  }

  .user-dropdown .user-name {
    height: 60px;
  }

  .dropdown-content {
    top: 60px;
  }

  .page {
    padding-top: 60px;
  }

  .page1_carousel-container {
    height: calc(100vh - 60px);
  }

  .dot {
    display: none;
  }
}

@media (max-width: 480px) {
  .navbar .logo {
    width: 120px;
    height: 40px;
  }

  .navbar .nav-item {
    padding: 0 8px;
  }

  .navbar .nav-item > a {
    font-size: 13px;
    gap: 4px;
  }

  .indicator-btn--pill {
    width: 12px;
    height: 12px;
  }
}
