@charset "utf-8";

/* top.asp 导航下拉菜单样式 */
.nav {
    position: relative;
}

.nav li {
    position: relative;
}

/* 下拉菜单样式 */
.nav .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    border-radius: 0 0 8px 8px;
    padding: 10px 0;
    z-index: 1000;
}

.nav .nav-dropdown:hover .dropdown-menu {
    display: block;
}

.nav .dropdown-item {
    width: 100%;
    height: auto;
    float: none;
    margin: 0;
    line-height: normal;
    position: relative !important;
    text-align: center;
}

.nav .dropdown-item > a {
    display: block;
    width: 100%;
    height: auto;
    float: none;
    padding: 12px 20px;
    color: #2c3e50;
    background: none;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    text-align: center;
}

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

.nav .dropdown-item > a:hover {
    background: #f8f9fa;
    color: #22c55e;
}

/* 二级下拉菜单 */
.nav .sub-dropdown-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 260px;
    width: auto;
    max-width: 360px;
    background: #ffffff;
    box-shadow: 5px 5px 20px rgba(0,0,0,0.15);
    border-radius: 0 8px 8px 0;
    padding: 15px;
    z-index: 9999;
}

.nav .dropdown-item:hover > .sub-dropdown-menu {
    display: block;
}

.nav .sub-dropdown-item {
    display: block;
    position: relative;
    text-align: center;
    width: auto;
    height: auto;
    float: none;
    margin: 5px 0;
    line-height: normal;
}

.nav .sub-dropdown-item > a {
    display: block;
    width: 100%;
    height: auto;
    float: none;
    padding: 12px 20px;
    color: #2c3e50;
    background: none;
    font-size: 15px;
    font-weight: 500;
    border-bottom: none;
    transition: all 0.3s ease;
    border-radius: 4px;
    text-align: center;
}

.nav .sub-dropdown-item > a:hover {
    background: #f8f9fa;
    color: #22c55e;
}

.nav .sub-dropdown-item:hover > .third-dropdown-menu {
    display: block;
}

/* 三级下拉菜单 */
.nav .third-dropdown-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 180px;
    background: #ffffff;
    box-shadow: 5px 5px 20px rgba(0,0,0,0.15);
    border-radius: 0 8px 8px 0;
    padding: 10px;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}

.nav .third-dropdown-item {
    position: relative;
    text-align: center;
    width: auto;
    height: auto;
    float: none;
    margin: 0;
    line-height: normal;
}

.nav .third-dropdown-item > a {
    display: block;
    width: 100%;
    height: auto;
    float: none;
    padding: 6px 8px;
    color: #2c3e50;
    background: none;
    font-size: 12px;
    font-weight: 500;
    border-bottom: none;
    transition: all 0.3s ease;
    border-radius: 4px;
    text-align: center;
}

.nav .third-dropdown-item > a:hover {
    background: #f8f9fa;
    color: #22c55e;
}

/* 右侧客服栏 */
.service-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.service-toggle {
    background: linear-gradient(135deg, #27ae60, #1e8449);
    color: #fff;
    padding: 18px 12px;
    border-radius: 10px 0 0 10px;
    cursor: pointer;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: -4px 4px 20px rgba(39, 174, 96, 0.4);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-toggle:hover,
.service-toggle.open {
    background: linear-gradient(135deg, #1e8449, #16a085);
    padding-right: 20px;
}

.service-toggle i {
    font-size: 22px;
    transform: rotate(-90deg);
}

.service-panel {
    position: absolute;
    right: -340px;
    top: 50%;
    transform: translateY(-50%);
    width: 340px;
    background: #fff;
    border-radius: 16px 0 0 16px;
    box-shadow: -6px 0 25px rgba(0,0,0,0.18);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-panel.open {
    right: 0;
}

.service-header {
    background: linear-gradient(135deg, #27ae60, #1e8449);
    color: #fff;
    padding: 25px;
    border-radius: 16px 0 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.close-btn {
    cursor: pointer;
    font-size: 20px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.close-btn:hover {
    opacity: 1;
}

.service-content {
    padding: 20px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 0;
    border-bottom: 1px solid #f1f5f9;
}

.service-item:last-of-type {
    border-bottom: none;
}

.service-item i {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.service-item .label {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
}

.service-item .value {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin: 5px 0 0 0;
}

.service-qrcode {
    margin-top: 20px;
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-radius: 12px;
    border: 1px solid #bbf7d0;
}

.qrcode-title {
    font-size: 15px;
    font-weight: 600;
    color: #1e3a5f;
    margin: 0 0 12px 0;
}

.qrcode-img img {
    width: 120px;
    height: 120px;
}

.qrcode-desc {
    font-size: 12px;
    color: #999;
    margin: 10px 0 0 0;
}

/* 顶部样式 */
.header {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: relative;
    z-index: 100;
}

.header-main {
    padding: 15px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.header-left {
    flex-shrink: 0;
}

.header-left .logo img {
    height: 75px;
    width: auto;
}

.header-center {
    flex: 1;
    text-align: center;
}

.slogan {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slogan-text {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.slogan-scroll {
    overflow: hidden;
    height: 26px;
}

.slogan-list {
    list-style: none;
    padding: 0;
    margin: 0;
    animation: sloganScroll 8s linear infinite;
}

.slogan-list li {
    font-size: 18px;
    color: #e74c3c;
    font-weight: 600;
    height: 26px;
    line-height: 26px;
}

@keyframes sloganScroll {
    0% { transform: translateY(0); }
    16.67% { transform: translateY(0); }
    25% { transform: translateY(-26px); }
    41.67% { transform: translateY(-26px); }
    50% { transform: translateY(-52px); }
    66.67% { transform: translateY(-52px); }
    75% { transform: translateY(-78px); }
    91.67% { transform: translateY(-78px); }
    100% { transform: translateY(-104px); }
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    flex-shrink: 0;
    min-width: 220px;
}

.phone-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-radius: 12px;
    border-left: 5px solid #27ae60;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.phone-item:hover {
    background: linear-gradient(135deg, #ffffff, #f0fdf4);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.15);
    transform: translateX(5px);
}

.phone-item i {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
    flex-shrink: 0;
}

.phone-item .phone-info {
    display: flex;
    flex-direction: column;
}

.phone-item .phone-label {
    font-size: 11px;
    color: #999;
    line-height: 1;
    margin-bottom: 2px;
}

.phone-item .phone-number {
    font-size: 19px;
    font-weight: 700;
    color: #2c3e50;
    font-family: "Arial Black", Arial, sans-serif;
    letter-spacing: 1px;
}

.mobile-menu-btn {
    display: none;
    color: #333333;
    font-size: 24px;
    cursor: pointer;
    padding: 8px 12px;
}

/* 导航样式 */
.nav {
    position: relative;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    padding: 0;
}

.nav .container {
    padding: 0;
    overflow: visible;
}

.nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: space-around;
    overflow: visible;
}

.nav li {
    flex: none;
    text-align: center;
    position: relative;
}

.nav li a {
    display: block;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    padding: 20px 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.nav li a:hover {
    background: rgba(255,255,255,0.1);
    color: #f1c40f;
}

.nav li.active a,
.nav li:hover a {
    position: relative;
}

.nav li.active a::after,
.nav li:hover a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: #f1c40f;
    border-radius: 2px;
}

/* 下拉菜单样式 */
.nav-dropdown {
    position: relative;
}

.nav-dropdown:hover > a {
    background: rgba(255,255,255,0.1);
    color: #f1c40f;
}

.nav-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 0 0 8px 8px;
    overflow: visible;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    position: relative;
    text-align: center !important;
}

.dropdown-item > a {
    display: block;
    padding: 14px 20px;
    color: #2c3e50 !important;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    text-align: center !important;
}

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

.dropdown-item > a:hover {
    background: #f8f9fa;
    color: #27ae60 !important;
    padding-left: 20px;
    padding-right: 20px;
}

/* 三级下拉菜单 */
.third-dropdown-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 180px;
    background: #ffffff;
    box-shadow: 5px 5px 20px rgba(0,0,0,0.15);
    border-radius: 0 8px 8px 0;
    padding: 10px;
}

.third-dropdown-item {
    position: relative;
    text-align: left;
}

.third-dropdown-item > a {
    display: block;
    padding: 5px 8px;
    color: #2c3e50 !important;
    font-size: 12px;
    font-weight: 500;
    border-bottom: none;
    transition: all 0.3s ease;
    border-radius: 4px;
    text-align: center;
}

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

.third-dropdown-item > a:hover {
    background: #f8f9fa;
    color: #27ae60 !important;
    padding-left: 8px;
}

/* 底部样式 */
.footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 50px 0 30px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section {
    padding: 0 15px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #f1c40f;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1c40f;
    display: inline-block;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    color: #bdc3c7;
    margin: 10px 0;
}

.footer-section p i {
    color: #e74c3c;
    margin-right: 10px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #bdc3c7;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #f1c40f;
}

.footer-qrcode {
    text-align: center;
}

.footer-qrcode img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
}

.footer-qrcode p {
    font-size: 13px;
    color: #bdc3c7;
    margin-top: 10px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #95a5a6;
}

.footer-bottom a {
    color: #f1c40f;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .slogan-text {
        font-size: 20px;
    }
    
    .slogan-list li {
        font-size: 16px;
    }
    
    .phone-item {
        padding: 8px 12px;
    }
    
    .phone-item .phone-number {
        font-size: 17px;
    }
    
    .phone-item i {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }
    
    .header-right {
        min-width: 180px;
    }
}

@media (max-width: 768px) {
    .service-sidebar {
        display: none;
    }
    
    .header-main {
        padding: 0;
        height: auto;
    }
    
    .header-main .container {
        flex-direction: row;
        align-items: center;
        gap: 0;
        padding: 0;
    }
    
    .header-left {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .header-left .logo {
        width: 100%;
        text-align: center;
        position: relative;
        z-index: 1;
    }
    
    .header-left .logo img {
        height: auto;
        width: 100%;
        max-width: 100%;
    }
    
    .header-center {
        display: none;
    }
    
    .header-right {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block !important;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 200;
        color: #333333;
    }
    
    .mobile-menu-btn.active {
        color: #ffffff;
    }
    
    .mobile-menu-btn .fa-times {
        display: none;
    }
    
    .mobile-menu-btn.active .fa-bars {
        display: none;
    }
    
    .mobile-menu-btn.active .fa-times {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(44, 62, 80, 0.98);
        z-index: 150;
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav .container {
        padding: 0;
        width: 100%;
    }
    
    .nav ul {
        flex-direction: column;
        display: flex;
        width: 100%;
        padding: 20px 0;
    }
    
    .nav li {
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav li:last-child {
        border-bottom: none;
    }
    
    .nav li a {
        padding: 22px 20px;
        font-size: 18px;
        letter-spacing: 2px;
        border-bottom: none;
    }
    
    .nav li.active a::after,
    .nav li:hover a::after {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-section h4 {
        display: block;
        text-align: center;
    }
    
    .footer-bottom p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .header-left {
        gap: 15px;
    }
    
    .contact-item {
        min-width: 120px;
    }
    
    .contact-item i {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    
    .contact-item .label {
        font-size: 9px;
    }
    
    .contact-item .value {
        font-size: 11px;
    }
    
    .header-main .logo img {
        max-height: 60px;
        max-width: 180px;
    }
    
    .slogan {
        display: none;
    }
    
    .footer {
        padding: 35px 0 20px;
    }
    
    .footer-section p {
        font-size: 13px;
    }
}