@charset "utf-8";
/* CSS Document */






 .XHH {
            position: relative;
            display: block;
            width: 100%;
            height: auto;
            overflow: hidden;
            border-radius: 8px;
        }
        
        .XHH img {
            width: 570px; /* 修改为指定宽度 */
            height: 409px; /* 修改为指定高度 */
            display: block;
            transition: transform 0.4s ease, filter 0.4s ease;
        }
        
        .XHH:hover img {
            transform: scale(1.03);
            filter: brightness(0.7);
        }
        
        .play-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            
            opacity: 1;
            transition: opacity 0.3s ease;
            cursor: pointer;
        }
        
        .XHH:hover .play-overlay {
            opacity: 1;
        }
        
        .play-icon {
            width: 80px;
            height: 80px;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            border: 2px solid rgba(255,255,255,0.3);
            box-shadow: 0 0 25px rgba(255, 107, 0, 0.6);
        }
        
        .play-icon i {
            color: #ffffff;
            font-size: 36px;
            margin-left: 5px;
        }
        
        .play-overlay:hover .play-icon {
            transform: scale(1.1);
            background: rgba(255, 255, 255, 0.3);
            box-shadow: 0 0 35px rgba(255, 107, 0, 0.8);
        }
        
        .video-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.92);
            z-index: 1000;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .modal-content {
            position: relative;
            width: 80%;
            max-width: 1600px;
            background: #111;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 0 40px rgba(255, 107, 0, 0.4);
            transform: scale(0.95);
            transition: transform 0.3s ease;
        }
        
        .modal-content.active {
            transform: scale(1);
        }
        
        .video-container {
            position: relative;
            padding-top: 56.25%; /* 16:9 Aspect Ratio */
        }
        
        .video-container video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            outline: none;
            background: #000;
        }
        
        .close-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            color: white;
            font-size: 28px;
            cursor: pointer;
            transition: color 0.3s ease;
            z-index: 1010;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(0, 0, 0, 0.5);
        }
        
        .close-btn:hover {
            color: #FF6B00;
            background: rgba(0, 0, 0, 0.7);
        }
        
        .video-controls {
            display: flex;
            justify-content: space-between;
            padding: 15px 20px;
            background: rgba(20, 20, 20, 0.9);
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .control-btn {
            background: linear-gradient(to right, #FF6B00, #FF8C00);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 30px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 3px 10px rgba(255, 107, 0, 0.4);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .control-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 107, 0, 0.6);
        }
        
        .video-title {
            text-align: center;
            padding: 15px;
            font-size: 1.4rem;
            background: rgba(20, 20, 20, 0.8);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            color: #FFD700;
        }
        
       
        
        /* 响应式设计 */


@media (max-width: 768px) {

.portfolioDetail {

transform: scale(0.6); /* 缩放比例，根据实际情况调整 */

transform-origin: top center;

width: 166.67%; /* 100 / 0.6 = 166.67% */

margin-left: -33.33%; /* (166.67% - 100%) / 2 = 33.33% */

margin-right: -33.33%;

overflow: hidden;

}

/* 为了防止缩放后内容被裁剪，可能需要调整外层容器的溢出 */

.container {

overflow-x: hidden;

}

}
{




        @media (max-width: 768px) {
            .modal-content {
                width: 95%;
            }
            
            .play-icon {
                width: 60px;
                height: 60px;
            }
            
            .play-icon i {
                font-size: 28px;
            }
            
            .video-title {
                font-size: 1.1rem;
                padding: 10px;
            }
            
            .control-btn {
                padding: 8px 15px;
                font-size: 13px;
            }
            
            .XHH img {
                width: 100%;
                height: auto;
                max-height: 409px;
            }
        }
        
        @media (max-width: 480px) {
            .video-controls {
                flex-direction: column;
                gap: 10px;
                align-items: center;
            }
        }
        







        /* 动画效果 */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        @keyframes scaleUp {
            from { transform: scale(0.9); }
            to { transform: scale(1); }
        }

	
	 /* 作品集详情部分 - 核心缩放区域 */
        .portfolioDetail {
            position: relative;
            background: white;
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
            margin-bottom: 50px;
            overflow: hidden;
            transition: transform 0.4s ease;
        }
        
        /* 表格样式覆盖 */
        #__01 {
            border-collapse: collapse;
            width: 100%;
        }
        
        #__01 td {
            vertical-align: top;
        }
        
        #__01 img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        
        /* 视频播放区域样式 */
        .XHH {
            position: relative;
            display: inline-block;
        }
        
        .play-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .XHH:hover .play-overlay {
            opacity: 1;
        }
        
        .play-icon {
            width: 80px;
            height: 80px;
            background: rgba(218, 27, 96, 0.8);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .play-icon i {
            font-size: 40px;
            color: white;
        }
        
        /* 产品卡片区域 */
        .section-titleha {
            text-align: center;
            font-size: 1.8rem;
            margin: 30px 0 20px;
            color: #2c3e50;
            padding: 0 20px;
        }
        
        .section-titleha h6 {
            font-size: 1.8rem;
            font-weight: 700;
        }
        
        .rowha {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 25px;
            padding: 0 20px 30px;
        }
        
        .cardha {
            flex: 0 0 calc(25% - 25px);
            background: #f8f9fa;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
        }
        
        .cardha:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }
        
        .cardha img {
            width: 100%;
            height: 200px;
            object-fit: contain;
            padding: 20px 20px 0;
            background: white;
        }
        
        .card-textha {
            padding: 20px;
            font-size: 1rem;
            color: #2c3e50;
            line-height: 1.5;
            text-align: center;
        }
        
        .h5 {
            flex: 0 0 calc(25% - 25px);
            visibility: hidden;
        }
        
        /* 视频弹窗 */
        .video-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }
        
        .video-modal.active {
            opacity: 1;
            pointer-events: all;
        }
        
        .modal-content {
            width: 80%;
            max-width: 900px;
            background: #1a1a1a;
            border-radius: 15px;
            overflow: hidden;
            position: relative;
            box-shadow: 0 20px 50px rgba(0,0,0,0.5);
        }
        
        .video-title {
            padding: 20px;
            background: #2c2c2c;
            color: white;
            font-size: 1.5rem;
            font-weight: 600;
        }
        
        .video-title i {
            margin-right: 10px;
            color: #da1b60;
        }
        
        .video-container {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 aspect ratio */
            height: 0;
        }
        
        .video-container video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
        
        .video-controls {
            display: flex;
            justify-content: center;
            gap: 15px;
            padding: 20px;
            background: #2c2c2c;
            flex-wrap: wrap;
        }
        
        .control-btn {
            padding: 12px 25px;
            background: #4a4a4a;
            color: white;
            border: none;
            border-radius: 50px;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .control-btn:hover {
            background: #da1b60;
        }
        
        .control-btn i {
            font-size: 1.2rem;
        }
        
        .close-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .close-btn:hover {
            background: #da1b60;
            transform: rotate(90deg);
        }
        

        /* 响应式设计 - 平板 */
        @media (max-width: 992px) {
            .cardha {
                flex: 0 0 calc(33.333% - 25px);
            }
            
            .h5 {
                display: none;
            }
        }
        
        /* 响应式设计 - 手机 (核心缩放代码) */
        @media (max-width: 768px) {
            .portfolioDetail {
                /* 关键缩放代码 */
                transform: scale(0.6);
                transform-origin: top center;
                width: 117.65%; /* 100 / 0.85 ≈ 117.65% */
                margin-left: -8.825%; /* (117.65% - 100%) / 2 ≈ 8.825% */
                margin-right: -8.825%;
            }
            
            body {
                padding: 10px;
            }
            
            h1 {
                font-size: 2.5rem;
            }
            
            .subtitle {
                font-size: 1rem;
            }
            
            .cardha {
                flex: 0 0 calc(50% - 25px);
            }
            
            .section-titleha h6 {
                font-size: 1.5rem;
            }
            
            .video-controls {
                flex-direction: column;
                align-items: center;
            }
        }
        
        /* 小尺寸手机优化 */
        @media (max-width: 480px) {
            .portfolioDetail {
                transform: scale(0.78);
                width: 128.2%; /* 100 / 0.78 ≈ 128.2% */
                margin-left: -14.1%; /* (128.2% - 100%) / 2 ≈ 14.1% */
                margin-right: -14.1%;
            }
            
            .cardha {
                flex: 0 0 100%;
            }
            
            .section-titleha h6 {
                font-size: 1.3rem;
            }
            
            .modal-content {
                width: 95%;
            }
        }
        
        /* 调试信息 */
        .viewport-info {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 10px 15px;
            border-radius: 5px;
            font-size: 14px;
            z-index: 1000;
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	