/**
 * 庆正裕官方网站 - 首页样式模块
 * 
 * 样式模块声明：
 * 1. 基础样式模块 (Base Styles) - 全局基础样式，独立运行
 * 2. BANNER轮播样式模块 (Banner Styles) - 轮播相关样式，独立运行
 * 3. 导航样式模块 (Navigation Styles) - 导航相关样式，独立运行
 * 4. 响应式样式模块 (Responsive Styles) - 媒体查询样式，独立运行
 * 
 * 各模块之间完全独立，互不干扰，可单独启用或禁用
 * 使用CSS模块化命名规范确保样式隔离
 * 
 * @author 庆正裕开发团队
 * @version 1.0.0
 * @date 2024
 */

/* ==================== 基础样式模块 ==================== */
/* 全局基础样式 - 独立模块，不影响其他模块 */


/* ==================== 通用样式类 ==================== */
/* 通用样式已整合到各模块中，减少冗余 */

/* ==================== 导航样式模块 ==================== */
/* 导航相关样式 - 独立模块，不影响其他模块 */

/* 导航隔离样式 - 防止影响页面布局 */
.nav-isolation-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99999 !important;
    pointer-events: none !important;
}

/* 确保导航组件内部样式不影响外部 */
.nav-isolation-container .qingzhengyu-nav {
    position: relative !important;
    width: 100% !important;
    pointer-events: auto !important;
}

.nav-isolation-container .qingzhengyu-nav .navbar-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
}

.nav-isolation-container .qingzhengyu-nav .page-content {
    display: none !important;
}

/* ==================== BANNER轮播样式模块 ==================== */
/* 轮播相关样式 - 独立模块，不影响其他模块 */

/* BANNER隔离样式 - 防止影响页面布局 */
.banner-isolation-container {
    position: relative !important;
    width: 100% !important;
    margin-top: 70px !important;
    z-index: 1 !important;
}

/* 轮播容器样式 */
.qingzhengyu-banner {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
}

.banner-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
}

.banner-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.banner-image-desktop,
.banner-image-mobile {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* 桌面端显示桌面图片，隐藏手机图片 */
.banner-image-desktop {
    display: block !important;
}

.banner-image-mobile {
    display: none !important;
}

/* 轮播内容样式 */
.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

/* 轮播控制按钮 */
.banner-prev,
.banner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.banner-prev:hover,
.banner-next:hover {
    background: rgba(0, 0, 0, 0.7);
}

.banner-prev {
    left: 20px;
}

.banner-next {
    right: 20px;
}

/* 轮播指示器 */
.banner-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: white;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* ==================== 响应式样式模块 ==================== */
/* 媒体查询样式 - 独立模块，不影响其他模块 */

/* 手机端显示手机图片，隐藏桌面图片 */
@media (max-width: 768px) {
    .banner-image-desktop {
        display: none !important;
    }
    
    .banner-image-mobile {
        display: block !important;
    }
    
    .banner-isolation-container {
        margin-top: 60px !important;
    }
    
    .qingzhengyu-banner {
        height: 400px;
    }
    
    .banner-prev,
    .banner-next {
        width: 40px;
        height: 40px;
    }
    
    .banner-prev {
        left: 10px;
    }
    
    .banner-next {
        right: 10px;
    }
    
    .banner-indicators {
        bottom: 15px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .banner-isolation-container {
        margin-top: 60px !important;
    }
    
    .qingzhengyu-banner {
        height: 250px;
    }
}

/* ==================== 中国风标题样式模块 ==================== */
/* 中国风标题样式 - 独立模块，不影响其他模块 */

/* 容器样式 */
.chinese-style-section {
    padding: 80px 0 0 0;
    background: #f8f8f8;
}

/* 使用通用容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 标题区域样式 */
.section-header {
    position: relative;
    text-align: center;
    margin-bottom: 0;
    overflow: hidden;
}

/* 背景样式 */
.header-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(191,48,48,0.01) 0%, rgba(255,107,107,0.01) 100%);
    z-index: 0;
}

/* 包装器样式 */
.subtitle-wrapper,
.title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.subtitle-wrapper { gap: 0; margin-bottom: 20px; }
.title-wrapper { gap: 30px; }

/* 文字样式 */
.subtitle,
.title {
    position: relative;
    z-index: 1;
    margin: 0;
    font-weight: 500;
}

.subtitle {
    display: inline-block;
    font-size: 16px;
    color: #bf3030;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.title {
    font-size: 42px;
    color: #333;
    font-weight: 600;
}

/* 装饰线样式（已移除 title-decoration） */


/* 响应式样式 */
@media (max-width: 768px) {
    .chinese-style-section { padding: 60px 0 0 0; }
    .container { padding: 0 15px; }
    .title { font-size: 32px; }
    .subtitle { font-size: 14px; letter-spacing: 2px; }
    .subtitle-wrapper { gap: 0; }
    .title-wrapper { gap: 20px; }
}

@media (max-width: 480px) {
    .chinese-style-section { padding: 40px 0 0 0; }
    .title { font-size: 28px; }
    .subtitle { font-size: 12px; letter-spacing: 1px; }
    .subtitle-wrapper { gap: 0; }
    .title-wrapper { gap: 15px; }
}

/* ==================== 企业模块样式 ==================== */
/* 企业展示模块样式 - 独立模块，不影响其他模块 */

/* 企业模块容器 */
.brand-showcase-section {
    padding: 60px 0 80px 0;
    background: #f8f8f8;
    position: relative;
}

.brand-showcase {
    position: relative;
}

/* 企业模块样式 */

/* 主要展示区域 */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #8B0000 0%, #bf3030 100%);
    border-radius: 30px;
    padding: 60px;
    margin-bottom: 60px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(139,0,0,0.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 60px;
}

/* 品牌符号区域 */
.brand-symbol {
    flex-shrink: 0;
    width: 220px;
    height: 220px;
    position: relative;
}

.symbol-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    animation: symbolRotate 20s linear infinite;
}

.circle-text {
    width: 100%;
    height: 100%;
    animation: reverseRotate 20s linear infinite;
}

.circle-text path {
    fill: none;
}

.circle-text text {
    fill: rgba(255,255,255,0.8);
    font-size: 7px;
    letter-spacing: 2px;
}

.symbol-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.symbol-char {
    color: white;
    font-size: 36px;
    font-weight: bold;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    animation: charFloat 3s ease-in-out infinite;
    opacity: 0.9;
}

.symbol-char:nth-child(2) {
    animation-delay: 0.2s;
}

.symbol-char:nth-child(3) {
    animation-delay: 0.4s;
}

/* 品牌介绍内容 */
.brand-intro-content {
    flex: 1;
    color: white;
}

.intro-header {
    margin-bottom: 30px;
}

.intro-header h3 {
    font-size: 36px;
    font-weight: bold;
    margin: 0 0 15px;
    background: linear-gradient(to right, #fff, rgba(255,255,255,0.8));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-line {
    width: 60px;
    height: 3px;
    background: rgba(255,255,255,0.3);
    position: relative;
}

.header-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 100%;
    background: white;
    animation: lineMove 2s ease-in-out infinite;
}

.intro-text {
    font-size: 24px;
    line-height: 1.6;
    margin: 0 0 30px;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.decoration-elements {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    opacity: 0.6;
}

.line {
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

.line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    animation: lineFlow 2s ease-in-out infinite;
}

/* 视觉元素 */
.visual-elements {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    overflow: hidden;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    animation: shapeFloat 8s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    right: 100px;
    animation: shapeFloat 6s ease-in-out infinite reverse;
}

.pattern-grid {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    transform: rotate(45deg) scale(2);
    transform-origin: center;
    opacity: 0.1;
}

/* 价值观网格 */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.grid-item {
    position: relative;
}

/* 四个小卡片样式*/
.item-inner {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 30px 25px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    will-change: transform, box-shadow;
}


/* 图标底块（方形）及悬停效果 */
.icon-float {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: rgba(139,0,0,0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B0000;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.item-inner:hover .icon-float {
    background: #8B0000;
    color: #ffffff;
}

.item-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* 保留占位，确保样式块顺序与HTML一致（values-grid -> item-inner -> icon-float -> content） */

.content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.content h4 {
    font-size: 22px;
    color: #333;
    margin: 0 0 15px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.item-inner:hover .content h4 {
    color: #8B0000;
}

.content p {
    font-size: 16px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* hover-effect 未使用，已删除 */

/* 动画定义 */
@keyframes symbolRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes reverseRotate {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes charFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes lineMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(30px); }
}

@keyframes lineFlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

@keyframes shapeFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, 20px); }
}

/* 减少系统偏好“减少动态效果”时的动画与过渡负载 */
@media (prefers-reduced-motion: reduce) {
  /* 放宽全局禁用，保留品牌标志动画正常显示 */
  :not(.symbol-wrapper):not(.circle-text):not(.symbol-char) {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}


/* 企业模块响应式样式 */
@media (max-width: 768px) {
    .brand-showcase-section {
        padding: 40px 0 60px 0;
    }
    
    .hero-section {
        padding: 40px 30px;
        margin-bottom: 40px;
        border-radius: 20px;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .brand-symbol {
        width: 180px;
        height: 180px;
    }
    
    .symbol-char {
        font-size: 28px;
    }
    
    .intro-header h3 {
        font-size: 28px;
    }
    
    .intro-text {
        font-size: 18px;
    }
    
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 35px;
        margin: 40px 20px 0;
    }
    
    /* 使用通用响应式样式 */
    .item-inner {
        padding: 25px 20px;
        margin: 0 5px;
    }
    
    /* icon-float样式已删除 */
    
    .content h4 {
        font-size: 20px;
    }
    
    .content p {
        font-size: 14px;
    }
    
    .visual-elements {
        display: none;
    }
}

@media (max-width: 480px) {
    .brand-showcase-section {
        padding: 30px 0 40px 0;
    }
    
    .hero-section {
        padding: 30px 20px;
        border-radius: 15px;
    }
    
    .hero-content {
        gap: 30px;
    }
    
    .brand-symbol {
        width: 150px;
        height: 150px;
    }
    
    .symbol-char {
        font-size: 24px;
    }
    
    .intro-header h3 {
        font-size: 24px;
    }
    
    .intro-text {
        font-size: 16px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        margin: 40px 20px 0;
    }
    
    /* 使用通用响应式样式 */
    .item-inner {
        padding: 20px 15px;
        margin: 0 10px;
    }
    
    /* icon-float样式已删除 */
    
    .content h4 {
        font-size: 18px;
    }
    
    .content p {
        font-size: 13px;
    }
}

/* ==================== 产品中心样式 ==================== */
/* 产品展示模块样式 - 独立模块，不影响其他模块 */

/* 产品中心样式模块 */
.products-section {
    padding: 60px 0 80px 0;
    background: #f8f8f8;
    content-visibility: auto;
    contain-intrinsic-size: 800px 1200px;
}

/* 产品链接样式 */
.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 1;
}

.product-link:hover .product-card {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* 产品网格布局 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 产品卡片 */
.product-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* 产品图片容器 */
.product-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* 产品信息覆盖层 */
.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.product-card:hover .product-overlay {
    transform: translateY(0);
}

.product-overlay h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 10px;
    color: white;
}

.product-overlay p {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
    line-height: 1.5;
}

/* 产品中心响应式样式 */
@media (max-width: 768px) {
    .products-section {
        padding: 40px 0 60px 0;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 20px;
    }
    
    .product-image {
        height: 250px;
    }
    
    .product-overlay h3 {
        font-size: 20px;
    }
    
    .product-overlay p {
        font-size: 13px;
    }
    
    /* 平板端触摸优化 */
    .product-card {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .product-card:active {
        transform: scale(0.99);
        transition: transform 0.1s ease;
    }
}

@media (max-width: 480px) {
    .products-section {
        padding: 30px 0 40px 0;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 15px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-overlay {
        padding: 15px 10px 10px;
    }
    
    .product-overlay h3 {
        font-size: 16px;
        margin-bottom: 5px;
    }
    
    .product-overlay p {
        font-size: 11px;
        line-height: 1.3;
    }
    
    /* 优化触摸体验 */
    .product-card {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    /* 确保链接在移动端可点击 */
    .product-link {
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
        touch-action: auto;
        cursor: pointer;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }
    
    .product-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    /* 移动端悬停效果优化 */
    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    }
    
    .product-card:hover .product-image img {
        transform: scale(1.02);
    }
}

/* ==================== 云南印象品牌模块样式 ==================== */
/* 云南印象展示模块样式 - 独立模块，不影响其他模块 */

/* 云南印象容器 */
.yunnan-section {
    padding: 80px 0;
    background: #f8f8f8;
    content-visibility: auto;
    contain-intrinsic-size: 1000px 1400px;
}

/* 云南印象网格布局 */
.yunnan-grid {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 0;
}

.yunnan-grid.size-large {
    display: block;
}

.yunnan-grid.size-large .yunnan-wrapper {
    width: 100%;
    height: 650px;
    grid-column: unset;
}

/* 图片包装器 */
.yunnan-wrapper {
    position: relative;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.yunnan-wrapper.yunnan-wide {
    grid-column: span 2;
}

.yunnan-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* 云南图片 */
.yunnan-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.yunnan-wrapper:hover .yunnan-image {
    transform: scale(1.03);
}

/* 云南遮罩 */
.yunnan-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 60%,
        rgba(0, 0, 0, 0.75) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
}

.yunnan-wrapper:hover .yunnan-mask {
    opacity: 1;
}

/* 标题容器 */
.yunnan-title-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    width: 100%;
    position: relative;
    z-index: 2;
}

.yunnan-wrapper:hover .yunnan-title-box {
    transform: translateY(0);
}

/* 装饰线统一样式 */
.yunnan-line,
.red-decoration {
    width: 3px;
    height: 2.4rem;
    background: #bf3030;
    border-radius: 2px;
    opacity: 0.8;
    position: relative;
    z-index: 2;
}

/* 标题文字样式 */
.yunnan-heading {
    color: #fff;
    font-size: 2rem;
    font-weight: 500;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

/* 文字包装器 */
.text-wrapper {
    position: relative;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    overflow: hidden;
}

.text-wrapper:hover {
    transform: translateY(-5px);
}

/* 文字内容框 */
.text-content-box {
    position: relative;
    padding-left: 20px;
}

.text-content-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #bf3030;
    border-radius: 2px;
}

/* 文字标题 */
.text-heading {
    color: #333;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 20px;
}

/* 文字描述 */
.text-desc {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* 文字装饰 */
.text-decoration {
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, #bf3030, transparent);
    margin-top: auto;
}

/* 图片网格 */
.image-grid {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 0;
}

/* 图片包装器 */
.image-wrapper {
    position: relative;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.image-wrapper.wide {
    grid-column: span 2;
    height: 400px;
}

.image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* 图片 */
.image-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.image-wrapper:hover img {
    transform: scale(1.03);
}

/* 图片覆盖层 */
.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 60%,
        rgba(0, 0, 0, 0.75) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
}

.image-wrapper:hover .image-overlay {
    opacity: 1;
}

/* 标题容器 */
.title-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    width: 100%;
    position: relative;
    z-index: 2;
}

.image-wrapper:hover .title-container {
    transform: translateY(0);
}

/* 红色装饰已合并到上方统一样式 */

/* 图片覆盖层标题 */
.image-overlay h3 {
    color: #fff;
    font-size: 2rem;
    font-weight: 500;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

/* 云南印象响应式样式 */
@media (max-width: 768px) {
    .yunnan-section {
        padding: 60px 0;
    }
    
    .yunnan-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .yunnan-wrapper {
        height: 280px;
        border-radius: 12px;
        margin-bottom: 1rem;
    }
    
    .yunnan-wrapper.yunnan-wide {
        height: 400px;
        grid-column: span 1;
    }
    
    .yunnan-grid.size-large .yunnan-wrapper {
        height: 400px;
    }
    
    .yunnan-mask {
        padding: 1.5rem;
        background: linear-gradient(
          to bottom,
          transparent 40%,
          rgba(0, 0, 0, 0.8) 100%
        );
    }
    
    .yunnan-heading {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    
    .yunnan-line {
        height: 1.8rem;
    }
    
    .text-wrapper {
        height: auto;
        padding: 40px 20px;
    }
    
    .text-heading {
        font-size: 24px;
    }
    
    .text-desc {
        font-size: 14px;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .image-wrapper {
        height: 250px;
    }
    
    .image-wrapper.wide {
        height: 300px;
        grid-column: span 1;
    }
    
    .image-overlay h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .yunnan-section {
        padding: 40px 0;
    }
    
    .yunnan-wrapper {
        height: 220px;
    }
    
    .yunnan-wrapper.yunnan-wide {
        height: 300px;
    }
    
    .yunnan-grid.size-large .yunnan-wrapper {
        height: 300px;
    }
    
    .yunnan-mask {
        padding: 1rem;
    }
    
    .yunnan-heading {
        font-size: 1.2rem;
    }
    
    .yunnan-line {
        height: 1.5rem;
    }
    
    .text-wrapper {
        padding: 30px 15px;
    }
    
    .text-heading {
        font-size: 20px;
    }
    
    .text-desc {
        font-size: 13px;
    }
    
    .image-wrapper {
        height: 200px;
    }
    
    .image-wrapper.wide {
        height: 250px;
    }
    
    .image-overlay h3 {
        font-size: 1.4rem;
    }
}