:root {
    --primary-color: #003366;
    --secondary-color: #CC0033;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    font-family: 'Roboto', 'Inter', sans-serif;
    padding-top: 56px;
    color: #333;
}

/* 导航栏样式 */
.navbar {
    background-color: var(--primary-color) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.8rem;
    text-transform: lowercase;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 40px;
    margin-right: 5px;
}

/* 主页hero部分 */
.hero-section {
    background-color: var(--light-color);
    padding: 4rem 0;
    margin-bottom: 2rem;
    position: relative;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary-color);
}

.hero-section h1 {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.hero-section .subtitle {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-banner {
    max-width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

/* 按钮样式 */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #00254d;
    border-color: #00254d;
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #a30029;
    border-color: #a30029;
}

/* 卡片样式 */
.card {
    transition: transform 0.3s ease;
    border: none;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* 统计数字样式 */
.counter {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* 页脚样式 */
footer {
    background-color: var(--dark-color);
}

footer .logo {
    height: 40px;
    margin-bottom: 10px;
}

footer a:hover {
    text-decoration: underline;
}

/* 关于我们页面样式 */
.team-member {
    text-align: center;
    margin-bottom: 2rem;
}

.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
}

/* 表单样式 */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 51, 102, 0.25);
}

/* 移动端优化 */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .counter {
        font-size: 2rem;
    }
    
    .navbar-brand img {
        height: 30px;
    }
    
    .quick-links .btn {
        margin-bottom: 10px;
        width: 100%;
    }
    
    .card-deck .card {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .team-member img {
        width: 120px;
        height: 120px;
    }
}

/* 特殊动画效果 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* 顶部通知栏 */
.top-notification {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    padding: 5px 0;
    font-size: 0.9rem;
}

/* 轮播图自定义样式 */
.carousel-caption {
    background-color: rgba(0, 51, 102, 0.7);
    padding: 15px;
    border-radius: 5px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

/* 社交媒体图标 */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
}

.social-icons a:hover {
    color: var(--secondary-color);
} 