/* 
 * 创域科博建站 - 通用页面样式
 */

/* ========== Page Header ========== */
.page-header {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/page-header-bg.jpg') center/cover no-repeat;
    opacity: 0.1;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.page-subtitle {
    font-size: 16px;
    color: #999;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ========== Content Section ========== */
.content-section {
    background: #fff;
    padding: 80px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.content-card {
    background: #f9f9f9;
    padding: 35px;
    border-radius: 4px;
    transition: all 0.4s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.content-card-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

.content-card-title {
    font-size: 22px;
    font-weight: 600;
    color: #0a0a0a;
    margin-bottom: 15px;
}

.content-card-text {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* ========== Detail Section ========== */
.detail-section {
    padding: 80px 0;
    background: #f5f5f5;
}

.detail-content {
    max-width: 900px;
    margin: 0 auto;
}

.detail-title {
    font-size: 36px;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 30px;
}

.detail-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #ddd;
}

.detail-meta-item {
    font-size: 14px;
    color: #666;
}

.detail-meta-item span {
    color: #c41e3a;
    font-weight: 600;
}

.detail-body {
    font-size: 16px;
    color: #333;
    line-height: 2;
}

.detail-body p {
    margin-bottom: 20px;
}

.detail-body img {
    max-width: 100%;
    margin: 30px 0;
    border-radius: 4px;
}

/* ========== Sidebar Layout ========== */
.sidebar-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 50px;
    padding: 80px 0;
}

.sidebar {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 4px;
    height: fit-content;
}

.sidebar-title {
    font-size: 20px;
    font-weight: 600;
    color: #0a0a0a;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #c41e3a;
}

.sidebar-menu li {
    margin-bottom: 10px;
}

.sidebar-menu a {
    display: block;
    padding: 12px 15px;
    font-size: 14px;
    color: #666;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: #c41e3a;
    color: #fff;
}

/* ========== Contact Form ========== */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #0a0a0a;
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #c41e3a;
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* ========== Team Grid ========== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-name {
    font-size: 20px;
    font-weight: 600;
    color: #0a0a0a;
    margin-bottom: 8px;
}

.team-position {
    font-size: 14px;
    color: #c41e3a;
    margin-bottom: 15px;
}

.team-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* ========== Responsive ========== */
@media (max-width: 992px) {
    .page-title {
        font-size: 36px;
    }

    .content-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sidebar-layout {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 140px 0 60px;
    }

    .page-title {
        font-size: 28px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .detail-meta {
        flex-direction: column;
        gap: 15px;
    }
}
