@charset "utf-8";

/* =============================================
   반응형 미디어쿼리 - INTRODUCE 페이지
   Breakpoints: 1024px / 768px / 480px / 360px
   ============================================= */

/* =============================================
   햄버거 버튼 - 모바일에서만 표시
   ============================================= */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 100;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}
/* 열렸을 때 X 모양 */
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   사이드 오버레이
   ============================================= */
.side-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 200;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.side-overlay.show {
    display: block;
    opacity: 1;
}

/* =============================================
   사이드 메뉴
   ============================================= */
.side-menu {
    position: fixed;
    top: 0;
    right: -280px; /* 처음엔 화면 밖 */
    width: 260px;
    height: 100%;
    background: #202020;
    z-index: 300;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding-top: 60px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
}
.side-menu.open {
    right: 0; /* 열릴 때 화면 안으로 */
}

/* 닫기 버튼 */
.side-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: #bdbdbd;
    font-size: 20px;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s;
}
.side-close:hover { color: #fff; }

/* 사이드 메뉴 링크 */
.side-menu ul { padding: 20px 0; }
.side-menu ul li { border-bottom: 1px solid #333; }
.side-menu ul li a {
    display: block;
    padding: 16px 28px;
    color: #bdbdbd;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Rajdhani', 'sans-serif';
    letter-spacing: 1px;
    transition: all 0.2s;
}
.side-menu ul li a:hover,
.side-menu ul li:first-child a {
    color: #ff1744;
    background: rgba(255,23,68,0.06);
}

/* =============================================
   태블릿 (1024px 이하)
   ============================================= */
@media screen and (max-width: 1024px) {
    html, body { min-width: 100% !important; }

    #visual > .main-bn { width: 100%; padding: 0 20px; }
    #visual > .main-bn h2 { font-size: 56px; letter-spacing: -4px; }

    #job-box { width: 90%; margin: 50px auto; }

    #footer .ft-box { width: 100%; padding: 0 20px; }
}

/* =============================================
   모바일 (768px 이하) - 햄버거 메뉴 활성화
   ============================================= */
@media screen and (max-width: 768px) {
    html, body { min-width: 100% !important; }

    /* 헤더 */
    #header {
        height: 54px;
        padding: 0 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        width: 100%;
    }
    #header h1.logo {
        flex: 1;
    }
    #header h1.logo a {
        line-height: normal;
        font-size: 16px;
        margin-left: 0;
        white-space: nowrap;
    }

    /* PC 메뉴 숨기기 */
    #header .util { display: none; }

    /* 햄버거 버튼 표시 */
    .hamburger { display: flex; }

    /* 비주얼 */
    #visual { margin-top: 54px; height: auto; padding: 40px 20px; }
    #visual > .main-bn { width: 100%; }
    #visual > .main-bn img { width: 48px; height: auto; margin-top: 0; }
    #visual > .main-bn h2 { font-size: 42px; letter-spacing: -2px; margin-top: 10px; }
    #visual > .main-bn p { font-size: 15px; margin-top: 16px; }

    /* 본문 */
    #job-box { width: 92%; margin: 40px auto; }
    #job-box h3 { font-size: 15px; }
    #job-box .list-box li { font-size: 13px; padding: 8px 0 8px 24px; }
    #job-box .list-box li:before { left: 14px; width: 3px; height: 3px; }

    /* 태그 박스 */
    #job-box .list-career .tag-box li { font-size: 13px; padding: 8px 10px; }

    /* 스킬 아이콘 */
    #job-box .list-skill .list-box li { width: 38px; height: 38px; margin: 0 12px; background-size: contain !important; background-position: center center !important; background-repeat: no-repeat !important; }

    /* 푸터 */
    #footer { height: auto; padding: 24px 16px; text-align: center; }
    #footer .ft-box { width: 100%; padding: 0; }
    address { float: none; display: block; padding-top: 0; font-size: 13px; text-align: center; }
    #footer .ft-sns { float: none; padding: 16px 0 12px 0; display: flex; justify-content: center; }
    #footer .ft-sns li a { margin: 0 8px; }
    #footer p.ft-tt1 { font-size: 12px; text-align: center; }
    #footer p.ft-tt2 { font-size: 11px; text-align: center; }

    /* TOP 버튼 */
    #btn-top { right: 16px; bottom: 24px; width: 38px; height: 38px; background-size: 38px auto !important; }
}

/* =============================================
   모바일 세로 (480px 이하)
   ============================================= */
@media screen and (max-width: 480px) {
    #header h1.logo a { font-size: 16px; }

    /* 비주얼 */
    #visual { margin-top: 52px; padding: 30px 16px; }
    #visual > .main-bn h2 { font-size: 34px; letter-spacing: -1px; }
    #visual > .main-bn p { font-size: 13px; }

    /* 본문 */
    #job-box { width: 94%; margin: 30px auto; }
    #job-box .list-box li { font-size: 12px; padding: 7px 0 7px 22px; }
    #job-box .list-box li:before { left: 12px; }
    #job-box .list-career .tag-box li { font-size: 12px; padding: 7px 9px; }

    /* 스킬 아이콘 */
    #job-box .list-skill .list-box li { width: 34px; height: 34px; margin: 6px 10px; background-size: contain !important; background-position: center center !important; background-repeat: no-repeat !important; }
    #job-box .list-skill .list-box ul { padding: 12px 0; }
}

/* =============================================
   최소 사이즈 (360px 이하)
   ============================================= */
@media screen and (max-width: 360px) {
    #visual > .main-bn h2 { font-size: 28px; }
    #visual > .main-bn p { font-size: 12px; }
    #job-box { width: 96%; }
    #job-box .list-box li { font-size: 11px; padding: 7px 0 7px 20px; }
    #job-box .list-box li:before { left: 10px; }
    #header h1.logo a { font-size: 16px; }
}
