/* 原有样式保持不变 */
:root {
  font-size: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Microsoft YaHei', Arial, sans-serif;
}

body {
  background-color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.navbar {
  background-color: #000;
  box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.1);
  padding: 0 40px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.9);
  box-shadow: 0 0.125rem 1.25rem rgba(0, 0, 0, 0.2);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  width: 100%;
  max-width: 1920px;
}

.logo {
 

  color: #fff;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.6s ease;
}

.logo.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.logo img {
  max-height: 95px;
  width: auto;
  margin-top: -2rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: clamp(0.5rem, 1vw, 1rem);
}

.nav-item {
  position: relative;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.6s ease;
}

.nav-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.nav-link {
  display: block;
  padding: clamp(1rem, 2vw, 1.25rem) clamp(2.35rem, 1.5vw, 1rem);
  text-decoration: none;
  color: #fff;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  transition: color 0.3s;
  position: relative;
  overflow: hidden;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: #db555c;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1rem);
}

.search-container {
  position: relative;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.6s ease;
}

.search-container.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.search-input {
  padding: 0.5rem 1rem;
  border: 0.0625rem solid #444;
  border-radius: 1.25rem;
  background-color: #222;
  color: #fff;
  width: 0;
  opacity: 0;
  transition: all 0.3s ease;
  outline: none;
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
}

.search-input.active {
  width: clamp(10rem, 20vw, 14rem);
  opacity: 1;
  margin-right: 0.625rem;
}


.search-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: clamp(1.1rem, 1.5vw, 1rem);
  padding: 0.5rem;
  transition: color 0.3s;
}

.search-btn:hover {
  color: #db555c;
}

.login-btn {
  background-color: #db555c;
  color: white;
  border: none;
  padding: clamp(0.5rem, 1vw, 0.625rem) clamp(1rem, 2vw, 1.25rem);
  border-radius: 1.25rem;
  cursor: pointer;
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  transition: background-color 0.3s;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.6s ease;
}

.login-btn.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.login-btn:hover {
  background-color: #db555c;
}

.language-switch {
  color: #fff;
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  display: flex;
  align-items: center;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.6s ease;
}

.language-switch.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.language-switch span {
  cursor: pointer;
  padding: 0.3125rem;
}

.language-switch span.active {
  color: #db555c;
  font-weight: bold;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.625rem;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.6s ease;
}

.hamburger.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.hamburger span {
  width: 1.5625rem;
  height: 0.1875rem;
  background-color: #fff;
  margin: 0.1875rem 0;
  transition: 0.3s;
}

  /* ========== 响应式样式 ========== */
        
        /* 平板设备 (992px以下) */
        @media screen and (max-width: 992px) {
            .navbar {
                padding: 0 20px;
            }
            
            .hamburger {
                display: flex;
            }
            
            /* 汉堡菜单激活状态 */
            .hamburger.active span:nth-child(1) {
                transform: rotate(45deg) translate(5px, 5px);
            }
            
            .hamburger.active span:nth-child(2) {
                opacity: 0;
            }
            
            .hamburger.active span:nth-child(3) {
                transform: rotate(-45deg) translate(7px, -6px);
            }
            
            /* 导航菜单响应式 */
            .nav-menu {
                position: fixed;
                top: 80px;
                left: -100%;
                width: 100%;
                height: calc(100vh - 80px);
                background-color: rgba(0, 0, 0, 0.95);
                flex-direction: column;
                gap: 0;
                padding: 20px;
                transition: left 0.3s ease;
                overflow-y: auto;
                z-index: 999;
            }
            
            .nav-menu.active {
                left: 0;
            }
            
            .nav-item {
                width: 100%;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
                opacity: 1 !important;
                transform: none !important;
            }
            
            .nav-item:last-child {
                border-bottom: none;
            }
            
            .nav-link {
                padding: 15px 0;
                font-size: 1rem;
            }
            
            /* 二级菜单样式 */
            .head-nav-item-drop {
               
                overflow: hidden;
                transition: max-height 0.3s ease;
                background-color: rgba(0, 0, 0, 0.3);
                border-radius: 4px;
                margin-top: 5px;
                z-index: 999999;
                top: 50%;
            }
            
            .head-nav-item.active .head-nav-item-drop {
                max-height: 500px;
            }
            
            .hnid-ul {
                list-style: none;
                padding: 10px 20px;
                margin: 0;
            }
            
            .hnid-li {
                margin: 8px 0;
            }
            
            .hnid-li a {
                color: #fff;
                text-decoration: none;
                font-size: 0.9rem;
                display: block;
                padding: 8px 0;
                transition: color 0.3s;
            }
            
            .hnid-li a:hover {
                color: #db555c;
            }
            
            /* 下拉菜单指示箭头 */
            .has-drop .head-nav-item-title::after {
                content: '▼';
                font-size: 0.8em;
                margin-left: 5px;
                transition: transform 0.3s ease;
            }
            
            .head-nav-item.active .head-nav-item-title::after {
                transform: rotate(180deg);
            }
        }
        
        /* 手机设备 (768px以下) */
        @media screen and (max-width: 768px) {
            .navbar {
                padding: 0 15px;
            }
            
            .nav-menu {
                top: 70px;
                height: calc(100vh - 70px);
            }
            
            .logo img {
                max-height: 50px;
                margin-top: 0;
            }
            
            .nav-right {
                gap: 0.8rem;
            }
            
            .search-container {
                display: none;
            }
            
            .search-container.mobile-active {
                display: flex;
                position: absolute;
                top: 70px;
                left: 0;
                width: 100%;
                background-color: rgba(0, 0, 0, 0.95);
                padding: 15px;
                box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
                justify-content: center;
            }
            
            .search-input.active {
                width: 80%;
            }
            
           /* .language-switch {
                display: none;
            }*/
        }
        
        /* 小屏幕手机 (480px以下) */
        @media screen and (max-width: 480px) {
            .navbar {
                padding: 5px 10px;
            }
            
            .nav-menu {
                top:40px;
                height: calc(100vh - 60px);
            }
            
            .logo img {
                max-height: 40px;
            }
            
            .login-btn {
                padding: 0.4rem 0.8rem;
                font-size: 0.8rem;
            }
            
            .hamburger {
                padding: 0.5rem;
            }
            
            .hamburger span {
                width: 1.25rem;
                height: 0.15rem;
            }
        }

/* 底部样式 - 增强版 */
.footer {
  background-color: #333333;
  color: #d9d6d6;
  margin-top: auto;
  padding: 2.5rem 0 1.25rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(61, 93, 149, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.footer-container {
  max-width: 90rem;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 1.875rem;
  gap: 2rem;
}

.footer-logo {
  flex: 0 0 auto;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.footer-logo.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.footer-logo img {
  max-height: 95px;
  width: auto;
  /*filter: brightness(0) invert(1);*/
  transition: all 0.5s ease;
}

.footer-logo:hover img {
  transform: scale(1.1);
}

.contact-info {
  flex: .8;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.2s;
}

.contact-info.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.hotline {
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  line-height: 1.8;
  position: relative;

  margin-bottom: 0.5rem;
}



.address {
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  line-height: 1.8;
  color: #ccc;
}

.headquarters, .branch {
  position: relative;

  margin-bottom: 0.5rem;
}


.footer-nav {
  flex: 1;
  min-width: 18.75rem;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.4s;
}

.footer-nav.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.footer-menu {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  gap: 3.4rem;
}

.footer-menu li {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.footer-menu li.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.footer-menu li a {
  color: #fff;
  text-decoration: none;
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  transition: color 0.3s;
  white-space: nowrap;
  position: relative;
  padding-bottom: 0.3rem;
}

.footer-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #ff3131;
  transition: width 0.3s ease;
}

.footer-menu li a:hover::after {
  width: 100%;
}

.footer-menu li a:hover {
  color: #ff3131;
}

.footer-bottom {
  border-top: 0.0625rem solid #393939;
  padding-top: 1.25rem;
  text-align: center;
  font-size: clamp(0.75rem, 1.2vw, 0.875rem);
  color: #cecbcb;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease 0.6s;
}

.footer-bottom.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.footer-bottom p {
  margin-bottom: 0.3125rem;
  transition: all 0.3s ease;
}

.footer-bottom p:hover {
  color: #fff;
  transform: translateY(-2px);
}

        /* 响应式设计 */
        @media screen and (max-width: 992px) {
            .footer-top {
                flex-direction: column;
                gap: 1.5rem;
            }
            
            .footer-nav {
                justify-content: flex-start;
                min-width: auto;
                width: 100%;
            }
            
            .footer-menu {
                gap: 2rem;
                justify-content: flex-start;
            }
            
            .contact-info {
                flex: 1;
                width: 100%;
            }
        }
        
        @media screen and (max-width: 768px) {
            .footer {
                padding: 2rem 0 1rem;
            }
            
            .footer-menu {
                gap: 1.5rem;
                justify-content: center;
            }
            
            .footer-container {
                padding: 0 1.5rem;
            }
        }
        
        @media screen and (max-width: 576px) {
            .footer-top{
                margin-bottom: 0;
            }
            .footer-menu {
                display: none !important;
            }
            .footer-logo img {
                height: clamp(4rem, 4vw, 3rem);
            }

            .footer-menu li a {
                white-space: normal;
                text-align: center;
            }
            
            .footer-bottom {
                font-size: 0.75rem;
            }
            
            .footer-logo {
                margin: 0 auto;
            }
            
            .contact-info {
                text-align: center;
            }
        }
