/* ============================================================
   单页/品牌模块样式 (page_detail.css)
   ============================================================ */

/* 面包屑导航 */
.breadcrumb-nav {
    background: transparent;
    border-bottom: none;
    padding: 15px 0;
}

.breadcrumb {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
    line-height: 1;
}

.breadcrumb-item {
    font-size: 14px;
    color: #999;
    line-height: 1;
}

.breadcrumb-item a {
    color: #666;
    line-height: 1;
}

.breadcrumb-item a:hover {
    color: #c8a97e;
}

.breadcrumb-item.active {
    color: #333;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "/";
    margin: 0 6px;
    color: #ccc;
    line-height: 1;
}

/* 页面头部 */
.page-header {
    position: relative;
    height: 300px;
    text-align: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 70px;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #555;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-desc {
    font-size: 16px;
    opacity: .85;
}

/* 品牌页面通用样式 */
.brand-section {
    padding: 50px 0;
}

.brand-section:nth-child(even) {
    background-color: #fff;
}

.section-subtitle {
    font-size: 14px;
    color: #c8a97e;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-align: center;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
    color: #333;
}

.section-description {
    font-size: 15px;
    color: #666;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* 品牌介绍 */
.brand-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.brand-intro-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 25px;
    line-height: 1.4;
    color: #333;
}

.brand-intro-text {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 15px;
}

.brand-intro-text p {
    margin-bottom: 15px;
}

.brand-intro-text img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 15px 0;
}

.brand-banner {
    margin-top: 40px;
    text-align: center;
}

.brand-banner-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 品牌引言 */
.brand-quote {
    text-align: center;
    font-size: 20px;
    font-style: italic;
    color: #c8a97e;
    line-height: 1.8;
    margin: 50px auto 0;
    max-width: 900px;
    position: relative;
    padding: 0 40px;
}

.brand-quote::before {
    content: '"';
    font-size: 60px;
    color: rgba(200, 169, 126, 0.2);
    position: absolute;
    top: -20px;
    right: 0;
    font-family: Georgia, serif;
}

/* 发展历程 */
#history .section-subtitle,
#history .section-title,
#history .section-description {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
}

/* 时间轴 */
.timeline-container {
    position: relative;
    margin: 50px 0 10px 0;
    overflow: hidden;
}

.timeline-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 60px 0;
    scrollbar-width: none;
}

.timeline-scroll::-webkit-scrollbar {
    display: none;
}

.timeline-track {
    position: relative;
    display: flex;
    min-width: 100%;
    padding: 0 50px;
}

.timeline-progress {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0,0,0,0.1);
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #c8a97e;
}

.timeline-item {
    position: relative;
    scroll-snap-align: center;
    flex: 0 0 260px;
    margin: 0 20px;
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    z-index: 2;
    cursor: pointer;
}

.timeline-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.timeline-year {
    font-size: 1.8rem;
    font-weight: 700;
    color: #c8a97e;
    margin-bottom: 15px;
    text-align: center;
}

.timeline-content {
    text-align: center;
    color: #666;
    line-height: 1.6;
}

.timeline-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.timeline-content p {
    font-size: 14px;
    color: #666;
}

.timeline-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 3;
    pointer-events: none;
}

.timeline-nav-btn {
    width: 40px;
    height: 80px;
    border-radius: 8px;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    color: #c8a97e;
    border: 1px solid rgba(0,0,0,0.05);
}

.timeline-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: rgba(255,255,255,0.95);
}

.timeline-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* 时间轴详情模态框 */
.timeline-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.timeline-detail-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    max-width: 650px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: scale(0.95);
    transition: all 0.3s ease;
}

.timeline-detail-modal.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #999;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal:hover {
    color: #c8a97e;
    background-color: rgba(0,0,0,0.03);
}

.modal-year {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #c8a97e;
    font-weight: 600;
    text-align: center;
}

.modal-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
    position: relative;
    padding-bottom: 12px;
}

.modal-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: #c8a97e;
}

.modal-text {
    line-height: 1.7;
    color: #666;
    font-size: 1rem;
    margin-bottom: 25px;
}

/* 品牌理念 */
#values .section-subtitle,
#values .section-title,
#values .section-description {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    text-align: center;
    padding: 40px 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.value-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(0,0,0,0.1);
}

.value-icon {
    font-size: 3rem;
    color: #c8a97e;
    margin-bottom: 20px;
}

.value-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.value-text {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 创始人 */
.founder-section {
    display: flex;
    margin-bottom: 40px;
    gap: 40px;
    align-items: center;
}

.founder-image {
    flex: 1;
}

.founder-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.founder-content {
    flex: 1;
}

.founder-title {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.founder-subtitle {
    font-size: 16px;
    color: #c8a97e;
    margin-bottom: 20px;
}

.founder-text {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.founder-text p {
    margin-bottom: 15px;
}

/* 匠心工艺 */
#craftsmanship .section-subtitle,
#craftsmanship .section-title,
#craftsmanship .section-description {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
}

.craft-content {
    margin-top: 40px;
    margin-bottom: 50px;
}

.craft-item {
    margin-bottom: 30px;
}

.craft-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.craft-text {
    color: #666;
    line-height: 1.8;
    margin-bottom: 10px;
}

.craft-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.craft-gallery-item {
    position: relative;
    overflow: hidden;
}

.craft-gallery-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.craft-gallery-item:hover .craft-gallery-img {
    transform: scale(1.05);
}

.craft-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    font-size: 14px;
    text-align: center;
}

.craft-gallery-item:hover .craft-gallery-caption {
    transform: translateY(0);
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #999;
}

.empty-state p {
    font-size: 16px;
    margin-top: 10px;
}

/* 响应式 */
@media (max-width: 992px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .founder-section {
        flex-direction: column;
        gap: 30px;
    }

    .craft-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .craft-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 24px;
    }

    .page-header {
        height: 200px;
        padding-top: 60px;
    }

    .section-title {
        font-size: 22px;
    }

    .brand-intro-title {
        font-size: 22px;
    }

    .brand-section {
        padding: 30px 0;
    }

    .timeline-item {
        flex: 0 0 80%;
        margin: 0 15px;
    }

    .timeline-nav {
        display: none;
    }

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

    .value-item {
        padding: 20px 15px;
    }

    .value-icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .value-title {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .value-text {
        font-size: 13px;
        line-height: 1.5;
    }

    .modal-content {
        padding: 25px 20px;
    }

    .modal-year {
        font-size: 1.5rem;
    }

    .modal-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}
