/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    padding-bottom: 70px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* 头部样式 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    width: 100px;
    
    height: 80px;
}

/* 移动端logo居中 */
@media (max-width: 768px) {
    .header-container {
        justify-content: center;
    }
    
    .pc-nav {
        display: none;
    }
}

/* PC导航 */
.pc-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.pc-nav .nav-link {
    font-size: 16px;
    font-weight: 500;
    padding: 8px 15px;
    transition: color 0.3s;
}

.pc-nav .nav-link.active {
    color: #4a90e2;
    font-weight: bold;
}

.pc-nav .nav-link:hover {
    color: #4a90e2;
}

/* 大背景图 */
.hero-banner {
    width: 100%;
    height: 60vh;
    min-height: 400px;
    background-image: url('https://images.unsplash.com/photo-1600585152220-90363fe7e115?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    position: relative;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    padding: 0 20px;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* .hero-btn {
    display: inline-block;
    background: #4a90e2;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s;
}

.hero-btn:hover {
    background: #3a7bc8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
} */

.hero-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}

/* 主要内容容器 */
.main-content {
    margin-top: 0;
    padding: 40px 10%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* 公共板块样式 */
.section {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 22px;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    padding-left: 15px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    height: 20px;
    width: 5px;
    background: #4a90e2;
    border-radius: 3px;
}

/* 关于我们 */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    
}
.about-content img{
    width: 100%;
    height: 680px;
}
.content-image {
    width: 100%;
    border-radius: 8px;
    margin: 15px 0;
}

/* 服务卡片 */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.service-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.service-info {
    padding: 15px;
}

.service-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #222;
}

/* 优势卡片 */
.advantages-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.advantage-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 40px;
    color: #4a90e2;
    margin-bottom: 15px;
}

.advantage-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #222;
}

/* 施工流程 */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    padding-left: 30px;
}

.process-steps::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e0e0e0;
}

.step {
    position: relative;
    padding-left: 30px;
}

.step::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4a90e2;
    border: 4px solid #e0e0e0;
}

.step-title {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 18px;
}

/* 售后支持 */
.after-sales-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 资源整合 */
.resources-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.brands-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.brands-container img {
    height: 50px;
}

/* 列表样式 */
ul {
    padding-left: 20px;
    margin-top: 10px;
}

ul li {
    margin-bottom: 8px;
    list-style-position: inside;
}

/* 移动端底部菜单 */
.bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    color: #666;
}

.menu-item.active {
    color: #4a90e2;
}

.menu-icon {
    font-size: 20px;
    margin-bottom: 5px;
}

.contact-btn {
    background: #4a90e2;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
}

/* PC端页脚 */
.footer {
    background: #222;
    color: #fff;
    padding: 40px 10%;
    display: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 15px;
}

.footer-title {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #4a90e2;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bbb;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #4a90e2;
}

.contact-info {
    margin-bottom: 15px;
}

.contact-info i {
    width: 20px;
    text-align: center;
    margin-right: 10px;
    color: #4a90e2;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: #fff;
    font-size: 20px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #4a90e2;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #444;
    color: #999;
    font-size: 14px;
}

/* 案例分享页面样式 */
.portfolio-section {
    display: none;
    padding: 20px 5%;
}

.portfolio-container {
    column-count: 2;
    column-gap: 15px;
}

.portfolio-item {
    break-inside: avoid;
    margin-bottom: 15px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    cursor: pointer;
}

.portfolio-video {
    width: 100%;
    display: block;
}

.portfolio-info {
    padding: 12px;
}

.portfolio-title {
    font-weight: bold;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portfolio-desc {
    font-size: 13px;
    color: #666;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 视频全屏模式 */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.video-modal-content {
    width: 90%;
    max-width: 900px;
    position: relative;
}

.video-modal-video {
    width: 100%;
    height: auto;
    max-height: 80vh;
}

.video-modal-info {
    background: white;
    padding: 15px;
    border-radius: 0 0 8px 8px;
}

.video-modal-title {
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
}

.video-modal-desc {
    font-size: 14px;
    color: #666;
}

.close-video-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

/* 联系咨询弹窗 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    position: relative;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.modal-title {
    font-size: 22px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-control:invalid {
    border-color: #ff6b6b;
}

.required {
    color: #ff4d4f;
    margin-left: 4px;
}

.submit-btn {
    background: #4a90e2;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #3a7bc8;
}

/* 微信客服按钮 */
.wechat-service {
    position: fixed;
    right: 30px;
    bottom: 300px;
    z-index: 999;
}

.wechat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #09bb07;
    border-radius: 50%;
    color: white;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    text-decoration: none;
}

.wechat-icon:hover {
    background: #07a305;
    transform: scale(1.1);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-banner {
        height: 50vh;
        min-height: 300px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .main-content {
        padding: 20px 5%;
    }
    
    .services-container, .advantages-container {
        grid-template-columns: 1fr;
    }
    
    .advantages-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .portfolio-container {
        column-count: 1;
    }
    
    .section {
        padding: 20px 15px;
    }
    
    .bottom-menu {
        display: flex;
    }
    
    .footer {
        display: none;
    }
    
    .wechat-service {
        right: 15px;
        bottom: 300px;
    }
    
    .wechat-icon {
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}

@media (min-width: 769px) {
    .main-content {
        width: 80%;
        padding: 40px 0;
        margin: 0 auto;
    }
    
    .portfolio-section {
        padding: 20px 10%;
    }
    
    .bottom-menu {
        display: none;
    }
    
    .footer {
        display: block;
    }
    
    body {
        padding-bottom: 0;
    }
}


