html, body {
    height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'Pretendard', Arial, Helvetica, sans-serif;
    background: #fff;
    color: #000;
    display: flex;
}

.sidebar {
    width: 300px;
    background: #fff;
    padding: 30px 25px 30px 25px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.logo {
    font-size: 3.2rem;
    font-weight: bold;
    letter-spacing: -2px;
    margin-bottom: 10px;
    line-height: 1;
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 30px;
    line-height: 1.3;
}

.sidebar-nav {
    margin-bottom: 25px;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
}

.sidebar-nav li {
    margin-bottom: 7px;
}

.sidebar-nav a {
    color: #000;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: text-decoration 0.2s;
}

.sidebar-nav a:hover {
    text-decoration: underline;
}

.sidebar-nav a.active {
    font-weight: bold;
}

.sidebar-search {
    margin: 20px 0 30px 0;
}

.sidebar-search input {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #aaa;
    border-radius: 3px;
    font-size: 1rem;
}

.sidebar-section {
    margin-bottom: 25px;
}

.sidebar-section label {
    font-size: 1rem;
    font-weight: 500;
}

.sidebar-section input {
    width: 100%;
    margin: 5px 0 10px 0;
    padding: 6px 10px;
    border: 1px solid #aaa;
    border-radius: 3px;
    font-size: 1rem;
}

.sidebar-section button {
    width: 50%;
    padding: 8px 0;
    border: 1px solid #afafaf;
    background: #ffffff;
    color: #000000;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 
        transform 0.22s cubic-bezier(.4,0,.2,1),
        box-shadow 0.22s cubic-bezier(.4,0,.2,1);
    box-shadow: 8px 8px 0 0 #bbb;
    position: relative;
}

.sidebar-section button:active {
    transform: translate(6px, 6px);
    box-shadow: none;
}

.sidebar-section button:hover {
    background: #ffffff;
    transform: translate(8px, 8px);
    box-shadow: none;
}

.main-content {
    flex: 1;
    padding: 40px 0 0 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
}

/* Projects 페이지용 중앙 정렬 스타일 */
.main-content.projects-page {
    text-align: center;
    align-items: center;
}

#content-area {
    width: 100%;
    transition: opacity 0.3s ease-in-out;
}

.sidebar-nav ul ul.submenu {
    display: none;
    margin-left: 0;
    list-style: none;
    background: none;
    border: none;
    padding-left: 0;
    position: static;
}

.sidebar-nav ul ul.submenu.open {
    display: block;
}

.sidebar-nav ul.submenu li {
    margin-bottom: 0;
    font-size: 0.97rem;
    padding: 3px 0 0px 12px;
}

@media (max-width: 900px) {
    .sidebar {
        width: 180px;
        padding: 18px 10px 18px 10px;
    }
    .main-content {
        padding: 20px 0 0 0;
    }
}

@media (max-width: 700px) {
    body {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1.5px solid #000;
        min-height: unset;
    }
    .main-content {
        padding: 10px 0 0 0;
    }
} 