/* ============================================
   捷克街头 - 原创样式表
   品牌：捷克街头 | 域名：ftLjkx.cn
   配色：暖橘+深棕+蜜糖金+奶白
   ============================================ */

/* === 基础重置与变量 === */
:root {
  --primary: #E8652E;
  --primary-dark: #C4501F;
  --secondary: #3A1F04;
  --accent: #F5A623;
  --bg-main: #FFF8F0;
  --bg-deep: #2C1810;
  --bg-card: #FFFAF5;
  --bg-alt: #FFF0E0;
  --text-main: #3D2B1F;
  --text-muted: #8B7355;
  --text-light: #B89A7A;
  --border: #E8D5C0;
  --shadow: rgba(58,31,4,0.08);
  --radius: 12px;
  --max-w: 1200px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--text-main);
  background: var(--bg-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* === 头部导航 === */
.site-header {
  background: var(--bg-deep);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

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

.logo-img {
  height: 42px;
  width: auto;
  border-radius: 6px;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
}

.main-nav { display: flex; align-items: center; gap: 6px; }

.main-nav a {
  color: #E8D5C0;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all .25s;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--primary);
  color: #fff;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 1.6rem;
  cursor: pointer;
}

/* === 搜索栏 === */
.search-bar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: 14px 0;
}

.search-wrapper {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
}

.search-form {
  display: flex;
  width: 100%;
  max-width: 600px;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.search-form input {
  flex: 1;
  border: none;
  padding: 12px 24px;
  font-size: 0.95rem;
  outline: none;
  background: transparent;
  color: var(--text-main);
}

.search-form button {
  background: var(--primary);
  border: none;
  padding: 12px 28px;
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  font-weight: 600;
  transition: background .2s;
}

.search-form button:hover { background: var(--primary-dark); }

/* === 面包屑 === */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 6px; }

/* === Hero区域 === */
.hero-section {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 60px 20px;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  text-shadow: 0 3px 12px rgba(0,0,0,0.4);
  line-height: 1.3;
}

.hero-content h1 .highlight {
  color: var(--accent);
  display: inline;
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 28px;
  opacity: 0.92;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 14px 36px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  transition: all .25s;
  box-shadow: 0 4px 16px rgba(232,101,46,0.35);
}

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

.btn-outline {
  display: inline-block;
  border: 2px solid #fff;
  color: #fff;
  padding: 12px 34px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  transition: all .25s;
}

.btn-outline:hover {
  background: #fff;
  color: var(--primary);
}

/* === 通用Section === */
.section {
  padding: 60px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
}

.section-title .accent {
  color: var(--primary);
}

.section-title p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* === 新闻滚动条 === */
.news-ticker {
  background: var(--secondary);
  padding: 10px 0;
  overflow: hidden;
}

.news-bar {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.news-label {
  background: var(--primary);
  color: #fff;
  padding: 4px 14px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.news-scroll {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.news-scroll span {
  display: inline-block;
  color: #E8D5C0;
  font-size: 0.88rem;
  animation: scrollNews 30s linear infinite;
}

@keyframes scrollNews {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* === 视频卡片网格 === */
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.video-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px var(--shadow);
  transition: transform .3s, box-shadow .3s;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 28px rgba(58,31,4,0.15);
}

.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.video-card:hover .video-thumb img {
  transform: scale(1.06);
}

.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  transition: opacity .3s;
}

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

.play-btn::after {
  content: "";
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(232,101,46,0.5);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 28px;
}

.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 500;
}

.video-info { padding: 14px 16px; }

.video-info h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-meta {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.video-meta .tag {
  background: var(--bg-alt);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--primary);
}

/* === 功能网格 === */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 2px 12px var(--shadow);
  transition: transform .3s;
  border: 1px solid var(--border);
}

.feature-card:hover { transform: translateY(-4px); }

.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--secondary);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === 专家展示 === */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.expert-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 2px 12px var(--shadow);
  border: 1px solid var(--border);
}

.expert-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #fff;
}

.expert-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.expert-card .role {
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.expert-card .desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.6;
}

.expert-btns {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.expert-btns a {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid var(--primary);
  color: var(--primary);
  transition: all .2s;
}

.expert-btns a:hover {
  background: var(--primary);
  color: #fff;
}

/* === 合作品牌墙 === */
.partner-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.partner-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 32px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all .25s;
}

.partner-item:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 4px 16px var(--shadow);
}

/* === FAQ === */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg-card);
}

.faq-question {
  padding: 18px 24px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .2s;
}

.faq-question:hover { background: var(--bg-alt); }

.faq-question .arrow {
  transition: transform .3s;
  font-size: 0.9rem;
  color: var(--primary);
}

.faq-item.open .faq-question .arrow { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}

.faq-answer-inner {
  padding: 0 24px 18px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* === 用户评论 === */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.review-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 2px 12px var(--shadow);
  border: 1px solid var(--border);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.review-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.review-stars {
  color: var(--accent);
  font-size: 0.9rem;
}

.review-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 10px;
}

.review-date {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* === 联系我们 === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info-list {
  list-style: none;
}

.contact-info-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 12px;
}

.contact-info-list .label {
  font-weight: 600;
  min-width: 80px;
  color: var(--secondary);
}

.contact-qr-group {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.qr-item {
  text-align: center;
}

.qr-item img {
  width: 160px;
  height: 160px;
  border-radius: 10px;
  border: 2px solid var(--border);
}

.qr-item p {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* === 分享栏 === */
.share-bar {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.share-btn {
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  transition: all .25s;
}

.share-btn:hover { transform: translateY(-2px); color: #fff; }
.share-btn.wechat { background: #07C160; }
.share-btn.weibo { background: #E6162D; }
.share-btn.douyin { background: #161823; }
.share-btn.bilibili { background: #00A1D6; }

/* === 页脚 === */
.site-footer {
  background: var(--bg-deep);
  color: #B89A7A;
  padding: 50px 0 0;
}

.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .logo-text {
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #8B7355;
}

.site-footer h4 {
  color: #E8D5C0;
  font-size: 1rem;
  margin-bottom: 16px;
}

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

.site-footer ul li { margin-bottom: 8px; }

.site-footer ul a {
  color: #8B7355;
  font-size: 0.88rem;
  transition: color .2s;
}

.site-footer ul a:hover { color: var(--accent); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 40px auto 0;
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B89A7A;
  font-size: 0.85rem;
  transition: all .2s;
}

.social-links a:hover {
  background: var(--primary);
  color: #fff;
}

/* === 页面Banner === */
.page-banner {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-banner .banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.45);
}

.page-banner .banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 40px 20px;
}

.page-banner h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-banner p {
  font-size: 1rem;
  opacity: 0.9;
}

/* === 内页内容 === */
.page-content {
  padding: 40px 0;
}

.content-block {
  margin-bottom: 40px;
}

.content-block h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--primary);
  display: inline-block;
}

.content-block p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.tag-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.tag-list span {
  background: var(--bg-alt);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
}

/* === 指南步骤 === */
.guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.guide-step {
  text-align: center;
  padding: 28px 20px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 14px;
}

.guide-step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--secondary);
}

.guide-step p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* === 懒加载 === */
.lazy-img {
  opacity: 0;
  transition: opacity .5s;
}

.lazy-img.loaded { opacity: 1; }

/* === 响应式 === */
@media (max-width: 1024px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-deep);
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  }
  .mobile-toggle { display: block; }
  .hero-content h1 { font-size: 1.8rem; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .section-title h2 { font-size: 1.5rem; }
  .expert-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 1.5rem; }
  .hero-section { min-height: 360px; }
  .header-inner { height: 56px; }
  .logo-text { font-size: 1.1rem; }
}
