:root {
    --primary-color: #ff6b00;
    --secondary-color: #2c3e50;
    --background-color: #ffffff;
    --text-color: #333333;
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background-color: var(--background-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    align-items: center;
}

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

.nav-item > a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 30px 0;
    display: block;
}

.nav-links > a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-item:hover > a,
.nav-links > a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

/* 二级菜单样式 */
.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    min-width: 200px;
    padding: 15px 0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform-origin: top center;
    transform: translateX(-50%) scaleY(0.9);
}

.nav-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scaleY(1);
}

.submenu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.submenu a {
    display: block;
    padding: 10px 25px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.submenu a:hover {
    color: var(--primary-color);
    background: #f8f9fa;
    padding-left: 30px;
}

/* 首页横幅样式 */
.hero {
    position: relative;
    height: 600px;
    margin-top: 80px;
}

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 200px;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #ff8533;
}

/* 服务特点样式 */
.features {
    padding: 80px 0;
    background: #f8f9fa;
    overflow: hidden;
}

.feature-slider-container {
    position: relative;
    margin: 0 auto;
    padding: 0 50px;
    overflow: hidden;
    max-width: 1300px;
}

.feature-slider {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
    padding: 20px 0;
    width: 100%;
}

.feature-item {
    min-width: calc(33.333% - 20px);
    flex-shrink: 0;
    background: white;
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: var(--primary-color);
    color: white;
}

.slider-arrow.prev {
    left: 5px;
}

.slider-arrow.next {
    right: 5px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.feature-icon {
    background: linear-gradient(135deg, #007bff, #00d2ff);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.feature-icon i {
    font-size: 30px;
    color: white;
}

.feature-content h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.feature-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.feature-list li {
    color: #555;
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
}

.feature-list li:before {
    content: "•";
    color: #007bff;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.feature-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: transform 0.3s ease;
}

.feature-link:hover {
    transform: translateX(5px);
}

/* 客户案例样式 */
.client-cases {
    padding: 80px 0;
    background: white;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.case-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.case-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

.case-item:hover .case-image img {
    transform: scale(1.1);
}

.case-content {
    padding: 25px;
}

.case-content h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 10px;
}

.case-content p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.case-tag {
    background: #f0f2f5;
    color: #666;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
}

.case-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.case-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.case-link:hover {
    color: #ff8533;
}

.case-link:hover i {
    transform: translateX(5px);
}

@media (max-width: 1024px) {
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .case-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .case-image {
        height: 180px;
    }

    .case-content {
        padding: 20px;
    }

    .case-content h3 {
        font-size: 1.2rem;
    }

    .case-content p {
        font-size: 0.9rem;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        padding: 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        flex-direction: column;
        align-items: stretch;
    }

    .nav-links.active {
        display: block;
    }

    .nav-item {
        margin: 0;
        border-bottom: 1px solid #eee;
    }

    .nav-item > a,
    .nav-links > a {
        padding: 15px 20px;
        margin: 0;
        display: block;
    }

    .submenu {
        position: static;
        transform: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        display: none;
        padding: 0;
        background: #f8f9fa;
    }

    .submenu::before {
        display: none;
    }

    .nav-item.active .submenu {
        display: block;
    }

    .submenu a {
        padding: 12px 30px;
        border-top: 1px solid #eee;
    }

    .submenu a:hover {
        background: #eee;
    }

    .mobile-menu {
        display: block !important;
        z-index: 9999;
    }

    /* 汉堡菜单动画效果 */
    .mobile-menu.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-9px, 8px);
    }

    .mobile-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero h1 {
        font-size: 2em;
    }
    
    .feature-item {
        min-width: calc(100% - 20px);
        margin: 0 10px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .slider-arrow {
        width: 35px;
        height: 35px;
    }
    
    .slider-arrow.prev {
        left: 2px;
    }
    
    .slider-arrow.next {
        right: 2px;
    }
    
    .feature-slider-container {
        padding: 0 35px;
        margin: 0;
        width: 100%;
    }

    .feature-slider {
        gap: 15px;
        padding: 10px 0;
    }

    .feature-item {
        min-width: calc(100% - 30px);
        margin: 0;
        padding: 20px;
    }

    .slider-arrow {
        width: 30px;
        height: 30px;
        background: rgba(255, 255, 255, 0.9);
    }

    .slider-arrow.prev {
        left: 5px;
    }

    .slider-arrow.next {
        right: 5px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .feature-icon i {
        font-size: 24px;
    }

    .feature-content h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .feature-content p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .feature-list li {
        font-size: 0.9rem;
        padding: 6px 0;
    }

    .slider-dots {
        margin-top: 20px;
    }

    .slider-dot {
        width: 8px;
        height: 8px;
    }
}

/* 移动端菜单按钮 */
.mobile-menu {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    margin-left: 20px;
}

.mobile-menu span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu span:nth-child(1) { top: 0; }
.mobile-menu span:nth-child(2) { top: 10px; }
.mobile-menu span:nth-child(3) { top: 20px; }

/* 页脚样式 */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 50px 0 20px;
}

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

.footer-info h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-info h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.company-info p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.branch-grid {
    display: grid;
    gap: 20px;
}

.branch-item h5 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.branch-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.contact-grid {
    display: grid;
    gap: 20px;
}

.qr-code {
    /* text-align: center; */
}

.qr-code img {
    width: 120px;
    height: 120px;
    background: white;
    padding: 5px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.qr-code p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.online-contact {
    margin-top: 15px;
}

.qq-link {
    display: inline-flex;
    align-items: center;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.qq-link:hover {
    background-color: #ff8533;
}

.qq-link i {
    font-size: 1.5rem;
    margin-right: 10px;
}

.work-time {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .branch-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* 滚动banner样式 */
.banner-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.banner-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background-size: cover;
    background-position: center;
}

.banner-slide:nth-child(1) {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('banner1.jpg');
}

.banner-slide:nth-child(2) {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('banner2.jpg');
}

.banner-slide:nth-child(3) {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('banner3.jpg');
}

.banner-slide.active {
    opacity: 1;
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

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

.banner-dot.active {
    background-color: var(--primary-color);
}

/* 友情链接样式 */
.friend-links {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 30px;
}

.friend-links h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.friend-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.friend-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.friend-links-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.friend-links-list a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .friend-links-list {
        gap: 10px;
    }
    
    .friend-links-list a {
        font-size: 0.85rem;
    }
}

/* 文章详情页样式 */
.article-detail {
    padding: 40px 0;
    margin-top: 80px;
}

.article-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 40px;
}

.article-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.article-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #666;
    font-size: 0.9rem;
}

.article-meta span {
    display: flex;
    align-items: center;
}

.article-meta i {
    margin-right: 5px;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.article-content h2 {
    font-size: 1.6rem;
    color: #333;
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.article-content h3 {
    font-size: 1.4rem;
    color: #333;
    margin: 25px 0 15px;
}

.article-share {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.share-title {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
    gap: 15px;
}

.share-button {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.share-button:hover {
    opacity: 0.9;
}

.share-button i {
    margin-right: 5px;
}

.share-weixin {
    background-color: #07c160;
}

.share-weibo {
    background-color: #e6162d;
}

.share-qq {
    background-color: #12b7f5;
}

.related-articles {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.related-title {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 20px;
}

.related-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.related-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    transition: transform 0.3s;
}

.related-item:hover {
    transform: translateY(-3px);
}

.related-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
}

.related-item a {
    color: inherit;
    text-decoration: none;
}

.related-item p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.related-meta {
    font-size: 0.85rem;
    color: #999;
}

@media (max-width: 768px) {
    .article-container {
        padding: 20px;
        margin: 0 15px;
    }

    .article-title {
        font-size: 1.6rem;
    }

    .article-content {
        font-size: 1rem;
    }

    .related-list {
        grid-template-columns: 1fr;
    }

    .share-buttons {
        flex-wrap: wrap;
    }
}

/* 分享弹窗样式 */
.share-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.share-dialog.active {
    display: flex;
}

.share-dialog-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 300px;
    width: 90%;
    position: relative;
    text-align: center;
}

.share-dialog-title {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 20px;
}

.share-qrcode {
    width: 200px;
    height: 200px;
    margin: 0 auto 15px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-qrcode img {
    max-width: 100%;
    height: auto;
}

.share-dialog-tips {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.share-dialog-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    cursor: pointer;
    color: #999;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.share-dialog-close:hover {
    color: #333;
}

@media (max-width: 768px) {
    .share-dialog-content {
        padding: 20px;
    }

    .share-qrcode {
        width: 150px;
        height: 150px;
    }
} 