/* --- 1. 기본 설정 (Reset & Variables) --- */
:root {
    --primary-color: #ccff00;
    --bg-color: #050505;
    --text-color: #ffffff;
    /* [수정] 폰트 우선순위에 Pretendard 추가 (한글 깨짐 방지 및 디자인 향상) */
    --font-main: 'Pretendard', 'Helvetica Neue', Arial, sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    /* 가로 스크롤 방지 */
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- 2. 네비게이션 (Navbar) --- */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
}

.nav-links a {
    margin-left: 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* --- 3. 히어로 섹션 (Hero Section) --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* [수정] 오른쪽 정렬을 위해 flex-end로 변경 */
    align-items: flex-end;
    padding: 0 10%;
    overflow: hidden;
}

/* 헤일로 배경 효과 (중요) */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* 배경 이미지와 헤일로 효과 겹치기 (순서: 맨 위 -> 맨 아래) */
    background:
        /* 1. 라임색 헤일로 (빛 번짐 효과) */
        radial-gradient(circle at 20% 30%, rgba(204, 255, 0, 0.3) 0%, rgba(0, 0, 0, 0) 60%),
        radial-gradient(circle at 80% 80%, rgba(50, 100, 0, 0.3) 0%, rgba(0, 0, 0, 0) 60%),

        /* 2. 어두운 필터 (글자가 잘 보이도록 이미지를 어둡게 누름) */
        linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8)),

        /* 3. 배경 이미지 (여기에 원하는 이미지 파일 경로를 넣으세요) */
        /* 테스트용으로 무료 이미지 URL을 넣어두었습니다. 본인 사진으로 바꾸려면 'bg.jpg' 등으로 변경하세요. */
        url('images/main-bg.png');

    /* 이미지 배치 설정 */
    background-size: cover;
    /* 이미지가 화면을 꽉 채우도록 설정 */
    background-position: center;
    /* 이미지의 중앙을 기준으로 정렬 */
    background-repeat: no-repeat;
    /* 반복 방지 */

    z-index: -1;

    /* JS 움직임 효과를 위해 약간 확대 */
    transform: scale(1.1);
    transition: transform 0.1s ease-out;
    /* 움직임 부드럽게 */
}

/* 텍스트 스타일 */
.hero-content {
    z-index: 1;
    max-width: 900px;
    /* [수정] 텍스트 내부 오른쪽 정렬 */
    text-align: right;
}

.hero-title {
    font-size: 5rem;
    /* 큰 제목 */
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 3rem;
    text-transform: uppercase;
    /* 텍스트 그라디언트 효과 */
    background: linear-gradient(to right, #fff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: #cccccc;
    word-break: keep-all;
    /* 단어 단위로 줄바꿈 (한글 필수 설정) */
    line-height: 1.5;
    /* 줄 간격 살짝 넓힘 */
}

/* 버튼 스타일 */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    /* [수정] 버튼 그룹을 오른쪽 끝으로 정렬 */
    justify-content: flex-end;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(204, 255, 0, 0.5);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-icon {
    margin-left: 0.5rem;
}

/* --- 4. 공통 섹션 스타일 (Placeholder) --- */
.section {
    padding: 6rem 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    box-sizing: content-box;
    margin: 0 auto;
}

.section-title {
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-transform: uppercase;
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 6rem;
    line-height: 0.9;
}

.content-placeholder {
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #666;
}

/* =========================================
   BIOGRAPHY 섹션 스타일 (이미지 1 참조)
   ========================================= */

/* --- 1. 섹션 컨테이너 및 배경 --- */
.bio-section {
    position: relative;
    /* 기존 .section 패딩 무시하고 꽉 채움 */
    padding: 6rem 5%;
    background-color: #1a1a1a;
    /* 아주 어두운 회색 배경 */
    overflow: hidden;
    border-top: none;
    /* 상단 선 제거 */
    color: #fff;
}

/* 거친 질감의 배경 텍스처 추가 */
.bio-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 미세한 노이즈 패턴 이미지 사용 (온라인 무료 소스 활용 예시) */
    background-image: url('https://www.transparenttextures.com/patterns/black-felt.png');
    opacity: 1;
    /* 질감이 너무 강하지 않게 조절 */
    z-index: 0;
}

.bio-container {
    position: relative;
    /* 배경 위에 오도록 설정 */
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    /* 수직 중앙 정렬 */
    justify-content: space-between;
    /* 양옆으로 벌림 */
    gap: 4rem;
    /* 텍스트와 이미지 사이 간격 */
}

/* --- 2. 왼쪽 텍스트 영역 --- */
.bio-content {
    flex: 1;
    /* 남은 공간 차지 */
}

/* 대담한 제목 스타일 */
.bio-title {
    font-family: 'Impact', 'Arial Black', sans-serif;
    /* 강렬한 폰트 */
    font-size: 6rem;
    line-height: 0.9;
    margin-bottom: 3rem;
    text-transform: uppercase;
    color: #ffffff;
}

/* 붉은색 하이라이트 */
.bio-title .highlight {
    color: var(--primary-color);
}

/* 장식 요소 (XXX) */
.bio-decoration {
    font-size: 1.2rem;
    color: #ffffff;
    letter-spacing: 0.8rem;
    /* 글자 사이 넓게 */
    margin-bottom: 3rem;
}

.bio-decoration span {
    display: block;
}

/* 2단 목록 컨테이너 */
.bio-list-container {
    display: flex;
    gap: 3rem;
    /* 단 사이 간격 */
}

.bio-list {
    list-style: none;
    /* 기본 불릿 제거 */
    flex: 1;
    /* 두 단의 너비를 균등하게 */
}

.bio-list li {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
    line-height: 1.4;
    word-break: keep-all;
    /* 한글 단어 줄바꿈 방지 */
    /* 목록 아이템 앞에 작은 사각형 포인트 추가 */
    position: relative;
    padding-left: 1.5rem;
}

.bio-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 0.6rem;
    height: 0.6rem;
    background-color: var(--primary-color);
    /* 라임 그린 포인트 사용 */
    /* 또는 빨간색을 원하면: background-color: #e74c3c; */
}

/* --- 3. 오른쪽 이미지 영역 (흑백 + 흰색 테두리) --- */
.bio-image-wrapper {
    flex: 0 0 45%;
    /* 이미지 영역 너비 고정 (전체의 45%) */
    position: relative;
    /* 이미지를 약간 오른쪽으로 치우치게 배치 */
    transform: translateX(5%);
}

.bio-image {
    width: 100%;
    height: auto;
    display: block;
    /* 핵심 스타일: 흑백 처리 및 대비 증가 */
    filter: grayscale(100%) contrast(120%);
}

/* =========================================
   GALLERY 슬라이더 스타일
   ========================================= */

/* 슬라이더 전체 영역 */
.gallery-slider {
    position: relative;
    margin: 0 auto;
    /* 중앙 정렬 */
    overflow: hidden;
    /* 넘치는 이미지 숨김 */
    border-radius: 12px;
    /* 모서리 둥글게 */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    aspect-ratio: 16 / 9;
    /* 16:9 비율 유지 (원하는 비율로 수정 가능) */
    background: #000;
}

/* 이미지 래퍼 (움직이는 부분) */
.slider-wrapper {
    display: flex;
    /* 이미지들을 가로로 배열 */
    height: 100%;
    transition: transform 0.5s ease-in-out;
    /* 부드러운 슬라이드 효과 */
}

/* 개별 슬라이드 */
.slide {
    min-width: 100%;
    /* 컨테이너 너비만큼 꽉 채움 */
    height: 100%;
}

/* 슬라이드 내부 이미지 */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 비율 유지하며 영역 꽉 채우기 */
    display: block;
    filter: brightness(0.8);
    /* 분위기를 위해 약간 어둡게 (선택사항) */
}

/* --- 네비게이션 버튼 (이전/다음) --- */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s, color 0.3s;
}

.slider-btn:hover {
    background: var(--primary-color);
    /* 라임 그린 호버 효과 */
    color: #000;
}

.prev-btn {
    left: 0;
    border-radius: 0 5px 5px 0;
}

.next-btn {
    right: 0;
    border-radius: 5px 0 0 5px;
}

/* --- 하단 페이지네이션 점(Dots) --- */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

/* 활성화된 점 스타일 */
.dot.active {
    background: var(--primary-color);
    /* 라임 그린 */
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* =========================================
   CONTACT 섹션 스타일
   ========================================= */

.contact-wrapper {
    display: flex;
    justify-content: center;
    gap: 2rem;
    /* 카드 사이 간격 */
    flex-wrap: wrap;
    /* 화면 좁으면 줄바꿈 */
    margin-top: 3rem;
    margin-bottom: 5rem;
}

/* 연락처 카드 (링크) */
.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    /* 아주 연한 배경 */
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* 얇은 테두리 */
    padding: 3rem 2rem;
    width: 280px;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #fff;
}

/* 마우스 올렸을 때 효과 */
.contact-card:hover {
    background: rgba(204, 255, 0, 0.05);
    /* 라임색 배경 살짝 */
    border-color: var(--primary-color);
    /* 라임색 테두리 */
    transform: translateY(-10px);
    /* 위로 붕 뜨는 효과 */
}

/* 아이콘 박스 */
.icon-box {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    color: #888;
    transition: color 0.3s ease;
}

.icon-box svg {
    width: 100%;
    height: 100%;
}

/* 호버 시 아이콘 색상 변경 */
.contact-card:hover .icon-box {
    color: var(--primary-color);
}

/* 텍스트 스타일 */
.contact-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.contact-card p {
    font-size: 1rem;
    color: #ccc;
    font-weight: 300;
}

/* --- 푸터 스타일 --- */
.footer {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
}

.footer p {
    font-size: 0.9rem;
    color: #666;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .section-title {
        font-size: 4rem;
        text-align: center;
        margin-bottom: 5rem;
    }

    .hero {
        align-items: center;
        /* 모바일: 중앙 정렬 */
        padding: 0 5%;
    }

    .hero-content {
        text-align: center;
        /* 모바일: 텍스트 중앙 */
    }

    .hero-buttons {
        justify-content: center;
        /* 모바일: 버튼 중앙 */
        flex-direction: column;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links a {
        margin: 0 1rem;
    }

    .bio-container {
        flex-direction: column;
        /* 위아래로 배치 */
        gap: 3rem;
    }

    .bio-image-wrapper {
        flex: none;
        width: 80%;
        /* 이미지 너비 조절 */
        transform: none;
        /* 중앙 정렬 */
        margin: 0 auto;
    }

    .bio-title {
        font-size: 4rem;
        text-align: center;
    }

    .bio-decoration {
        font-size: 0.9rem;
        margin-bottom: 3rem;
        text-align: center;
    }

    .bio-decoration span {
        margin-bottom: 0.5rem;
    }

    .bio-content {
        width: 100%;
        /* 남은 공간 차지 */
    }

    .bio-list-container {
        flex-direction: column;
        /* 목록도 위아래로 */
        gap: 1rem;
        text-align: center;
    }

    .bio-list li {
        padding-left: 0;
    }

    .bio-list li::before {
        position: relative;
    }

    .gallery-slider {
        aspect-ratio: 4 / 3;
        /* 모바일에서는 조금 더 정사각형에 가깝게 */
    }

    .slider-btn {
        padding: 0.5rem;
        font-size: 1.5rem;
    }

    .contact-wrapper {
        flex-direction: column;
        /* 세로로 쌓기 */
        align-items: center;
    }

    .contact-card {
        width: 100%;
        /* 너비 꽉 채우기 */
        max-width: 400px;
    }


}

/* =========================================
   LIGHTBOX (이미지 확대 보기) 스타일
   ========================================= */

/* 모달 배경 (평소에는 숨김) */
.lightbox {
    display: none;
    /* 기본적으로 숨김 */
    position: fixed;
    /* 화면에 고정 */
    z-index: 9999;
    /* 모든 요소보다 위에 */
    padding-top: 50px;
    /* 상단 여백 */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    /* 이미지 크면 스크롤 */
    background-color: rgba(0, 0, 0);
    /* 짙은 검은색 배경 (투명도 90%) */
}

/* 확대된 이미지 스타일 */
.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1000px;
    /* 최대 너비 제한 */
    max-height: 80vh;
    /* 화면 높이의 80%까지만 */
    object-fit: contain;
    /* 비율 유지 */
    animation: zoomIn 0.3s;
    /* 줌인 애니메이션 */
}

/* 닫기 버튼 (X) */
.close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: var(--primary-color);
    /* 라임 그린 */
    text-decoration: none;
    cursor: pointer;
}

/* 줌인 애니메이션 정의 */
@keyframes zoomIn {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* 갤러리 이미지에 마우스 올렸을 때 클릭 가능 표시 */
.slide img {
    cursor: zoom-in;
    /* 돋보기 커서 */
}

/* 모바일 반응형 */
@media only screen and (max-width: 700px) {
    .lightbox-content {
        width: 100%;
    }
}