/* 
 * 虾导的艺术 - 移动端版本
 * 竖向滚动 + 瀑布流布局
 */

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
    overflow-x: hidden;
}

/* 移动端：隐藏 PC 端专属区块 */
.hero-section,
.gallery-section {
    display: none !important;
}

/* 移动端：PC端横向滚动内容块隐藏（虽然display:none会跟随外层，但保险起见）*/
.content-block,
.content-sections,
.about-pc,
.cases-block {
    display: none !important;
}

/* 导航 */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 移动端网站名字 */
.nav-brand {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 3px;
    color: #000;
}

.nav {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: #000;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
    transition: opacity 0.3s;
}

.nav-link:hover,
.nav-link.active {
    opacity: 0.5;
}

/* 移动端图片网格（瀑布流布局）*/
.mobile-gallery-section {
    padding-top: 70px;
}

.image-grid {
    column-count: 2;
    column-gap: 2px;
    padding: 2px;
}

.grid-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    break-inside: avoid;
    margin-bottom: 2px;
    width: 100%;  /* BugFix-V6-014 (2026-06-11 04:40): 方图铺满列宽 */
}

.grid-item img {
    width: 100%;
    height: auto;
    object-fit: cover;  /* BugFix-V6-008 (2026-06-11 03:38): 所有图片铺满宽度 */
    display: block;
    transition: transform 0.5s;
}

/* BugFix-V6-011 (2026-06-11 03:58): 移动端视频样式 */
.grid-item video,
.mobile-gallery-video {
    width: 100% !important;
    height: auto !important;
    max-width: 100vw !important;  /* BugFix-V6-015: 强制不超出屏幕 */
    object-fit: cover;
    display: block;
}

/* BugFix-V6-007 (2026-06-11 03:35): 视频加载动画（移动端）*/
.video-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.video-loader .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.video-loader span {
    font-size: 14px;
    color: #666;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.grid-item:hover img {
    transform: scale(1.02);
}

/* 联系方式 - 移动端独立展示 */
.contact-section {
    position: relative;
    width: 100%;
    min-height: auto;
    background: #fafafa;
    text-align: center;
    padding: 80px 20px;
    z-index: 1;
    display: block;
}

.contact-section.active {
    display: block;
}

.contact-content {
    text-align: center;
}

.contact-content h2 {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.contact-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.contact-intro {
    margin-bottom: 30px;
}

.email-button {
    display: inline-block;
    padding: 14px 30px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: background 0.3s;
}

.email-button:hover {
    background: #333;
}

/* 图片加载动画 */
.grid-item {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* 大图遮罩层 */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 300;
    cursor: pointer;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-overlay button {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    color: #000;
    background: none;
    border: none;
    cursor: pointer;
}

/* 单列布局（小屏手机）- 修正：与基础的 column-count 一致 */
@media (max-width: 480px) {
    .image-grid {
        column-count: 1;
        column-gap: 0;
    }

    .grid-item {
        margin-bottom: 4px;
    }
}

/* ==================== 新增区块样式（移动端）==================== */

/* 首屏标语 */
.hero-tagline {
    font-size: 12px;
    letter-spacing: 2px;
    color: #999;
    margin-top: 20px;
    padding: 0 20px;
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
}

/* 关于我们 */
.about-section,
.capability-section,
.cases-section,
.results-section,
.process-section {
    padding: 80px 20px;
}

.section-number {
    font-size: 11px;
    letter-spacing: 3px;
    color: #999;
    margin-bottom: 20px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 200;
    letter-spacing: 6px;
    margin-bottom: 10px;
}

.section-title h3 {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 2px;
    color: #666;
    margin-bottom: 30px;
}

.section-subtitle {
    font-size: 13px;
    color: #999;
    letter-spacing: 1px;
}

.section-content p {
    font-size: 14px;
    line-height: 2;
    color: #333;
    letter-spacing: 0.5px;
}

/* 服务能力 */
.capability-section {
    background: #fafafa;
}

.capability-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.capability-item {
    padding: 30px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
}

.capability-number {
    font-size: 36px;
    font-weight: 100;
    color: #e0e0e0;
    margin-bottom: 15px;
}

.capability-item h4 {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.capability-item > p {
    font-size: 11px;
    color: #999;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.capability-item ul {
    list-style: none;
}

.capability-item ul li {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    padding-left: 15px;
    position: relative;
}

.capability-item ul li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: #999;
}

/* 客户案例 */
.cases-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.case-item {
    padding: 30px 20px;
    border-left: 2px solid #000;
}

.case-number {
    font-size: 11px;
    color: #999;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.case-item h4 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
}

.case-type {
    font-size: 11px;
    color: #999;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.case-result {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* 数据展示 */
.results-section {
    background: #000;
    color: #fff;
}

.results-section .section-title h2,
.results-section .section-title h3 {
    color: #fff;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.result-item {
    text-align: center;
}

.result-number {
    font-size: 48px;
    font-weight: 100;
    margin-bottom: 5px;
}

.result-label {
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.result-item p {
    font-size: 9px;
    color: #666;
    letter-spacing: 1px;
}

/* 合作流程 */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.process-item {
    text-align: center;
    padding: 30px 20px;
}

.process-number {
    font-size: 36px;
    font-weight: 100;
    color: #e0e0e0;
    margin-bottom: 15px;
}

.process-item h4 {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.process-item > p:first-of-type {
    font-size: 10px;
    color: #999;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.process-item > p:last-of-type {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* 联系方式 - 移动端样式增强（与上方 .contact-section 配合）*/
.contact-section {
    background: #fafafa;
    text-align: center;
}

.contact-content {
    max-width: 100%;
}

.contact-intro {
    font-size: 16px;
    color: #666;
    line-height: 2;
    margin-bottom: 30px;
}

.email-button {
    padding: 16px 40px;
    font-size: 12px;
    letter-spacing: 1px;
}

/* 页脚 */
.footer {
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.footer p {
    font-size: 11px;
    color: #999;
    letter-spacing: 0.5px;
    line-height: 1.6;
}
