/* ========================================
   873k.com - 内页通用样式
   ======================================== */

/* Page Header */
.page-header {
    padding: 180px 0 80px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.page-header-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--pure-white);
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Content Section */
.content-section {
    padding: 100px 0;
}

.content-section.alt-bg {
    background: var(--off-white);
}

/* Service Cards - 非对称布局 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    background: var(--pure-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: var(--transition-smooth);
}

.service-card:nth-child(2) {
    transform: translateY(30px);
}

.service-card:nth-child(2):hover {
    transform: translateY(20px);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-medium);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--primary-green);
}

.service-content p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-green);
    font-weight: 600;
}

/* About Layout - 左右对撞 */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-block {
    position: relative;
}

.about-image-block img {
    border-radius: 20px;
    box-shadow: 0 20px 50px var(--shadow-medium);
}

.about-image-block::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 150px;
    height: 150px;
    background: var(--warm-yellow);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: -1;
}

.about-text h3 {
    font-size: 36px;
    margin-bottom: 24px;
    color: var(--primary-green);
}

.about-text p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-box {
    background: var(--light-yellow);
    padding: 24px;
    border-radius: 16px;
    text-align: center;
}

.stat-box h4 {
    font-size: 36px;
    color: var(--primary-green);
    margin-bottom: 8px;
}

.stat-box p {
    font-size: 14px;
    color: var(--text-gray);
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background: var(--pure-white);
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: var(--transition-smooth);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-medium);
}

.team-image {
    height: 280px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 24px;
}

.team-info h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.team-info p {
    font-size: 14px;
    color: var(--primary-green);
}

/* Contact Form */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info-block {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    padding: 40px;
    border-radius: 20px;
    color: var(--pure-white);
}

.contact-info-block h3 {
    font-size: 24px;
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.contact-form {
    background: var(--pure-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow-light);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-green);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* News List Page */
.news-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.news-list-item {
    background: var(--pure-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: var(--transition-smooth);
}

.news-list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.news-list-image {
    height: 200px;
    overflow: hidden;
}

.news-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-list-content {
    padding: 24px;
}

.news-list-date {
    font-size: 13px;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.news-list-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-list-excerpt {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

/* News Detail Page */
.news-detail-container {
    max-width: 900px;
    margin: 0 auto;
}

.news-detail-header {
    margin-bottom: 40px;
}

.news-detail-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.news-detail-meta {
    display: flex;
    gap: 30px;
    color: var(--text-gray);
    font-size: 14px;
}

.news-detail-content {
    background: var(--pure-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px var(--shadow-light);
    margin-bottom: 40px;
}

.news-detail-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 20px 0;
}

.news-detail-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-dark);
}

/* Related News */
.related-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Responsive */
@media (max-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 32px;
    }
    
    .about-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .service-grid,
    .team-grid,
    .news-list-grid,
    .related-news-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card:nth-child(2) {
        transform: none;
    }
}
