/* ============================================
   AOSHOW翱烁 - 案例照明页面样式
   前缀：pje-
   主题色：#cc4e15 (橙) / #0866b2 (蓝)
   ============================================ */

/* ===== 重置与基础 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== 主题色变量 ===== */
:root {
    --pje-orange: #cc4e15;
    --pje-blue: #0866b2;
    --pje-dark: #222;
    --pje-gray: #666;
    --pje-light-gray: #f5f5f5;
    --pje-border: #e5e5e5;
}

/* ============================================
   主体内容区（1320px居中）
   ============================================ */
.pje-main {
    padding: 30px 0 60px;
    min-height: 100vh;
}

.pje-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   面包屑导航
   ============================================ */
.pje-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 13px;
    color: #888;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--pje-border);
}

.pje-breadcrumb-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--pje-orange);
    margin-right: 6px;
    transition: all 0.3s;
}

.pje-breadcrumb-icon:hover {
    color: var(--pje-blue);
    transform: scale(1.15);
}

.pje-breadcrumb-text {
    margin-right: 2px;
}

.pje-breadcrumb-link {
    color: #888;
    transition: color 0.3s;
}

.pje-breadcrumb-link:hover {
    color: var(--pje-orange);
}

.pje-breadcrumb-sep {
    margin: 0 8px;
    color: #ccc;
}

.pje-breadcrumb-current {
    color: #333;
    font-weight: 500;
}

/* ============================================
   内容布局
   ============================================ */
.pje-content-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* ============================================
   左侧边栏
   ============================================ */
.pje-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.pje-sidebar-box {
    margin-bottom: 25px;
    border: 1px solid var(--pje-border);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
}

.pje-sidebar-title {
    background: linear-gradient(135deg, var(--pje-orange), #d95e22);
    padding: 14px 20px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(204, 78, 21, 0.25);
}

.pje-sidebar-title-cn {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.pje-sidebar-title-en {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 1px;
}

/* 侧边栏菜单 */
.pje-sidebar-menu li {
    border-bottom: 1px solid var(--pje-border);
}

.pje-sidebar-menu li:last-child {
    border-bottom: none;
}

.pje-sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    font-size: 15px;
    color: #444;
    transition: all 0.3s;
    position: relative;
}

.pje-sidebar-link i {
    font-size: 12px;
    color: #bbb;
    transition: all 0.3s;
}

.pje-sidebar-link:hover,
.pje-sidebar-link.pje-active {
    background: rgba(204, 78, 21, 0.05);
    color: var(--pje-orange);
    padding-left: 25px;
}

.pje-sidebar-link:hover i,
.pje-sidebar-link.pje-active i {
    color: var(--pje-orange);
}

.pje-sidebar-link.pje-active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--pje-orange);
}

/* 侧边栏联系信息 */
.pje-sidebar-contact li {
    padding: 12px 20px;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid var(--pje-border);
    line-height: 1.7;
}

.pje-sidebar-contact li:last-child {
    border-bottom: none;
}

.pje-sidebar-contact li strong {
    color: #222;
    font-size: 15px;
}

.pje-sidebar-contact li span {
    color: #888;
}

/* 在线留言按钮 */
.pje-sidebar-message {
    margin-top: 25px;
}

.pje-sidebar-message a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 80px;
    background: linear-gradient(135deg, #3a3a3a, #2b2b2b);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.pje-sidebar-message a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.pje-sidebar-message a:hover::before {
    left: 100%;
}

.pje-sidebar-message a:hover {
    background: linear-gradient(135deg, var(--pje-orange), #d95e22);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(204, 78, 21, 0.35);
}

.pje-sidebar-message i {
    font-size: 22px;
}

/* ============================================
   右侧项目案例网格
   ============================================ */
.pje-project-grid {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* 项目卡片 */
.pje-project-card {
	width: 300px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pje-project-card:hover {
    transform: translateY(-10px);
}

.pje-project-link {
    display: block;
}

/* 项目图片区 */
.pje-project-img {
    position: relative;
    width: 100%;
    padding-top: 75%;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover;
    background-color: #1a1a2e;
    background-position: center;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 0.4s;
}

.pje-project-card:hover .pje-project-img {
    box-shadow:
        0 15px 40px rgba(8, 102, 178, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.pje-project-img i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 56px;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.4s;
    z-index: 1;
}

.pje-project-card:hover .pje-project-img i {
    transform: translate(-50%, -50%) scale(1.2);
    color: #fff;
}

/* 12种项目图片渐变背景 */
.pje-img-1 { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); }
.pje-img-2 { background: linear-gradient(135deg, #2d1b4e 0%, #4a1942 50%, #1a1a2e 100%); }
.pje-img-3 { background: linear-gradient(135deg, #0c1445 0%, #0866b2 50%, #1a5276 100%); }
.pje-img-4 { background: linear-gradient(135deg, #1a1a2e 0%, #cc4e15 60%, #7b2d26 100%); }
.pje-img-5 { background: linear-gradient(135deg, #0f3460 0%, #16213e 50%, #cc4e15 100%); }
.pje-img-6 { background: linear-gradient(135deg, #1a3a1a 0%, #0c4a2e 50%, #1a5276 100%); }
.pje-img-7 { background: linear-gradient(135deg, #7b2d26 0%, #cc4e15 40%, #1a1a2e 100%); }
.pje-img-8 { background: linear-gradient(135deg, #16213e 0%, #0866b2 40%, #cc4e15 100%); }
.pje-img-9 { background: linear-gradient(135deg, #0c1445 0%, #1a5276 50%, #2d1b4e 100%); }
.pje-img-10 { background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 50%, #cc4e15 100%); }
.pje-img-11 { background: linear-gradient(135deg, #4a1942 0%, #7b2d26 50%, #1a1a2e 100%); }
.pje-img-12 { background: linear-gradient(135deg, #0866b2 0%, #0c4a2e 50%, #1a1a2e 100%); }

/* 图片光效装饰 */
.pje-project-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(204, 78, 21, 0.15) 0%, transparent 40%);
    z-index: 0;
}

/* hover 遮罩层 */
.pje-project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: all 0.4s;
    z-index: 2;
    backdrop-filter: blur(2px);
}

.pje-project-card:hover .pje-project-overlay {
    opacity: 1;
}

.pje-project-overlay span {
    padding: 10px 28px;
    background: linear-gradient(135deg, var(--pje-orange), #e06a2e);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(204, 78, 21, 0.4);
    transform: translateY(20px);
    transition: all 0.4s;
}

.pje-project-card:hover .pje-project-overlay span {
    transform: translateY(0);
}
.pje-overlay-name {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    padding: 0 20px;
    line-height: 1.5;
    transform: translateY(15px);
    transition: all 0.4s;
    opacity: 0;
}
.pje-project-card:hover .pje-overlay-name {
    transform: translateY(0);
    opacity: 1;
}

/* 项目标题 */
.pje-project-title {
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #444;
    margin-top: 15px;
    padding: 0 10px;
    transition: color 0.3s;
    line-height: 1.5;
}

.pje-project-card:hover .pje-project-title {
    color: var(--pje-orange);
}

.pje-title-active {
    color: var(--pje-orange);
}

/* ============================================
   分页
   ============================================ */
.pje-pagination {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid var(--pje-border);
    justify-content: center;
}

.pje-pagination-total {
    font-size: 13px;
    color: #666;
    margin-right: 10px;
}

.pje-page-btn,
.pje-page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
    color: #555;
    border: 1px solid var(--pje-border);
    background: #fff;
    transition: all 0.3s;
    cursor: pointer;
}

.pje-page-btn:hover,
.pje-page-num:hover {
    color: var(--pje-orange);
    border-color: var(--pje-orange);
}

.pje-page-active {
    background: var(--pje-orange);
    color: #fff;
    border-color: var(--pje-orange);
    font-weight: 600;
}

.pje-page-select {
    height: 36px;
    padding: 0 10px;
    font-size: 13px;
    color: #555;
    border: 1px solid var(--pje-border);
    background: #fff;
    cursor: pointer;
    outline: none;
    margin-left: 5px;
}

/* ============================================
   响应式适配
   ============================================ */
@media (max-width: 1200px) {
    .pje-project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .pje-content-wrapper {
        flex-direction: column;
    }
    .pje-sidebar {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .pje-project-grid {
        grid-template-columns: 1fr;
    }
    .pje-project-img i {
        font-size: 44px;
    }
    .pje-pagination {
        justify-content: center;
    }
}
