﻿html, body {
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #353b38;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: system-ui, serif;
    padding: 60px 20px 20px 20px;
}

/* 新增垂直居中占位容器，实现：大屏居中、小屏自然向下流动触发滚动 */
.body-center-wrap {
    flex: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.card-container {
    background: #f1f3f2;
    width: clamp(min(92vw, 1200px), 80vw, 1820px);
    /* 重点：移除 max-height:88vh！限制高度导致矮窗口被截断 */
    height: auto;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.card-inner-wrap {
    padding: clamp(24px, 3vh, 50px) clamp(30px, 3.2vw, 60px) clamp(40px,4vh,60px) clamp(40px, 4vw, 80px);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: clamp(20px, 2.5vh, 40px);
}

.logo {
    margin-bottom: 42px;
}

    .logo img {
        height: 36px;
        width: auto;
        display: block;
        object-fit: contain;
    }

        .logo img::after {
            content: "Stzz.";
            font-size: 34px;
            font-style: italic;
            font-weight: 300;
            color: #111;
        }

.nav {
    display: flex;
    gap: clamp(18px, 2.2vw, 30px);
    font-size: 14px;
    color: #7a7a7a;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-item {
    cursor: pointer;
    transition: color 0.3s;
}

    .nav-item.active {
        color: #111;
    }

    .nav-item:hover {
        color: #000;
    }

/* 标题 */
.section-title {
    font-size: clamp(12px, 1.5vh, 14px);
    letter-spacing: 2px;
    color: #4a4a4a;
    text-transform: uppercase;
    margin-bottom: clamp(16px, 2vh, 30px);
}

/* 滑动容器 */
.carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: clamp(24px, 3vw, 40px);
    width: max-content;
    cursor: grab;
    will-change: transform;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

    .carousel-track:active {
        cursor: grabbing;
    }

/* 图片卡片 */
.photo-item {
    flex: 0 0 auto;
    width: clamp(280px, 22vw, 400px);
    max-height: 68vh;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.img-wrap {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    background: #ddd;
}

    .img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.5s ease;
    }

.photo-item:hover .img-wrap img {
    transform: scale(1.03);
}

/* 进度条区域 */
.slide-footer {
    margin-top: clamp(20px, 2vw, 30px);
}

.progress-placeholder {
    width: 120px;
}

.progress-container {
    width: 120px;
    height: 2px;
    background: rgba(0,0,0,0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: #111;
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* iframe样式 */
.main-iframe {
    width: 100%;
    min-height: 360px;
    border: none;
}

/* ==========底部固定区域（全局共用，不切换）========== */
.fixed-bottom-block {
    margin-top: clamp(40px,5vh,70px);
}

.split-line {
    width: 100%;
    height: 1px;
    background: #aaa;
    margin-bottom: 16px;
}

.fixed-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.more-text {
    font-size: 18px;
    text-transform: uppercase;
    color: #111;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.25s ease;
}

    .more-text:hover {
        opacity: 0.65;
    }

.contact-info {
    text-align: right;
    line-height: 1.7;
    font-size: 15px;
    color: #444;
}
    /* 右对齐情况下flex行处理 */
    .contact-info div {
        display: flex;
        align-items: center;
        gap: 8px;
        justify-content: flex-end;
    }

    .contact-info i,
    .contact-info svg {
        font-size: 14px;
        flex-shrink: 0;
    }

/* 版权 */
.global-copyright {
    width: 100%;
    text-align: center;
    padding: 16px 0;
    margin-top: 16px;
    font-size: 12px;
    color: #aaaaaa;
}

/* ==========移动端 768px以下 切换手机布局========== */
@media (max-width: 768px) {
    body {
        background-color: #f1f3f2;
        padding: 20px;
        align-items: flex-start;
    }

    .body-center-wrap {
        padding: 0;
        align-items: flex-start;
    }

    .card-container {
        border-radius: 0;
        box-shadow: none;
        width: 100%;
    }

    .card-inner-wrap {
        padding: 30px 24px 40px 24px;
    }

    .header {
        flex-direction: column;
        gap: 20px;
    }

    .nav {
        gap: 15px;
        font-size: 12px;
    }

    .photo-item {
        width: 280px;
    }

    .carousel-track {
        gap: 20px;
    }

    .fixed-bottom-inner {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .contact-info {
        text-align: left;
    }

        .contact-info div {
            justify-content: flex-start;
        }
}
.link-text {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .link-text:hover {
        color: #111;
        text-decoration: underline;
    }
.more-text {
    font-size: 18px;
    text-transform: uppercase;
    color: #111;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.25s ease;
    /* 清除链接默认样式 */
    text-decoration: none;
}

    .more-text:hover {
        opacity: 0.65;
    }