body[data-page="photography"] {
  background:
    radial-gradient(circle at 10% 20%, rgba(21, 118, 213, 0.35), transparent 60%),
    radial-gradient(circle at 80% 0, rgba(247, 175, 130, 0.25), transparent 45%),
    url('assets/img/01.jpg') center/cover fixed,
    #111111;
}

body[data-page="photography"]::before,
body[data-page="photography"]::after {
  display: none;
}

/* Photography */
.photography-banner {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  margin-top: calc(-1 * var(--nav-height));
  margin-bottom: 2.5rem;
}

.banner-slider {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  height: clamp(360px, 80vh, 680px);
  box-shadow: 0 30px 60px rgba(9, 15, 28, 0.5);
}

.banner-slide {
  inset: 0;
  position: absolute;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.banner-slide.is-active {
  opacity: 1;
  z-index: 1;
  position: absolute;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) saturate(1.1);
}

.banner-fixed-overlay {
  position: absolute;
  bottom: 2rem;       /* 距离轮播图底部距离 */
  left: 20%;           /* 距离轮播图左侧距离，可调整 */
  z-index: 2;         /* 确保叠在图片上方 */
  color: #fff;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.55);
  max-width: 600px;   /* 控制文字宽度，不要太长 */
  pointer-events: none; /* 不挡住圆点或按钮点击 */
}

.banner-dots {
  position: absolute;       /* 绝对定位 */
  bottom: 1.5rem;           /* 离底部一点间距 */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;              /* 图片上方 */
  display: flex;
  justify-content: center;
  align-items: center; /* 垂直居中，不被拉伸 */
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.banner-dot.is-active {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.3);
}

.banner-dot:hover {
  transform: scale(1.2);
  background: rgba(255, 255, 255, 0.6);
}

.photography-intro {
  margin-bottom: 3rem;
}

.masonry {
  column-count: 3;
  column-gap: 1.5rem;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  position: relative;
  cursor: zoom-in;
}

.masonry-item img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(9, 15, 28, 0.45);
}

.masonry-item .caption {
  margin-top: 0.75rem;
  color: var(--muted-text);
  font-size: 0.9rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 9, 18, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  z-index: 100;
}

.lightbox.is-visible {
  display: flex;
}

.lightbox img {
  max-width: 80vw;
  max-height: 80vh;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
}

@media (max-width: 900px) {
  .masonry {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .masonry {
    column-count: 1;
  }
}
