body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", sans-serif;
  background: #111;
  color: white;
}

html {
  scroll-behavior: smooth;
}

/* NAV */
.nav {
  position: fixed;
  top: 30px;
  right: 40px;
  z-index: 1000;
  display: flex;
  gap: 25px;
}

.nav a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.6;
  transition: 0.3s;
  position: relative;
}

.nav a:hover {
  opacity: 1;
}

.nav a.active {
  opacity: 1;
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: white;
}

/* 通用浮现动画 */
.fade-content {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* HOME */
.hero {
  height: 100vh;
  background: url('images/bg1.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-content.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero h1 {
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-weight: 600;
  font-size: 96px;
  letter-spacing: 0.04em;
  color: white;
  margin: 0 0 16px 0;
  line-height: 1;
}

.cn {
  margin-left: 12px;
}

.hero-sub {
  margin: 0;
  font-family: "Futura", "Futura PT", "Century Gothic", "Avenir Next", "Trebuchet MS", sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

/* PORTFOLIO */
.portfolio {
  padding: 100px 40px 80px 40px;
}

h2 {
  margin-top: 90px;
  margin-bottom: 25px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* FILM */
.film-block {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.film-title {
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: white;
  margin: 0 0 12px 0;
}

.film-desc {
  max-width: 580px;
  margin: 0 auto 40px auto;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 300;
  color: rgba(255,255,255,0.38);
}

/* VIDEO */
.video-wrap {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 40px auto;
  aspect-ratio: 16 / 9;
}

.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
}

/* ANIMATION 剧照：2列 */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.grid-2 img {
  width: 100%;
  display: block;
  transition: 0.3s;
  cursor: pointer;
}

.grid-2 img:hover {
  filter: brightness(1.1);
}

/* MODEL MAKING：2列网格 */
.model-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.model-grid img {
  width: 100%;
  display: block;
  cursor: pointer;
  transition: 0.3s;
}

.model-grid img:hover {
  filter: brightness(1.1);
}

/* CONTACT */
.contact {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('images/bg2.jpg') center/cover no-repeat;
  filter: blur(4px);
  transform: scale(1.05);
  z-index: 0;
}

.overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-label {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 4px;
  opacity: 0.7;
  font-style: italic;
}

.contact-value {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

/* ABOUT */
.about-page {
  padding: 180px 40px 120px;
}

.about-container {
  display: flex;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: flex-start;
}

.about-left {
  flex: 1;
}

.about-left img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  max-height: 520px;
}

.about-right {
  flex: 1;
}

.about-right p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
  max-width: 520px;
}

/* LINKS */
a {
  color: white;
  text-decoration: none;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.92);
  display: none;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  padding: 0 16px;
}

.lightbox.open {
  opacity: 1;
}

.lightbox img {
  max-width: 80vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  transform: scale(0.95);
  transition: transform 0.3s ease, opacity 0.2s ease;
  cursor: default;
}

.lightbox.open img {
  transform: scale(1);
}

/* 电脑端左右箭头 */
.lb-btn {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
  padding: 10px;
  user-select: none;
  flex-shrink: 0;
}

.lb-btn:hover {
  opacity: 1;
}

/* 手机端底部箭头：默认隐藏 */
.lb-mobile-controls {
  display: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 48px;
  }

  .hero-sub {
    font-size: 13px;
    letter-spacing: 0.3em;
  }

  .portfolio {
    padding: 80px 20px 60px 20px;
  }

  .grid-2,
  .model-grid {
    grid-template-columns: 1fr;
  }

  .about-container {
    flex-direction: column;
    gap: 30px;
  }

  .about-page {
    padding: 100px 20px 80px;
  }

  /* 手机端 lightbox 全屏竖排 */
  .lightbox {
    flex-direction: column;
    padding: 0;
    gap: 0;
    background: black;
    justify-content: center;
  }

  .lightbox img {
    width: 100vw;
    max-width: 100vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 0;
  }

  /* 手机端隐藏左右箭头 */
  .desktop-only {
    display: none;
  }

  /* 手机端显示底部箭头 */
  .lb-mobile-controls {
    display: flex;
    gap: 40px;
    margin-top: 20px;
  }

  .lb-btn-mobile {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.7;
    padding: 10px 20px;
    user-select: none;
  }

  .lb-btn-mobile:active {
    opacity: 1;
  }
}
