/* ========================================
   内页通用样式
   ======================================== */

/* 页面头部 */
.page-header {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(43, 43, 43, 0.7) 0%, rgba(43, 43, 43, 0.5) 100%);
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #f5f0e8;
}

.page-header-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 5px;
}

.page-header-content p {
    font-size: 18px;
    opacity: 0.9;
    letter-spacing: 2px;
}

/* 关于页面 */
.about-intro-section {
    padding: 100px 0;
    background: #f5f0e8;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-intro-text h2 {
    font-size: 36px;
    font-weight: 600;
    color: #2b2b2b;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.about-intro-text .lead {
    font-size: 18px;
    color: #5c4d3c;
    line-height: 2;
    margin-bottom: 20px;
}

.about-intro-text p {
    font-size: 16px;
    color: #5c4d3c;
    line-height: 2;
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(201, 184, 150, 0.3);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #5c4d3c;
}

.about-intro-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(43, 43, 43, 0.15);
}

/* 企业文化 */
.culture-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f5f0e8 0%, #ebe5d8 100%);
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.culture-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(43, 43, 43, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(201, 184, 150, 0.2);
}

.culture-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(43, 43, 43, 0.15);
    border-color: #c9b896;
}

.culture-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #f5f0e8 0%, #e8e0d0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.culture-icon img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.culture-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2b2b2b;
    margin-bottom: 15px;
}

.culture-card p {
    font-size: 15px;
    color: #5c4d3c;
    line-height: 1.9;
}

/* 时间线 */
.timeline-section {
    padding: 100px 0;
    background: #f5f0e8;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #c9b896, #2b2b2b);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 50%;
    padding: 0 50px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-year {
    position: absolute;
    top: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2b2b2b 0%, #3d3d3d 100%);
    color: #f5f0e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-year {
    right: -40px;
}

.timeline-item:nth-child(even) .timeline-year {
    left: -40px;
}

.timeline-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(43, 43, 43, 0.1);
}

.timeline-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #2b2b2b;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 15px;
    color: #5c4d3c;
    line-height: 1.8;
}

/* 服务页面 */
.services-detail-section {
    padding: 100px 0;
    background: #f5f0e8;
}

.service-detail-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(43, 43, 43, 0.08);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-detail-content {
    padding: 50px;
}

.service-detail-content h3 {
    font-size: 28px;
    font-weight: 600;
    color: #2b2b2b;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.service-detail-content p {
    font-size: 16px;
    color: #5c4d3c;
    line-height: 2;
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
    margin-bottom: 30px;
}

.service-features li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #5c4d3c;
    font-size: 15px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #c9b896;
    font-weight: bold;
}

/* 产品页面 */
.products-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f5f0e8 0%, #ebe5d8 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(43, 43, 43, 0.08);
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(43, 43, 43, 0.15);
}

.product-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: all 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

.product-content {
    padding: 30px;
}

.product-title {
    font-size: 22px;
    font-weight: 600;
    color: #2b2b2b;
    margin-bottom: 12px;
}

.product-desc {
    font-size: 15px;
    color: #5c4d3c;
    line-height: 1.9;
    margin-bottom: 20px;
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 20px;
}

.product-price span {
    font-size: 14px;
    font-weight: 400;
    color: #8b7d6b;
}

/* 案例页面 */
.cases-section {
    padding: 100px 0;
    background: #f5f0e8;
}

.cases-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    background: #fff;
    border: 2px solid rgba(201, 184, 150, 0.3);
    border-radius: 30px;
    font-size: 15px;
    color: #5c4d3c;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #2b2b2b;
    border-color: #2b2b2b;
    color: #f5f0e8;
}

.cases-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}

.case-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.case-card:hover img {
    transform: scale(1.1);
}

.case-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(43, 43, 43, 0.95));
    color: #f5f0e8;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.case-card:hover .case-card-overlay {
    transform: translateY(0);
    opacity: 1;
}

.case-card-overlay h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.case-card-overlay p {
    font-size: 14px;
    opacity: 0.85;
}

/* 团队页面 */
.team-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f5f0e8 0%, #ebe5d8 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(43, 43, 43, 0.08);
    text-align: center;
    transition: all 0.4s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(43, 43, 43, 0.15);
}

.team-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.team-info {
    padding: 25px;
}

.team-name {
    font-size: 20px;
    font-weight: 600;
    color: #2b2b2b;
    margin-bottom: 8px;
}

.team-position {
    font-size: 14px;
    color: #c9b896;
    margin-bottom: 15px;
}

.team-desc {
    font-size: 14px;
    color: #5c4d3c;
    line-height: 1.8;
}

/* 联系页面 */
.contact-section {
    padding: 100px 0;
    background: #f5f0e8;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 28px;
    font-weight: 600;
    color: #2b2b2b;
    margin-bottom: 25px;
}

.contact-info p {
    font-size: 16px;
    color: #5c4d3c;
    line-height: 2;
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 16px;
    color: #5c4d3c;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f5f0e8 0%, #e8e0d0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-form {
    background: #fff;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(43, 43, 43, 0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #2b2b2b;
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(201, 184, 150, 0.3);
    border-radius: 8px;
    font-size: 15px;
    color: #2b2b2b;
    background: #f5f0e8;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #c9b896;
    background: #fff;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.map-section {
    padding: 0;
}

.map-container {
    width: 100%;
    height: 450px;
    background: #e8e0d0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5c4d3c;
    font-size: 18px;
}

/* 新闻列表页面 */
.news-list-section {
    padding: 100px 0;
    background: #f5f0e8;
}

.news-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* 新闻详情页面 */
.news-detail-section {
    padding: 100px 0;
    background: #f5f0e8;
}

.news-detail-content {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(43, 43, 43, 0.08);
}

.news-detail-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(201, 184, 150, 0.3);
}

.news-detail-title {
    font-size: 36px;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 20px;
    line-height: 1.4;
}

.news-detail-meta {
    display: flex;
    gap: 30px;
    font-size: 14px;
    color: #8b7d6b;
}

.news-detail-body {
    font-size: 16px;
    color: #5c4d3c;
    line-height: 2;
}

.news-detail-body p {
    margin-bottom: 20px;
}

.news-detail-body img {
    max-width: 100%;
    border-radius: 12px;
    margin: 30px 0;
}

.related-news {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(201, 184, 150, 0.3);
}

.related-news h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2b2b2b;
    margin-bottom: 30px;
}

/* 响应式 */
@media (max-width: 1200px) {
    .culture-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid,
    .cases-masonry,
    .news-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .page-header-content h1 {
        font-size: 42px;
    }
    
    .about-intro-grid,
    .service-detail-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 80px;
        padding-right: 0;
    }
    
    .timeline-year {
        left: -20px !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {
    .page-header {
        height: 400px;
    }
    
    .page-header-content h1 {
        font-size: 32px;
    }
    
    .culture-grid,
    .team-grid,
    .products-grid,
    .cases-masonry,
    .news-list-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail-content {
        padding: 30px;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .news-detail-content {
        padding: 30px;
    }
    
    .news-detail-title {
        font-size: 26px;
    }
    
    .news-detail-meta {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: 15px 0;
    }
}
