/* style.css */
:root {
    --primary-color: #FF4500;
    /* 메인 포인트 컬러 */
    --secondary-color: #FF8C00;
    --bg-dark: #0a0a0a;
    --text-light: #ffffff;
    --text-grey: #cccccc;
    --font-family: 'Montserrat', 'Pretendard', sans-serif;
    /* 한글 폰트 추가 */
    --box-border: rgba(255, 255, 255, 0.3);
    /* 박스 테두리 색상 */
}

/* ... (기본 설정 및 헤더, 히어로 섹션 스타일은 기존과 동일하게 유지) ... */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: var(--text-light);
    transition: color 0.3s ease;
}

/* Header (기존 유지) */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 100;
    background: transparent;
    transition: background 0.3s ease;
}

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

.logo {
    width: 10rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-list li a {
    font-weight: 500;
    font-size: 1rem;
    opacity: 0.9;
}

.nav-list li a:hover {
    opacity: 1;
    color: var(--primary-color);
}

/* Hero Section (기존 유지) */
.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    background-color: var(--bg-dark);
    overflow: hidden;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    mix-blend-mode: overlay;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: radial-gradient(circle at 50% 40%, rgba(255, 69, 0, 0.3) 0%, rgba(10, 10, 10, 0.9) 80%);
}

.hero-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: -50px;
}

.hero-left {
    flex: 1;
    z-index: 12;
    padding-top: 20rem;
}

.hero-logo {
    width: 600px;
    margin-top: 2rem;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #fff;
}

.hero-title {
    font-size: 7.5rem;
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 1rem;
    letter-spacing: -3px;
    color: #ffffff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 1rem;
}

.hero-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 5rem;
    max-width: 600px;
    z-index: 12;
    padding-top: 20rem;
}

.hero-text {
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 2rem;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
}

.hero-text .sub-text {
    display: block;
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1.5rem;
    line-height: 1.6;
    word-break: keep-all;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    background-color: #fff;
    color: #000;
    padding: 1rem 2rem;
    border-radius: 3rem;
    font-weight: 800;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-hero:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.5);
}

.arrow-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-left: 1rem;
    font-size: 1.2rem;
}

.hero-footer {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
}

.hf-item {
    display: flex;
    flex-direction: column;
}

.hf-num {
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.hf-text {
    font-size: 0.9rem;
    color: #ccc;
}

/* =========================================
   [새로운 스타일] Career Section
   ========================================= */
.career-section {
    padding: 8rem 0;
    position: relative;
    background-color: #050505;
    /* 더 어두운 배경 */
    overflow: hidden;
}

/* 배경에 화려한 클럽 조명 느낌 추가 */
.career-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    text-align: left;
    /* 레퍼런스처럼 왼쪽 정렬 */
    margin-bottom: 3rem;
    color: #fff;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: -1px;
}

/* 제목 옆에 포인트 라인 추가 */
.section-title::before {
    content: '';
    display: inline-block;
    width: 50px;
    height: 8px;
    background-color: var(--primary-color);
    margin-right: 1rem;
    transform: translateY(-50%);
    vertical-align: middle;
    box-shadow: 0 0 15px var(--primary-color);
}

/* 좌우 레이아웃 컨테이너 */
.career-layout {
    display: flex;
    gap: 3rem;
    position: relative;
    z-index: 1;
    align-items: stretch;
    /* 높이를 맞춤 */
}

/* 왼쪽: 이미지 박스 */
.career-image-box {
    flex: 0 0 350px;
    /* 고정 너비 */
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.1) saturate(1.1);
    /* 약간의 보정 */
}

/* 오른쪽: 정보 박스 (레퍼런스 스타일) */
.career-info-box {
    flex: 1;
    backdrop-filter: blur(5px);
}

/* 로고 및 내부 제목 */
.career-logo {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-style: italic;
    /* 레퍼런스 로고 느낌 */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.career-info-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

/* 3단 그리드 레이아웃 */
.career-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3개의 동일한 컬럼 */
    gap: 2.5rem;
}

.column-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1.2rem;
    opacity: 0.8;
    letter-spacing: 1px;
}

/* 리스트 스타일링 */
.info-list {
    list-style: none;
}

.info-list li {
    font-size: 0.95rem;
    color: var(--text-grey);
    margin-bottom: 0.8rem;
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.5;
    word-break: keep-all;
    /* 한글 단어 잘림 방지 */
}

/* 불릿 포인트 커스텀 */
.info-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    /* 포인트 컬러 */
    font-size: 1.2rem;
    line-height: 1;
    top: 2px;
    text-shadow: 0 0 5px var(--primary-color);
}

/* 강조 포인트 스타일 */
.info-list li.highlight-point {
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 1.5rem;
}

.info-list li.highlight-point::before {
    color: var(--primary-color);
    text-shadow: 0 0 5px var(--primary-color);
}

/* Footer (기존 유지) */
.footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
}


/* =========================================
   [추가] ABOUT Section
   ========================================= */
.about-section {
    position: relative;
    padding: 10rem 0;
    /* 위아래 여백을 넉넉하게 */
    overflow: hidden;
    background-color: var(--bg-dark);
}

/* 배경 이미지 설정 */
.about-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.about-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    /* 이미지를 어둡게 처리 */
    filter: grayscale(100%) contrast(1.2);
    /* 흑백 톤으로 세련되게 */
    transform: scale(1.1);
    /* 약간 확대 */
}

/* 오버레이 (텍스트 가독성 확보) */
.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--bg-dark), rgba(0, 0, 0, 0.6), var(--bg-dark));
    /* background: radial-gradient(circle at 50% 40%, rgba(255, 69, 0, 0.1) 0%, rgba(255, 69, 0, 0.1) 80%); */
    z-index: 1;
}

/* 콘텐츠 컨테이너 */
.about-container {
    position: relative;
    z-index: 10;
    display: flex;
}

.about-content-box {
    max-width: 800px;
}

/* 타이틀 스타일 재정의 (가운데 정렬) */
.about-title {
    text-align: center;
    margin-bottom: 2rem;
}

.about-title::before {
    left: 50%;
    /* 포인트 라인 중앙 정렬 */
    transform: translateX(-50%) translateY(-50%);
    margin-right: 0;
    width: 60px;
    top: -20px;
    /* 타이틀 위로 올림 */
}

/* 메인 텍스트 (지역 등) */
.about-main-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.4;
    letter-spacing: -0.5px;
}

.highlight-text {
    color: var(--primary-color);
    /* 오렌지/레드 포인트 컬러 */
    font-weight: 900;
    text-transform: uppercase;
}

/* 설명 본문 */
.about-description p {
    font-size: 1.15rem;
    color: #e0e0e0;
    margin-bottom: 2rem;
    line-height: 1.8;
    word-break: keep-all;
    /* 한글 단어 끊김 방지 */
}

/* 마지막 문장 강조 */
.impact-sentence {
    font-size: 1.4rem !important;
    font-weight: 700;
    margin-top: 3rem;
    color: #fff !important;
}

/* '흐름' 텍스트에 그라디언트 효과 */
.text-gradient {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

/* =========================================
   [추가] GALLERY Section
   ========================================= */
.gallery-section {
    padding: 8rem 0;
    background-color: #080808;
    /* 아주 어두운 회색/검정 */
    position: relative;
}

.gallery-title {
    text-align: center;
    margin-bottom: 4rem;
}

.gallery-title::before {
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    background-color: var(--primary-color);
    /* 갤러리는 블루 포인트 */
    box-shadow: 0 0 15px var(--primary-color);
}

/* 슬라이더 래퍼 (버튼 포함) */
.gallery-slider-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 실제 슬라이드가 보이는 창 */
.gallery-track-container {
    width: 100%;
    overflow: hidden;
    /* 좌우 버튼 공간 확보 */
    padding: 1rem 0;
}

/* 슬라이드 트랙 (아이템들이 나열된 긴 줄) */
.gallery-track {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    transition: transform 0.4s ease-in-out;
    gap: 20px;
    /* 아이템 간 간격 */
}

/* 개별 아이템 카드 */
.gallery-item {
    min-width: calc(33.333% - 14px);
    /* 데스크탑: 3개씩 보이기 (gap 고려) */
    aspect-ratio: 4 / 3;
    /* 이미지 비율 고정 */
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
    /* 호버 시 이미지 확대 */
}

/* 호버 시 나타나는 오버레이 */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.view-icon {
    font-size: 2rem;
    color: #fff;
    font-weight: 300;
    border: 1px solid #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 슬라이드 버튼 */
.slider-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 1rem;
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    position: absolute;
}

.slider-btn:hover {
    background: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
}

.prev-btn {
    left: -50px;
}

.next-btn {
    right: -50px;
}

/* ---------------------------
   Lightbox (Modal) Styles
   --------------------------- */
.lightbox {
    display: none;
    /* 기본 숨김 */
    position: fixed;
    z-index: 9999;
    /* 헤더보다 위에 */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    /* 아주 진한 배경 */
    justify-content: center;
    align-items: center;
    flex-direction: column;
    animation: fadeIn 0.3s;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border: 2px solid #333;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    border-radius: 5px;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-lightbox:hover {
    color: var(--primary-color);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .gallery-item {
        min-width: calc(50% - 10px);
    }

    /* 태블릿: 2개씩 */
}

@media (max-width: 768px) {
    .slider-btn {
        display: none;
    }

    /* 모바일은 스와이프 or 스크롤이 편하므로 버튼 숨김 (선택사항) */
    .gallery-track-container {
        overflow-x: scroll;
        /* 모바일은 가로 스크롤 허용 */
        scroll-snap-type: x mandatory;
    }

    .gallery-track {
        gap: 10px;
    }

    .gallery-item {
        min-width: 80vw;
        /* 모바일: 크게 1개씩 */
        scroll-snap-align: center;
    }

    /* 모바일에서 버튼이 없어지므로 패딩 조정 */
    .gallery-slider-wrapper {
        display: block;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 5rem;
    }

    .hero-logo {
        width: 300px;
    }

    .hero-content {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 100px;
    }

    .hero-left {
        padding-top: 0rem;
    }

    .hero-right {
        padding-left: 0;
        margin-top: 3rem;
        padding-top: 0;
    }

    .hero-footer {
        display: none;
    }

    /* Career 섹션 반응형 */
    .career-layout {
        flex-direction: column;
    }

    /* 상하 배치로 변경 */
    .career-image-box {
        flex: none;
        width: 100%;
        height: 400px;
    }

    /* 이미지 너비 100% */
    .career-info-box {
        padding: 2rem;
    }

    .career-list-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* 리스트를 1열로 변경 */
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

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

    .hero-text {
        font-size: 1.5rem;
    }

    .header {
        padding: 1.5rem 0;
    }

    .about-section {
        padding: 6rem 0;
    }

    .about-main-text {
        font-size: 1.2rem;
    }

    .about-description p {
        font-size: 1rem;
    }

    .impact-sentence {
        font-size: 1.2rem !important;
    }

    .mobile-break {
        display: block;
    }

    .career-section {
        padding: 4rem 0;
    }

    .gallery-section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    /* 제목 옆에 포인트 라인 추가 */
    .section-title::before {
        width: 20px;
        height: 2px;
    }
}