/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

body {
    background-color: #fff;
    overflow-x: hidden;
}

.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* 左侧区域 */
.content-section {
    flex: 3;
    padding: 10px 80px;
}

.header1 {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.blue-bar {
    width: 25px;
    height: 60px;
    background-color: #0056b3;
    margin-right: 20px;
}

.header1 h1 {
    font-size: 42px;
    color: #0056b3;
    font-weight: bold;
}

.description {
    margin: 0 auto;
    margin-bottom: 40px;
    max-width: 1200px;
}

.description h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}

.description p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

/* 产品网格 */
.product-grid {
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2列布局 */
    gap: 15px;
    max-width: 1200px;
}

.product-grid .img{
    width: 1200px;
}
.product-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #f4f4f4;
    aspect-ratio: 4 / 3; /* 保持图片比例统一 */
}

.product-item .img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-item:hover img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 86, 179, 0.7);
    color: white;
    padding: 10px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-item:hover .overlay {
    opacity: 1;
}

/* 右侧装饰图 */
.side-banner {
    flex: 1.2;
    background-image: url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?q=80&w=1000');
    background-size: cover;
    background-position: center;
    position: relative;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 80%;
    max-height: 80%;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-bold: bold;
    cursor: pointer;
}

/* 响应式适配 */
@media (max-width: 1024px) {
    .page-container { flex-direction: column; }
    .side-banner { display: none; }
    .content-section { padding: 40px 20px; }
}
@media (max-width: 768px) {
    .header1 {
        width: 100%;
    }
    .content-section { padding: 20px 16px; }
    .header1 h1 { font-size: 28px; }
    .product-grid{
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 100%;
    }
    .product-grid .img{
        max-width: 100%;
    }
}
