@font-face {
    font-family: 'Cormorant';
    src: url('cormorant/Cormorant-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Cormorant';
    src: url('cormorant/Cormorant-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Cormorant';
    src: url('cormorant/Cormorant-Italic.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Cormorant';
    src: url('cormorant/Cormorant-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

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

body {
    background-color: #FFFFFF;
    font-family: 'Cormorant', serif;
    color: #000;
    font-size: 14px;
    line-height: 1.4;
}

/* Home Page Specific */
.home-body {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.emblem {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.emblem img {
    height: 22px; /* 20% 키움 */
    width: auto;
    display: block;
}

.container {
    text-align: center;
}

.main-menu ul {
    list-style: none;
}

.main-menu li {
    margin: 20px 0;
}

.main-menu a {
    text-decoration: none;
    color: #000;
    font-size: 2.7rem;
    display: flex;
    align-items: baseline;
    transition: opacity 0.3s ease;
}

.main-menu a:hover {
    opacity: 0.5;
}

.num {
    font-family: 'Cormorant', serif;
    font-size: 1.2rem;
    margin-right: 1.5rem;
    font-style: italic;
    font-weight: 300;
    opacity: 0.5;
}

/* Header / Top Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    display: flex;
    padding: 0 20px;
    align-items: center;
    border-bottom: 1px solid #000;
    background: #fff;
    z-index: 1000;
}

.header > div {
    flex: 1;
}

.header .center {
    flex: 2;
}

.header a {
    text-decoration: none;
    color: inherit;
    font-family: 'Cormorant', serif;
    font-weight: bold;
}

.header > div {
    flex: 1;
}

.header .center {
    flex: 2;
}

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

/* Main Layout */
.main-content {
    display: flex;
    margin-top: 40px;
    min-height: calc(100vh - 40px);
}

/* Left Sidebar (List View) */
.sidebar {
    width: 30%;
    border-right: 1px solid #000;
    padding: 0; /* 패딩 제거 후 내부 요소에서 조절 */
    display: flex;
    flex-direction: column;
}

.sidebar-top {
    padding: 20px;
    border-bottom: 1px solid #000;
}

.info-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.info-item {
    flex: 1;
}

.info-label {
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

.info-text {
    font-size: 12px;
    line-height: 1.5;
    color: #666;
}

.sidebar-list-area {
    padding: 20px;
}

.sidebar-header {
    display: flex;
    font-weight: bold;
    border-bottom: 1px solid #000;
    padding-bottom: 8px;
    margin-bottom: 0;
    font-size: 12px;
}

.col-client { width: 30%; }
.col-project { width: 50%; }
.col-year { width: 20%; text-align: right; }

.list-item {
    display: flex;
    padding: 6px 0;
    border-bottom: 1px dotted #ccc;
    cursor: pointer;
    font-size: 12px;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif; /* 리스트는 가독성을 위해 샌즈세리프 */
}

.list-item:hover {
    background-color: #f0f0f0;
}


/* Right Content (Gallery View) */
.gallery {
    width: 70%;
    padding: 0;
}

.gallery-item {
    width: 100%;
    border-bottom: 1px solid #000;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
}

.gallery-header span {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.gallery-image-container {
    width: 100%;
    padding: 60px 10%;
    background-color: #f9f9f9;
}

.gallery-image-container img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 30%;
    height: 30px;
    border-top: 1px solid #000;
    background: #fff;
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-size: 11px;
}

/* Contact Page */
.contact-body {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f8; /* 약간 더 부드러운 배경색 */
}

.contact-container {
    text-align: center;
}

.contact-section {
    margin-bottom: 40px;
}

.contact-label {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: #000;
    margin-bottom: 25px;
    font-weight: 500;
}

.contact-info {
    font-family: 'Cormorant', serif;
    font-size: 2.2rem;
    margin: 5px 0;
    font-weight: 300;
}

.social-list {
    list-style: none;
    padding: 0;
}

.social-list li {
    margin: 10px 0;
}

.social-list a {
    font-family: 'Cormorant', serif;
    font-size: 2.2rem;
    text-decoration: none;
    color: #000;
    font-weight: 300;
    transition: opacity 0.2s;
}

.social-list a:hover {
    opacity: 0.5;
}

/* Mobile */
@media (max-width: 1024px) {
    .main-content {
        flex-direction: column;
    }
    .sidebar, .gallery {
        width: 100%;
        border-right: none;
    }
    .footer {
        width: 100%;
    }
}
