﻿/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 82px;
    background-color: var(--main);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.header .inner {
    max-width: 1900px;
    height: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 38px;
    width: auto;
}

.gnb ul {
    display: flex;
    gap: 50px;
}

.gnb a {
    font-size: var(--fs-body);
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s;
}

.gnb a:hover {
    color: #ff6b35;
}

.gnb-tel-box {
    display: none;
}

.util {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-consult {
    display: inline-block;
    padding: 10px 24px;
    background-color: #ff6b35;
    color: #fff;
    font-size: var(--fs-small);
    font-weight: 700;
    border-radius: 50px;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.btn-consult:hover {
    background-color: #e55a2b;
}

.util-line {
    display: block;
    width: 1px;
    height: 34px;
    background-color: rgba(255, 255, 255, 0.3);
}

.tel-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.tel-box .label {
    font-size: var(--fs-small);
    color: #fff;
    margin-bottom: 2px;
    font-weight: 700;
}

.tel-box .number {
    font-size: var(--fs-small);
    color: #fff;
    font-weight: 700;
}

.btn-menu {
    display: none;
}

@media (max-width: 1200px) {
    .gnb ul {
        gap: 30px;
    }
}

@media screen and (max-width: 1024px) {



    .header {
        height: 60px;
    }

    .logo img {
        height: 28px;
    }

    .header .inner {
        padding: 0 20px;
    }

    .gnb {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--main);
        padding-top: 80px;
        transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        z-index: 999;
        border-bottom: none;
    }

    .gnb-tel-box {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 40px 20px 60px 20px;
        background-color: rgba(0, 0, 0, 0.2);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .gnb-tel-box .label {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.6);
        margin-bottom: 5px;
    }

    .gnb-tel-box .number {
        font-size: 24px;
        color: #fff;
        font-weight: 700;
        text-decoration: none;
        letter-spacing: -0.5px;
    }

    .gnb.active {
        right: 0;
    }

    .gnb ul {
        flex-direction: column;
        gap: 0;
        text-align: left;
        padding: 0 40px;
    }

    .gnb li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .gnb a {
        display: block;
        padding: 25px 0;
        font-size: 20px;
        font-weight: 700;
        opacity: 0;
        transform: translateY(20px);
        transition: 0.4s;
    }

    .gnb.active a {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.2s;
    }

    .util {
        margin-left: auto;
        margin-right: 15px;
        gap: 10px;
    }

    .btn-consult {
        padding: 8px 16px;
        font-size: 13px;
    }

    .util-line,
    .tel-box {
        display: none;
    }

    .btn-menu {
        display: block;
        width: 30px;
        height: 30px;
        position: relative;
        cursor: pointer;
        z-index: 1001;
    }

    .btn-menu span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #fff;
        transition: 0.3s;
    }

    .btn-menu span:nth-child(1) {
        top: 6px;
    }

    .btn-menu span:nth-child(2) {
        top: 14px;
    }

    .btn-menu span:nth-child(3) {
        top: 22px;
    }

    .btn-menu.active span:nth-child(1) {
        top: 14px;
        transform: rotate(45deg);
    }

    .btn-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .btn-menu.active span:nth-child(3) {
        top: 14px;
        transform: rotate(-45deg);
    }
}

/* Footer */
#footer {
    background-color: var(--sub);
    color: #fff;
    line-height: 1.5;
    padding: 25px 0;
    box-sizing: border-box;
}

.footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.footer-top {
    padding-bottom: 25px;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
}

.footer-line {
    width: 100%;
    height: 1px;
    background-color: #d7d9dc66;
    margin-bottom: 20px;
}

.footer-bottom {
    display: flex;
    align-items: flex-start;
}

.footer-logo-area {
    padding-right: 60px;
    margin-right: 60px;
    border-right: 1px solid #d7d9dc66;
    box-sizing: border-box;
    height: 188px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-logo-area img {
    max-width: 100%;
    height: auto;
    display: block;
}

.footer-info-area {
    flex: 1;
}

.info-row {
    margin-bottom: 15px;
}

.title-row {
    color: #fff;
    font-size: var(--fs-body);
    font-weight: 500;
    margin-bottom: 30px;
}

.title-row .bar {
    margin: 0 20px;
    color: #D7D9DC;
    font-size: 12px;
}

.details p {
    margin: 12px 0;
    font-size: 14px;
}

.oner {
    font-size: 14px;
}

.copyright p {
    font-size: 14px;
    color: #fff;
    margin-top: 18px;
    opacity: 0.65;
}

@media (max-width: 991px) {
    .footer-bottom {
        flex-direction: column;
    }

    .footer-logo-area {
        width: 100%;
        height: auto;
        margin-right: 0;
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid #d7d9dc66;
        margin-bottom: 30px;
        padding-bottom: 5px;
        align-items: flex-start;
    }

    .footer-logo-area img {
        max-width: 150px;
    }

    .footer-links {
        gap: 20px;
        margin-bottom: 10px;
    }

    .title-row {
        margin-bottom: 20px;
    }

    .title-row .bar {
        margin: 0 10px;
    }

    .footer-top {
        padding-bottom: 0px;
    }

    .details p {
        margin: 0px;
    }
}

/* Quick Menu */
.quick-menu-container {
    position: fixed;
    bottom: 90px;
    right: 50px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 1;
    visibility: visible;
}

.quick-menu-container.hide-on-mobile {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.quick-item {
    display: flex;
    align-items: center;
    width: 55px;
    height: 55px;
    border-radius: 30px;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-color: #fff;
    white-space: nowrap;
}

.quick-item .icon-box {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quick-item .icon-box img {
    display: block;
    transition: transform 0.3s;
}

.quick-item .text {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    padding-right: 25px;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.quick-item:hover {
    width: 230px;
}

.quick-item.wide-text:hover {
    width: 230px;
}

.wide-text .text {
    color: #fff !important;
}

.quick-item:hover .text {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.1s;
}

.quick-item.youtube {
    background-color: #ED1C24;
}

.quick-item.cafe {
    background-color: #02C73C;
}

.quick-item.kakao {
    background-color: #EDBE00;
}

.quick-item.kakao .text {
    color: #381E1F;
    font-weight: 500 !important;
}

.quick-item.orange {
    background-color: #EDBE00;
}

.wide-text2 {
    color: #381E1F !important;
}

@media screen and (max-width: 1024px) {
    .quick-menu-container {
        right: 20px;
        bottom: 220px;
    }

}

@media screen and (max-width: 768px) {

    .quick-item {
        width: 45px;
        height: 45px;
        border-radius: 25px;
    }

    .quick-item .icon-box {
        width: 45px;
        height: 45px;
    }

    .quick-item .icon-box img {
        transform: scale(0.75);
    }

    .quick-item:hover,
    .quick-item:active {
        width: 190px;
    }

    .quick-item.wide-text:hover,
    .quick-item.wide-text:active {
        width: 230px;
    }

    .quick-item .text {
        font-size: 12px;
        padding-right: 15px;
    }

    .quick-menu-container {
        bottom: 100px;
    }
}