/* 现代化增强样式 - 基于原设计优化 */

/* 平滑过渡效果 */
* {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

/* 响应式优化 */
@media screen and (max-width: 1200px) {
    .main {
        width: 95%;
        min-width: auto;
    }
}

/* 顶部栏优化 */
.top {
    background: linear-gradient(135deg, #eee 0%, #f5f5f5 100%);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Logo区域优化 */
.head {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* 导航菜单现代化 */
.menu {
    background: linear-gradient(135deg, #005f4a 0%, #048a6c 100%);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.menu li {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Banner轮播优化 */
#flash {
    position: relative;
    overflow: hidden;
}

#flash .banner {
    background-size: cover;
    background-position: center;
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#flash .banner_bar a.banner_btn {
    transition: all 0.3s ease;
}

#flash .banner_bar a.banner_btn:hover {
    transform: scale(1.2);
    background-color: rgba(25,107,167,0.8);
}

/* 产品卡片优化 */
.inproduct_right li {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    overflow: hidden;
}

.inproduct_right li:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,95,74,0.3);
}

.inproduct_right li img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.inproduct_right li:hover img {
    transform: scale(1.15);
}

/* 关于我们区域优化 */
.abpro {
    background: linear-gradient(135deg, #005f4a 0%, #048a6c 100%);
    position: relative;
}

.abpro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(../images/abcj_bg.jpg) center no-repeat;
    opacity: 0.3;
    z-index: 0;
}

.abpro .main {
    position: relative;
    z-index: 1;
}

.index_about, .index_honor {
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* 产品轮播优化 */
.productshow .scrollcontainer li,
.productshow1 .scrollcontainer li {
    transition: all 0.3s ease;
}

.productshow .scrollcontainer li:hover,
.productshow1 .scrollcontainer li:hover {
    transform: scale(1.05);
}

/* 成功案例优化 */
.in_project_left,
.in_project_right li {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.in_project_left:hover,
.in_project_right li:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    transform: translateY(-4px);
}

/* 新闻区域优化 */
.index_news_left, .index_news_right {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.index_ask li {
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.index_ask li:hover {
    background: #f8f8f8;
    transform: translateX(10px);
}

.innews li {
    transition: all 0.3s ease;
    padding: 8px 0;
}

.innews li:hover {
    background: #f8f8f8;
    padding-left: 10px;
}

.innews li a:hover {
    color: #005f4a;
    font-weight: bold;
}

/* 新闻推荐卡片 */
.index_news_recc {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.index_news_recc:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.recc_news_img {
    border-radius: 8px;
    overflow: hidden;
}

.recc_news_img img {
    transition: transform 0.6s ease;
}

.recc_news_recc:hover .recc_news_img img {
    transform: scale(1.1);
}

/* 友情链接优化 */
.links {
    background: linear-gradient(90deg, #f8f8f8 0%, #fff 100%);
    border-radius: 8px;
    padding: 15px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.links a {
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 4px;
    display: inline-block;
}

.links a:hover {
    background: #005f4a;
    color: #fff !important;
    transform: translateY(-2px);
}

/* 底部优化 */
.footer {
    background: linear-gradient(135deg, #005f4a 0%, #003d32 100%);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #048a6c 0%, #005f4a 50%, #048a6c 100%);
}

.foot_link a {
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
}

.foot_link a:hover {
    background: rgba(255,255,255,0.1);
    color: #fff !important;
}

/* 内容页面优化 */
.info_content {
    line-height: 2;
    font-size: 16px;
}

.info_content img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin: 20px 0;
}

.info_content h1, .info_content h2, .info_content h3 {
    color: #005f4a;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* 列表页优化 */
.NewsList li {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.NewsList li:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateX(10px);
}

.news_title a {
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.news_title a:hover {
    color: #005f4a;
}

/* 分页优化 */
.pagination a {
    border-radius: 6px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* 位置导航优化 */
.weizhi {
    background: linear-gradient(135deg, #e9e9e9 0%, #f5f5f5 100%);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.position a {
    transition: all 0.3s ease;
    padding: 2px 8px;
    border-radius: 4px;
}

.position a:hover {
    background: rgba(0,95,74,0.1);
    color: #005f4a;
}

/* 加载动画 */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: #005f4a;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #048a6c;
}

/* 按钮通用优化 */
button, .btn, input[type="submit"] {
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover, .btn:hover, input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* 卡片阴影层次 */
.card-shadow-sm {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.card-shadow-md {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.card-shadow-lg {
    box-shadow: 0 8px 24px rgba(0,0,0,0.16);
}

/* 渐变文字效果 */
.gradient-text {
    background: linear-gradient(135deg, #005f4a 0%, #048a6c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
