/* ========================================
   SurfStereo 网站建设公司 - 内页样式
======================================== */

/* 页面头部样式 */
.page-header {
    background: linear-gradient(135deg, var(--tibetan-blue) 0%, var(--tibetan-red) 100%);
    padding: 120px 60px 80px;
    text-align: center;
    color: var(--white);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* 面包屑导航 */
.breadcrumb {
    background: var(--cream);
    padding: 20px 60px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.breadcrumb-list a {
    color: var(--tibetan-blue);
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    color: var(--tibetan-red);
}

.breadcrumb-list span {
    color: #999;
}

/* 内容区块样式 */
.content-section {
    padding: 80px 60px;
}

.content-section:nth-child(even) {
    background: linear-gradient(135deg, var(--cream) 0%, #FFF3E0 100%);
}

/* 详情页面样式 */
.detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.detail-header {
    border-bottom: 2px solid var(--cream);
    padding-bottom: 30px;
    margin-bottom: 40px;
}

.detail-title {
    font-size: 36px;
    color: var(--tibetan-blue);
    margin-bottom: 20px;
    line-height: 1.4;
}

.detail-meta {
    display: flex;
    gap: 30px;
    color: #999;
    font-size: 14px;
}

.detail-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-content {
    font-size: 16px;
    line-height: 2;
    color: var(--text-secondary);
}

.detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.detail-content p {
    margin-bottom: 20px;
}

/* 侧边栏布局 */
.sidebar-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    padding: 60px;
}

.main-article {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.sidebar-widget {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 20px;
    color: var(--tibetan-blue);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--cream);
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--tibetan-red);
}

/* 相关新闻列表 */
.related-news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-news-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: var(--cream);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.related-news-item:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateX(5px);
}

.related-news-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.related-news-info h5 {
    font-size: 15px;
    color: var(--tibetan-blue);
    margin-bottom: 8px;
    line-height: 1.4;
}

.related-news-info span {
    font-size: 13px;
    color: #999;
}

/* 分类筛选 */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    background: var(--white);
    border: 2px solid var(--tibetan-blue);
    color: var(--tibetan-blue);
    border-radius: 30px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--tibetan-blue);
    color: var(--white);
}

/* 案例展示网格 */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.case-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.case-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.case-card:hover .case-image {
    transform: scale(1.1);
}

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 58, 92, 0.95), transparent);
    padding: 30px;
    color: var(--white);
}

.case-overlay h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.case-overlay p {
    font-size: 14px;
    opacity: 0.9;
}

/* 团队卡片 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.4s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.team-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.team-info {
    padding: 25px;
}

.team-info h3 {
    color: var(--tibetan-blue);
    font-size: 22px;
    margin-bottom: 8px;
}

.team-info p {
    color: var(--tibetan-red);
    font-size: 15px;
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-social a {
    width: 40px;
    height: 40px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tibetan-blue);
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--tibetan-blue);
    color: var(--white);
}

/* 联系表单 */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--tibetan-blue);
    font-weight: bold;
    font-size: 15px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--cream);
    border-radius: 10px;
    font-size: 15px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--tibetan-blue);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--tibetan-blue) 0%, var(--tibetan-red) 100%);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(26, 58, 92, 0.3);
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .sidebar-layout {
        grid-template-columns: 1fr;
        padding: 40px;
    }

    .page-header {
        padding: 100px 30px 60px;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .breadcrumb {
        padding: 15px 30px;
    }

    .content-section {
        padding: 60px 30px;
    }

    .detail-container {
        padding: 40px;
    }

    .detail-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 80px 20px 50px;
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    }

    .page-header h1 {
        font-size: 28px;
    }

    .breadcrumb {
        padding: 15px 20px;
    }

    .breadcrumb-list {
        flex-wrap: wrap;
    }

    .content-section {
        padding: 40px 20px;
    }

    .detail-container {
        padding: 25px;
        margin: 0 15px;
    }

    .detail-title {
        font-size: 24px;
    }

    .detail-meta {
        flex-direction: column;
        gap: 10px;
    }

    .sidebar-layout {
        padding: 25px;
        gap: 25px;
    }

    .case-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .filter-bar {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 24px;
    }

    .detail-title {
        font-size: 20px;
    }

    .related-news-item {
        flex-direction: column;
    }

    .related-news-item img {
        width: 100%;
        height: 150px;
    }
}
