/* 蘑菇视频 - 复古摄影风格主样式表 */
/* 复古色调：奶油白、泛黄米色、深褐色、柔和暖橙、暗红、浅灰 */

:root {
  --cream: #f5f0e8;
  --beige: #e8dcc8;
  --brown: #3d2b1f;
  --dark-brown: #2a1a10;
  --warm-orange: #c8784a;
  --dark-red: #7a2c2c;
  --light-gray: #c8c0b0;
  --film-black: #1a1208;
  --gold: #b8960c;
  --sepia: #704214;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--cream);
  color: var(--brown);
  font-family: 'Georgia', 'STSong', '宋体', serif;
  line-height: 1.8;
  overflow-x: hidden;
}

/* 胶片颗粒纹理叠加 */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ===== 导航栏 ===== */
.site-header {
  background: var(--film-black);
  border-bottom: 2px solid var(--sepia);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--warm-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--cream);
  border: 2px solid var(--gold);
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--cream);
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(200,120,74,0.5);
}

.site-nav {
  display: flex;
  gap: 0;
  list-style: none;
}

.site-nav li a {
  display: block;
  padding: 8px 14px;
  color: var(--beige);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: color 0.3s, background 0.3s;
  border-radius: 3px;
}

.site-nav li a:hover {
  color: var(--warm-orange);
  background: rgba(200,120,74,0.1);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--beige);
  transition: all 0.3s;
}

/* ===== 搜索框 ===== */
.search-bar-wrap {
  background: var(--dark-brown);
  padding: 12px 20px;
  border-bottom: 1px solid var(--sepia);
}

.search-bar-inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  background: rgba(245,240,232,0.08);
  border: 1px solid var(--sepia);
  border-radius: 30px;
  padding: 8px 20px;
  gap: 10px;
}

.search-bar-inner input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--beige);
  font-size: 0.95rem;
  font-family: inherit;
}

.search-bar-inner input::placeholder {
  color: var(--light-gray);
  font-style: italic;
}

.search-bar-inner button {
  background: var(--warm-orange);
  border: none;
  color: var(--cream);
  padding: 5px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.3s;
}

.search-bar-inner button:hover {
  background: var(--dark-red);
}

/* ===== Banner ===== */
.hero-banner {
  position: relative;
  height: 90vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/banner.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.6) sepia(0.3);
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-banner:hover .hero-bg {
  transform: scale(1.0);
}

/* 胶片边框效果 */
.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(to bottom, rgba(26,18,8,0.7) 0%, transparent 20%, transparent 80%, rgba(26,18,8,0.7) 100%),
    linear-gradient(to right, rgba(26,18,8,0.5) 0%, transparent 10%, transparent 90%, rgba(26,18,8,0.5) 100%);
  z-index: 1;
}

/* 暗角效果 */
.hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(26,18,8,0.6) 100%);
  z-index: 1;
}

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

.hero-tag {
  display: inline-block;
  background: var(--warm-orange);
  color: var(--cream);
  padding: 4px 16px;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  border-radius: 2px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 16px;
  text-shadow: 2px 2px 20px rgba(0,0,0,0.8);
  letter-spacing: 3px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--beige);
  margin-bottom: 36px;
  font-style: italic;
  text-shadow: 1px 1px 10px rgba(0,0,0,0.6);
}

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

.btn-primary {
  background: var(--warm-orange);
  color: var(--cream);
  padding: 12px 32px;
  border: none;
  border-radius: 3px;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 2px;
  transition: all 0.3s;
  display: inline-block;
  font-family: inherit;
}

.btn-primary:hover {
  background: var(--dark-red);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  padding: 12px 32px;
  border: 1px solid var(--cream);
  border-radius: 3px;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 2px;
  transition: all 0.3s;
  display: inline-block;
  font-family: inherit;
}

.btn-outline:hover {
  background: rgba(245,240,232,0.1);
  transform: translateY(-2px);
}

/* ===== 通用区块 ===== */
.section {
  padding: 80px 20px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-label {
  display: inline-block;
  color: var(--warm-orange);
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--dark-brown);
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.section-desc {
  color: var(--sepia);
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: var(--warm-orange);
  margin: 16px auto 0;
}

/* ===== 视频卡片 ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.video-card {
  background: var(--dark-brown);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(26,18,8,0.4);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--film-black);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.4s, transform 0.4s;
  filter: sepia(0.3) brightness(0.9);
}

/* 胶片颗粒悬停效果 */
.video-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(26,18,8,0.5) 100%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s;
}

.video-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E");
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s;
  mix-blend-mode: overlay;
}

.video-card:hover .video-thumb::before,
.video-card:hover .video-thumb::after {
  opacity: 1;
}

.video-card:hover .video-thumb img {
  filter: sepia(0.5) brightness(0.75);
  transform: scale(1.04);
}

/* 播放按钮 */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  width: 60px;
  height: 60px;
  background: rgba(200,120,74,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  border: 2px solid var(--cream);
}

.play-btn::after {
  content: '';
  border-left: 20px solid var(--cream);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}

.video-card:hover .play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* 光晕效果 */
.film-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(200,120,74,0.15) 0%, transparent 60%);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s;
}

.video-card:hover .film-glow {
  opacity: 1;
}

.video-info {
  padding: 16px;
}

.video-title {
  font-size: 0.95rem;
  color: var(--cream);
  margin-bottom: 8px;
  line-height: 1.5;
  font-weight: normal;
}

.video-meta {
  display: flex;
  gap: 14px;
  font-size: 0.78rem;
  color: var(--light-gray);
}

.video-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== 品牌故事模块 ===== */
.story-section {
  background: var(--dark-brown);
  color: var(--cream);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-img {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.story-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  filter: sepia(0.3) brightness(0.85);
}

.story-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(26,18,8,0.5) 100%);
}

.story-content .section-title {
  color: var(--cream);
  text-align: left;
  margin-bottom: 20px;
}

.story-content .section-label {
  display: block;
  text-align: left;
  margin-bottom: 8px;
}

.story-content .section-divider {
  margin: 16px 0;
}

.story-text {
  color: var(--beige);
  line-height: 2;
  margin-bottom: 16px;
  font-style: italic;
}

/* ===== 摄影作品墙 ===== */
.photo-wall {
  background: var(--film-black);
}

.photo-wall .section-title {
  color: var(--cream);
}

.photo-wall .section-desc {
  color: var(--light-gray);
}

.photo-grid {
  columns: 4;
  column-gap: 12px;
}

.photo-item {
  break-inside: avoid;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.photo-item img {
  width: 100%;
  display: block;
  filter: sepia(0.2) brightness(0.9);
  transition: filter 0.4s, transform 0.4s;
}

.photo-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(26,18,8,0.6) 100%);
  opacity: 0.6;
  transition: opacity 0.4s;
}

.photo-item:hover img {
  filter: sepia(0.4) brightness(0.8);
  transform: scale(1.03);
}

.photo-item:hover::after {
  opacity: 0.3;
}

/* ===== AI模块 ===== */
.ai-section {
  background: linear-gradient(135deg, var(--dark-brown) 0%, var(--film-black) 100%);
}

.ai-section .section-title {
  color: var(--cream);
}

.ai-section .section-desc {
  color: var(--light-gray);
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.ai-img {
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.ai-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  filter: sepia(0.2) brightness(0.85);
}

.ai-filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.filter-tag {
  background: rgba(200,120,74,0.15);
  border: 1px solid var(--warm-orange);
  color: var(--warm-orange);
  padding: 8px 14px;
  border-radius: 3px;
  font-size: 0.85rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-tag:hover {
  background: var(--warm-orange);
  color: var(--cream);
}

.ai-content .section-title {
  color: var(--cream);
  text-align: left;
}

.ai-content .section-label {
  text-align: left;
  display: block;
}

.ai-content .section-divider {
  margin: 16px 0;
}

.ai-text {
  color: var(--beige);
  line-height: 2;
  margin-bottom: 20px;
}

/* ===== 摄影师达人 ===== */
.creators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}

.creator-card {
  text-align: center;
  padding: 24px 16px;
  background: var(--beige);
  border-radius: 4px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.creator-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(61,43,31,0.15);
}

.creator-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  display: block;
  border: 3px solid var(--warm-orange);
  filter: sepia(0.2);
}

.creator-name {
  font-size: 1rem;
  color: var(--dark-brown);
  margin-bottom: 4px;
  font-weight: bold;
}

.creator-role {
  font-size: 0.8rem;
  color: var(--sepia);
  font-style: italic;
  margin-bottom: 8px;
}

.creator-stats {
  font-size: 0.75rem;
  color: var(--warm-orange);
}

/* ===== 用户评价 ===== */
.reviews-section {
  background: var(--beige);
}

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

.review-card {
  background: var(--cream);
  padding: 24px;
  border-radius: 4px;
  border-left: 3px solid var(--warm-orange);
  position: relative;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 5rem;
  color: var(--beige);
  font-family: Georgia, serif;
  line-height: 1;
}

.review-text {
  font-style: italic;
  color: var(--brown);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--warm-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-size: 1rem;
  flex-shrink: 0;
}

.review-name {
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--dark-brown);
}

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

.review-stars {
  color: var(--gold);
  font-size: 0.85rem;
  margin-top: 2px;
}

/* ===== FAQ ===== */
.faq-section {
  background: var(--cream);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--beige);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-size: 1rem;
  color: var(--dark-brown);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--warm-orange);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  color: var(--sepia);
  font-style: italic;
  line-height: 1.9;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

/* ===== 合作伙伴 ===== */
.partner-section {
  background: var(--dark-brown);
}

.partner-section .section-title {
  color: var(--cream);
}

.partner-section .section-desc {
  color: var(--light-gray);
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 50px;
}

.partner-logo {
  background: rgba(245,240,232,0.08);
  border: 1px solid var(--sepia);
  padding: 16px 28px;
  border-radius: 4px;
  color: var(--light-gray);
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.partner-logo:hover {
  border-color: var(--warm-orange);
  color: var(--warm-orange);
}

/* ===== 联系模块 ===== */
.contact-section {
  background: var(--film-black);
  color: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.contact-block h3 {
  font-size: 1.1rem;
  color: var(--warm-orange);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.contact-block p {
  color: var(--beige);
  font-size: 0.9rem;
  line-height: 2;
}

.qr-placeholder {
  width: 100px;
  height: 100px;
  background: var(--beige);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--brown);
  text-align: center;
  margin-top: 12px;
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--film-black);
  border-top: 1px solid var(--sepia);
  padding: 30px 20px;
  text-align: center;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 1.4rem;
  color: var(--warm-orange);
  letter-spacing: 3px;
  margin-bottom: 12px;
  font-weight: bold;
}

.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--light-gray);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--warm-orange);
}

.footer-copy {
  color: var(--light-gray);
  font-size: 0.8rem;
  line-height: 1.8;
}

.footer-copy a {
  color: var(--warm-orange);
  text-decoration: none;
}

/* ===== 面包屑 ===== */
.breadcrumb {
  padding: 14px 20px;
  background: var(--beige);
  border-bottom: 1px solid var(--light-gray);
}

.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.85rem;
  color: var(--sepia);
}

.breadcrumb-inner a {
  color: var(--warm-orange);
  text-decoration: none;
}

.breadcrumb-inner a:hover {
  text-decoration: underline;
}

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

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

.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(26,18,8,0.7) 100%);
}

.page-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--cream);
}

.page-banner-content h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: 4px;
  margin-bottom: 10px;
  text-shadow: 2px 2px 20px rgba(0,0,0,0.8);
}

.page-banner-content p {
  font-style: italic;
  color: var(--beige);
  font-size: 1rem;
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .story-grid, .ai-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .photo-grid { columns: 3; }
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .site-nav.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--film-black); padding: 10px 0; border-bottom: 1px solid var(--sepia); }
  .hamburger { display: flex; }
  .hero-banner { height: 70vh; }
  .photo-grid { columns: 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .photo-grid { columns: 2; }
  .video-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
}

/* ===== 懒加载占位 ===== */
img[loading="lazy"] {
  background: var(--beige);
}

/* ===== 滚动动画 ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 视频卡片胶片抖动动画 ===== */
@keyframes filmShake {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  20% { transform: translate(-1px, 1px) rotate(-0.3deg); }
  40% { transform: translate(1px, -1px) rotate(0.3deg); }
  60% { transform: translate(-1px, -1px) rotate(0deg); }
  80% { transform: translate(1px, 1px) rotate(0.2deg); }
}

.video-card:hover .video-thumb img {
  animation: filmShake 0.3s ease infinite;
}
