/* 91 修车改装视频社区 - 全局样式 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #1a1a1a;
    font-size: 16px;
}

a {
    color: #ff6b35;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #00d4ff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.btn-primary {
    background-color: #ff6b35;
    color: #fff;
}

.btn-primary:hover {
    background-color: #ff8555;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #ff6b35;
    border: 2px solid #ff6b35;
}

.btn-secondary:hover {
    background-color: #ff6b35;
    color: #fff;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
    background-color: #ff6b35;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 5px;
}

.btn-small:hover {
    background-color: #ff8555;
}

/* 顶部导航 */
.header {
    background-color: #0d0d0d;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav {
    display: flex;
    gap: 30px;
    flex: 1;
    margin-left: 50px;
}

.nav-item {
    color: #e0e0e0;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-item:hover,
.nav-item.active {
    color: #ff6b35;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #ff6b35;
}

.search-box {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-input {
    padding: 10px 15px;
    background-color: #333;
    border: 1px solid #555;
    color: #fff;
    border-radius: 4px;
    width: 250px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #ff6b35;
    background-color: #222;
}

.search-btn {
    padding: 10px 20px;
    background-color: #ff6b35;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background-color: #ff8555;
}

/* 面包屑导航 */
.breadcrumb {
    background-color: #0d0d0d;
    padding: 12px 0;
    border-bottom: 1px solid #333;
    font-size: 14px;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb a {
    color: #ff6b35;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #00d4ff;
    text-decoration: underline;
}

.breadcrumb a::after {
    content: ' >';
    margin-left: 8px;
    color: #999;
}

.breadcrumb a:last-child::after {
    content: '';
}

/* Banner 区域 */
.banner {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(26, 26, 26, 0.4) 100%);
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.banner-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.banner-content p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #e0e0e0;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

.banner-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* 通用区域样式 */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
    text-align: center;
}

.section-subtitle {
    font-size: 18px;
    color: #999;
    text-align: center;
    margin-bottom: 30px;
}

.section-intro {
    font-size: 16px;
    color: #ccc;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 修车传媒 - 视频教程 */
.media-section {
    background-color: #1a1a1a;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.video-card {
    background-color: #222;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.video-card:hover {
    transform: translateY(-5px);
    border-color: #ff6b35;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 66.67%;
    overflow: hidden;
    background-color: #111;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 107, 53, 0.9);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
}

.video-thumbnail:hover .play-btn {
    opacity: 1;
}

.play-btn:hover {
    background-color: #ff6b35;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-card h3 {
    padding: 20px 20px 10px;
    font-size: 18px;
    color: #fff;
    font-weight: 600;
}

.video-card p {
    padding: 0 20px;
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
}

.video-stats {
    padding: 15px 20px;
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #666;
    border-top: 1px solid #333;
}

/* 娱乐专区 */
.entertainment-section {
    background-color: #0d0d0d;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.entertainment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.entertainment-card {
    position: relative;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.entertainment-card:hover .card-image {
    transform: scale(1.05);
}

.entertainment-card h3 {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    padding: 15px;
    font-size: 18px;
    color: #fff;
    z-index: 2;
}

.entertainment-card p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
    color: #e0e0e0;
    font-size: 13px;
    z-index: 2;
}

/* AI 赋能 */
.ai-section {
    background-color: #1a1a1a;
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.ai-card {
    background: linear-gradient(135deg, #222 0%, #1a1a1a 100%);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #333;
    text-align: center;
    transition: all 0.3s ease;
}

.ai-card:hover {
    border-color: #ff6b35;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.15);
}

.ai-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.ai-card h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 15px;
}

.ai-card p {
    color: #999;
    line-height: 1.6;
}

/* 社区功能 */
.community-section {
    background-color: #0d0d0d;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.community-card {
    background-color: #222;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.community-card:hover {
    border-color: #ff6b35;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.community-card h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 10px;
}

.community-card p {
    color: #999;
    margin-bottom: 20px;
    font-size: 14px;
}

.card-link {
    color: #ff6b35;
    font-weight: 600;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: #00d4ff;
}

/* 专家展示 - EEAT 权威性 */
.expert-section {
    background-color: #1a1a1a;
}

.expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.expert-card {
    background-color: #222;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333;
    transition: all 0.3s ease;
    text-align: center;
}

.expert-card:hover {
    border-color: #ff6b35;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.expert-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.expert-card h3 {
    padding: 20px 20px 5px;
    font-size: 18px;
    color: #fff;
}

.expert-title {
    padding: 0 20px;
    font-size: 14px;
    color: #ff6b35;
    font-weight: 600;
}

.expert-bio {
    padding: 15px 20px;
    font-size: 14px;
    color: #999;
    line-height: 1.6;
}

.expert-tags {
    padding: 0 20px;
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.expert-tags span {
    background-color: #333;
    color: #ff6b35;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.expert-actions {
    padding: 15px 20px;
    border-top: 1px solid #333;
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* 合作品牌 */
.partners-section {
    background-color: #0d0d0d;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.partner-logo {
    background-color: #222;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    border-color: #ff6b35;
    background-color: #1a1a1a;
}

.logo-placeholder {
    color: #666;
    font-size: 14px;
    text-align: center;
}

.partner-cta {
    background-color: #222;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #333;
}

.partner-cta h3 {
    color: #fff;
    margin-bottom: 15px;
}

.partner-cta p {
    color: #999;
    margin-bottom: 25px;
}

/* FAQ */
.faq-section {
    background-color: #1a1a1a;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.faq-item {
    background-color: #222;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #ff6b35;
    background-color: #1a1a1a;
}

.faq-item h4 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 16px;
}

.faq-item p {
    color: #999;
    font-size: 14px;
    line-height: 1.6;
}

/* 用户评价 */
.reviews-section {
    background-color: #0d0d0d;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.review-card {
    background-color: #222;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.review-card:hover {
    border-color: #ff6b35;
    background-color: #1a1a1a;
}

.review-stars {
    font-size: 18px;
    margin-bottom: 12px;
}

.review-text {
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    font-style: italic;
}

.review-author {
    color: #ff6b35;
    font-size: 13px;
    font-weight: 600;
}

/* 联系我们 */
.contact-section {
    background-color: #1a1a1a;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-box {
    background-color: #222;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #333;
}

.contact-box h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
}

.contact-box p {
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.8;
}

.contact-box strong {
    color: #ff6b35;
}

.qr-codes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.qr-box {
    background-color: #222;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #333;
    text-align: center;
}

.qr-placeholder {
    width: 150px;
    height: 150px;
    background-color: #333;
    border: 2px dashed #555;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #666;
    font-size: 12px;
}

.qr-box p {
    color: #999;
    font-size: 14px;
}

/* 页脚 */
.footer {
    background-color: #0d0d0d;
    border-top: 1px solid #333;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #999;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ff6b35;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #666;
    font-size: 12px;
}

.footer-bottom p {
    margin-bottom: 10px;
}

.footer-bottom a {
    color: #ff6b35;
    font-size: 12px;
    margin: 0 5px;
}

.footer-bottom a:hover {
    color: #00d4ff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .nav {
        flex-direction: column;
        gap: 15px;
        margin-left: 0;
        width: 100%;
    }

    .search-box {
        width: 100%;
        flex-direction: column;
    }

    .search-input {
        width: 100%;
    }

    .banner-content h1 {
        font-size: 32px;
    }

    .banner-content p {
        font-size: 16px;
    }

    .banner-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
    }

    section h2 {
        font-size: 28px;
    }

    .video-grid,
    .entertainment-grid,
    .ai-grid,
    .community-grid,
    .expert-grid,
    .faq-grid,
    .reviews-grid,
    .contact-grid,
    .qr-codes {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .container {
        padding: 0 15px;
    }

    .banner {
        height: 400px;
    }

    .banner-content h1 {
        font-size: 24px;
    }

    .banner-content p {
        font-size: 14px;
    }

    section {
        padding: 50px 0;
    }

    section h2 {
        font-size: 22px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .video-card h3,
    .ai-card h3,
    .community-card h3,
    .expert-card h3,
    .faq-item h4 {
        font-size: 16px;
    }

    .expert-actions {
        flex-direction: column;
    }

    .btn-small {
        width: 100%;
        margin: 5px 0;
    }
}
