/* ----- 기본 리셋 & 폰트 ----- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-family: 'Noto Sans KR', sans-serif; word-break: keep-all; }
body { display: block; background: #e6e6e6; 
  -webkit-user-select: none; /* Chrome, Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE/Edge */
  user-select: none;}


/* ----- 사이드바(nav) ----- */
nav {
    position: fixed;
    left: 0;
    top: 0;
    width: 250px;
    height: 70px;
    background: transparent;
    padding: 0;
    z-index: 10000;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100%;
    gap: 0.3rem;
    padding-left: 0.5rem;
    padding-top: 0.5rem;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    text-decoration: none;
    font-family: "Special Elite", system-ui;
    font-size: 1rem;
    line-height: 1.05;
    letter-spacing: 0.015em;
    text-transform: uppercase;
    display: block;
    color: #000000;
    padding: 10px 30px 30px 10px;
    margin-top: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: left;
    pointer-events: auto;
}

nav ul li a:hover {
    color: #000;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

/* ----- 가운데 세로 정렬 이미지 리스트 ----- */
.image-list {
  min-height: 100vh;
  margin-left: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  background: #f9f9f9;
}

.image-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  position: relative;
}

.image-wrapper img {
  width: 120px;
  height: auto;
  cursor: pointer;
  flex-shrink: 0;
  border: 2px solid transparent;
  transition: opacity 0.3s ease, border-color 0.2s ease;
}
.image-wrapper img:hover {
  opacity: 0.6;
}
.image-wrapper img.active {
  border-color: #007BFF;
}
.g-bg{
background-image: url(g-bg.gif);
background-attachment: fixed;
background-size: cover;}

.g-bg2{
    background-image: url(bg1.jpg);
    background-attachment: fixed;
    background-size: cover;}

/* ----- detail 설명 오른쪽에만 보이게 ----- */
.detail {
  opacity: 0;
  transition: opacity 0.3s ease;
  max-width: 400px;
  min-width: 180px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  padding: 24px 20px;
  margin-left: 20px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.detail.visible {
  opacity: 1;
}

.detail h2 {
  margin-top: 0;
  font-size: 1.1rem;
}
.detail p {
  font-size: 0.95rem;
  color: #333;
}
.data-title{font-family: "Special Elite", system-ui;}

img {
    border: 1px solid #3f3f3f6a; /* 테두리 두께 */
  }



.gallery-3col-layout {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
  margin-left: 250px; /* nav 너비만큼 오른쪽으로 */
  align-items: center;
  justify-content: center;
  padding-right: 320px; /* detail 패널과 겹치지 않게 */
}


.gallery-center {
  transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 60px;
  }
  
  .gallery-center img {
    transform-style: preserve-3d;
    cursor: pointer;
    max-width: 450px;
    margin-top: -45px;
    margin-bottom: 0px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.5s cubic-bezier(.77,0,.18,1), box-shadow 0.3s, z-index 0.3s, opacity 0.3s, margin 0.3s;
    z-index: 1;
    opacity: 0.9 !important;
  }
  

.gallery-center img:nth-child(even) {
  transform: perspective(500px) rotateX(-5deg) rotateY(0deg) scale(0.95);
}
.gallery-center img:nth-child(odd) {
  transform: perspective(500px) rotateX(-5deg) rotateY(0deg) scale(0.95);
}

.gallery-center img:hover {
  transform: perspective(500px) rotateX(0deg) rotateY(0deg) scale(1.1) translateY(-80px);
  z-index: 10;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  margin-bottom: 80px;
  opacity: 1;
}

.gallery-detail {
  position: fixed;
  right: 0;
  top: 0;
  width: 380px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(9px) brightness(1) contrast(1) grayscale(0) hue-rotate(0) invert(0) opacity(1) saturate(1) sepia(0);
  -webkit-backdrop-filter: blur(8px) brightness(1) contrast(1) grayscale(0) hue-rotate(0) invert(0) opacity(1) saturate(1) sepia(0);
  border: 1px solid rgba(255, 255, 255, 0.3);
  
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  padding: 30px 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  z-index: 1000;
  box-shadow: -2px 0 16px rgba(0,0,0,0.04);
  overflow-y: auto;
}

.gallery-detail h2 {font-family: "Special Elite", system-ui;
    color: rgb(0, 0, 0);
    line-height: 1.3;
  margin-top: 0;
  font-size: 1.5rem;
}

.gallery-detail p {
  font-size: 0.9rem;
  color: #454545;
  padding-top: 20px;
  line-height: 1.5;

}



.bg{ background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.6))}

.custom-tooltip {
  max-width: 200px;
  position: fixed;
  pointer-events: none;
  color: #26ff00;
  
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 1rem;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.15s;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  line-height: 1.2;
}
.custom-tooltip.visible {
  opacity: 1;
}



.container

.background-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.background-images img {
  position: absolute;
  max-width: 250px;
  transition: transform 0.3s;
  opacity: 1;
  padding: 20px;
  margin: 20px;
  z-index: 1;
}


.gallery-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.gallery-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-background img.active {
  opacity: 1;

 
}

.left-nav {
  border-top: 1px solid rgba(0, 0, 0, 0.286);
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 260px;
  background: transparent;
  padding: 0;
  z-index: 1000;
}

.left-nav p {
  padding-top: 7px;
  font-size: 0.9rem;
  color: #454545;
  line-height: 1.3;
  margin: 0;
  font-family:"Inter", system-ui;
  font-weight: 500;
  text-align: left;

}

.experience-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  max-width: 300px;
  width: 90%;
  
}

.modal-content p {
  font-family: "Noto Sans KR", system-ui;
  font-size: 1rem;
  margin-bottom: 10px;
  color: #000;
  letter-spacing: -0.05em;
 
}

.modal-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.modal-buttons button {
  font-family: "Special Elite", system-ui;
  font-size: 1rem;
  padding: 10px 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #000;
}

.yes-btn:hover {
  color: #ffffff;
}

.no-btn:hover {
  color: #ffffff;
}




