<!DOCTYPE html>

<html lang="ko">

<head>

    <meta charset="UTF-8">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>Song Nansae - Photographer</title>

    <style>

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

        body, html { 

            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; 

            background: #fff; 

            color: #111; 

            height: 100vh;

            overflow: hidden;

        }

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


        .wrapper {

            display: flex;

            height: 100vh;

            width: 100vw;

        }


        /* 왼쪽 고정 사이드바 */

        sidebar {

            width: 320px;

            padding: 50px 40px;

            display: flex;

            flex-direction: column;

            justify-content: space-between;

            flex-shrink: 0;

            border-right: 1px solid #f0f0f0;

            background: #fff;

            z-index: 10;

        }


        .logo a {

            font-size: 15px;

            font-weight: 600;

            letter-spacing: 1px;

        }


        .nav-links {

            display: flex;

            flex-direction: column;

            gap: 12px;

            margin-top: 40px;

        }


        .nav-links a {

            font-size: 14px;

            font-weight: 400;

            color: #888;

            transition: color 0.2s ease;

        }


        .nav-links a:hover, .nav-links a.active {

            color: #111;

            font-weight: 500;

        }


        .footer-info {

            font-size: 12px;

            color: #aaa;

            line-height: 1.5;

        }


        /* 오른쪽 컨텐츠 영역 */

        main {

            flex-grow: 1;

            height: 100vh;

            overflow-y: auto;

            padding: 60px;

            background: #fff;

        }


        .section-content {

            display: none;

        }


        .section-content.active {

            display: block;

        }


        /* 프로젝트 리스트 스타일 (친구분 레퍼런스 스타일) */

        .project-list {

            display: flex;

            flex-direction: column;

            gap: 16px;

        }


        .project-item {

            font-size: 16px;

            color: #333;

            transition: color 0.2s;

        }


        .project-item:hover {

            color: #000;

            text-decoration: underline;

        }


        /* 반응형 모바일 대응 */

        @media (max-width: 900px) {

            body, html { overflow: auto; height: auto; }

            .wrapper { flex-direction: column; height: auto; }

            sidebar { width: 100%; height: auto; padding: 30px 20px; border-right: none; border-bottom: 1px solid #f0f0f0; }

            main { height: auto; padding: 30px 20px; overflow-y: visible; }

            .nav-links { flex-direction: row; flex-wrap: wrap; gap: 15px; margin-top: 20px; }

        }

    </style>

</head>

<body>


    <div class="wrapper">

        <!-- 왼쪽 사이드바 -->

        <sidebar>

            <div>

                <div class="logo">

                    <a href="#" onclick="switchSection('commercial')">SONG NANSAE</a>

                </div>

                <div class="nav-links">

                    <a onclick="switchSection('commercial')" id="nav-commercial" class="active">Commercial</a>

                    <a onclick="switchSection('magazine')" id="nav-magazine">Magazine</a>

                    <a onclick="switchSection('personal')" id="nav-personal">Personal</a>

                    <a onclick="switchSection('film')" id="nav-film">Film</a>

                </div>

            </div>

            <div class="footer-info">

                &copy; 2026 Song Nansae.<br>All rights reserved.

            </div>

        </sidebar>


        <!-- 오른쪽 컨텐츠 영역 -->

        <main>

            <!-- Commercial 섹션 -->

            <div id="content-commercial" class="section-content active">

                <div class="project-list">

                    <div class="project-item">Commercial 프로젝트들이 이곳에 표시됩니다.</div>

                </div>

            </div>


            <!-- Magazine 섹션 -->

            <div id="content-magazine" class="section-content">

                <div class="project-list">

                    <a href="#" class="project-item">Vogue, 2025</a>

                    <a href="#" class="project-item">Vogue Tom Sachs, 2025</a>

                    <a href="#" class="project-item">GQ Cha Joo Young, 2025</a>

                    <a href="#" class="project-item">Esquire, 2025</a>

                    <a href="#" class="project-item">Vogue, 2024</a>

                </div>

            </div>


            <!-- Personal 섹션 -->

            <div id="content-personal" class="section-content">

                <div class="project-list">

                    <div class="project-item">Personal 프로젝트들이 이곳에 표시됩니다.</div>

                </div>

            </div>


            <!-- Film 섹션 -->

            <div id="content-film" class="section-content">

                <div class="project-list">

                    <div class="project-item">Film 작업물이 이곳에 표시됩니다.</div>

                </div>

            </div>

        </main>

    </div>


    <script>

        function switchSection(sectionId) {

            // 모든 콘텐츠 숨기기

            document.querySelectorAll('.section-content').forEach(el => {

                el.classList.remove('active');

            });

            // 모든 메뉴 활성 해제

            document.querySelectorAll('.nav-links a').forEach(el => {

                el.classList.remove('active');

            });


            // 선택한 섹션 및 메뉴 활성화

            document.getElementById('content-' + sectionId).classList.add('active');

            document.getElementById('nav-' + sectionId).classList.add('active');

        }

    </script>


</body>

</html>