/* 重置默认边距，确保满屏显示 */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Website Page Styles */

/* 网站页面特定样式 */
.website-page {
    position: relative;
    overflow: hidden;
}

/* Banner样式 - 响应式设计 */
#banner {
    width: 100vw;
    height: 100vh;
    max-height: 700px;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.banner-background {
    background-color: #191919;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* 视频上方半透明背景层 */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #191919;
    opacity: 0.77;
    z-index: 1;
}

/* Banner文本容器 */
.banner-text {
    padding: 20px;
    margin: 0 77px;
    max-width: 100%;
    z-index: 1;
    position: absolute;
    bottom: 100px;
    left: 0;
}

/* Banner第一行文本 */
.banner-line1 {
    font-family: 'Courier New', monospace; /* 等宽字体 */
    font-size: clamp(1.5rem, 4vw, 2.75rem); /* 响应式字体大小，最大44px */
    color: white;
    margin: 0 0 10px 0;
    font-weight: normal;
    line-height: 1.2;
    text-align: left;
}

/* Banner第二行文本 */
.banner-line2 {
    font-family: 'Courier New', monospace; /* 等宽字体 */
    font-size: clamp(1.5rem, 4vw, 2.75rem); /* 响应式字体大小，最大44px */
    color: white;
    margin: 0;
    font-weight: normal;
    line-height: 1.2;
    text-align: left;
}

/* 视频背景样式保持响应式显示 */
.banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* 响应式设计 - 移动端 */
@media (max-width: 768px) {
    /* 移动端文字外边距10px */
    .banner-text {
        margin: 0 10px;
    }
}

/* 主体内容区样式 */
#main-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 0px 77px 40px 77px;
}



/* 页面标题样式 */
.page-title {
    font-size: 36px;
    font-weight: 300;
    color: #333;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
}

/* 筛选器容器 */
.filter-container {
    margin-bottom: 40px;
    position: relative;
    max-width: 200px;
}

/* 自定义Select样式 */
.custom-select {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: none;
    border-bottom: 1px solid #333;
    background-color: transparent;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
}

/* 自定义Select箭头 - 使用Font Awesome */
.filter-container::after {
    font-family: 'FontAwesome';
    content: '\f078'; /* Font Awesome向下箭头图标 */
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #333;
    pointer-events: none;
    transition: transform 0.3s ease;
}

/* 分类容器样式 - 左下角 */
.category-container {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

/* 标签容器样式 - 右下角 */
.tags-container {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    z-index: 10;
    justify-content: flex-end;
}

/* 标签样式 */
.tag {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* 作品瀑布流布局 */
.works-grid {
    /* 使用CSS columns实现瀑布流 */
    column-count: 3;
    column-gap: 20px;
    margin: 0 -10px;
}

/* 作品项目样式 */
.work-item {
    break-inside: avoid;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: inline-block;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 作品项目悬停效果 */
.work-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* 作品链接样式 */
.work-link {
    display: block;
    position: relative;
    text-decoration: none;
}

/* 图片容器样式 */
.work-image-container {
    width: 100%;
    display: block;
    overflow: hidden;
}

/* 作品图片样式 */
.work-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    border-radius: 6px 6px 0 0;
}

/* 图片悬停效果 */
.work-item:hover .work-image {
    transform: scale(1.05);
}

/* 悬停效果 */
.work-item:hover .work-image {
    transform: scale(1.05);
}

/* 无作品提示样式 */
.no-works {
    text-align: center;
    font-size: 18px;
    color: #999;
    padding: 60px 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 移动端主体内容区边距调整 */
    #main-content {
        padding: 0px 10px 20px 10px;
    }
    
    /* 移动端标题样式 */
    .page-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    /* 移动端瀑布流 - 调整为2列布局 */
    .works-grid {
        column-count: 2;
        column-gap: 10px;
    }
    
    /* 移动端项目间距 */
    .work-item {
        margin-bottom: 10px;
    }
    
    /* 移动端筛选器 */
    .filter-container {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    /* 超小屏幕设备 - 调整为单列布局 */
    .works-grid {
        column-count: 1;
        column-gap: 10px;
    }
}