/* ========================================
   内页通用样式
======================================== */

.page-header {
    background: var(--bg-gradient);
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--bg-light);
    clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
}

.page-header h1 {
    font-size: 48px;
    color: var(--text-white);
    margin-bottom: 20px;
    font-weight: 700;
}

.page-header p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    padding: 100px 0;
}

/* Service Detail Page */
.service-detail {
    padding: 100px 0;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
}

.service-detail-card {
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.service-detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.service-detail-image {
    height: 250px;
    background: linear-gradient(135deg, var(--primary-gray), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: var(--accent-gold);
}

.service-detail-content {
    padding: 40px;
}

.service-detail-content h3 {
    font-size: 24px;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.service-detail-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 10px 0;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li::before {
    content: '✓';
    color: var(--accent-gold);
    font-weight: bold;
}

/* Case Studies Page */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.case-card {
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.case-image {
    height: 280px;
    background: linear-gradient(135deg, var(--primary-gray), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: var(--accent-gold);
}

.case-content {
    padding: 35px;
}

.case-category {
    font-size: 13px;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.case-content h3 {
    font-size: 22px;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.case-content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.case-link {
    color: var(--accent-gold);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.case-link:hover {
    gap: 15px;
}

/* About Page Extended */
.about-page {
    padding: 100px 0;
}

.team-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.team-card {
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition-smooth);
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-image {
    height: 300px;
    background: linear-gradient(135deg, var(--primary-gray), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: var(--accent-gold);
}

.team-info {
    padding: 30px;
}

.team-info h3 {
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.team-info p {
    font-size: 14px;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-social a {
    width: 35px;
    height: 35px;
    border: 1px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.team-social a:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

/* Contact Page */
.contact-page {
    padding: 100px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-form {
    background: white;
    padding: 50px;
    border-radius: 5px;
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--primary-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.contact-info-box {
    background: var(--bg-gradient);
    padding: 50px;
    border-radius: 5px;
    color: var(--text-light);
}

.contact-info-box h3 {
    font-size: 28px;
    color: var(--text-white);
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h4 {
    font-size: 16px;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.contact-item p {
    color: var(--text-muted);
    line-height: 1.7;
}

.map-container {
    margin-top: 30px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-gray), var(--primary-dark));
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 48px;
}

/* News List Page */
.news-page {
    padding: 100px 0;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.news-list-item {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.news-list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.news-list-image {
    height: 250px;
    background: linear-gradient(135deg, var(--primary-gray), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: var(--accent-gold);
}

.news-list-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-list-content h3 {
    font-size: 24px;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.news-list-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* News Detail Page */
.news-detail {
    padding: 100px 0;
}

.news-detail-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 5px;
    box-shadow: var(--shadow-soft);
}

.news-detail-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.news-detail-header h1 {
    font-size: 36px;
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.news-meta {
    display: flex;
    gap: 30px;
    color: var(--text-muted);
    font-size: 14px;
}

.news-body {
    color: var(--primary-dark);
    line-height: 1.9;
    font-size: 17px;
}

.news-body p {
    margin-bottom: 25px;
}

.news-body img {
    max-width: 100%;
    margin: 30px 0;
    border-radius: 5px;
}

.related-news {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.related-news h3 {
    font-size: 24px;
    color: var(--primary-dark);
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .news-list-item {
        grid-template-columns: 1fr;
    }

    .news-list-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 36px;
    }

    .service-detail-grid,
    .cases-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .news-detail-content {
        padding: 30px;
    }

    .news-detail-header h1 {
        font-size: 28px;
    }

    .news-meta {
        flex-direction: column;
        gap: 10px;
    }
}
