/* ============================================
   AOSHOW翱烁 - 产品中心页面样式
   前缀：pro-
   主题色：#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 {
    --pro-orange: #cc4e15;
    --pro-blue: #0866b2;
    --pro-dark: #222;
    --pro-gray: #666;
    --pro-light-gray: #f5f5f5;
    --pro-border: #e5e5e5;
}

/* ============================================
   主体内容区（1320px居中）
   ============================================ */
.pro-main {
    padding: 30px 0 60px;
    min-height: 100vh;
}

.pro-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   面包屑导航
   ============================================ */
.pro-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(--pro-border);
}

.pro-breadcrumb-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--pro-orange);
    margin-right: 6px;
    transition: all 0.3s;
}

.pro-breadcrumb-icon:hover {
    color: var(--pro-blue);
    transform: scale(1.15);
}

.pro-breadcrumb-text {
    margin-right: 2px;
}

.pro-breadcrumb-link {
    color: #888;
    transition: color 0.3s;
}

.pro-breadcrumb-link:hover {
    color: var(--pro-orange);
}

.pro-breadcrumb-sep {
    margin: 0 8px;
    color: #ccc;
}

.pro-breadcrumb-current {
    color: #333;
    font-weight: 500;
}

/* ============================================
   内容布局
   ============================================ */
.pro-content-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* ============================================
   左侧边栏
   ============================================ */
.pro-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.pro-sidebar-box {
    margin-bottom: 25px;
    border: 1px solid var(--pro-border);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
}

.pro-sidebar-title {
    background: linear-gradient(135deg, var(--pro-orange), #d95e22);
    padding: 14px 20px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(204, 78, 21, 0.25);
}

.pro-sidebar-title-cn {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.pro-sidebar-title-en {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 1px;
}

/* 侧边栏菜单 */
.pro-sidebar-menu li {
    border-bottom: 1px solid var(--pro-border);
}

.pro-sidebar-menu li:last-child {
    border-bottom: none;
}

.pro-sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 20px;
    font-size: 14px;
    color: #444;
    transition: all 0.3s;
    position: relative;
}

.pro-sidebar-link i {
    font-size: 11px;
    color: #bbb;
    transition: all 0.3s;
}

.pro-sidebar-link:hover,
.pro-sidebar-link.pro-active {
    background: rgba(204, 78, 21, 0.05);
    color: var(--pro-orange);
    padding-left: 25px;
}

.pro-sidebar-link:hover i,
.pro-sidebar-link.pro-active i {
    color: var(--pro-orange);
}

.pro-sidebar-link.pro-active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--pro-orange);
}

/* 侧边栏联系信息 */
.pro-sidebar-contact li {
    padding: 11px 20px;
    font-size: 13px;
    color: #555;
    border-bottom: 1px solid var(--pro-border);
    line-height: 1.7;
}

.pro-sidebar-contact li:last-child {
    border-bottom: none;
}

.pro-sidebar-contact li strong {
    color: #222;
    font-size: 14px;
}

.pro-sidebar-contact li span {
    color: #888;
}

/* 在线留言按钮 */
.pro-sidebar-message {
    margin-top: 25px;
}

.pro-sidebar-message a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 75px;
    background: linear-gradient(135deg, #3a3a3a, #2b2b2b);
    color: #fff;
    font-size: 17px;
    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;
}

.pro-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;
}

.pro-sidebar-message a:hover::before {
    left: 100%;
}

.pro-sidebar-message a:hover {
    background: linear-gradient(135deg, var(--pro-orange), #d95e22);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(204, 78, 21, 0.35);
}

.pro-sidebar-message i {
    font-size: 20px;
}

/* ============================================
   右侧产品网格
   ============================================ */
.pro-product-grid {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* 产品卡片 */
.pro-product-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pro-product-card:hover {
    transform: translateY(-8px);
}

.pro-product-link {
    display: block;
}

/* 产品图片区 */
.pro-product-img {
    position: relative;
    width: 100%;
    padding-top: 85%;
    background: linear-gradient(145deg, #f8f9fa, #eceef2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.4s;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.pro-product-card:hover .pro-product-img {
    box-shadow:
        0 12px 35px rgba(8, 102, 178, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(8, 102, 178, 0.3);
}

/* 选中状态：红色边框 */
.pro-product-active .pro-product-img {
    border-color: var(--pro-orange);
    box-shadow:
        0 8px 25px rgba(204, 78, 21, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.pro-product-active:hover .pro-product-img {
    border-color: var(--pro-orange);
    box-shadow:
        0 12px 35px rgba(204, 78, 21, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.pro-product-img i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 64px;
    color: #bbb;
    transition: all 0.4s;
}

.pro-product-card:hover .pro-product-img i {
    color: var(--pro-blue);
    transform: translate(-50%, -50%) scale(1.15);
}

.pro-product-active .pro-product-img i {
    color: var(--pro-orange);
}

/* 6种产品图标渐变背景（hover时显示） */
.pro-product-card:hover .pro-img-1 { background: linear-gradient(145deg, #fff, #e8f4fd); }
.pro-product-card:hover .pro-img-2 { background: linear-gradient(145deg, #fff, #fef0e8); }
.pro-product-card:hover .pro-img-3 { background: linear-gradient(145deg, #fff, #f0f8ff); }
.pro-product-card:hover .pro-img-4 { background: linear-gradient(145deg, #fff, #f5f0ff); }
.pro-product-card:hover .pro-img-5 { background: linear-gradient(145deg, #fff, #fff8e8); }
.pro-product-card:hover .pro-img-6 { background: linear-gradient(145deg, #fff, #e8fff4); }

/* 产品标题 */
.pro-product-title {
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    color: #555;
    margin-top: 15px;
    padding: 0 10px;
    transition: color 0.3s;
}

.pro-product-card:hover .pro-product-title {
    color: var(--pro-orange);
    font-weight: 600;
}

.pro-product-active .pro-product-title {
    color: var(--pro-orange);
    font-weight: 600;
}

/* ============================================
   响应式适配
   ============================================ */
@media (max-width: 1200px) {
    .pro-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .pro-content-wrapper {
        flex-direction: column;
    }
    .pro-sidebar {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .pro-product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .pro-product-img i {
        font-size: 52px;
    }
}
