/* ========================================
   内页通用样式
   ======================================== */

/* 页面头部 Banner */
.page-header {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.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(10, 10, 10, 0.9) 0%, rgba(26, 26, 26, 0.8) 100%);
    z-index: 2;
}

.page-header-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    color: #e0e0e0;
    margin-bottom: 15px;
    letter-spacing: 5px;
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }
}

.page-subtitle {
    color: #888;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* 内容区域 */
.content-section {
    padding: 80px 0;
    position: relative;
}

/* 服务列表 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(139, 46, 46, 0.15);
    overflow: hidden;
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 46, 46, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.service-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 30px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(139, 46, 46, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: rgba(139, 46, 46, 0.3);
    transform: rotate(360deg);
}

.service-icon img {
    width: 30px;
    height: 30px;
}

.service-title {
    font-size: 1.4rem;
    color: #e0e0e0;
    margin-bottom: 15px;
}

.service-text {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c94646;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 15px;
    color: #e05050;
}

/* 案例展示 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .cases-grid {
        grid-template-columns: 1fr;
    }
}

.case-card {
    position: relative;
    height: 380px;
    overflow: hidden;
    group: cursor-pointer;
}

.case-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.case-card:hover img {
    transform: scale(1.15);
}

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(10, 10, 10, 0.95) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: all 0.4s ease;
}

.case-card:hover .case-overlay {
    opacity: 1;
}

.case-category {
    color: #c94646;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.case-title {
    font-size: 1.5rem;
    color: #e0e0e0;
    margin-bottom: 10px;
}

.case-desc {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 团队介绍 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

.team-card {
    text-align: center;
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(139, 46, 46, 0.1);
    padding: 30px;
    transition: all 0.4s ease;
}

.team-card:hover {
    border-color: rgba(139, 46, 46, 0.3);
    transform: translateY(-5px);
}

.team-image {
    width: 180px;
    height: 180px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(139, 46, 46, 0.2);
    transition: all 0.4s ease;
}

.team-card:hover .team-image {
    border-color: rgba(139, 46, 46, 0.5);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-size: 1.3rem;
    color: #e0e0e0;
    margin-bottom: 8px;
}

.team-position {
    color: #c94646;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.team-bio {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 联系表单区域 */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

.contact-info h3 {
    font-size: 1.8rem;
    color: #e0e0e0;
    margin-bottom: 25px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: rgba(139, 46, 46, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon img {
    width: 24px;
    height: 24px;
}

.contact-info-text h4 {
    color: #e0e0e0;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-info-text p {
    color: #888;
    font-size: 0.95rem;
}

.contact-form-wrapper {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(139, 46, 46, 0.15);
    padding: 40px;
}

.contact-form-wrapper h3 {
    font-size: 1.8rem;
    color: #e0e0e0;
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    letter-spacing: 2px;
}

/* 新闻列表页 */
.news-list-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

@media (max-width: 992px) {
    .news-list-wrapper {
        grid-template-columns: 1fr;
    }
}

.news-list-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-list-item {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(139, 46, 46, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
}

@media (max-width: 576px) {
    .news-list-item {
        grid-template-columns: 1fr;
    }
}

.news-list-item:hover {
    border-color: rgba(139, 46, 46, 0.3);
    transform: translateX(5px);
}

.news-list-image {
    height: 220px;
    overflow: hidden;
}

.news-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-list-item:hover .news-list-image img {
    transform: scale(1.1);
}

.news-list-content {
    padding: 25px 30px 25px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 576px) {
    .news-list-content {
        padding: 25px;
    }
}

.news-list-title {
    font-size: 1.4rem;
    color: #e0e0e0;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.news-list-item:hover .news-list-title {
    color: #c94646;
}

.news-list-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #666;
}

.news-list-excerpt {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.news-list-more {
    color: #c94646;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.news-list-more:hover {
    gap: 15px;
}

/* 侧边栏 */
.sidebar {
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(139, 46, 46, 0.1);
    padding: 30px;
    height: fit-content;
    position: sticky;
    top: 110px;
}

.sidebar-widget {
    margin-bottom: 35px;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-title {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(139, 46, 46, 0.3);
    position: relative;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #8b2e2e;
}

.sidebar-category li {
    border-bottom: 1px solid rgba(139, 46, 46, 0.1);
}

.sidebar-category a {
    display: block;
    padding: 12px 0;
    color: #999;
    transition: all 0.3s ease;
}

.sidebar-category a:hover {
    color: #c94646;
    padding-left: 10px;
}

.sidebar-news-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(139, 46, 46, 0.1);
}

.sidebar-news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-news-image {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    overflow: hidden;
}

.sidebar-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-news-title {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.sidebar-news-item:hover .sidebar-news-title {
    color: #c94646;
}

.sidebar-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #999;
}

.sidebar-contact-item:last-child {
    margin-bottom: 0;
}

.sidebar-contact-item img {
    width: 20px;
    height: 20px;
}

/* 新闻详情页 */
.article-content {
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(139, 46, 46, 0.1);
    padding: 40px;
}

.article-header {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(139, 46, 46, 0.2);
}

.article-title-detail {
    font-size: 2rem;
    color: #e0e0e0;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-meta-detail {
    display: flex;
    gap: 25px;
    color: #666;
    font-size: 0.9rem;
}

.article-body {
    color: #aaa;
    font-size: 1.05rem;
    line-height: 2;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body img {
    max-width: 100%;
    height: auto;
    margin: 25px 0;
    border: 1px solid rgba(139, 46, 46, 0.2);
}

.article-tags {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(139, 46, 46, 0.2);
    flex-wrap: wrap;
}

.tag-item {
    padding: 6px 15px;
    background: rgba(139, 46, 46, 0.1);
    color: #c94646;
    font-size: 0.85rem;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: rgba(139, 46, 46, 0.2);
}

/* 相关新闻 */
.related-news {
    margin-top: 50px;
}

.related-news-title {
    font-size: 1.5rem;
    color: #e0e0e0;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(139, 46, 46, 0.3);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* 关于我们页面 */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .about-intro {
        grid-template-columns: 1fr;
    }
}

.about-image-large {
    height: 500px;
    overflow: hidden;
    border: 1px solid rgba(139, 46, 46, 0.2);
}

.about-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text h3 {
    font-size: 2rem;
    color: #e0e0e0;
    margin-bottom: 25px;
}

.about-text p {
    color: #999;
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 20px;
}

/* 价值观区块 */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

.value-card {
    text-align: center;
    padding: 40px 30px;
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(139, 46, 46, 0.1);
    transition: all 0.4s ease;
}

.value-card:hover {
    border-color: rgba(139, 46, 46, 0.3);
    transform: translateY(-8px);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(139, 46, 46, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon img {
    width: 40px;
    height: 40px;
}

.value-title {
    font-size: 1.3rem;
    color: #e0e0e0;
    margin-bottom: 15px;
}

.value-text {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.7;
}
