/* 基础样式设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #f0f0f0;
    /* 中国传统花卉纹饰背景 */
    background-color: #0a3d2e;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2rem;
    color: #FFB703;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #e63946;
}

.btn-primary {
    display: inline-block;
    background-color: #e63946;
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #d62828;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 针对所有<a>标签设置基础样式 */
a {
  /* 可以保留默认链接颜色或设置为你需要的初始颜色 */
  color: #F9FAFA; /* 示例白色，可根据需要修改 */
  text-decoration: underline;
  transition: color 0.2s ease; /* 平滑过渡效果 */
}

/* 鼠标悬停状态 */
a:hover {
  color: white;
}

/* 点击状态（激活状态） */
a:active {
  color: white;
}

/* 可选：已访问链接也设置为白色 */
a:visited {
  color: white;
}


/* 导航栏样式 */
.navbar {
    background-color: rgba(10, 61, 46, 0.95);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}


/* 导航栏容器容器布局修正 */
.navbar .container {
    display: flex;
    align-items: center; /* 垂直居中对齐 */
    gap: 20px; /* 控制Logo与导航的基础间距 */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Logo区域紧凑布局 */
.logo-container {
    display: flex;
    align-items: center;
    flex: 0 0 auto; /* 不自动拉伸，保持紧凑 */
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px; /* Logo图片与文字的间距 */
}

.logo-img {
    width: 60px;
    height: 30px;
    object-fit: contain; /* 保持图片比例不拉伸 */
}

.logo-text {
    font-size: 1.5rem;
    white-space: nowrap; /* 强制不换行 */
    margin: 0; /* 清除默认边距 */
}

/* 桌面端导航优化 */
.desktop-nav {
    margin-left: auto; /* 导航靠右，但与Logo保持紧凑 */
    flex: 0 0 auto;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.desktop-nav ul li {
    margin-left: 22px; /* 平衡间距，既不拥挤也不松散 */
}

/* 响应式微调 */
@media (min-width: 769px) and (max-width: 1024px) {
    .desktop-nav ul li {
        margin-left: 18px; /* 中等屏幕缩小间距 */
    }
    .logo-text {
        font-size: 1.4rem; /* 轻微缩小Logo文字 */
    }
    .desktop-nav a {
        font-size: 0.95rem; /* 轻微缩小导航文字 */
    }
}

/* 修改移动端菜单按钮样式，确保靠右且不影响PC端布局 */
.mobile-menu-btn {
    display: none;
    margin-left: auto; /* 关键：通过自动左外边距将按钮推到右侧 */
    background: none;
    border: none;
    color: #FFB703; /* 使用与导航文字一致的金色，更协调 */
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px 10px; /* 增加点击区域 */
    z-index: 1010; /* 确保在其他元素之上 */
}

/* 仅在移动端显示按钮 */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
}

/* 确保导航栏容器正确处理子元素布局 */
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* 确保Logo左对齐，导航元素右对齐 */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}


/* 修改导航文字颜色为#FFB703 */
.desktop-nav ul li a {
    color: #FFB703;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 0;
    position: relative;
}

.desktop-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #e63946;
    transition: width 0.3s ease;
}

.desktop-nav ul li a:hover::after,
.desktop-nav ul li a.active::after {
    width: 100%;
}

.desktop-nav ul li a:hover,
.desktop-nav ul li a.active {
    color: #ffffff;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(10, 61, 46, 0.98);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* 修改移动端导航文字颜色为#FFB703 */
.mobile-nav ul li a {
    display: block;
    color: #FFB703;
    text-decoration: none;
    padding: 15px 20px;
    transition: all 0.3s ease;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* 其余样式保持不变 */
/* Banner区域样式 */
.banner {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.blockchain-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-content {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.banner-text {
    flex: 1;
    padding-right: 50px;
}

.banner-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.banner-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #f0f0f0;
    max-width: 80%;
}

.banner-images {
    flex: 0 0 400px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.banner-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* 园林科技区域 */
.tech-section {
    background-color: rgba(10, 61, 46, 0.85);
}

.tech-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.tech-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon i {
    font-size: 1.5rem;
    color: #ffd700;
}

.tech-card h3, .finance-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.tech-card p, .finance-card p {
    margin-bottom: 20px;
    color: #e0e0e0;
}

.tech-card ul, .finance-card ul {
    list-style-position: inside;
}

.tech-card ul li, .finance-card ul li {
    margin-bottom: 8px;
    color: #d0d0d0;
}

/* 园林金融区域 */
.finance-section {
    background-color: rgba(10, 61, 46, 0.9);
}

.finance-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.finance-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.finance-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* 知识产权区域 */
.ip-section {
    background-color: rgba(10, 61, 46, 0.85);
}

.ip-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.ip-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ip-item:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.ip-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(230, 57, 70, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.ip-icon i {
    font-size: 1.8rem;
    color: #e63946;
}

.ip-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.ip-item p {
    color: #e0e0e0;
}

/* 资源合作区域 */
.cooperation-section {
    background-color: rgba(10, 61, 46, 0.9); /* 与金融栏目背景一致 */
}

.cooperation-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4列布局 */
    gap: 30px;
}

/* 图片卡片样式 */
.cooperation-img-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* 文字卡片样式 */
.cooperation-text-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 统一悬停效果 */
.cooperation-img-card:hover,
.cooperation-text-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* 图片样式 - 固定200*100尺寸 */
.cooperation-img {
    width: 200px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    margin: 0 auto 15px; /* 水平居中 */
}

/* 卡片图标 */
.cooperation-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.cooperation-icon i {
    font-size: 1.5rem;
    color: #ffd700;
}

/* 文本样式 */
.cooperation-text-card h3,
.cooperation-img-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.cooperation-text-card p {
    color: #e0e0e0;
    margin-bottom: 20px;
}

/* 全局链接样式检查 */
a {
    text-decoration: none; /* 确保全局链接默认无下划线 */
}

/* 响应式调整 */
@media (max-width: 992px) {
    .cooperation-content {
        grid-template-columns: repeat(2, 1fr); /* 中等屏幕2列 */
    }
}

@media (max-width: 768px) {
    .cooperation-content {
        grid-template-columns: 1fr; /* 移动端1列 */
    }
}


/* 联系方式区域 */
.contact-section {
    background-color: rgba(10, 61, 46, 0.95);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 1.8rem;
    color: #ffd700;
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.contact-item p {
    color: #e0e0e0;
}

.qrcode-placeholder {
    width: 150px;
    height: 150px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 0 auto;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.8rem;
}

/* 二维码图片样式 */
.qrcode-img {
    width: 120px;    /* 二维码宽度（与原占位符尺寸一致，保持布局稳定） */
    height: 120px;   /* 二维码高度（正方形，符合二维码比例） */
    border: 2px solid rgba(212, 175, 55, 0.3); /* 金色边框，与整体风格统一 */
    border-radius: 8px; /* 轻微圆角，提升美观度 */
    object-fit: cover; /* 确保图片完整显示，不拉伸变形 */
}

.social-icon {
    transition: all 0.3s ease;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #b0b0b0;
    font-size: 0.9rem;
    line-height: 1.8;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .banner-text h1 {
        font-size: 2.8rem;
    }
    
    .banner-images {
        flex: 0 0 350px;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .banner {
        height: auto;
        padding: 120px 0 80px;
    }
    
    .banner-content {
        flex-direction: column;
    }
    
    .banner-text {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .banner-text p {
        max-width: 100%;
    }
    
    .banner-images {
        flex: 0 0 300px;
        width: 100%;
    }
    
    .tech-content, .finance-content {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .banner-text h1 {
        font-size: 2.2rem;
    }
    
    .banner-images {
        flex: 0 0 250px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .section {
        padding: 60px 0;
    }
}