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

/* 为页面内容添加顶部边距，避免被固定导航栏遮挡 */
body {
    padding-top: 120px;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 基础标题样式 */
h1 {
    text-align: center;
    margin: 20px 0;
    color: #333;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #AA1322;
    color: white;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 120px;
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* 左侧logo */
.navbar-left {
    margin-right: 40px;
}

.navbar-left .logo img {
    height: 60px;
    width: auto;
    display: block;
}

/* 中间导航菜单 */
.navbar-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-menu li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: #ffd700;
}

/* 右侧招商热线 */
.navbar-right {
    margin-left: 40px;
}

.navbar-right img {
    height: 45px;
    width: auto;
    display: block;
}

/* 导航栏激活状态 */
.nav-menu li a.active {
    color: #ffd700;
}


/* 主视觉区域样式 */
.hero {
    height: 600px;
    width: 100%;
    background-color: #AA1322;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 轮播组件样式 */
.carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: 300%; /* 三张图片，每张100% */
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    width: 33.333%; /* 每张图片占1/3 */
    height: 100%;
    flex-shrink: 0;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 轮播控制按钮 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.carousel-btn-prev {
    left: 20px;
}

.carousel-btn-next {
    right: 20px;
}

.btn-arrow {
    font-weight: bold;
    display: inline-block;
}

/* 轮播指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator.active {
    background-color: white;
    transform: scale(1.3);
}



/* 响应式设计 */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 20px;
    }
    
    .nav-menu li a {
        font-size: 14px;
    }
    
    .hero {
        height: 500px;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    

}

@media (max-width: 768px) {
    .navbar-center {
        display: none;
    }
    
    .navbar-left .logo img {
        height: 50px;
    }
    
    .navbar-right img {
        height: 40px;
    }
    
    .hero {
        height: 400px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .carousel-btn-prev {
        left: 15px;
    }
    
    .carousel-btn-next {
        right: 15px;
    }
    
    .indicator {
        width: 9px;
        height: 9px;
    }
    
    .carousel-indicators {
        gap: 8px;
        bottom: 15px;
    }
    

}

@media (max-width: 480px) {
    .hero {
        height: 300px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .carousel-btn-prev {
        left: 10px;
    }
    
    .carousel-btn-next {
        right: 10px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
    
    .carousel-indicators {
        gap: 6px;
        bottom: 10px;
    }
}

/* 二维码展示区域样式 */
.qrcode-section {
    height: 660px;
    background-color: #AA1322;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.qrcode-container {
    width: 1200px;
    height: 100%;
    background-image: url('../img/qrcode-gb.png');
    background-size: cover;
    background-position: center;
    display: flex;
}

.qrcode-left, .qrcode-right {
    width: 50%;
    height: 100%;
}

.qrcode-left {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 50px;
    transform: translateY(40px);
}

.qrcode-item {
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

/* 添加边框动画效果 */
.qrcode-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #AA1322, #e74c3c, #f39c12, #e67e22, #AA1322);
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    background-size: 300% 300%;
}

.qrcode-item:hover::before {
    opacity: 1;
    animation: borderGradient 3s ease-in-out infinite;
}

/* 边框渐变动画 */
@keyframes borderGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 项目介绍区域样式 */
.project-section {
    height: 400px;
    background-color: #F9F1E4;
    padding: 50px 0;
}

.project-section .container {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.project-left, .project-right {
    width: 50%;
    padding: 0 20px;
}

.project-title-image {
    width: 100%;
    max-width: 300px;
    margin-bottom: 20px;
}

.project-description {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.project-description p {
    margin-bottom: 15px;
}

.project-description p:last-child {
    margin-bottom: 0;
}

.project-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .project-section .container {
        width: 100%;
        padding: 0 20px;
    }
    
    .project-title-image {
        max-width: 250px;
    }
    
    .project-image {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .project-section {
        height: auto;
        padding: 30px 0;
    }
    
    .project-section .container {
        flex-direction: column;
        text-align: center;
    }
    
    .project-left, .project-right {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .project-left:last-child, .project-right:last-child {
        margin-bottom: 0;
    }
    
    .project-title-image {
        max-width: 200px;
        margin: 0 auto 20px;
    }
    
    .project-image {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .project-section {
        padding: 20px 0;
    }
    
    .project-description {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .project-title-image {
        max-width: 180px;
    }
}

/* 广告banner区域样式 */
.banner-ad-section {
    height: 360px;
    background-color: #AA1322;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-ad-section .container {
    width: 1200px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-ad-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 第二个广告banner区域样式 */
.banner-ad-section-2 {
    height: 560px;
    background-image: url('../img/i-banner02.png');
    background-color: #F9F1E4;
    background-size: auto;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-ad-section-2 .container {
    width: 1200px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 第二个广告banner响应式设计 */
@media (max-width: 1024px) {
    .banner-ad-section-2 .container {
        width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .banner-ad-section-2 {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .banner-ad-section-2 {
        height: 250px;
    }
}

/* 页脚区域样式 */
.footer {
   
    background-color: #AA1322;
    padding: 50px 20px  0px;
    color: white;
    display: flex;
    flex-direction: column;
}

/* 确保版权信息区域在页脚外部，实现真正的满屏显示 */
.footer-wrapper {
    display: flex;
    flex-direction: column;
}

.footer .container {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    height: 100%;
}

/* 左侧区域样式 */
.footer-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 70%;
    height: auto;
}

.footer-description p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* 中间区域样式 */
.footer-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 40px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.company-name h3 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: bold;
}

.contact-info p {
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
    margin-bottom: 10px;
}

/* 右侧区域样式 */
.footer-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 40px;
}

/* 单独的二维码样式类 */
.qrcode-container-2 {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
}

.qrcode-item-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qrcode-image-2 {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
}

.qrcode-text-2 {
    font-size: 14px;
    margin: 0;
    text-align: center;
}

/* 版权信息区域样式 */
.copyright {
    height: 40px;
    background-color: #8F0F1B;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    margin: 20px 0 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    text-align: center;
}

.copyright p {
    margin: 20px;
}

/* 页脚响应式设计 */
@media (max-width: 1024px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-left,
    .footer-center,
    .footer-right {
        padding: 20px 0;
        border: none;
    }
    
    .footer-center {
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    .qrcode-container-2 {
        justify-content: center;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer {
        height: auto;
        min-height: 400px;
    }
    
    .qrcode-container-2 {
        flex-direction: column;
        gap: 20px;
    }
    
    .copyright {
        font-size: 12px;
    }
    }


/* 广告banner响应式设计 */
@media (max-width: 1024px) {
    .banner-ad-section .container {
        width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .banner-ad-section {
        height: auto;
        min-height: 200px;
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    .banner-ad-section {
        min-height: 150px;
        padding: 15px 0;
    }
    
    .banner-ad-section .container {
        padding: 0 15px;
    }
}

/* 产品展示区域样式 */
.product-section {
    height: 840px;
    background-color: #F9F1E4;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* 产品标题样式 */
.product-title {
    text-align: center;
    margin-bottom: 20px;
}

.product-title-image {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

/* 扶持政策区域样式 */
.support-policy-section {
    height: 2191px;
    background-color: #AA1322;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.support-policy-section .container {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.support-policy-image {
    width: 100%;
    height: auto;
    display: block;
}

/* 合作流程区域样式 */
.cooperation-process-section {
    height: 836px;
    background-color: #F9F1E4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.cooperation-process-section .container {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.cooperation-process-image {
    width: 100%;
    height: auto;
    display: block;
}

/* 新闻动态区域样式 */
.news-section {
    min-width: 800px;
    
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.news-section .container {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
}

/* 新闻标题样式 */
.news-title {
    text-align: center;
    margin-bottom: 40px;
}

.news-title-image {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

/* 新闻列表样式 */
.news-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* 新闻链接样式 */
.news-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* 新闻项样式 */
.news-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

/* 新闻图片样式 */
.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

/* 新闻内容样式 */
.news-content {
    padding: 20px;
}

.news-item-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.news-item-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item-date {
    font-size: 12px;
    color: #999;
    text-align: right;
}

/* 显示更多按钮样式 */
.news-more-button {
    text-align: center;
    margin-top: 30px;
}

.more-news-btn {
    background-color: white;
    color: #AA1322;
    border: 2px solid #AA1322;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.more-news-btn:hover {
    background-color: #AA1322;
    color: white;
    transform: scale(1.05);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .news-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-list {
        grid-template-columns: 1fr;
    }
}

.product-section .container {
    width: 1200px;
    max-width: 1200px;
    min-width: 320px;
    margin: 0 auto;
    padding: 30px;
    position: relative;
}

.product-carousel {
    position: relative;
    height: calc(100% - 80px); /* 减去标题图片的高度和间距 */
    overflow: hidden;
    min-height: 600px;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.carousel-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.product-image {
    display: block;
    max-width: 80%;
    height: auto;
    margin: 0 auto 30px;
 
}

.product-name {
    font-size: 28px;
    font-weight: 700;
    color: #333333;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.product-description {
    font-size: 18px;
    line-height: 1.6;
    color: #333333;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* 轮播控制按钮 */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color:#AA1322;
    border: none;
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

.carousel-control:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.carousel-control:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

.control-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
}

/* 轮播指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.indicator.active {
    background-color: #FFFFFF;
    transform: scale(1.2);
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.indicator:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

/* 产品展示区域响应式设计 */
@media (max-width: 1200px) {
    .product-section .container {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .product-section {
        height: auto;
        min-height: 600px;
        padding: 50px 0;
    }
    
    .product-section .container {
        width: 95%;
        padding: 20px;
    }
    
    .product-name {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .product-description {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 30px;
    }
    
    .carousel-control {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .carousel-indicators {
        bottom: 20px;
        gap: 10px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .product-section {
        min-height: 500px;
        padding: 30px 0;
    }
    
    .product-image {
        max-width: 90%;
        margin-bottom: 20px;
    }
    
    .product-name {
        font-size: 22px;
    }
    
    .product-description {
        font-size: 15px;
        margin-bottom: 25px;
    }
    
    .carousel-control {
        width: 55px;
        height: 55px;
        font-size: 26px;
    }
    
    .carousel-indicators {
        bottom: 15px;
    }
}

/* 鼠标悬停时的缩放和阴影效果 */
.qrcode-item:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.qrcode-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease-in-out;
    animation: pulse 2s ease-in-out infinite;
}

/* 图片旋转效果 */
.qrcode-item:hover .qrcode-image {
    transform: rotate(5deg);
}

/* 图片脉冲效果 */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.qrcode-text {
    margin-top: 15px;
    font-size: 18px;
    color: black;
    text-align: center;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
}

/* 文字颜色过渡效果 */
.qrcode-item:hover .qrcode-text {
    color: #AA1322;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

/* 二维码展示区域样式 */
.qrcode-section {
    height: 660px;
    background-color: #AA1322;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.qrcode-container {
    width: 1200px;
    height: 100%;
    background-image: url('../img/qrcode-gb.png');
    background-size: cover;
    background-position: center;
    display: flex;
}

.qrcode-left, .qrcode-right {
    width: 50%;
    height: 100%;
}

.qrcode-left {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 50px;
}

.qrcode-item {
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.qrcode-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
    display: block;
}