/**
 * 沁园汝瓷 - 匠心工艺页面样式 (craftsmanship.html)
 * 基于蓝湖设计稿 Design Tokens 精确实现
 * 设计稿: 04- (960px × 1926px, 2x mobile)
 */

/* ==================== 页面特定header样式 ==================== */
body.craftsmanship-page .header {
    background-color: #ffffff;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* ==================== 页面横幅 ==================== */
.craft-banner {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    margin-top: 0;
}

.craft-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.craft-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.craft-banner-content {
    position: relative;
    z-index: 1;
    text-align: left;
    padding-top: 150px;
    margin: 0 auto;
    /* max-width: 1200px;
    padding-left: 60px; */
}

.craft-banner-content h1 {
    font-family: var(--font-family-serif);
    font-size: 70px;
    font-weight: var(--font-weight-semibold);
    color: #FFFDF9;
    margin-bottom: 25px;
    letter-spacing: 6px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.craft-banner-content .banner-seal {
    width: auto;
    height: 64px;
}

.craft-banner-content p {
    font-size: 22px;
    color: #FFFDF9;
    line-height: 1.8;
    max-width: 1000px;
}

/* ==================== 杨云超大师简介 ==================== */
.master-section {
    padding: 100px 0;
}

.master-content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    /* max-width: 1200px; */
    margin: 0 auto;
}

.master-image {
    flex: 0 0 645px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.master-image img {
    width: 645px;
    height: 575px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.master-image:hover img {
    transform: scale(1.03);
}

.master-text {
    flex: 1;
}

.master-text h2 {
    font-family: var(--font-family-serif);
    font-size: 48px;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 15px;
    text-align: left;
}

.master-divider {
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    margin-bottom: 25px;
}

.master-text p {
    font-size: 20px;
    color: #5D5F60;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* ==================== 工艺荟萃 ==================== */
.process-section {
    padding: 80px 0;
}

.process-header {
    text-align: center;
    margin-bottom: 50px;
}

.process-header h2 {
    font-family: var(--font-family-serif);
    font-size: 40px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 0;
}

.process-title-divider {
    width: 60px;
    height: 2px;
    background-color: var(--color-primary);
    margin: 16px auto;
}

.process-header p {
    font-size: 22px;
    color: #5D5F60;
    line-height: 1.6;
    margin-top: 13px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 100px 40px;
    /* max-width: 1800px; */
    margin: 0 auto;
}

.process-item {
    text-align: center;
    /* padding: 100px 40px; */
}

.process-image {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
    background-color: #f5f5f5;
}

.process-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

.process-item h3 {
    font-family: var(--font-family-serif);
    font-size: 24px;
    font-weight: var(--font-weight-medium);
    color: var(--color-primary);
    text-align: center;
    margin-top: 16px;
    margin-bottom: 0;
    line-height: 1;
}

.process-item p {
    font-family: var(--font-family-sans);
    font-size: 22px;
    color: rgba(93, 95, 96, 1);
    text-align: center;
    margin-top: 13px;
    line-height: 1;
}

/* ==================== 品质筛选 ==================== */
.quality-section {
    padding: 80px 0;
}

.quality-header {
    text-align: center;
    margin-bottom: 50px;
}

.quality-header h2 {
    font-family: var(--font-family-serif);
    font-size: 40px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 0;
}

.quality-title-divider {
    width: 60px;
    height: 2px;
    background-color: var(--color-primary);
    margin: 16px auto;
}

.quality-header p {
    font-size: 22px;
    color: #5D5F60;
    line-height: 1.6;
    margin-top: 13px;
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 440px);
    gap: 30px;
    max-width: 1800px;
    margin: 0 auto;
    justify-content: center;
}

.quality-item {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    width: 440px;
    height: 220px;
    padding: 20px;
    background-color: #F1F3F2;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
}

.quality-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.quality-icon {
    flex: 0 0 160px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f0f4f2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quality-icon img {
    width: 160px;
    height: 160px;
    object-fit: contain;
}

.quality-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
}

.quality-item h3 {
    font-family: var(--font-family-serif);
    font-size: 30px;
    font-weight: var(--font-weight-medium);
    color: #000000;
    margin-bottom: 0;
    line-height: 1;
}

.quality-item p {
    font-family: var(--font-family-sans);
    font-size: 18px;
    color: #000000;
    margin-top: 13px;
    line-height: 25px;
}

/* ==================== 响应式设计 ==================== */

/* 平板设备 (992px以下) */
@media (max-width: 992px) {
    .craft-banner {
        height: 500px;
    }

    .craft-banner-content {
        padding-top: 120px;
    }

    .craft-banner-content h1 {
        font-size: 42px;
    }

    .craft-banner-content p {
        font-size: 16px;
    }

    .master-content {
        flex-direction: column;
        gap: 30px;
    }

    .master-image {
        flex: 0 0 auto;
        max-width: 400px;
        margin: 0 auto;
    }

    .master-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .master-text h2 {
        font-size: 26px;
    }

    .master-text p {
        font-size: 16px;
    }

    .process-header h2,
    .quality-header h2 {
        font-size: 30px;
    }

    .process-header p,
    .quality-header p {
        font-size: 18px;
    }

    .process-item {
        padding: 40px 20px;
    }

    .process-image,
    .process-image img {
        width: 150px;
        height: 150px;
    }

    .process-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .quality-grid {
        grid-template-columns: repeat(auto-fit, 380px);
        gap: 20px;
    }

    .quality-item {
        width: 380px;
        height: 200px;
        padding: 15px;
    }

    .quality-icon,
    .quality-icon img {
        width: 130px;
        height: 130px;
    }

    .quality-item h3 {
        font-size: 24px;
    }

    .quality-item p {
        font-size: 15px;
    }

}

/* 手机设备 (768px以下) */
@media (max-width: 768px) {
    .craft-banner {
        height: 400px;
    }

    .craft-banner-content {
        padding-top: 100px;
        text-align: center;
    }

    .craft-banner-content h1 {
        font-size: 32px;
    }

    .craft-banner-content p {
        font-size: 14px;
        padding: 0 20px;
        margin: 0 auto;
    }

    .master-section .container,
    .process-section .container,
    .quality-section .container {
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
    }

    .master-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .master-section,
    .process-section,
    .quality-section {
        padding: 50px 0;
    }

    .master-text h2 {
        font-size: 22px;
    }

    .master-text p {
        font-size: 14px;
    }

    .process-header h2,
    .quality-header h2 {
        font-size: 26px;
    }

    .process-header p,
    .quality-header p {
        font-size: 16px;
    }

    .process-item {
        padding: 30px 15px;
    }

    .process-image,
    .process-image img {
        width: 120px;
        height: 120px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .process-item h3 {
        font-size: 13px;
        margin-top: 12px;
    }

    .process-item p {
        font-size: 10px;
        margin-top: 10px;
    }

    .quality-grid {
        grid-template-columns: repeat(auto-fit, 320px);
        gap: 15px;
    }

    .quality-item {
        width: 320px;
        height: 180px;
        padding: 15px;
    }

    .quality-icon,
    .quality-icon img {
        width: 100px;
        height: 100px;
    }

    .quality-item h3 {
        font-size: 20px;
    }

    .quality-item p {
        font-size: 13px;
    }
}

/* 小屏手机 (480px以下) */
@media (max-width: 480px) {
    .craft-banner {
        height: 350px;
    }

    .craft-banner-content h1 {
        font-size: 26px;
    }

    .craft-banner-content .banner-seal {
        height: 50px;
    }

    .master-section .container,
    .process-section .container,
    .quality-section .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .master-text h2 {
        font-size: 20px;
    }

    .process-header h2,
    .quality-header h2 {
        font-size: 22px;
    }

    .process-item {
        padding: 20px 10px;
    }

    .process-image,
    .process-image img {
        width: 100px;
        height: 100px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

}

@media (max-width: 375px) {
    .craft-banner {
        height: 300px;
    }

    .craft-banner-content {
        padding-top: 60px;
    }

    .craft-banner-content h1 {
        font-size: 22px;
        letter-spacing: 3px;
    }

    .craft-banner-content p {
        font-size: 12px;
        padding: 0 12px;
    }

    .master-section .container,
    .process-section .container,
    .quality-section .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .master-text h2 {
        font-size: 18px;
    }

    .master-text p {
        font-size: 13px;
    }

    .process-header h2,
    .quality-header h2 {
        font-size: 20px;
    }

    .process-header p,
    .quality-header p {
        font-size: 14px;
    }

    .process-image,
    .process-image img {
        width: 90px;
        height: 90px;
    }

    .process-item h3 {
        font-size: 12px;
    }

    .quality-item {
        width: 100%;
        height: auto;
        padding: 12px;
        box-sizing: border-box;
    }

    .quality-icon,
    .quality-icon img {
        width: 80px;
        height: 80px;
    }

    .quality-item h3 {
        font-size: 17px;
    }

    .quality-item p {
        font-size: 12px;
    }
}

@media (max-width: 320px) {
    .craft-banner {
        height: 280px;
    }

    .craft-banner-content {
        padding-top: 50px;
    }

    .craft-banner-content h1 {
        font-size: 20px;
        letter-spacing: 2px;
        margin-bottom: 10px;
    }

    .craft-banner-content p {
        font-size: 11px;
        padding: 0 10px;
    }

    .master-section .container,
    .process-section .container,
    .quality-section .container {
        padding-left: 8px;
        padding-right: 8px;
    }

    .master-text h2 {
        font-size: 16px;
    }

    .master-text p {
        font-size: 12px;
    }

    .process-header h2,
    .quality-header h2 {
        font-size: 18px;
    }

    .process-header p,
    .quality-header p {
        font-size: 12px;
    }

    .process-image,
    .process-image img {
        width: 80px;
        height: 80px;
    }

    .process-item h3 {
        font-size: 11px;
    }

    .quality-item {
        width: 100%;
        height: auto;
        padding: 10px;
        box-sizing: border-box;
    }

    .quality-icon,
    .quality-icon img {
        width: 70px;
        height: 70px;
    }

    .quality-item h3 {
        font-size: 15px;
    }

    .quality-item p {
        font-size: 11px;
    }
}