/* 基础样式 */
/*body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}*/

/* 搜索筛选区域 */
/*.search-filter-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}*/

/* 作品网格 */
/*.artwork-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

    .artwork-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

.artwork-image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.artwork-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.artwork-card:hover .artwork-image {
    transform: scale(1.05);
}

.artwork-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.artwork-card:hover .artwork-overlay {
    opacity: 1;
}

.artwork-title a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

    .artwork-title a:hover {
        color: #007bff;
    }

.artwork-content {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}*/

/* 详情页样式 */
/*.artwork-detail {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.artwork-main-image img {
    max-height: 70vh;
    width: 100%;
    object-fit: contain;
}

.artwork-info-panel {
    padding: 1rem;
}

.stat-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.25rem;
}

.prompt-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    word-break: break-all;
}*/

/* 相关作品 */
/*.related-artwork-card {
    transition: transform 0.3s ease;
}

    .related-artwork-card:hover {
        transform: translateY(-3px);
    }

.related-artwork-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 16/9;
}

    .related-artwork-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.related-artwork-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-artwork-card:hover .related-artwork-overlay {
    opacity: 1;
}

.related-artwork-info h6 a {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
}

    .related-artwork-info h6 a:hover {
        color: #007bff;
    }*/

/* 分页样式 */
/*.pagination .page-link {
    border-radius: 50px;
    margin: 0 2px;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.pagination .page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
}*/

/* 响应式设计 */
/*@media (max-width: 768px) {
    .artwork-detail {
        padding: 1rem;
    }

    .search-filter-section {
        padding: 1rem;
    }

    .artwork-main-image img {
        max-height: 50vh;
    }
}*/

/* 加载动画 */
/*.artwork-image.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

    .artwork-image.lazy.loaded {
        opacity: 1;
    }*/

/* Footer 样式增强 */
/*.footer {
    margin-top: 3rem;
    min-height: 200px;
}

    .footer h5, .footer h6 {
        color: #fff;
        margin-bottom: 1rem;
    }

.footer-links a {
    transition: color 0.3s ease;
}

    .footer-links a:hover {
        color: #007bff !important;
    }

.social-links a {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

    .social-links a:hover {
        transform: translateY(-2px);
        color: #007bff !important;
    }

.footer-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-info i {
    width: 16px;
    margin-right: 8px;
}

.filing-info a {
    transition: color 0.3s ease;
}

    .filing-info a:hover {
        color: #007bff !important;
    }

.copyright-info {
    font-weight: 500;
}

.disclaimer {
    font-size: 0.8rem;
    opacity: 0.8;
}*/

/* 响应式调整 */
/*@media (max-width: 768px) {
    .footer .col-md-4 {
        text-align: center !important;
        margin-bottom: 2rem;
    }

    .footer .text-md-end {
        text-align: center !important;
    }

    .filing-info {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
}*/


/* 标签样式 */
/*.tags .badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
}*/

/* 按钮样式 */
/*.btn {
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }*/
/* 基础样式 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    /* 为固定导航栏预留空间 */
    padding-top: 76px; /* 导航栏高度 + 一些边距 */
}

/* 固定导航栏样式 */
.fixed-top {
    z-index: 1030; /* 确保在其他元素之上 */
}

.navbar {
    padding: 0.75rem 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

    .navbar.scrolled {
        padding: 0.5rem 0;
        background-color: rgba(33, 37, 41, 0.95) !important;
    }

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s ease;
}

    .navbar-brand:hover {
        transform: scale(1.05);
    }

.brand-text {
    background: linear-gradient(45deg, #007bff, #28a745);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin: 0 2px;
}

    .navbar-nav .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
        transform: translateY(-1px);
    }

    .navbar-nav .nav-link.active {
        background-color: rgba(0, 123, 255, 0.2);
        color: #007bff !important;
    }

    .navbar-nav .nav-link i {
        font-size: 0.9rem;
    }

/* 下拉菜单样式 */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin: 0 0.5rem;
}

    .dropdown-item:hover {
        background-color: #007bff;
        color: white;
        transform: translateX(5px);
    }

/* 搜索框样式 */
.navbar .input-group .form-control {
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

    .navbar .input-group .form-control:focus {
        background-color: rgba(255, 255, 255, 0.2);
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
        color: white;
    }

    .navbar .input-group .form-control::placeholder {
        color: rgba(255, 255, 255, 0.7);
    }

.navbar .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

    .navbar .btn-outline-light:hover {
        background-color: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.5);
    }

/* 主要内容区域 */
.main-content {
    min-height: calc(100vh - 76px - 200px); /* 视窗高度 - 导航栏高度 - footer高度 */
}

/* 搜索筛选区域 */
.search-filter-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 1rem; /* 给固定导航栏留出空间 */
}

/* 作品网格样式保持不变 */
.artwork-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

    .artwork-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

.artwork-image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.artwork-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.artwork-card:hover .artwork-image {
    transform: scale(1.05);
}

.artwork-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.artwork-card:hover .artwork-overlay {
    opacity: 1;
}

.artwork-title a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

    .artwork-title a:hover {
        color: #007bff;
    }

.artwork-content {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

    .back-to-top:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    }

    .back-to-top.show {
        display: flex;
        align-items: center;
        justify-content: center;
    }

/* 详情页样式保持不变 */
.artwork-detail {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    margin-top: 1rem; /* 给固定导航栏留出空间 */
}

/* Footer 样式保持不变 */
.footer {
    margin-top: 3rem;
    min-height: 200px;
}

    .footer h5, .footer h6 {
        color: #fff;
        margin-bottom: 1rem;
    }

.footer-links a {
    transition: color 0.3s ease;
}

    .footer-links a:hover {
        color: #007bff !important;
    }

.social-links a {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

    .social-links a:hover {
        transform: translateY(-2px);
        color: #007bff !important;
    }

.footer-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-info i {
    width: 16px;
    margin-right: 8px;
}

.filing-info a {
    transition: color 0.3s ease;
}

    .filing-info a:hover {
        color: #007bff !important;
    }

.copyright-info {
    font-weight: 500;
}

.disclaimer {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        padding-top: 66px; /* 移动端导航栏较矮 */
    }

    .navbar-brand .brand-text {
        font-size: 1.2rem;
    }

    .navbar .input-group {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .search-filter-section {
        padding: 1rem;
        margin-top: 0.5rem;
    }

    .artwork-detail {
        padding: 1rem;
        margin-top: 0.5rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .footer .col-md-4 {
        text-align: center !important;
        margin-bottom: 2rem;
    }

    .footer .text-md-end {
        text-align: center !important;
    }

    .filing-info {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* 导航栏滚动效果 */
@media (min-width: 768px) {
    .navbar.scrolled .navbar-brand {
        font-size: 1.3rem;
    }

    .navbar.scrolled .nav-link {
        font-size: 0.9rem;
    }
}
/* 图片画廊样式 */
.artwork-gallery {
    position: relative;
}

.main-image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.image-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.main-artwork-image {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    transition: transform 0.3s ease;
    border-radius: 15px; /* 添加5px圆角 */
}

/* 图片导航按钮 */
.image-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all 0.3s ease;
}

    .image-nav-btn:hover {
        opacity: 1;
        transform: translateY(-50%) scale(1.1);
    }

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* 图片计数器 */
.image-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 全屏按钮 */
.fullscreen-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all 0.3s ease;
}

    .fullscreen-btn:hover {
        opacity: 1;
        transform: scale(1.1);
    }

/* 缩略图容器 */
.thumbnail-container {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.thumbnail-slider {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    overflow-x: auto;
    scroll-behavior: smooth;
}

    .thumbnail-slider::-webkit-scrollbar {
        height: 6px;
    }

    .thumbnail-slider::-webkit-scrollbar-track {
        background: #e9ecef;
        border-radius: 3px;
    }

    .thumbnail-slider::-webkit-scrollbar-thumb {
        background: #007bff;
        border-radius: 3px;
    }

/* 缩略图项目 */
.thumbnail-item {
    position: relative;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

    .thumbnail-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    .thumbnail-item.active {
        border-color: #007bff;
        box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
    }

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumbnail-item:hover .thumbnail-overlay {
    opacity: 1;
}

.thumbnail-number {
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
}

/* 图片数量徽章 */
.image-count-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

/* 全屏模态框样式 */
.modal-fullscreen .modal-content {
    border: none;
    border-radius: 0;
}

.modal-fullscreen .modal-body {
    padding: 0;
}

.modal-fullscreen #fullscreenImage {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.fullscreen-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

/* Toast 消息样式 */
.toast-message {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

    .toast-message.show {
        transform: translateX(0);
    }

    .toast-message.toast-success {
        background: #28a745;
    }

    .toast-message.toast-error {
        background: #dc3545;
    }

    .toast-message.toast-info {
        background: #17a2b8;
    }

    .toast-message i {
        margin-right: 8px;
    }

/* 响应式设计 */
@media (max-width: 768px) {
    .image-nav-btn {
        width: 40px;
        height: 40px;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }

    .image-counter {
        top: 10px;
        right: 10px;
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .fullscreen-btn {
        bottom: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }

    .thumbnail-item {
        width: 60px;
        height: 60px;
    }

    .main-artwork-image {
        max-height: 50vh;
    }

    .artwork-actions .btn-group {
        flex-direction: column;
    }

        .artwork-actions .btn-group .btn {
            border-radius: 0.375rem !important;
            margin-bottom: 0.5rem;
        }
}

/* 加载动画 */
.main-artwork-image {
    transition: opacity 0.3s ease;
}

    .main-artwork-image.loading {
        opacity: 0.5;
    }

/* 图片懒加载 */
.thumbnail-image.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

    .thumbnail-image.lazy.loaded {
        opacity: 1;
    }
