/* --- 폰트 로드 --- */
@font-face { font-family: 'Pretendard'; font-weight: 100; src: url('font/Pretendard-Thin.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 200; src: url('font/Pretendard-ExtraLight.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 300; src: url('font/Pretendard-Light.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 400; src: url('font/Pretendard-Medium.woff2') format('woff2'); }
@font-face { font-family: 'Classic Vogue'; font-weight: 400; src: url('font/Classyvogueregular.woff2') format('woff2'); }
* {
  -webkit-tap-highlight-color: transparent !important;
}

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

body, html {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    color: #333;
    line-height: 1.4; 
    background-color: #fff;
    overflow: hidden; 
    -webkit-text-size-adjust: 100%;
}

/* ===========================
   FULLPAGE WRAPPER (JS로만 스냅)
   =========================== */
#fullpage-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow-y: scroll;
  scroll-behavior: auto; 
  scrollbar-width: none; 
  -ms-overflow-style: none;  
}

#fullpage-wrapper::-webkit-scrollbar {
  display: none;
}

/* ===========================
   각 섹션 공통
   =========================== */
.section {
    width: 100vw;
    height: 100vh;
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0; 
}

/* =========================== */
/* ===== SECTION 1: INTRO (유지) ===== */
/* =========================== */
#intro-section { 
    background-color: #f7f7f7; 
    overflow: hidden; 
}

.intro-background-overlay {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-color: #E3DFE0; 
    background-image: 
        linear-gradient(to top, #ffffff 0%, #ffffff 15%, rgba(255, 255, 255, 0) 50%), 
        url('profile1.jpg'); 
    
    background-size: contain; 
    background-position: center center; 
    background-repeat: no-repeat; 
    z-index: 0; 
}

.intro-content { 
    position: relative; 
    z-index: 1; 
    width: 100%; 
    height: 100%; 
    display: block; 
    text-align: center;
    padding: 0;
}

.intro-top-area {
    width: 90%;
    max-width: 300px; 
    position: absolute; 
    top: 10px; 
    left: 50%;
    transform: translateX(-50%);
}

.archiving-text { 
    margin: 0; 
    font-size: 0.75rem; 
    letter-spacing: 1px; 
    color: #666; 
    font-weight: 300; 
}


.intro-middle-area { 
    width: 90%; 
    max-width: 500px; 
    color: #111; 
    text-align: center; 
    
    position: absolute; 
    top: 68%; 
    left: 50%;
    transform: translate(-50%, -50%); 
    
    margin: 0;
}

.intro-middle-area h1 { 
    font-family: 'Classic Vogue', serif; 
    font-size: 2.8rem; 
    font-weight: 400; 
    margin: 0; 
    letter-spacing: 3px; 
}

.sub-title { 
    font-family: 'Pretendard', sans-serif; 
    font-size: 1rem; 
    margin-top: 8px; 
    font-weight: 200; 
    color: #555; 
    letter-spacing: 2px; 
}

.intro-bottom-area { 
    width: 90%; 
    position: absolute;
    bottom: 20px; 
    left: 50%;
    transform: translateX(-50%);
    
    margin: 0; 
    color: #666; 
    cursor: pointer; 
}

.scroll-text { 
    margin: 0 0 10px 0; 
    font-size: 0.7rem; 
    letter-spacing: 1px; 
    font-weight: 300; 
}

.scroll-icon {
    display: inline-block;
}

.arrow-icon { 
    width: 20px; 
    height: 20px; 
    animation: bounce 1.5s infinite; 
}

@keyframes bounce { 
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 
    40% { transform: translateY(-5px); } 
    60% { transform: translateY(-2px); } 
}


/* =========================== */
/* ===== SECTION 2: MAIN CONTENT (사진 좌우 정렬 및 간격 복원) ===== */
/* =========================== */
#main-content-section { 
  background-color: #fff; 
  padding: 0; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  position: relative; 
}

.section-content { 
  width: 100%;
  max-width: 520px;
  height: auto; 
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
  align-items: center; 
  text-align: left; 
  padding: 40px 32px; 

}

.content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.icon-nav { 
  width: 24px; 
  height: 24px; 
  cursor: pointer; 
  display: inline-block;
  vertical-align: middle;
}

/* Profile Header (좌측 정렬 통일) */
.profile-header {
  /* 텍스트/사진 기준선이 32px이므로, content-grid와는 다르게 아이콘은 왼쪽 패딩(32px) 안에 있어야 함 */
  width: 100%;
  display: grid;
  grid-template-columns: 24px auto; /* 24px 아이콘 공간 확보 */
  grid-template-rows: auto auto;    
  column-gap: 8px;
  align-items: start;
  margin-bottom: 22px;
  /* section-content의 32px 패딩 안에 있으므로 padding-left: 0 */
  padding-left: 0; 
  position: relative; 
}

.profile-header .icon-nav.left {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  justify-self: start;
  position: static; /* 그리드 내에서 정렬 */
  transform: none;
  width: 24px; 
  height: 24px;
}

.profile-header h2 {
  grid-column: 2;
  grid-row: 1;
  font-size: 2.2rem;
  font-weight: 300;
  margin: 0;
  line-height: 1.1;
  padding-left: 0; /* 아이콘과의 간격은 column-gap 8px로 확보 */
}

.actor-info {
  grid-column: 2;
  grid-row: 2;
  font-size: 0.9rem;
  font-weight: 200;
  color: #000000;
  margin-top: 6px;
  padding-left: 0; /* 아이콘과의 간격은 column-gap 8px로 확보 */
}

/* ===== 핵심 그리드: 사진/텍스트 배치 (사진 좌우 여백 일치) ===== */
.content-grid{
  display:grid;
  grid-template-columns: 56% 44%; 
  grid-template-rows: auto auto auto; 
  gap:16px;
  width:100%;
  margin-bottom:28px;
  padding-left: 0; 
}

/* 왼쪽 큰 프로필 사진 (흰색 사진) */
.profile-photo-area{
  grid-column:1 / 2;
  grid-row:1 / 3;      
  background:#f5f5f5;
  overflow:hidden;
  aspect-ratio: 6 / 5;
  border-radius:0;
  margin-right: 30px;
  margin-left: 0; 
}
.profile-photo-smile{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* 오른쪽 텍스트+작은 사진 (Archive) */
.archive-area {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  display: grid;
  grid-template-columns: 1fr; 
  grid-template-rows: auto auto auto; 
  row-gap: 8px;
  align-items: end;
  text-align: left;
  transform: translateX(-15px);
  margin-left: -8px; /* 왼쪽 사진과의 그리드 갭(16px)을 상쇄하고 8px 간격 유지 */
  position: relative; 
}

.archive-area h3{
  grid-column:1;
  grid-row:1;
  font-size:2.2rem;
  font-weight:300;
  margin: 0; 
  line-height: 1.1;
  color:#000;
  padding-left: 8px; /* 텍스트와 왼쪽 사진 간격 복원 */
  padding-right: 40px; 
}

.icon-nav.right {
  width: 24px; 
  height: 24px;
  position: absolute;
  top: 0;
  right: 0;
  transform: translateY(20%); 
}
.archive-area p{
  grid-column:1 / span 2;
  grid-row:2;
  font-size:0.75rem;
  color:#000000;
  font-weight:200;
  line-height:1.5;
  margin:0;
  padding-left: 8px; /* 텍스트와 왼쪽 사진 간격 복원 */
}

/* 검정 사진 (Archive Image) - 오른쪽 벽면 부착 */
.archive-image-container{
  grid-column: 1 / span 2; 
  grid-row: 3;
  
  width: 100%; 
  
  aspect-ratio: 6 / 5; 
  overflow:hidden;
  background:#f5f5f5;
  margin-top: 55px;
  transform: translateX(0); 
}
.archive-photo{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.gallery-area {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding-left: 0;
    margin-top: clamp(-100px, -6vh, -80px);
    position: relative;
}

.gallery-area .icon-nav.left {
    width: 24px;
    height: 24px;
    position: static; /* flex 컨테이너 내에서 정렬 */
    transform: none;
}

.gallery-area h3{
  font-size:2.3rem; font-weight:300; margin:0; color:#000;
  padding-left: 0; /* 아이콘과의 간격은 flex gap 10px으로 확보 */
}

/* Info Links */
.info-links{
  width:100%;
  display:flex;
  justify-content:space-around;
  padding-top:10px;
  margin-top:100px;
  margin-bottom:20px;
}
.link-item{
    font-size:0.7rem;
    color:#000000;
    font-weight:300;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
    cursor:pointer;
}
.link-icon{
    width:24px;
    height:24px;
    display:block;
}

/* ─── 2번 섹션(메인) : 스크롤 화살표 ─── */

/* 각 패널(섹션)을 화살표 기준점으로 */
.section {
  position: relative;
  min-height: 100vh;        /* 짧은 섹션도 화면 높이만큼 채우기 */
}

/* 섹션 안에 있는 화살표 박스는 섹션 하단 중앙에 고정 */
.section .scroll-down-arrow {
  position: absolute;
  bottom: 20px;             /* 섹션 바닥에서 20px 위 (원하면 조절) */
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 10;
}

/* 화살표 이미지 공통 스타일 */
.scroll-down-arrow .arrow-icon,
.arrow-icon {
  width: 20px;
  height: 20px;
  animation: bounce 1.5s infinite;
}
/* 2번 섹션 하단 중앙에 스크롤 화살표 고정 */
#main-content-section {
  position: relative; /* 이미 있으면 그대로 두면 됨 */
}

#main-content-section .scroll-down-arrow {
  position: absolute;
  bottom: 18px;      /* 1번 섹션이랑 높이 맞추고 싶으면 숫자만 조절 */
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 20;
}

/* 통통 튀는 애니메이션 (없으면 추가) */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(6px); }
  60% { transform: translateY(3px); }
}



/* ===== SECTION 3: EVENTS ===== */
#events-section {
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* 🔥 네모 중심을 화면 중앙에 맞춤 */
  height: 100vh;
  position: relative;
  text-align: center;
  padding: 0;
}

#events-section h1 {
  font-family: 'Classic Vogue', serif;
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 40px; /* 제목과 박스 간격 */
  letter-spacing: 3px;
}

.event-box {
  width: 80vw;
  max-width: 280px;
  height: 380px;
  background-color: #e8e8e8;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 60px; /* 네모 아래 문구와 간격 */
}

.copyright-text {
  font-size: 0.65rem;
  color: #aaa;
  font-weight: 300;
  letter-spacing: 0.5px;
  margin: 0;
}

.event-box p { 
    font-size: 0.9rem; 
    color: #000000; 
    font-weight: 300; 
    letter-spacing: 0.5px;
}

/*애니메이션*/
/* 진입 슬라이드: 왼쪽 → 중앙 */
body.enter-slide {
  animation: enterFromLeft .35s cubic-bezier(.22,.85,.26,1) both;
  will-change: transform, opacity;
}
@keyframes enterFromLeft {
  from { transform: translateX(-14%); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}

/* 사용자 모션 선호 존중 */
@media (prefers-reduced-motion: reduce) {
  body.enter-slide { animation: none; }
}


/* 📱 모바일 최적화 (Max-width: 480px) */
@media (max-width: 480px) {
    
    /* --- 폰트 크기 조정 (유지) --- */
    .intro-middle-area h1 { 
        font-size: 2.2rem; 
        letter-spacing: 2px;
    }
    .sub-title { 
        font-size: 0.8rem; 
        margin-top: 6px; 
    }
    .archiving-text, .scroll-text {
        font-size: 0.7rem; 
    }
    
    .profile-header h2, .archive-area h3, .gallery-area h3 {
        font-size: 1.8rem; 
    }
    
    .actor-info {
        font-size: 0.8rem; 
    }
    .archive-area p{
        font-size: 0.7rem; 
    }
    
    .link-item span{
        font-size: 0.65rem; 
    }
    
    #events-section h1 { 
        font-size: 2.2rem; 
        margin: 0 0 30px 0; 
    }
    
    .archive-area h3 {
        padding-right: 40px; 
    }
    
    /* ===== 섹션 2: 좌측 정렬 통일 패딩 유지 ===== */
    .section-content {
        padding-left: 32px;
        padding-right: 32px;
    }
    
    /* Profile Header */
    .profile-header {
        padding-left: 0;
    }
    
    /* Gallery Area */
    .gallery-area {
        padding-left: 0;
    }
    
    .profile-photo-area {
        margin-left: 0; 
    }
    .archive-image-container{
        margin-right: 0;
    }
}
@media (max-height: 700px) {
  .info-links {
    margin-top: 40px;  /* 🔽 위쪽 여백 줄이기 */
    margin-bottom: 10px; /* 🔽 아래쪽 여백도 살짝 줄이기 */
  }
}


/*하이퍼링크 제거*/
/* Profile 링크 보라색(탭/클릭 하이라이트) 제거 */
a {
  color: inherit;
  text-decoration: none;
}
a:focus,
a:active,
a:visited {
  color: inherit;
  outline: none;
  -webkit-tap-highlight-color: transparent; /* 모바일 클릭 시 보라색 하이라이트 제거 */
}
