/* 微方集团官网简化样式 */

/* 基础样式 */
body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
}

/* 头部样式 */
.site-header .top-bar {
    font-size: 14px;
}

.contact-info span {
    margin-right: 20px;
}

.social-links a:hover {
    color: #007bff !important;
}

/* Banner区域 */
.hero-banner {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.hero-buttons .btn {
    margin: 10px 5px;
}

/* 统计数据 */
.stat-item {
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
}

/* 卡片悬停效果 */
.card {
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

/* 产品图片悬停 */
.card-img-top {
    transition: transform 0.3s;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* 联系区域 */
.contact-section {
    background: linear-gradient(135deg, #343a40 0%, #212529 100%);
}

.icon-wrapper {
    transition: transform 0.3s;
}

.contact-item:hover .icon-wrapper {
    transform: scale(1.1);
}

/* 底部样式 */
.site-footer {
    background-color: #6c757d !important;
}

.site-footer a:hover {
    color: #fff !important;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-banner {
        padding: 40px 0 !important;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 10px 0 !important;
    }
    
    .stat-item {
        margin-bottom: 20px;
    }
}
