/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 页面结构 */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 头部样式 */
.main-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.brand h1 a {
    color: #007bff;
    text-decoration: none;
    font-size: 24px;
}

.tagline {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}

.contact-info .label {
    font-weight: bold;
    margin-right: 10px;
}

.contact-info a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
}

/* 导航样式 */
.main-nav {
    border-top: 1px solid #eee;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-right: 30px;
}

.main-nav ul li a {
    display: block;
    padding: 15px 0;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav ul li a:hover {
    color: #007bff;
}

/* 位置导航 */
.location-header {
    margin: 20px 0;
    padding: 15px 0;
}

.location-header h1 {
    color: #007bff;
    margin-bottom: 10px;
    font-size: 28px;
}

.location-breadcrumb {
    color: #666;
}

.location-breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 60px 40px;
    border-radius: 10px;
    margin: 30px 0;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.hero h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 按钮样式 */
.button, .submit-button {
    display: inline-block;
    padding: 15px 35px;
    background: #fff;
    color: #007bff;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.button:hover, .submit-button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* 内容区块通用样式 */
.content-section {
    background: #fff;
    padding: 50px 40px;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.content-section h2 {
    color: #007bff;
    margin-bottom: 30px;
    text-align: center;
    font-size: 28px;
}

/* 服务概览 */
.services-overview {
    background: #fff;
    padding: 50px 40px;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.services-overview h2 {
    color: #007bff;
    margin-bottom: 30px;
    text-align: center;
    font-size: 28px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    background: #fff;
}

.service-card h3 {
    color: #007bff;
    margin-bottom: 15px;
    font-size: 20px;
}

/* 专业能力 */
.expertise {
    background: #fff;
    padding: 50px 40px;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.expertise h2 {
    color: #007bff;
    margin-bottom: 30px;
    text-align: center;
    font-size: 28px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.expertise-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background: #f8f9fa;
    transition: transform 0.3s;
}

.expertise-item:hover {
    transform: translateY(-5px);
    background: #e9ecef;
}

.expertise-item h3 {
    margin-bottom: 15px;
    color: #007bff;
}

.expertise-item p {
    line-height: 1.6;
}

/* 客户评价 */
.testimonials {
    background: #fff;
    padding: 50px 40px;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonials h2 {
    color: #007bff;
    margin-bottom: 30px;
    text-align: center;
    font-size: 28px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    background: #fff;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.6;
}

.testimonial-card .client {
    text-align: right;
    font-weight: bold;
    color: #007bff;
}

/* 信任因素 */
.trust-factors {
    background: #fff;
    padding: 50px 40px;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.trust-factors h2 {
    color: #007bff;
    margin-bottom: 30px;
    text-align: center;
    font-size: 28px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.trust-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background: #f8f9fa;
}

.trust-item h3 {
    color: #007bff;
    margin-bottom: 15px;
}

.trust-item .highlight {
    font-weight: bold;
    font-size: 1.2em;
    color: #28a745;
}

/* 城市信息 */
.city-info {
    background: #fff;
    padding: 50px 40px;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.city-info h2 {
    color: #007bff;
    margin-bottom: 30px;
    text-align: center;
    font-size: 28px;
}

.city-info ul {
    margin: 20px 0;
    padding-left: 20px;
}

.city-info li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* 城市链接 */
.prov-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
    justify-content: center;
}

.prov-links a {
    display: inline-block;
    padding: 12px 25px;
    background: #007bff;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s;
}

.prov-links a:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* 联系区域 */
.contact-section {
    background: #fff;
    padding: 50px 40px;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-section h2 {
    color: #007bff;
    margin-bottom: 30px;
    text-align: center;
    font-size: 28px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    padding: 30px;
}

.contact-info h3 {
    color: #007bff;
    margin-bottom: 20px;
}

.contact-form {
    padding: 30px;
}

.contact-form h3 {
    color: #007bff;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

form input,
form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

form input:focus,
form textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.submit-button {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
}

/* 关于我们 */
.about-us {
    background: #fff;
    padding: 50px 40px;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.about-us h2 {
    color: #007bff;
    margin-bottom: 30px;
    text-align: center;
    font-size: 28px;
}

.about-content p {
    line-height: 1.8;
    margin-bottom: 20px;
}

/* 省份城市列表 */
.province-cities {
    background: #fff;
    padding: 50px 40px;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.province-cities h2 {
    color: #007bff;
    margin-bottom: 30px;
    text-align: center;
    font-size: 28px;
}

/* 省份概览 */
.provinces-overview {
    background: #fff;
    padding: 50px 40px;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.provinces-overview h2 {
    color: #007bff;
    margin-bottom: 30px;
    text-align: center;
    font-size: 28px;
}

.provinces-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.province-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}

.province-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    background: #fff;
}

.province-item h3 {
    margin-bottom: 15px;
    color: #007bff;
}

.province-item h3 a {
    color: #007bff;
    text-decoration: none;
}

.province-item h3 a:hover {
    text-decoration: underline;
}

/* 省份信息 */
.province-info {
    background: #fff;
    padding: 50px 40px;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.province-info h2 {
    color: #007bff;
    margin-bottom: 30px;
    text-align: center;
    font-size: 28px;
}

/* 成功案例 */
.case-studies {
    background: #fff;
    padding: 50px 40px;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.case-studies h2 {
    color: #007bff;
    margin-bottom: 30px;
    text-align: center;
    font-size: 28px;
}

.case-study-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-study-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    background: #fff;
}

.case-study-card h3 {
    color: #007bff;
    margin-bottom: 15px;
}

.case-study-card p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.case-study-card .results {
    font-weight: bold;
    color: #28a745;
}

/* 页脚样式 */
.main-footer {
    background: #333;
    color: #fff;
    margin-top: auto;
}

/* 模态框样式 */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 5px;
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 50px 0 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #007bff;
}

.footer-section p {
    margin-bottom: 10px;
    color: #ccc;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding: 20px 0;
    text-align: center;
    color: #aaa;
}

.icp {
    margin-top: 10px;
    font-size: 14px;
}

/* 404 页面样式 */
.error-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    padding: 2rem 1rem;
    text-align: center;
}

.error-content h1 {
    font-size: 5rem;
    color: #e74c3c;
    margin: 0;
}

.error-content h2 {
    font-size: 2rem;
    margin: 1rem 0;
    color: #333;
}

.error-content p {
    font-size: 1.1rem;
    margin: 0.5rem 0;
    color: #666;
}

#error-countdown {
    font-weight: bold;
    color: #e74c3c;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contact-info {
        margin-bottom: 20px;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav ul li {
        margin-right: 0;
        text-align: center;
    }
    
    .main-nav ul li a {
        padding: 12px 0;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-grid,
    .testimonial-grid,
    .case-study-grid,
    .expertise-grid,
    .trust-grid,
    .provinces-list {
        grid-template-columns: 1fr;
    }
    
    .city-info,
    .testimonials,
    .case-studies,
    .provinces-overview {
        padding: 30px 20px;
    }
    
    .hero {
        padding: 40px 20px;
    }
    
    .hero h2 {
        font-size: 24px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .content-section,
    .services-overview,
    .city-info,
    .testimonials,
    .case-studies,
    .expertise,
    .trust-factors,
    .contact-section,
    .about-us,
    .province-cities,
    .province-info,
    .provinces-overview {
        padding: 30px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .button, .submit-button {
        padding: 12px 25px;
    }
}