/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    max-width: 100%;
    overflow-x: hidden;
}

/* 固定导航栏样式 */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 10px 15px;
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.logo {
    height: 40px;
    width: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    justify-content: space-around;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 5px 10px;
    font-size: 14px;
    transition: color 0.3s;
}

.main-nav a:hover, .main-nav .active a {
    color: #e74c3c;
}

/* 主要内容区 - 考虑固定导航栏的高度 */
main {
    margin-top: 110px; /* 导航栏高度 */
    padding: 15px;
    margin-bottom: 60px; /* 页脚空间 */
}

/* 广告横幅 */
.banner {
    width: 100%;
    margin-bottom: 5px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
}


/* 内容区块样式 */
.content-section {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.content-section h1 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.content-section h2 {
    font-size: 20px;
    margin: 5px 0 10px;  /* 减小上边距，拉近与上方图片的距离 */
    color: #34495e;
}

.content-section p {
    margin-bottom: 15px;
    font-size: 16px;
}

/* 特色框样式 */
.feature-box {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    border-left: 4px solid #e74c3c;
}

.feature-box h2 {
    color: #e74c3c;
}

.feature-box ul {
    padding-left: 20px;
}

.feature-box li {
    margin-bottom: 8px;
}

/* 流程步骤样式 */
.process-step {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.process-step:last-child {
    border-bottom: none;
}

/* 行业项目样式 */
.industry-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.industry-item:last-child {
    border-bottom: none;
}

/* 资源图集样式 */
.city-filter {
    margin-bottom: 20px;
}

.city-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.city-btn {
    padding: 8px 15px;
    background-color: #f1f1f1;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.city-btn.active, .city-btn:hover {
    background-color: #e74c3c;
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.gallery-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.gallery-caption {
    padding: 10px;
}

.gallery-caption h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.gallery-caption p {
    font-size: 14px;
    color: #666;
}

/* 联系方式样式 */
.contact-method {
    margin-bottom: 25px;
}

.contact-method h2 {
    color: #e74c3c;
    font-size: 20px;
    margin-bottom: 10px;
}

.contact-detail {
    padding-left: 15px;
}

.qr-code {
    width: 150px;
    height: auto;
    margin: 10px 0;
    border: 1px solid #ddd;
    padding: 5px;
    background: white;
}

.web-links {
    list-style: none;
}

.web-links li {
    margin-bottom: 8px;
}

.web-links a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.web-links a:hover {
    color: #e74c3c;
    text-decoration: underline;
}

/* 页脚样式 */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    z-index: 1000;
}

.site-footer a {
    color: #e74c3c;
    text-decoration: none;
}

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

/* 响应式调整 */
@media (max-width: 480px) {
    .main-nav a {
        font-size: 12px;
        padding: 5px 8px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .content-section {
        padding: 15px;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .main-nav a {
        font-size: 13px;
    }
}