/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Microsoft Yahei", serif;
    background: #ffffff;
    color: #333;
    line-height: 1.7;
}

/* 视频头部区域 */
.parfait-wrap {
    display: flex;
    align-items: stretch;
    width: 100%;
    position: relative;
    margin-top: 90px;
    gap: 60px;
}
.video-box {
    flex: 0 0 85%;
    position: relative;
    overflow: hidden;
}
.banner-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1;
    visibility: visible;
}
.play-btn.hide-state {
    opacity: 0;
    visibility: hidden;
}
.play-btn::after {
    content: "";
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid #fff;
    margin-left: 4px;
    transition: all 0.2s ease;
}
.play-btn.pause-state::after {
    border: none;
    width: 14px;
    height: 16px;
    background: linear-gradient(to right, #fff 4px, transparent 4px, transparent 10px, #fff 10px);
}
.vertical-title {
    width: 150px; 
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 92px;
    font-weight: 400;
    letter-spacing: 8px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: #000000;
    font-family: "Abril Fatface", serif;
}
.footer-desc {
    padding: 40px 40px;
    color: #777777;
    font-size: 14px;
    line-height: 2;
}
.desc-line {
    margin-bottom: 10px;
}

/* 品牌介绍模块 */
.brand-intro {
    width: 100%;
    padding: 60px 40px;
    background-color: #fafafa;
}
.intro-inner {
    display: flex;
    gap: 50px;
    align-items: stretch;
}
.intro-text {
    flex: 1;
    color: #777777;
    font-size: 15px;
    line-height: 2;
}
.intro-text p {
    margin-bottom: 18px;
}
.intro-text p:last-child {
    margin-bottom: 0;
}
.intro-img-box {
    flex: 1;
    position: relative;
    overflow: hidden;
}
.intro-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.intro-img-box::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.35);
    z-index: 1;
}
.img-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 90px;
    font-weight: bold;
    color: #ffffff;
    white-space: nowrap;
    z-index: 2;
}
@media screen and (max-width: 1200px) {
    .intro-inner {
        flex-direction: column;
    }
    .intro-img-box {
        width: 100%;
        height: 500px;
    }
    .img-title {
        font-size: 60px;
    }
}
@media screen and (max-width: 768px) {
    .brand-intro {
        padding: 40px 20px;
    }
    .img-title {
        font-size: 42px;
    }
    .intro-img-box {
        height: 380px;
    }
}

/* 设计师模块 */
.designer-intro {
    width: 100%;
    padding: 60px 0;
}
.designer-inner,
.designer-title-box {
    width: 95%;
    max-width: 1500px;
    margin: 0 auto;
}
.designer-title-box {
    width: 100%;
    text-align: center;
    margin: 0 auto 60px auto;
    border: none;
    padding: 0;
}
.en-title {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    margin-bottom: 6px;
    color: #222;
}
.en-title::after {
    content: "";
    width: 140px;
    height: 1px;
    background: #333;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -3px;
}
.cn-title {
    font-size: 20px;
    color: #666;
    margin-top: 3px;
}
.designer-row {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    margin-bottom: 60px;
}
.designer-row:last-child {
    margin-bottom: 0;
}
.designer-img-box {
    flex: 0 0 50%;
}
.designer-img {
    width: 100%;
    height: auto;
    display: block;
}
.designer-text {
    flex: 1;
    color: #777777;
    font-size: 15px;
    line-height: 2;
}
.designer-text p {
    margin-bottom: 16px;
}
.designer-text p:last-child {
    margin-bottom: 0;
}
@media screen and (max-width: 1200px) {
    .designer-row {
        flex-direction: column;
        gap: 30px;
    }
    .designer-img-box {
        flex: none;
        width: 100%;
    }
}
@media screen and (max-width: 768px) {
    .designer-intro {
        padding: 40px 0;
    }
    .designer-row {
        margin-bottom: 40px;
    }
    .en-title {
        font-size: 22px;
    }
    .cn-title {
        font-size: 18px;
    }
    .en-title::after {
        width: 120px;
    }
}

/* 家具展示模块 */
/* 家具展示模块 统一左右边距和品牌/设计师模块对齐（40px） */
.parfait-container {
    max-width: 1580px;
    margin: 0 auto 60px;
    padding: 0 40px;
}
/* 一行4列布局 */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.gallery-item {
    width: 100%;
    overflow: hidden;
    background: #fff;
    transition: transform 0.3s ease;
}
/* 鼠标悬浮轻微放大 */
.gallery-item:hover {
    transform: scale(1.04);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 分页整体居中布局 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;  
    font-size: 15px;
    margin-top: 10px;
}
/* 上一页、下一页文字按钮 */
.pagination .page-btn {
    border: none;
    background: transparent;
    color: #333;
    cursor: pointer;
    font-size: 15px;
    padding: 4px 8px;
    transition: color 0.2s;
}
/* 可点击时悬浮变红 */
.pagination .page-btn:not(:disabled):hover {
    color: #9B182F;
}
/* 禁用状态 */
.pagination .page-btn:disabled {
    cursor: not-allowed;
    color: #ccc;
}

/* 数字页码方块样式 */
.pagination .page-num {
    width: 40px;   
    height: 36px;  
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 4px; /* 圆角同步缩小一点，更协调 */
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;    /* 内部数字字号适配缩小 */
}
/* 当前激活页码：红底白字无边框 */
.pagination .page-num.active {
    background-color: #9B182F;
    color: #fff;
    border-color: #9B182F;
}
/* 页码hover效果 */
.pagination .page-num:not(.active):hover {
    border-color: #9B182F;
    color: #9B182F;
}
/* 总页数字体 */
.pagination .total-text {
    color: #666;
    margin-left: 8px;
    letter-spacing: 4px; /* 字间距，数值越大字越松散 */
}

/* 移动端适配 */
@media screen and (max-width: 1200px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .parfait-container {
        padding: 0 20px;
    }
    .pagination .page-num {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
}
@media screen and (max-width: 768px) {
    .gallery {
        grid-template-columns: 1fr;
    }
    .parfait-container {
        padding: 0 20px;
    }
    .pagination {
        gap: 8px;
        font-size: 16px;
    }
    .pagination .page-num {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}