/* =========================
   RESET
========================= */

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

body{
    font-family:'Noto Sans KR',sans-serif;
    line-height:1.6;
    color:#333;
    background:#fafafa;
}

a{
    text-decoration:none;
}

/* =========================
   HEADER
========================= */

header{
    position:sticky;
    top:0;
    z-index:1000;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px 50px;

    background:#fff;
    box-shadow:0 3px 12px rgba(0,0,0,.08);
}

.logo{
    font-size:28px;
    font-weight:700;
    color:#a67c52;
    letter-spacing:1px;
}

/* =========================
   PC MENU
========================= */

nav{
    display:flex;
    align-items:center;
    gap:42px;      /* 메뉴 간격 (36~50px 정도 추천) */
}

nav a{
    display:flex;
    align-items:center;
    gap:8px;

    margin-left:0;
    color:#333;
    font-weight:500;

    transition:.25s;
}

nav a i{
    font-size:15px;
    color:#a67c52;
}

nav a:hover{
    color:#a67c52;
}

nav a.active{
    color:#a67c52;
    font-weight:700;
}

/* =========================
   HAMBURGER
========================= */

.hamburger{
    display:none;
    flex-direction:column;
    justify-content:space-between;

    width:28px;
    height:20px;
    cursor:pointer;
}

.hamburger span{
    display:block;
    height:3px;
    border-radius:20px;
    background:#333;
    transition:.3s;
}

/* =========================
   MOBILE
========================= */

@media (max-width:768px){

    header{
        padding:18px 24px;
    }

    .logo{
        font-size:24px;
    }

    nav{
        display:none;
    }

    .hamburger{
        display:flex;
    }

    nav.active{

        display:flex !important;
        flex-direction:column;

        position:absolute;
        top:74px;
        right:20px;

        width:220px;

        background:#fff;
        border-radius:14px;

        padding:12px;

        box-shadow:
        0 10px 35px rgba(0,0,0,.12);

        gap:4px;
    }

    nav.active a{

        width:100%;
        margin-left:0;

        display:flex;
        align-items:center;
        gap:14px;

        padding:14px 16px;

        border-radius:10px;

        color:#444;
        font-size:16px;
        font-weight:500;

        transition:.25s;
    }

    nav.active a i{

        width:22px;
        text-align:center;

        color:#a67c52;
        font-size:18px;
    }

    nav.active a:hover{

        background:#f6f2ee;
        color:#a67c52;
        transform:translateX(4px);
    }

    nav.active a.active{

        background:#a67c52;
        color:#fff;
        font-weight:700;
    }

    nav.active a.active i{
        color:#fff;
    }

}