/* ============================================================
   Samourai Orsay — 视频展示区（Vidéos）与餐厅照片墙（Galerie Photos）样式
   现代日式暗调映画感 + 瀑布流高级照片墙 + 全屏 Lightbox 灯箱
   ============================================================ */

/* ===== 视频展示区 (#videos) ===== */
.section-cinema {
  background:
    radial-gradient(circle at 12% 18%, rgba(184, 51, 42, 0.14), transparent 44%),
    linear-gradient(180deg, #131210 0%, #1c1a17 100%);
  color: var(--washi);
  border-top: 1px solid rgba(250, 247, 240, 0.08);
  border-bottom: 1px solid rgba(250, 247, 240, 0.08);
}

.video-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.95fr;
  gap: 24px;
  align-items: stretch;
}

/* 左侧：本地短视频主播放器 */
.video-stage-card {
  background: #0d0c0b;
  border: 1px solid rgba(196, 154, 92, 0.28);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}
.video-viewport {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 380px;
  aspect-ratio: 16 / 10;
  background: #0b0a09;
  overflow: hidden;
  cursor: pointer;
}
.local-video-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 尚无本地 MP4 时的动态美食微电影演示层 */
.cinema-reel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0b0a09;
}
.cinema-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.0);
  transition: opacity 0.9s ease, transform 6.5s ease-out;
}
.cinema-slide.active {
  opacity: 1;
  transform: scale(1.08);
}
.cinema-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 11, 10, 0.28) 0%, rgba(12, 11, 10, 0.08) 45%, rgba(12, 11, 10, 0.84) 100%);
  pointer-events: none;
}
.cinema-top-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
  pointer-events: none;
}
.v-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(18, 17, 15, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(250, 247, 240, 0.2);
  color: #f7f3eb;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 99px;
}
.v-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--shu);
}
.cinema-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 56px;
  z-index: 3;
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
  font-size: 18px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}
.big-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.75);
  background: rgba(184, 51, 42, 0.88);
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s, opacity 0.2s, background 0.2s;
}
.big-play-btn:hover { transform: translate(-50%, -50%) scale(1.07); background: var(--shu); }
.big-play-btn.hidden { opacity: 0; pointer-events: none; }

/* 自定义控制栏（播放/暂停 · 进度条 · 静音/有声 · 全屏） */
.video-ctrl-bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 5;
  padding: 10px 14px;
  background: linear-gradient(180deg, transparent, rgba(10, 9, 8, 0.92));
  display: flex;
  align-items: center;
  gap: 10px;
}
.v-ctrl-btn {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.v-ctrl-btn:hover { background: var(--shu); border-color: var(--shu); }
.v-progress-track {
  flex: 1;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}
.v-progress-fill {
  height: 100%;
  width: 22%;
  background: var(--shu);
  transition: width 0.25s linear;
}
.video-stage-meta {
  padding: 18px 22px 20px;
  background: #1a1816;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.video-stage-meta h3 {
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
  font-size: 22px;
  color: #fff;
  margin-bottom: 6px;
}
.video-stage-meta p {
  font-size: 13px;
  color: #bfb7aa;
  line-height: 1.6;
}
.video-path-hint {
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* 右侧：外部平台（YouTube / Instagram）嵌入槽位卡片 */
.ext-video-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ext-video-card {
  flex: 1;
  background: #201e1b;
  border: 1px solid rgba(250, 247, 240, 0.12);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}
.ext-video-card:hover { border-color: rgba(184, 51, 42, 0.65); transform: translateY(-2px); }
.ext-thumb-wrap {
  position: relative;
  height: 162px;
  overflow: hidden;
  background: #121110;
  cursor: pointer;
}
.ext-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.ext-video-card:hover .ext-thumb-wrap img { transform: scale(1.05); }
.ext-thumb-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 14, 12, 0.18), rgba(15, 14, 12, 0.72));
  display: flex;
  align-items: center;
  justify-content: center;
}
.ext-play-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(184, 51, 42, 0.9);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  font-size: 17px;
  padding-left: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}
.ext-platform-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10.5px;
  font-weight: 700;
  color: #fff;
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.ext-dur-pill {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.76);
  color: #fff;
  padding: 2px 7px;
  border-radius: 3px;
}
.ext-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.ext-card-body h4 {
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
  font-size: 18px;
  color: #fff;
  line-height: 1.22;
}
.ext-card-body p { font-size: 12.2px; color: #b5ada0; line-height: 1.5; }
.ext-card-foot {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: var(--gold);
}

/* 外部嵌入弹窗 */
.ext-embed-box {
  width: 100%;
  max-width: 780px;
  background: #161513;
  color: var(--washi);
  border-radius: 10px;
  border-top: 4px solid var(--shu);
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
}
.ext-iframe-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0b0a09;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ext-iframe-wrap iframe { width: 100%; height: 100%; border: 0; }
.ext-placeholder-stage {
  padding: 36px 28px;
  text-align: center;
  max-width: 520px;
}

/* ===== 餐厅照片墙 (#galerie) ===== */
.gallery-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.gal-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.gal-filter-btn {
  border: 1px solid var(--washi-line);
  background: #fffdf9;
  color: var(--ink-sub);
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}
.gal-filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.gal-filter-btn.active {
  background: var(--shu);
  border-color: var(--shu);
  color: #fff;
}
.gal-folder-hint {
  font-size: 12px;
  color: var(--ink-muted);
}

/* 瀑布流错落画廊网格 */
.photo-masonry {
  columns: 4 240px;
  column-gap: 16px;
}
.photo-tile {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  border-radius: 7px;
  overflow: hidden;
  background: #1a1816;
  border: 1px solid var(--washi-line);
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  display: block;
}
.photo-tile img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.photo-tile.tall img { height: 295px; }
.photo-tile:hover img { transform: scale(1.06); }
.photo-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(16, 15, 13, 0.88) 100%);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0.92;
  transition: opacity 0.25s ease;
}
.photo-tile:hover .photo-tile-overlay { opacity: 1; }
.photo-cat-tag {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(184, 51, 42, 0.88);
  color: #fff;
  padding: 2px 7px;
  border-radius: 3px;
  margin-bottom: 6px;
}
.photo-title-fr {
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.photo-title-zh {
  font-size: 11.5px;
  color: #dfd7c8;
  margin-top: 2px;
}

/* ===== 全屏 Lightbox 灯箱 ===== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(10, 9, 8, 0.94);
  backdrop-filter: blur(8px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox-overlay.open { display: flex; }
.lb-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}
.lb-close:hover { background: var(--shu); border-color: var(--shu); }
.lb-stage {
  position: relative;
  width: 100%;
  max-width: 1040px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.lb-nav {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lb-nav:hover { background: var(--shu); border-color: var(--shu); }
.lb-img-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: 82vh;
}
.lb-img-wrap img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 6px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.14);
  object-fit: contain;
}
.lb-caption {
  margin-top: 14px;
  text-align: center;
  color: var(--washi);
}
.lb-cap-fr {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 700;
}
.lb-cap-zh { font-size: 13.5px; color: #cfc7b9; margin-top: 3px; }
.lb-counter { font-size: 12px; color: var(--gold); margin-top: 5px; letter-spacing: 0.12em; }

/* 响应式 */
@media (max-width: 960px) {
  .video-layout { grid-template-columns: 1fr; }
  .ext-video-stack { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .ext-video-stack { grid-template-columns: 1fr; }
  .photo-masonry { columns: 2 150px; column-gap: 10px; }
  .photo-tile { margin-bottom: 10px; }
  .photo-tile img { height: 150px; }
  .photo-tile.tall img { height: 200px; }
  .lb-nav { width: 38px; height: 38px; font-size: 18px; }
}
