/* =========================================
   首页专属样式 (Home Page Specific)
   ★ 注意：视频首屏 (Hero) 已经移到 common.css
   ========================================= */

/* 1. 介绍与服务模块 (About & Services) */
.about-section { padding: 120px 0; display: flex; justify-content: center; }
.about-container { display: flex; justify-content: space-between; gap: 50px; width: 100%; }
.about-left { flex: 1; max-width: 600px; }
.section-title { font-size: 36px; font-weight: 300; margin-bottom: 50px; text-transform: uppercase; letter-spacing: 1px; }
.section-desc { font-size: 16px; line-height: 1.8; color: var(--color-text-desc); font-weight: 300; }
.about-right { flex: 0 0 250px; display: flex; flex-direction: column; }
.services-title { font-size: 24px; font-weight: 300; margin-bottom: 30px; text-transform: uppercase; letter-spacing: 1px; }
.services-list { list-style: none; }
.services-list li { margin-bottom: 15px; }
.services-list a {
    text-decoration: none; color: var(--color-text-light); font-size: 16px;
    text-transform: uppercase; font-weight: 300; letter-spacing: 1px; transition: color 0.3s ease;
}
.services-list a:hover { color: var(--color-text-main); }

/* 2. 图片瀑布流 (Masonry) */
.gallery-section { padding: 0 40px 100px 40px; }
.masonry-gallery { column-count: 3; column-gap: 15px; max-width: 1600px; margin: 0 auto; }
.gallery-item { break-inside: avoid; margin-bottom: 15px; background-color: #f0f0f0; overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; height: auto; display: block; transition: transform 0.3s ease; }
.gallery-item:hover img { transform: scale(1.02); }

/* 3. Lightbox 灯箱样式 */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.lightbox-overlay.active { display: flex; opacity: 1; }
.lightbox-img { max-width: 90%; max-height: 90vh; object-fit: contain; box-shadow: 0 0 20px rgba(255,255,255,0.2); }
.lightbox-close { position: absolute; top: 20px; right: 40px; color: #fff; font-size: 40px; cursor: pointer; font-weight: 300; z-index: 10000; }
.lightbox-close:hover { color: #ccc; }
.lightbox-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.2); color: #fff; border: none;
    font-size: 24px; padding: 15px 20px; cursor: pointer; z-index: 10000;
    transition: background 0.3s; border-radius: 4px;
}
.lightbox-btn:hover { background: rgba(255,255,255,0.4); }
.lightbox-btn.prev { left: 20px; }
.lightbox-btn.next { right: 20px; }

/* 4. 首页专属响应式 */
@media (max-width: 1024px) { .masonry-gallery { column-count: 2; } }

@media (max-width: 768px) {
    .about-section { padding: 60px 0; }
    .about-container { flex-direction: column; gap: 60px; }
    .section-title { font-size: 28px; margin-bottom: 30px; }
    .section-desc { font-size: 14px; }
    .services-title { font-size: 20px; margin-bottom: 20px; }
    .services-list a { font-size: 14px; }
    .gallery-section { padding: 0 15px 50px 15px; }
    .masonry-gallery { column-count: 1; column-gap: 10px; }
    .gallery-item { margin-bottom: 10px; }
    .lightbox-btn { font-size: 18px; padding: 10px 14px; }
    .lightbox-close { font-size: 30px; right: 20px; top: 10px; }
}