/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Microsoft Yahei", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #ff6600;
    color: #fff;
    border-radius: 4px;
    transition: background-color 0.3s;
}
.btn:hover {
    background-color: #e55a00;
}
.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    position: relative;
}
.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #ff6600;
}

/* 导航栏 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.logo a {
    font-size: 24px;
    font-weight: bold;
    color: #ff6600;
}
.nav ul {
    display: flex;
    gap: 30px;
}
.nav ul li a {
    font-size: 16px;
    color: #333;
    transition: color 0.3s;
}
.nav ul li a:hover,
.nav ul li a.active {
    color: #ff6600;
}
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* 轮播Banner */
.banner {
    position: relative;
    height: 500px;
    overflow: hidden;
}
.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://via.placeholder.com/1920x500?text=Pkex.vip') center/cover no-repeat;
    opacity: 0;
    transition: opacity 1s;
}
.banner-slide.active {
    opacity: 1;
}
.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
}
.banner-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}
.banner-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* 服务简介 */
.services-intro {
    padding: 80px 0;
    background-color: #fff;
}
.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-item {
    text-align: center;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ff6600;
}
.service-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

/* 关于我们简介 */
.about-intro {
    padding: 80px 0;
    background-color: #f9f9f9;
}
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}
.about-text p {
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.8;
}
.about-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* 页脚 */
.footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0 20px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}
.footer-logo a {
    font-size: 24px;
    font-weight: bold;
    color: #ff6600;
}
.footer-logo p {
    margin-top: 10px;
    color: #aaa;
}
.footer-links h4,
.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 20px;
}
.footer-links ul li {
    margin-bottom: 10px;
}
.footer-links ul li a {
    color: #aaa;
    transition: color 0.3s;
}
.footer-links ul li a:hover {
    color: #ff6600;
}
.footer-contact p {
    color: #aaa;
    margin-bottom: 10px;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #aaa;
}

/* 子页面Banner */
.page-banner {
    height: 200px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://via.placeholder.com/1920x200?text=Pkex.vip') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}
.page-banner h1 {
    font-size: 36px;
    margin-bottom: 10px;
}
.page-banner p {
    font-size: 18px;
}

/* 关于我们页面 */
.about-page {
    padding: 80px 0;
    background-color: #fff;
}
.about-section {
    margin-bottom: 60px;
}
.about-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}
.about-section p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #666;
}
.advantage-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.advantage-list li {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}
.advantage-list li h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #ff6600;
}
.timeline {
    position: relative;
    padding-left: 30px;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: #ff6600;
}
.timeline-item {
    position: relative;
    margin-bottom: 30px;
}
.timeline-year {
    position: absolute;
    left: -80px;
    top: 0;
    width: 60px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: #ff6600;
    color: #fff;
    border-radius: 4px;
    font-weight: bold;
}
.timeline-content {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}
.timeline-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* 服务项目页面 */
.services-page {
    padding: 80px 0;
    background-color: #f9f9f9;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}
.service-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    text-align: center;
}
.service-card:hover {
    transform: translateY(-10px);
}
.service-card-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ff6600;
}
.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}
.service-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* 联系我们页面 */
.contact-page {
    padding: 80px 0;
    background-color: #fff;
}
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.contact-info h2,
.contact-form h2 {
    font-size: 28px;
    margin-bottom: 30px;
}
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}
.contact-icon {
    font-size: 24px;
    color: #ff6600;
    margin-right: 20px;
    width: 50px;
    text-align: center;
}
.contact-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
}
.contact-item p {
    color: #666;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}
.form-group textarea {
    resize: vertical;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .nav ul {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .nav ul.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
    .banner-content h1 {
        font-size: 32px;
    }
    .banner-content p {
        font-size: 16px;
    }
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    .timeline-year {
        left: -60px;
        width: 50px;
    }
    .service-grid {
        grid-template-columns: 1fr;
    }
}