/* 现代化样式 - 街坊生活 */

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

/* 导航栏 */
.navbar {
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    transform: translateY(-2px);
}

/* 英雄区域 */
.hero-section {
    margin-top: 56px;
}

.hero-slide {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide .display-4 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* 功能卡片 */
.feature-card {
    transition: all 0.3s ease;
    border-radius: 15px;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* 活动卡片 */
.activity-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.activity-card .card-img-top {
    transition: all 0.3s ease;
}

.activity-card:hover .card-img-top {
    transform: scale(1.05);
}

/* 街坊生活卡片 */
.jflive-card {
    transition: all 0.3s ease;
    border-radius: 15px;
}

.jflive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.jflive-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.jflive-card:hover .jflive-icon {
    transform: rotate(360deg);
}

/* 列表项 */
.list-group-item {
    transition: all 0.3s ease;
    border: none;
    border-bottom: 1px solid #eee;
}

.list-group-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

/* 页脚 */
footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

footer a {
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: #fff !important;
}

/* 按钮样式 */
.btn {
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-slide {
        min-height: 350px;
    }

    .hero-slide .display-4 {
        font-size: 2rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-icon i {
        font-size: 1.5rem !important;
    }

    .jflive-icon {
        width: 50px;
        height: 50px;
    }
}

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

.card {
    animation: fadeInUp 0.5s ease-out;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 选中文本颜色 */
::selection {
    background: #667eea;
    color: #fff;
}
