/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

a:hover {
    color: #1a6fc9;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.red{
	margin:0px 0px 20px 0px;
	color:red;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-4, .col-md-6, .col-md-8 {
    position: relative;
    width: 100%;
    padding: 0 15px;
}

/* 顶部信息栏 */
.top-bar {
    background-color: #f8f8f8;
    border-bottom: 1px solid #e7e7e7;
    padding: 5px 0;
    font-size: 12px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.time-info span {
    margin-right: 10px;
}

.top-links a {
    color: #666;
    margin: 0 5px;
}

.top-links a:hover {
    color: #1a6fc9;
}

/* 头部区域 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.logo {
    padding: 15px 0;
}

.logo img {
    height: 60px;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-nav > ul {
    display: flex;
}

.main-nav > ul > li {
    position: relative;
}

.main-nav > ul > li > a {
    display: block;
    padding: 20px 15px;
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

.main-nav > ul > li > a:hover, 
.main-nav > ul > li > a.active {
    color: #fff;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
}

.submenu li a {
    display: block;
    padding: 10px 15px;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}

.submenu li a:hover {
    background-color: #f5f5f5;
    color: #1a6fc9;
}

.search-box {
    margin-left: 20px;
}

.search-box form {
    display: flex;
}

.search-box input {
    border: 1px solid #ddd;
    padding: 8px 12px;
    width: 200px;
    outline: none;
}

.search-box button {
    background-color: #1a6fc9;
    color: #fff;
    border: none;
    padding: 0 15px;
    cursor: pointer;
}

.search-box button:hover {
    background-color: #155a9e;
}

/* 轮播图 */
.slider-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 20px;
}

.slide-caption h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.slide-caption p {
    font-size: 16px;
    margin-bottom: 0;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.slider-controls button {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.slider-controls button:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.slider-dots .dot.active {
    background-color: #fff;
}

/* 内容区域 */
.main-content {
    padding: 30px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.section-header h2 {
    font-size: 20px;
    color: #1a6fc9;
    font-weight: bold;
}

.more-link {
    font-size: 14px;
    color: #666;
}

.more-link:hover {
    color: #1a6fc9;
}

.news-list, .announcement-list, .achievements-list, .economy-list {
    margin-bottom: 20px;
}

.news-item, .announcement-item, .achievement-item, .economy-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e0e0e0;
}

.news-item:last-child, 
.announcement-item:last-child, 
.achievement-item:last-child, 
.economy-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.news-date, 
.announcement-date, 
.achievement-date, 
.economy-date {
    width: 70px;
    color: #999;
    font-size: 13px;
}

.news-content, 
.announcement-content, 
.achievement-content, 
.economy-content {
    flex: 1;
}

.news-content h3, 
.announcement-content a, 
.achievement-content a, 
.economy-content a {
    font-size: 15px;
    margin-bottom: 5px;
    line-height: 1.4;
}

.news-content p {
    font-size: 13px;
    color: #666;
}

/* 一县一品 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.product-item {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.product-item h3 {
    font-size: 16px;
    padding: 10px;
    text-align: center;
    color: #333;
}

.product-item p {
    font-size: 13px;
    color: #666;
    text-align: center;
    padding: 0 10px 10px;
}

/* 页脚 */
.footer {
    background-color: #2c3e50;
    color: #fff;
}

.footer-top {
    padding: 20px 0 10px 0;
}

.footer-about {
    margin-bottom: 30px;
}

.footer-about h3 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #fff;
}

.footer-about p {
    margin-bottom: 10px;
    color: #bbb;
}

.social-links {
    display: flex;
    margin-top: 20px;
    gap: 15px;
}

.social-icon {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    position: relative;
}

.social-icon:hover {
    background-color: #1a6fc9;
}

.wechat-qrcode {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    margin-bottom: 15px;
}

.wechat-qrcode img {
    width: 100%;
    height: auto;
}

.wechat-qrcode p {
    color: #333;
    font-size: 12px;
    text-align: center;
    margin-top: 5px;
}

.wechat:hover .wechat-qrcode {
    opacity: 1;
    visibility: visible;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
}

.links-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.links-column h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #fff;
}

.links-column ul li {
    margin-bottom: 8px;
}

.links-column ul li a {
    color: #bbb;
    font-size: 14px;
}

.links-column ul li a:hover {
    color: #1a6fc9;
}

.footer-contact {
    margin-bottom: 30px;
}

.footer-contact h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-contact p {
    color: #bbb;
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.footer-contact .icon {
    margin-right: 10px;
    font-size: 16px;
}

.footer-bottom {
    background-color: #1a252f;
    padding: 15px 0;
    text-align: center;
}

.footer-bottom p {
    color: #bbb;
    font-size: 13px;
    margin-bottom: 5px;
}

/* 返回顶部按钮样式 */
#back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background-color: #333;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

#back-to-top.show {
    opacity: 0.7;
    visibility: visible;
}

#back-to-top:hover {
    opacity: 1;
    background-color: #555;
}

/* 移动端菜单按钮 - 默认隐藏 */
.mobile-menu-toggle {
    display: none;
    width: 30px;
    height: 30px;
    flex-direction: column;
    justify-content: space-around;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333;
    transition: all 0.3s;
}

/* 响应式布局 - 桌面优先 */
@media (min-width: 992px) {
    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .col-md-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
    
    .header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

/* 友情链接区域样式 */
        .friend-links {
            margin: 0px 0 30px 0;
        }
        
        .friend-links h2 {
            text-align: center;
            margin-bottom: 20px;
            color: #FFF;
            font-size: 24px;
            padding-bottom: 10px;
        }
        
        .links-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 15px;
        }
        
        .friend-link {
            border-radius: 4px;
            padding: 10px 15px;
            text-align: center;
            transition: all 0.3s ease;
            flex-grow: 1;
            min-width: 120px;
            max-width: calc(25% - 15px); /* 默认每行4个 */
        }
        
        .friend-link:hover {
            background-color: #e9e9e9;
            transform: translateY(-2px);
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        
        .friend-link a {
            text-decoration: none;
            color: #FFF;
            font-weight: 500;
            display: block;
        }
        
        .friend-link a:hover {
            color: #0066cc;
        }
        
        /* 响应式设计 */
        @media (max-width: 992px) {
            .friend-link {
                max-width: calc(33.33% - 15px); /* 每行3个 */
            }
        }
        
        @media (max-width: 768px) {
            .friend-link {
                max-width: calc(50% - 15px); /* 每行2个 */
            }
        }
        
        @media (max-width: 480px) {
            .friend-link {
                max-width: 100%; /* 每行1个 */
            }
        }
		
		
