
/* =================================
   1. 기본 설정
================================= */

* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  font-family: Arial, sans-serif;
  background: #000000;
  overflow: hidden;
}


/* =================================
   2. 전체 화면 레이아웃
================================= */

.landing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  column-gap: 0;

  width: 100%;
  height: 100vh;
  padding: 0;

  background: #000000;
}


/* =================================
   3. 왼쪽 영역
================================= */

.left-panel {
  background: #000000;
  color: #ffffff;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;

  padding: 0;
  min-width: 0;
  overflow: hidden;
}

.left-panel .image-frame {
  width: 100%;
  flex: 1;
  min-height: 0;

  overflow: hidden;
  position: relative;
  background: #000000;
}

.illustration {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}


/* =================================
   4. 오른쪽 영역
================================= */

.right-panel {
  background: #000000;
  color: #ffffff;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;

  padding: 0;
  min-width: 0;
  overflow: hidden;
}

.right-panel .image-frame {
  width: 100%;
  flex: 1;
  min-height: 0;

  overflow: hidden;
  position: relative;
  background: #000000;
}

.text-dump-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}


/* =================================
   5. 하단 캡션
================================= */

.left-caption,
.right-caption {
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;

  color: #ffffff;
  margin: 0;
  padding: 14px 0 18px;
  text-align: center;

  transition: color 0.2s ease;
}


/* =================================
   6. 이미지 인터랙션
================================= */

.image-frame img {
  cursor: pointer;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.5s ease;
}

.image-frame:hover img {
  transform: scale(1.2);
}


/* =================================
   7. 이미지 확대 화면
================================= */

.lightbox {
  display: none;

  position: fixed;
  inset: 0;
  z-index: 1000;

  background: rgba(0, 0, 0, 0.94);

  justify-content: center;
  align-items: center;

  padding: 40px;
}

.lightbox.active {
  display: flex;
}

#lightbox-image {
  max-width: 70vw;
  max-height: 75vh;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: zoom-out;
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 35px;

  background: none;
  border: none;
  color: white;

  font-size: 42px;
  cursor: pointer;
}


/* =================================
   8. 모바일 화면
================================= */

@media (max-width: 700px) {

  body {
    overflow: auto;
  }

  .landing {
    grid-template-columns: 1fr;
    gap: 20px;
    height: auto;
  }

  .left-panel,
  .right-panel {
    min-height: 500px;
  }

  .left-panel .image-frame,
  .right-panel .image-frame {
    height: 430px;
    flex: none;
  }

}


/* =================================
   9. 커스텀 마우스 커서
================================= */

body,
* {
  cursor: url("../assets/images/custom-cursor.png") 16 16, auto;
}

.image-frame,
.image-frame img,
.lightbox-close {
  cursor: url("../assets/images/custom-cursor.png") 20 20, pointer;
}


/* =================================
   10. 상단 헤더
================================= */

.site-header {
  position: fixed;
  top: 20px;
  left: 30px;
  right: 30px;
  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 왼쪽 워드마크 */

.site-logo {
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-logo:hover {
  color: #e650d3;
}


/* 오른쪽 연락처 */

.contact-info {
  display: flex;
  gap: 45px;
  align-items: center;
}

.contact-info a {
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;

  transition: color 0.2s ease;
}

.contact-info a:hover,
.left-caption:hover,
.right-caption:hover {
  color: #e650d3;
}


/* =================================
   11. 반응형 헤더
================================= */

@media (max-width: 700px) {

  .site-header {
    top: 15px;
    left: 15px;
    right: 15px;
  }

  .site-logo {
    font-size: 16px;
  }

  .contact-info {
    gap: 16px;
  }

  .contact-info a {
    font-size: 12px;
  }

}
/* 상세 페이지 이동 링크 */
.image-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.image-link {
  display: block;
}
