/* 全局样式 */
body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
}

/* 导航栏样式 */
.navbar-brand {
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #ffc107 !important;
}

/* 英雄区域样式 */
.hero-section {
    min-height: 500px;
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
}

.hero-section img {
    max-height: 400px;
    object-fit: cover;
}

/* 卡片悬停效果 */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* 按钮样式 */
.btn {
    border-radius: 50px;
    font-weight: 500;
}

.btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
}

.btn-warning:hover {
    background-color: #ffca2c;
    border-color: #ffc720;
}

/* 图标样式 */
.text-success {
    color: #198754 !important;
}

.bg-success {
    background-color: #198754 !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 2rem 0;
    }
    
    .hero-section img {
        margin-top: 2rem;
    }
}

/* 图片样式 */
.img-fluid {
    border-radius: 10px;
}

/* 页脚样式 */
footer {
    margin-top: auto;
}

footer h5 {
    color: #198754;
}

footer .text-light h5 {
    color: #ffffff !important;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 表单样式 */
.form-control:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

/* 团队卡片样式 */
.card-img-top.rounded-circle {
    border: 3px solid #198754;
    padding: 3px;
}

/* 项目卡片样式 */
.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* 服务卡片样式 */
.card-body .fa-3x {
    color: #198754;
}

/* 滚动到顶部按钮 */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 1000;
}

/* 消息样式 */
.alert {
    border-radius: 10px;
    border: none;
}

.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
}