@charset "utf-8";

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}

body{
    background:#f4f4f4;
    color:#333;
    font-family:'맑은 고딕', sans-serif;
}

.wrap{
    width:1200px;
    margin:auto;
}

header{
    height:100px;
    background:#1d2530;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 40px;
}

.logo a{
    color:white;
    font-size:32px;
    font-weight:bold;

    transition:0.3s;
}

.logo a:hover{
    color:#66b3ff;
}

nav{
    position:relative;
}

.gnb{
    display:flex;
}

.gnb > li{
    width:180px;
    text-align:center;
    position:relative;
}

.gnb > li > a{
    display:block;
    height:60px;
    line-height:60px;
    color:white;
    font-size:18px;

    transition:all 0.25s ease;
}

.gnb > li:hover > a{
    background:#2d3a4d;
    color:#66b3ff;
}

.sub{
    position:absolute;
    width:100%;
    top:60px;
    left:0;
    opacity:0;
    visibility:hidden;
    transform:translateY(-10px);
    transition:all 0.3s ease;
    z-index:100;
}

.gnb > li:hover .sub{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.sub li a{
    display:block;
    height:45px;
    line-height:45px;
    background:#ffffff;
    border-bottom:1px solid #ddd;
    transition:all 0.2s ease;
}

.sub li a:hover{
    background:#e8edf5;
    padding-left:10px;
}

.slide{
    height:450px;
    background:linear-gradient(rgba(10,20,40,0.7),rgba(10,20,40,0.8));
    background-size:cover;
    background-position:center;
    display:flex;
    justify-content:center;
    align-items:center;
}

.slide_text{
    text-align:center;
    color:white;
}

.slide_text h1{
    font-size:64px;
    letter-spacing:2px;
    margin-bottom:20px;
}

.slide_text p{
    font-size:22px;
}

.intro{
    background:white;

    min-height:350px;

    display:flex;
    justify-content:center;
    align-items:center;

    padding:60px;
}

.intro_box{
    max-width:800px;
    text-align:center;
}

.intro_box h2{
    font-size:42px;
    margin-bottom:30px;
}

.intro_box p{
    font-size:18px;
    line-height:1.8;
    margin-bottom:20px;
}

.intro_box ul{
    margin-top:30px;
}

.intro_box li{
    font-size:18px;
    margin-bottom:15px;
}

footer{
    height:100px;
    background:#1d2530;
    color:white;
    display:flex;
    justify-content:center;
    align-items:center;
}

.about{
    background:#ffffff;
    padding:60px;
    min-height:700px;
}

.about h2{
    text-align:center;
    font-size:40px;
    margin-bottom:50px;
    color:#1d2530;
}

.profile{
    display:flex;
    align-items:center;
    gap:50px;
    padding:40px;
    margin-bottom:60px;
    background:#f8f9fb;
    border-radius:15px;
}

.profile_img img{
    width:220px;
    height:220px;
    border-radius:50%;
    object-fit:cover;
    border:4px solid #d9dfe8;
}

.profile_info{
    flex:1;
}

.profile_info p{
    font-size:18px;
    margin-bottom:15px;
    line-height:1.8;
}

.profile_info strong{
    display:inline-block;
    width:110px;
    color:#1d2530;
}

.history{
    margin-top:20px;
}

.history_item{
    display:flex;
    gap:30px;
    padding:25px 0;
    border-top:1px solid #dddddd;
}

.history_item:first-child{
    border-top:none;
}

.history_item img{
    width:180px;
    height:250px;
    object-fit:cover;
    border-radius:8px;
}

.history_text{
    flex:1;
}

.history_text h3{
    font-size:28px;
    margin-bottom:15px;
    color:#1d2530;
}

.history_text p{
    font-size:17px;
    line-height:1.8;
    color:#555555;
}

.history_item{
    transition:0.3s;
}

.history_item:hover{
    transform:translateY(-3px);
}

.profile_img img{
    transition:0.3s;
}

.profile_img img:hover{
    transform:scale(1.03);
}

.works{
    background:#fff;
    padding:60px;
}

.works h2{
    text-align:center;
    font-size:40px;
    margin-bottom:50px;
}

.work_category h3{
    font-size:30px;
    margin-bottom:30px;
    padding-left:15px;
    border-left:5px solid #1d2530;
}

.work_item{
    display:flex;
    gap:30px;
    margin-bottom:30px;
}

.work_item img{
    width:250px;
    height:180px;
    object-fit:cover;
    border-radius:10px;
}

.work_text{
    flex:1;
}

.work_text h4{
    font-size:24px;
    margin-bottom:15px;
}

.work_text p{
    line-height:1.8;
}

model-viewer{
    width:100%;
    height:500px;
    background:#f4f4f4;
    border:1px solid #ddd;
    border-radius:10px;
}

.work_category{
    margin-bottom:80px;
    padding-bottom:60px;
    border-bottom:1px solid #dddddd;
}

.model_viewer{
    margin-bottom:100px;
    margin-top:30px;
}

.popup_img{
    cursor:pointer;
    transition:0.3s;
}

.popup_img:hover{
    transform:scale(1.03);
}

.modal{
    display:none;
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.85);
    z-index:9999;
}

.modal_content{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%, -50%);
    max-width:90%;
    max-height:90%;
    border-radius:10px;
}

.close{
    position:absolute;
    top:20px;
    right:40px;
    color:white;
    font-size:50px;
    font-weight:bold;
    cursor:pointer;
}

.worklog{
    width: 1200px;
    margin: 0 auto;
    padding: 50px 0;
}

.worklog h2{
    text-align: center;
    font-size: 32px;
    margin-bottom: 15px;
}

.worklog_desc{
    text-align: center;
    color: #666;
    line-height: 1.8;
    margin-bottom: 50px;
}

.worklog_item{
    border: 1px solid #ddd;
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    background: #fff;
}

.worklog_item summary{
    list-style: none;
    cursor: pointer;
    padding: 25px 30px;
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8f8f8;
}

.worklog_item summary::after{
    content: "▼";
    margin-left: auto;
    transition: .3s;
}

.worklog_item[open] summary::after{
    transform: rotate(180deg);
}

.worklog_item summary span{
    color: #4a7cff;
}

.worklog_content{
    display: flex;
    gap: 40px;
    padding: 30px;
}

.worklog_content img{
    width: 350px;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

.worklog_text{
    flex: 1;
}

.worklog_text .date{
    color: #888;
    margin-bottom: 15px;
}

.worklog_text p{
    line-height: 1.8;
}

.game_wrap > summary.game_title {
    list-style: none;
    cursor: pointer;
}
.game_wrap > summary.game_title::-webkit-details-marker {
    display: none;
}

.game_analysis{
    width:1200px;
    margin:0 auto;
    padding:50px 0;
}

.game_analysis h2{
    text-align:center;
    font-size:32px;
    margin-bottom:15px;
}

.analysis_desc{
    text-align:center;
    color:#666;
    line-height:1.8;
    margin-bottom:50px;
}

.game_wrap{
    border:1px solid #ddd;
    border-radius:15px;
    overflow:hidden;
    background:#fff;
    margin-bottom:30px;
}

.game_wrap > summary{
    list-style:none;
    cursor:pointer;
    padding:30px;
    background:#f8f8f8;
}

.game_wrap > summary::after{
    content:"▼";
    float:right;
    transition:.3s;
    font-size:20px;
}

.game_wrap[open] > summary::after{
    transform:rotate(180deg);
}

.game_title h3{
    font-size:30px;
    margin-bottom:10px;
    color:#222;
}

.game_title p{
    color:#666;
    line-height:1.6;
}

.game_content{
    padding:30px;
}

.analysis_item{
    border:1px solid #ddd;
    border-radius:12px;
    overflow:hidden;
    margin-bottom:25px;
    background:#fff;
}

.analysis_item summary{
    list-style:none;
    cursor:pointer;
    padding:22px 28px;
    background:#f8f8f8;
    display:flex;
    align-items:center;
    gap:15px;
    font-size:22px;
    font-weight:bold;
}

.worklog_item summary::-webkit-details-marker,
.game_wrap>summary::-webkit-details-marker,
.analysis_item summary::-webkit-details-marker{
    display:none;
}

.analysis_item summary::after{
    content:"▼";
    margin-left:auto;
    transition:.3s;
}

.analysis_item[open] summary::after{
    transform:rotate(180deg);
}

.analysis_item summary span{
    color:#4a7cff;
}

.analysis_content{
    display:flex;
    gap:35px;
    padding:30px;
    border-top:1px solid #eee;
}

.analysis_content:first-of-type{
    border-top:none;
}

.analysis_image img{
    width:350px;
    height:250px;
    object-fit:contain;
    border-radius:10px;
    cursor:pointer;
    transition:.3s;
}

.analysis_image img:hover{
    transform:scale(1.03);
}

.analysis_text{
    flex:1;
}

.analysis_text h4{
    font-size:25px;
    margin-bottom:15px;
    color:#222;
}

.analysis_text p{
    line-height:1.9;
    margin-bottom:12px;
    color:#555;
}

.analysis_item > h2{
    text-align:center;
    font-size:28px !important;
    margin:30px 0 10px;
    color:#333;
}