/* === Base Reset === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: serif;
  font-size: 16px;
  line-height: 1.5;
  color: #1a1a1a;
  background: #fff;
}

/* === Header === */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.98);
  z-index: 100;
  padding: 20px 30px;
  border-bottom: 1px solid #eaeaea;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

header h1 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 30px;
}

header nav {
  display: flex;
  gap: 30px;
}

header nav a {
  text-decoration: none;
  color: #666;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

header nav a:hover,
header nav a.active {
  color: #1a1a1a;
}

/* === Main Content === */
main { margin-top: 80px; }
section { display: none; }
section.active { display: block; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* === Works Gallery === */
.works-gallery {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 30px;
}

.work-item {
  margin-bottom: 60px;
  cursor: pointer;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.work-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

/* === Work Info === */
.work-info {
  padding: 20px 0;
}

.work-title {
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 8px;
}

.work-details {
  font-size: 15px;
  color: #666;
  font-weight: 300;
}

/* === Exhibition Detail === */
.exhibition-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 30px;
}

.exhibition-header {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.exhibition-title {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 10px;
}

.exhibition-info {
  font-size: 16px;
  color: #666;
  font-weight: 300;
}

.back-link {
  position: sticky;
  top: 40px;
  display: inline-block;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 25px;
  border: 1px solid #eaeaea;
  font-size: 15px;
  color: #666;
  text-decoration: none;
  transition: all 0.2s ease;
}

.back-link:hover {
  color: #1a1a1a;
  background: #fff;
  transform: translateY(-1px);
}

/* === Exhibition Images === */
.exhibition-images {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-right: 10px;
}

.exhibition-images img {
  width: 100%;
  height: auto;
  aspect-ratio: attr(width) / attr(height);
  object-fit: contain;
  display: block;
  border-radius: 2px;
}

.exhibition-images iframe {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  border-radius: 2px;
  border: none;
}

/* === Captions & Description === */
.exhibition-caption {
  font-size: 15px;
  color: #666;
  margin-top: 10px;
  margin-bottom: 30px;
  text-align: center;
}

.exhibition-description {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  margin: 40px auto;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}

.exhibition-description p { margin-bottom: 20px; }

/* === Lightbox === */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: black;
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.lightbox-video {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-video iframe {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 10px;
  opacity: 0.6;
}

.lightbox-arrow:hover { opacity: 1; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox.active { display: flex; }

.lightbox img {
  max-width: 95vw;
  max-height: 95vh;
  object-fit: contain;
}

/* === Info Section === */
.info-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 30px;
}

.info-content h2 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 30px;
}

.info-content h3 {
  font-size: 16px;
  font-weight: 580;
  margin: 40px 0 15 px;
}

.info-content p,
.info-content li {
  font-size: 15px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 14px;
}

.info-content a {
  color: #0066cc;
  text-decoration: none;
}

.info-content a:hover { text-decoration: underline; }

.info-content ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.info-content li::marker { content: none; }

/* === Mobile Responsive === */
@media (max-width: 1100px) {
  header { padding: 15px 20px; }
  .header-content { flex-direction: column; align-items: flex-start; gap: 15px; }
  header nav { gap: 20px; }
  main { margin-top: 120px; }
  .works-gallery, .exhibition-detail { padding: 30px 20px; }
  .exhibition-images { gap: 20px; }
  .back-link { font-size: 13px; padding: 8px 14px; top: 80px; }
}
