/*
Theme Name: Kadence Child
Template: kadence
Version: 1.0.0
Description: Kadence子主题，包含产品筛选系统
*/

/* 轮播图样式 - 蓝绿色滤镜版本 */
:root {
    --primary-blue: #1a5fb4;
    --primary-blue-light: #3584e4;
    --primary-blue-dark: #0f3a73;
    --navy-blue: #0d284c;
    --navy-blue-light: #1a3b6b;
    --gradient-blue: linear-gradient(135deg, #1c71d8 0%, #3584e4 50%, #62a0ea 100%);
    --gradient-dark: linear-gradient(135deg, #0f3a73 0%, #1a5fb4 50%, #1c71d8 100%);
    --neutral-white: #ffffff;
    --neutral-light: #f6f5f4;
    --neutral-gray: #deddda;
    --neutral-dark: #241f31;
    --accent-green: #26a269;
    --shadow-subtle: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 20px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --font-chinese: 'Noto Sans SC', 'Microsoft YaHei', 'SimHei', sans-serif;
    --font-english: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* 服务客户部分样式 */
.customer-categories {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.category-card {
    background: var(--neutral-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--neutral-gray);
}

.category-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.category-header {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    background: var(--neutral-light);
    border-bottom: 1px solid var(--neutral-gray);
}

.category-icon {
    font-size: 28px;
    color: var(--primary-blue);
    margin-right: 15px;
    min-width: 40px;
    text-align: center;
}

.category-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
}

.category-content {
    padding: 30px;
}

/* 服务客户部分响应式设计 */
@media (max-width: 768px) {
    .category-header {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .category-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .category-content {
        padding: 20px;
    }
}

/* 轮播图区域 */
.hero-container {
    position: relative;
    height: 600px;
    width: 100%;
    overflow: visible;
}

.slideshow {
    width: 100%;
    min-height: 100%;
    height: auto;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    min-height: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    overflow: visible;
}

.slide.active {
    opacity: 1;
}

/* 添加蓝绿色滤镜效果 */
.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 100, 120, 0.5); /* 蓝绿色滤镜，透明度50% */
    z-index: 1;
}

/* 简洁标语文字区域 */
.slide-content {
    position: absolute;
    top: 50%;
    right: 230px;
    transform: translateY(-50%);
    text-align: right;
    color: white;
    max-width: 700px;
    min-height: 200px;
    height: auto;
    padding: 0;
    background: transparent;
    z-index: 2; /* 确保文字在滤镜之上 */
    overflow: visible;
}

/* 大号英文字体 */
.product-name {
    font-size: 64px;
    font-weight: 400;
    margin-bottom: 40px;
    line-height: 1.35;
    letter-spacing: -0.5px;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.5);
    color: #ffffff;
    white-space: nowrap; /* 确保文本在一行显示 */
    overflow: visible; /* 确保内容不被裁剪 */
    text-overflow: ellipsis; /* 溢出时显示省略号 */
    padding: 5px 0;
    box-sizing: content-box;
    display: inline-block;
}

/* 稍小中文名称 */
.product-specs {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    color: #ffffff;
    white-space: nowrap; /* 确保文本在一行显示 */
    overflow: hidden; /* 防止溢出 */
    text-overflow: ellipsis; /* 溢出时显示省略号 */
}

/* 描述文字 */
.product-type {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 35px;
    line-height: 1.5;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

/* 模仿图片中的蓝色圆角按钮 */
.explore-btn {
    display: inline-block;
    background-color: #1e90ff;
    color: white;
    font-size: 18px;
    font-weight: 500;
    padding: 16px 42px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
}

.explore-btn:hover {
    background-color: #0066cc;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(30, 144, 255, 0.4);
}

/* 悬浮式筛选目录 - 保持原有尺寸和布局 */
.floating-catalog {
    position: absolute;
    top: 50%;
    left: 190px;
    transform: translateY(-50%) scale(0.75);
    transform-origin: left center;
    width: auto;
    max-width: 525px;
    background-color: rgba(0, 30, 60, 0.95);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    z-index: 5; /* 确保筛选菜单在滤镜之上 */
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: visible;
    font-family: var(--font-chinese);
}

.floating-catalog h2 {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 400;
}

.catalog-categories {
    list-style: none;
}

.catalog-categories > li {
    margin-bottom: 15px;
}

/* 分类链接样式 */
.category-link {
    display: flex;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 32px;
    padding: 20px 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 300;
}

.category-link:hover {
    background-color: rgba(30, 144, 255, 0.25);
    color: #ffffff;
    transform: translateX(5px);
}

/* 分类图标 - SVG */
.category-link svg {
    width: 32px;
    height: 32px;
    margin-right: 15px;
    flex-shrink: 0;
}

.category-link span {
    flex: 1;
}

/* 轮播图控件样式 */
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 3;
}

.slider-controls-prev,
.slider-controls-next {
    background-color: rgba(0, 173, 239, 0.8); /* 使用参考页面的蓝色 */
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 0 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.slider-controls-prev svg,
.slider-controls-next svg {
    width: 24px;
    height: 24px;
}

.slider-controls-prev:hover,
.slider-controls-next:hover {
    background-color: rgba(0, 173, 239, 1);
}

/* 轮播图指示器样式 */
.slider-navigation {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-navigation-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    opacity: 0.7;
    cursor: pointer;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

.slider-navigation-dot.active,
.slider-navigation-dot:hover {
    background-color: var(--primary-blue);
    opacity: 1;
}

/* 响应式设计 */
@media (max-width: 1600px) {
    .slide-content {
        right: 170px;
        max-width: 600px;
    }
    
    .product-name {
        font-size: 56px;
    }
}

@media (max-width: 1400px) {
    .slide-content {
        right: 150px;
        max-width: 550px;
    }
    
    .product-name {
        font-size: 48px;
    }
    
    .product-specs {
        font-size: 28px;
    }
    
    .product-type {
        font-size: 18px;
    }
    
    .floating-catalog {
        left: 180px;
        max-width: 495px;
    }
}

@media (max-width: 1200px) {
    .slide-content {
        right: 130px;
        max-width: 500px;
    }
    
    .product-name {
        font-size: 42px;
    }
    
    .product-specs {
        font-size: 24px;
    }
    
    .product-type {
        font-size: 16px;
    }
    
    .explore-btn {
        font-size: 16px;
        padding: 14px 36px;
    }
    
    .floating-catalog {
        width: auto;
        max-width: 480px;
        left: 170px;
    }
}

@media (max-width: 1024px) {
    .slide-content {
        right: 110px;
        max-width: 450px;
    }
    
    .product-name {
        font-size: 36px;
    }
    
    .product-specs {
        font-size: 22px;
    }
    
    .product-type {
        font-size: 15px;
    }
    
    .floating-catalog {
        width: auto;
        max-width: 450px;
        left: 150px;
        padding: 25px;
    }
    
    .category-link {
        font-size: 28px;
        padding: 16px 20px;
    }
    
    .category-link svg {
        width: 28px;
        height: 28px;
        margin-right: 12px;
    }
}

@media (max-width: 900px) {
    .hero-container {
        height: 500px;
    }
    
    .slide-content {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        max-width: 85%;
        margin: 30px auto;
        text-align: center;
    }
    
    .floating-catalog {
        position: relative;
        top: auto;
        left: auto;
        transform: scale(0.9);
        width: 90%;
        max-width: 600px;
        margin: 20px auto;
        background-color: rgba(0, 30, 60, 0.98);
    }
}

@media (max-width: 768px) {
    .hero-container {
        height: 450px;
    }
    
    .product-name {
        font-size: 36px;
    }
    
    .product-specs {
        font-size: 20px;
    }
    
    .product-type {
        font-size: 14px;
    }
    
    .explore-btn {
        font-size: 15px;
        padding: 12px 30px;
    }
    
    .floating-catalog {
        transform: scale(0.8);
        width: 95%;
        max-width: 600px;
    }
    
    .category-link {
        font-size: 26px;
        padding: 14px 18px;
    }
    
    .category-link svg {
        width: 26px;
        height: 26px;
        margin-right: 10px;
    }
}

@media (max-width: 480px) {
    .hero-container {
        height: 400px;
    }
    
    .product-name {
        font-size: 32px;
    }
    
    .product-specs {
        font-size: 18px;
    }
    
    .product-type {
        font-size: 13px;
    }
    
    .floating-catalog {
        padding: 20px;
        transform: scale(0.7);
    }
    
    .floating-catalog h2 {
        font-size: 20px;
    }
    
    .category-link {
        font-size: 28px;
        padding: 18px 20px;
    }
    
    .category-link svg {
        width: 28px;
        height: 28px;
        margin-right: 12px;
    }
}


