/* 通用链接样式 */
a {
    color: #0066B1;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #005291;
}

/* 按钮样式链接 */
a.btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: #0066B1;
    color: #fff;
    border-radius: 4px;
    text-align: center;
}

a.btn:hover {
    background-color: #005291;
    color: #fff;
    transform: translateY(-2px);
}

/* 导航链接样式 */
.nav a {
    color: #fff;
    font-weight: 500;
}

.nav a:hover {
    color: #fff;
    background-color: rgba(255,255,255,0.1);
}

/* 页脚链接样式 */
.footer a {
    color: #fff;
}

.footer a:hover {
    color: #ccc;
}

/* 面包屑导航链接 */
.breadcrumb a {
    color: #666;
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #0066B1;
}

/* 卡片链接样式 */
.card-link {
    display: block;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.card-link:hover {
    border-color: #0066B1;
    box-shadow: 0 2px 8px rgba(0,102,177,0.1);
}

/* 图片链接样式 */
.img-link {
    display: block;
    overflow: hidden;
    border-radius: 4px;
}

.img-link img {
    transition: transform 0.3s ease;
}

.img-link:hover img {
    transform: scale(1.05);
}

/* 文本链接下划线动画 */
.text-link {
    position: relative;
    padding-bottom: 2px;
}

.text-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #0066B1;
    transition: width 0.3s ease;
}

.text-link:hover::after {
    width: 100%;
}

/* 禁用链接样式 */
a.disabled {
    color: #999;
    cursor: not-allowed;
    pointer-events: none;
}

/* 返回顶部链接 */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: #0066B1;
    color: #fff;
    border-radius: 50%;
    opacity: 0.8;
}

.back-to-top:hover {
    opacity: 1;
    color: #fff;
}

/* 二级导航样式 */
.nav ul li {
    position: relative;
}

.nav .subnav {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: none;
    z-index: 100;
}

.nav li:hover .subnav {
    display: block;
}

.nav .subnav li {
    display: block;
    width: 100%;
}

.nav .subnav a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav .subnav a:hover {
    background-color: #f5f5f5;
    color: #0066cc;
} 