@charset "UTF-8";

body {
    padding-top: 87px;
    margin: 0;
}

/* header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 50px;
    cursor: pointer;
}

/* NAV */
.nav {
    display: flex;
    gap: 40px;
}

.nav a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.2px;
    color: #333;
    position: relative;
    transition: all 0.25s ease;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: #333;
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.nav a:hover {
    color: #111;
}

.nav a:hover::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-box {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.25s ease;
}

.user-box img {
    width: 18px;
    height: 18px;
    filter: brightness(0.4);
}

.user-box:hover {
    background: #fff;
    border-color: rgba(0,0,0,0.3);
}

/* DROPDOWN */
.mega-dropdown {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.header:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 40px;
}

.mega-img {
    width: 310px;
    height: 180px;
    overflow: hidden;
}

.mega-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.mega-section {
    display: flex;
    flex-direction: column;
    gap: 1px;
    align-items: flex-start;
}

.mega-section .title {
    font-size: 13px;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 22px;
    padding-left: 10px;
}

.mega-section a {
    display: inline-block;
    font-size: 15px;
    color: #333;
    text-decoration: none;

    padding: 5px 12px;
    border-radius: 10px;

    transition: all 0.25s ease;
}

.mega-section a:hover {
    background: #eaecf0;
}


/* HAMBURGER */
.hamburger {
    display: none;
    cursor: pointer;
    position: relative;
    z-index: 3000;
}

.menu-icon {
    display: block;
    width: 22px;
    height: 22px;
    background: url("../images/menu.png") no-repeat center / contain;
    transition: 0.2s;
}

/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: #fff;
    z-index: 2000;
    transition: right 0.35s ease;
}

.mobile-menu.active {
    right: 0;
}

.mobile-inner {
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* CLOSE BUTTON */
.menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3001;
    cursor: pointer;
}

.close-icon {
    display: block;
    width: 20px;
    height: 20px;
    background: url("../images/close.png") no-repeat center / contain;
}

/* LINK (HOME / LOGIN) */
.mobile-link {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 12px 0;

    font-size: 16px;
    font-weight: 600;
    color: #000;
    text-decoration: none;

    border-bottom: 1px solid #eee;
}

.mobile-link.login {
    border: none;
}

/* ACCORDION */
.mobile-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.mobile-title {
    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 16px;
    font-weight: 600;
    padding: 12px 0;

    cursor: pointer;
}

.mobile-sub {
    max-height: 0;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    gap: 10px;

    transition: max-height 0.35s ease;
}

.mobile-item.active .mobile-sub {
    max-height: 300px;
    padding-top: 6px;
}

.mobile-sub a {
    font-size: 14px;
    color: #555;
    text-decoration: none;
    padding: 6px 0;
    transition: 0.2s;
}

.mobile-sub a:hover {
    color: #000;
}

/* ARROW */
.arrow {
    width: 10px;
    height: 10px;
    margin-left: 10px;

    border-right: 2px solid #333;
    border-bottom: 2px solid #333;

    transform: rotate(45deg);
    transition: 0.3s;
}

.mobile-item.active .arrow {
    transform: rotate(-135deg);
}




/* footer */
.footer {
    background: #111;
    color: #ccc;
    padding: 80px 20px 40px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* LEFT */
.footer-col.left .logo {
    font-size: 22px;
    color: #fff;
    font-weight: 700;
}

.footer-col.left .desc {
    margin-top: 10px;
    font-size: 14px;
    color: #aaa;
    line-height: 1.6;
    max-width: 280px;
}

/* MIDDLE */
.middle .info-box {
    margin-bottom: 18px;
}

.middle .title {
    font-size: 12px;
    letter-spacing: 2px;
    color: #888;
}

.middle .desc {
    font-size: 13px;
    color: #ccc;
    margin-top: 4px;
}

/* RIGHT */
.right .links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.right .links a {
    color: #aaa;
    font-size: 14px;
}

.right .links a:hover {
    color: #fff;
}

.right .sns {
    display: flex;
    gap: 12px;
}

.right .sns a {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.right .sns img {
    width: 16px;
    height: 16px;
    opacity: 0.8;
}

/* BOTTOM */
.footer-bottom {
    margin-top: 60px;
    font-size: 12px;
    color: #666;
}




@media (max-width: 1024px) {

    body {
        padding-top: 75px;
    }

    .header-inner {
        padding: 14px 16px;
    }

    .nav {
        gap: 24px;
    }

    .logo img {
        height: 44px;
    }

    .mega-inner {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
    }

    .mega-img {
        display: none;
    }

    /* footer */
    .footer {
        padding: 60px 20px 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-col.left {
        grid-column: span 2;
    }

    .footer-col.left .desc {
        max-width: 100%;
    }
}


@media (max-width: 768px) {

    body {
        padding-top: 65px;
    }

    .header-inner {
        flex-wrap: wrap;
        gap: 10px;
    }

    .nav {
        display: none;
    }

    .user-box span {
        display: none;
    }

    .user-box {
        padding: 6px 10px;
    }

    .mega-dropdown {
        display: none;
    }

    .logo img {
        height: 40px;
    }

    .hamburger {
        display: flex;
    }

    .mega-dropdown {
        display: none;
    }

    /* footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-col {
        text-align: left;
    }

    .footer-col.left .logo {
        font-size: 20px;
    }

    .footer-col.left .desc {
        font-size: 13px;
    }

    .middle .info-box {
        margin-bottom: 14px;
    }

    .right .links {
        flex-direction: row;
        gap: 16px;
        flex-wrap: wrap;
    }

    .right .links a {
        font-size: 13px;
    }

    .right .sns {
        margin-top: 10px;
    }

    .footer-bottom {
        margin-top: 40px;
        text-align: center;
    }
}

@media (max-width: 480px) {

    .header-inner {
        padding: 12px 14px;
    }

    .logo img {
        height: 36px;
    }

    .user-box {
        padding: 6px 8px;
        font-size: 12px;
    }

    /* footer */
    .footer {
        padding: 50px 16px 24px;
    }

    .footer-col.left .logo {
        font-size: 18px;
    }

    .footer-col.left .desc {
        font-size: 12px;
        line-height: 1.5;
    }

    .middle .title {
        font-size: 11px;
    }

    .middle .desc {
        font-size: 12px;
    }

    .right .links {
        gap: 12px;
    }

    .right .sns a {
        width: 30px;
        height: 30px;
    }

    .right .sns img {
        width: 14px;
        height: 14px;
    }

    .footer-bottom {
        font-size: 11px;
    }
}
