/* Jeez 健身房管理系统 - 自定义样式 */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
}

/* 全局样式 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 导航栏样式 */
.navbar {
    backdrop-filter: blur(10px);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 0.5px;
}

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

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

/* Hero Banner */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,96C1248,75,1344,53,1392,42.7L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-stats {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
}

.stat-item {
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 1rem;
}

.stat-item:last-child {
    border-bottom: none;
}

/* 服务卡片样式 */
.service-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

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

.service-card .card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    font-size: 1.1rem;
    padding: 1rem;
}

.service-card .card-header.bg-auth {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.service-card .card-header.bg-member {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.service-card .card-header.bg-store {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.service-card .card-header.bg-equipment {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.service-card .card-header.bg-coach {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.service-card .card-header.bg-course {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #333;
}

.service-card .card-header.bg-manager {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: #333;
}

.service-card .card-header.bg-order {
    background: linear-gradient(135deg, #ff6e7f 0%, #bfe9ff 100%);
}

.service-card .card-body {
    padding: 1.5rem;
}

.service-card .card-body ul li {
    margin-bottom: 0.5rem;
}

.service-card .btn {
    transition: all 0.3s ease;
}

.service-card .btn:hover {
    transform: scale(1.05);
}

/* 基础设施卡片 */
.infra-card {
    transition: all 0.3s ease;
    border-radius: 10px;
    border: 2px solid #f0f0f0;
}

.infra-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    border-color: var(--primary-color);
}

/* 技术栈 */
.tech-item {
    transition: all 0.3s ease;
    border-radius: 10px;
}

.tech-item:hover {
    background-color: #f8f9fa;
    transform: translateY(-5px);
}

/* 渐变背景 */
.bg-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 状态徽章 */
.badge {
    font-weight: 600;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* 按钮动画 */
.btn {
    transition: all 0.3s ease;
    font-weight: 500;
}

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

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

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

    .navbar-brand {
        font-size: 1.2rem;
    }
}

/* 加载动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.infra-card {
    animation: fadeIn 0.5s ease-out;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* 页脚链接 */
footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    opacity: 0.8;
    text-decoration: underline !important;
}

/* Alert 样式增强 */
.alert {
    border-radius: 10px;
    border: none;
}

/* 表格样式 */
.table-dark {
    border-radius: 10px;
    overflow: hidden;
}
