/* 捷克街头 - 全局样式表 */
:root {
    --primary-color: #004d26; /* 深绿色 */
    --secondary-color: #d4af37; /* 金色 */
    --text-color: #333333;
    --light-bg: #f8f9fa;
    --dark-bg: #1a1a1a;
    --font-main: 'Helvetica Neue', Helvetica, Arial, 'Microsoft YaHei', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 头部导航 */
header {
    background-color: var(--dark-bg);
    color: #ffffff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 50px;
    margin-right: 15px;
}

.logo-container h1 {
    font-size: 24px;
    color: var(--secondary-color);
    margin: 0;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #ffffff;
    font-weight: bold;
    font-size: 16px;
    padding: 5px 10px;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
}

/* 搜索框 */
.search-container {
    background-color: #2a2a2a;
    padding: 10px 0;
    text-align: center;
}

.search-box {
    display: inline-flex;
    width: 100%;
    max-width: 600px;
}

.search-box input {
    flex-grow: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

.search-box button {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.search-box button:hover {
    background-color: var(--secondary-color);
}

/* 面包屑导航 */
.breadcrumb {
    padding: 15px 0;
    background-color: var(--light-bg);
    margin-bottom: 30px;
}

.breadcrumb a {
    color: #666;
}

.breadcrumb span {
    color: var(--primary-color);
    font-weight: bold;
}

/* 英雄区域 (Hero) */
.hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

/* 视频卡片组件 */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.video-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.video-card:hover {
    transform: translateY(-10px);
}

.video-thumb {
    position: relative;
    cursor: pointer;
}

.video-thumb img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.play-btn::after {
    content: '';
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent white;
    margin-left: 5px;
}

.video-thumb:hover .play-btn {
    opacity: 1;
}

.video-info {
    padding: 15px;
}

.video-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark-bg);
}

.video-meta {
    display: flex;
    justify-content: space-between;
    color: #777;
    font-size: 14px;
    margin-bottom: 10px;
}

.video-tags span {
    display: inline-block;
    background: var(--light-bg);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--primary-color);
    margin-right: 5px;
}

/* 章节通用样式 */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-title p {
    color: #666;
    font-size: 18px;
}

/* 图文混排 */
.content-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 40px;
    gap: 40px;
}

.content-row.reverse {
    flex-direction: row-reverse;
}

.content-text {
    flex: 1;
    min-width: 300px;
}

.content-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.content-text p {
    margin-bottom: 15px;
    font-size: 16px;
}

.content-image {
    flex: 1;
    min-width: 300px;
}

.content-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 专家团队 */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.expert-card {
    text-align: center;
    background: var(--light-bg);
    padding: 30px 20px;
    border-radius: 8px;
}

.expert-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.expert-card h4 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.expert-card p.title {
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 15px;
}

/* FAQ手风琴 */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    background: var(--light-bg);
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
    border-top: 1px solid #ddd;
}

/* 用户评论 */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.review-card {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.stars {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.review-text {
    font-style: italic;
    margin-bottom: 15px;
}

.review-author {
    font-weight: bold;
    text-align: right;
}

/* 页脚 */
footer {
    background-color: var(--dark-bg);
    color: #aaa;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #aaa;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
}

.qrcode-container {
    display: flex;
    gap: 15px;
}

.qrcode-box {
    text-align: center;
}

.qrcode-box img {
    width: 100px;
    height: 100px;
    margin-bottom: 5px;
    border-radius: 4px;
}

.qrcode-box span {
    font-size: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.update-time {
    margin-top: 10px;
    font-size: 12px;
    color: #777;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hero h2 {
        font-size: 32px;
    }
    
    .content-row {
        flex-direction: column;
    }
    
    .content-row.reverse {
        flex-direction: column;
    }
}
