/* ==========================================================================
   쩜반살롱 아카이브 (Jump-Barn Salon Archive) Stylesheet
   Minimalist editorial gallery design matching JooHee Yoon aesthetic
   ========================================================================== */

#view-salon {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 2.5rem var(--page-margin) 6rem var(--page-margin);
  box-sizing: border-box;
}

/* ==========================================================================
   1. 쩜반살롱 소개 코너 (Top Editorial Showcase)
   ========================================================================== */
.salon-intro-section {
  margin-bottom: 5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.salon-top-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.salon-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background-color: #f3eee6;
  color: #634f3b;
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.salon-edition-tag {
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: 0.03em;
}

.salon-header-title {
  font-family: var(--font-en);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #111111;
  margin: 0 0 8px 0;
  line-height: 1.15;
}

.salon-header-tagline {
  font-family: 'Gowun Batang', serif;
  font-size: 21px;
  font-weight: 700;
  color: #9c4a2f;
  margin: 0 0 2rem 0;
  letter-spacing: -0.01em;
}

/* Editorial Two-Column Grid */
.salon-editorial-layout {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 48px;
  align-items: start;
}

/* Newspaper Poster Preview Card */
.salon-newspaper-card {
  background: #ffffff;
  border: 1px solid #e8e2d8;
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: sticky;
  top: 96px;
}

.salon-newspaper-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.salon-newspaper-thumb-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background-color: #f7f4ed;
  cursor: pointer;
}

.salon-newspaper-thumb-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease;
}

.salon-newspaper-thumb-wrap:hover img {
  transform: scale(1.02);
}

.salon-newspaper-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.25s ease;
  color: #ffffff;
}

.salon-newspaper-thumb-wrap:hover .salon-newspaper-overlay {
  opacity: 1;
}

.salon-newspaper-overlay .zoom-icon {
  font-size: 28px;
}

.salon-newspaper-overlay span {
  font-family: var(--font-ko);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.salon-newspaper-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #e4ded3;
}

.salon-newspaper-caption {
  font-family: var(--font-en);
  font-size: 12px;
  color: #7a7062;
  letter-spacing: 0.02em;
}

.btn-open-newspaper {
  background: #111111;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 6px 14px;
  font-family: var(--font-ko);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-open-newspaper:hover {
  background: #9c4a2f;
}

/* Right Editorial Content */
.salon-editorial-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.salon-quote-box {
  background: #faf8f5;
  border-left: 3px solid #9c4a2f;
  padding: 18px 22px;
  border-radius: 0 8px 8px 0;
}

.salon-quote-p {
  font-family: 'Gowun Batang', serif;
  font-size: 15.5px;
  line-height: 1.8;
  color: #2b2b2b;
  margin: 0;
  font-style: normal;
}

.salon-quote-author {
  display: block;
  margin-top: 8px;
  font-family: var(--font-ko);
  font-size: 12.5px;
  color: #7b6e5f;
  text-align: right;
}

/* Feature Cards Grid */
.salon-feature-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 6px;
}

.salon-feature-card {
  background: #ffffff;
  border: 1px solid #ebe6dd;
  border-radius: 8px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.salon-feature-card:hover {
  border-color: #c9bcac;
  transform: translateY(-2px);
}

.salon-feature-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid #f2ece3;
  padding-bottom: 8px;
  margin-bottom: 4px;
}

.salon-feature-title {
  font-family: var(--font-ko);
  font-size: 14.5px;
  font-weight: 700;
  color: #1a1a1a;
}

.salon-feature-sub {
  font-family: var(--font-ko);
  font-size: 11.5px;
  color: #9c4a2f;
  font-weight: 500;
}

.salon-feature-desc {
  font-family: var(--font-ko);
  font-size: 13px;
  line-height: 1.65;
  color: #555555;
  margin: 0;
}

/* ==========================================================================
   2. 갤러리 포스팅 코너 (2018 방심전 24작품)
   ========================================================================== */
.salon-gallery-section {
  width: 100%;
}

.salon-gallery-header {
  margin-bottom: 2.2rem;
}

.salon-gallery-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.salon-pill {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 4px;
  background: #f0ebe1;
  color: #5d5244;
}

.salon-pill.highlight {
  background: #e8dcd0;
  color: #8c3b22;
  font-weight: 600;
}

.salon-gallery-title {
  font-family: 'Gowun Batang', serif;
  font-size: 30px;
  font-weight: 700;
  color: #111111;
  margin: 0 0 6px 0;
  letter-spacing: -0.01em;
}

.salon-gallery-title-en {
  font-family: var(--font-en);
  font-size: 15px;
  color: var(--text-light);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.salon-gallery-desc {
  font-family: var(--font-ko);
  font-size: 14px;
  line-height: 1.75;
  color: #555555;
  max-width: 960px;
  margin: 0;
}

/* Filter Controls */
.salon-filters-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  margin-bottom: 2rem;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  flex-wrap: wrap;
}

.salon-filter-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.salon-filter-btn {
  background: none;
  border: 1px solid #e0ded9;
  border-radius: 20px;
  padding: 6px 14px;
  font-family: var(--font-ko);
  font-size: 12.5px;
  font-weight: 400;
  color: #555;
  cursor: pointer;
  transition: all 0.2s ease;
}

.salon-filter-btn:hover {
  border-color: #111;
  color: #111;
}

.salon-filter-btn.active {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
  font-weight: 500;
}

.salon-gallery-count {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--text-light);
  letter-spacing: 0.03em;
}

/* Artwork Masonry / Grid */
.salon-art-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.salon-art-card {
  background: #ffffff;
  border: 1px solid #ece8e1;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.salon-art-card:hover {
  transform: translateY(-4px);
  border-color: #d1c8bb;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.salon-art-thumb-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: #fbf9f6;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
}

.salon-art-thumb-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.salon-art-card:hover .salon-art-thumb-wrapper img {
  transform: scale(1.04);
}

.salon-art-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  color: #ffffff;
}

.salon-art-card:hover .salon-art-card-overlay {
  opacity: 1;
}

.salon-art-card-overlay .overlay-btn {
  background: rgba(255, 255, 255, 0.95);
  color: #111111;
  border-radius: 20px;
  padding: 6px 14px;
  font-family: var(--font-ko);
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.salon-art-info {
  padding: 14px 16px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-grow: 1;
}

.salon-art-cat-tag {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 500;
  color: #9c4a2f;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.salon-art-title {
  font-family: 'Gowun Batang', serif;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.35;
}

.salon-art-title-en {
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

.salon-art-material {
  font-family: var(--font-ko);
  font-size: 11.5px;
  color: #888888;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dotted #ede9e1;
}

/* ==========================================================================
   3. Interactive Lightbox Modal (For Newspaper Poster & 24 Artworks)
   ========================================================================== */
.salon-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 18, 18, 0.92);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.salon-lightbox-overlay.active {
  display: flex;
}

.salon-lightbox-container {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  outline: none;
}

.salon-lightbox-media-wrap {
  position: relative;
  max-width: 100%;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.salon-lightbox-img {
  max-width: 90vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  background: #ffffff;
}

.salon-lightbox-caption {
  margin-top: 16px;
  text-align: center;
  color: #f0f0f0;
  max-width: 800px;
}

.salon-lightbox-caption .title {
  font-family: 'Gowun Batang', serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.salon-lightbox-caption .sub {
  font-family: var(--font-en);
  font-size: 13px;
  color: #bbbbbb;
  margin-top: 4px;
}

.salon-lightbox-caption .details {
  font-family: var(--font-ko);
  font-size: 12.5px;
  color: #999999;
  margin-top: 4px;
}

/* Close & Nav buttons */
.salon-lightbox-header-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  color: rgba(255, 255, 255, 0.75);
}

.salon-lightbox-counter {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.05em;
}

.salon-lightbox-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 28px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.salon-lightbox-close:hover {
  opacity: 0.7;
  transform: scale(1.1);
}

.salon-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  transition: background-color 0.2s ease, transform 0.2s ease;
  user-select: none;
  z-index: 10;
}

.salon-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%) scale(1.08);
}

.salon-lightbox-nav.prev {
  left: -64px;
}

.salon-lightbox-nav.next {
  right: -64px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media screen and (max-width: 1200px) {
  .salon-art-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .salon-editorial-layout {
    grid-template-columns: 400px 1fr;
    gap: 36px;
  }
}

@media screen and (max-width: 960px) {
  .salon-editorial-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .salon-newspaper-card {
    position: static;
    max-width: 500px;
    margin: 0 auto;
  }
  .salon-art-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .salon-feature-cards {
    grid-template-columns: 1fr;
  }
  .salon-lightbox-nav.prev {
    left: 10px;
    background: rgba(0, 0, 0, 0.5);
  }
  .salon-lightbox-nav.next {
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
  }
  .salon-header-title {
    font-size: 30px;
  }
  .salon-header-tagline {
    font-size: 18px;
  }
}

@media screen and (max-width: 560px) {
  .salon-art-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .salon-filters-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}
