@charset "UTF-8";

/* ===================================================
   [Premium Mobile Overlay & Hamburger - Ultra V4 Rev8]
   - Perfect Right Drawer (80% Width, 20% Clear Left Gap)
   - Extra Large Typography for Maximum Impact
   - Refined Spacing & Quick Access Layout
=================================================== */

@media screen and (max-width: 1024px) {
    .h_side {
        z-index: 100001 !important;
    }

    /* 햄버거 버튼 디자인 */
    /* [V4.5] 프리미엄 메뉴 버튼 리디자인 */
    .hamburger-premium {
        background: rgba(0, 71, 153, 0.05) !important;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        cursor: pointer;
        display: flex !important;
        flex-direction: row !important; /* 가로 배치 */
        align-items: center !important;
        gap: 8px !important;
        padding: 6px 14px 6px 10px !important;
        border-radius: 50px !important;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
        width: auto !important; /* 자동 너비 */
        height: 38px !important;
        position: relative;
        box-shadow: 0 2px 10px rgba(0,0,0,0.03) !important;
    }

    /* 햄버거 라인 박스 */
    .burger-box {
        display: flex;
        flex-direction: column;
        gap: 4px;
        width: 18px;
    }

    .hamburger-premium .h-line {
        height: 2px;
        background-color: #000;
        transition: all 0.4s ease;
        border-radius: 10px;
        display: block;
    }

    .hamburger-premium .h-line:nth-child(1) { width: 100%; }
    .hamburger-premium .h-line:nth-child(2) { width: 100%; }
    .hamburger-premium .h-line:nth-child(3) { width: 100%; }

    /* MENU 텍스트 */
    .burger-txt {
        font-size: 13px !important;
        font-weight: 800 !important;
        color: #000 !important;
        letter-spacing: 0.5px !important;
        font-family: 'Outfit', sans-serif !important;
        line-height: 1 !important;
        text-transform: uppercase;
        margin-top: 1px;
    }

    /* [상태] 스크롤 시 (Header Shrink) */
    .fixed_header .header_wrap.shrink .hamburger-premium {
        background: rgba(255, 255, 255, 0.1) !important;
        border-color: rgba(255, 255, 255, 0.2) !important;
    }
    .fixed_header .header_wrap.shrink .hamburger-premium .h-line,
    .fixed_header .header_wrap.shrink .burger-txt {
        background-color: #fff;
        color: #fff !important;
    }

    /* [상태] 메뉴 열림 (Open) */
    .hamburger-premium.open {
        background: #fff !important;
        border-color: #fff !important;
        z-index: 100002 !important;
    }
    .hamburger-premium.open .burger-txt {
        color: #000 !important;
    }
    .hamburger-premium.open .h-line {
        background-color: #000 !important;
    }

    .hamburger-premium.open .h-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .hamburger-premium.open .h-line:nth-child(2) { opacity: 0; transform: translateX(10px); }
    .hamburger-premium.open .h-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    /* 프리미엄 오버레이 - 전체 영역을 잡되 배경은 투명하게 (바깥 클릭용) */
    .overlay-premium {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 100010;
        visibility: hidden;
        pointer-events: none;
        background: transparent !important; /* 전체 배경 투명 */
        transition: visibility 0.5s;
    }

    .overlay-premium.open {
        visibility: visible;
        pointer-events: auto;
    }

    /* 배경 감쇠(Dim) 및 블러 완전 제거 - 바깥 사이트 100% 투명하게 노출 */
    .overlay-premium::before {
        display: none !important;
    }
    .overlay-premium {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* 실제 메뉴함 (Drawer) - 우측 75% 배치 (좌측 25% 완전 개방) */
    .drawer-inner {
        position: absolute;
        top: 0;
        right: 0;
        left: auto !important;
        width: 75% !important; /* 조금 더 여유 있게 25% 확보 */
        height: 100%;
        background: #000000 !important;
        display: flex;
        flex-direction: column;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
        box-shadow: -20px 0 50px rgba(0,0,0,1);
        pointer-events: auto;
    }

    .overlay-premium.open .drawer-inner {
        transform: translateX(0);
    }

    /* 오버레이 헤더 - 간격 압축 */
    .overlay-header {
        width: 100%;
        height: 60px; /* 더 줄임 */
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
        box-sizing: border-box;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .overlay-header .overlay-logo {
        height: 20px;
        filter: brightness(0) invert(1);
    }

    .overlay-close-btn {
        background: none;
        border: none;
        color: #fff !important;
        font-size: 28px;
        cursor: pointer;
        padding: 5px;
    }

    /* 메뉴 컨텐츠 - 압도적 타이포그래피 및 간격 최적화 */
    .overlay-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 20px 25px; /* 상단 여백 줄임 */
        overflow-y: auto;
    }

    .overlay-menu-list {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100%;
    }

    .overlay-menu-list li {
        margin-bottom: 20px !important; /* 버튼 간격 조정 */
        opacity: 0;
        transform: translateX(30px);
        transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    }

    .overlay-premium.open .overlay-menu-list li {
        opacity: 1;
        transform: translateX(0);
    }

    /* 순차적 등장 */
    .overlay-menu-list li:nth-child(1) { transition-delay: 0.1s; }
    .overlay-menu-list li:nth-child(2) { transition-delay: 0.15s; }
    .overlay-menu-list li:nth-child(3) { transition-delay: 0.2s; }
    .overlay-menu-list li:nth-child(4) { transition-delay: 0.25s; }
    .overlay-menu-list li:nth-child(5) { transition-delay: 0.3s; }
    .overlay-menu-list li:nth-child(6) { transition-delay: 0.35s; }

    /* GNB 메뉴 - 프리미엄 버튼형 디자인 */
    .overlay-premium .overlay-menu-list li a.menu-link {
        display: flex !important;
        align-items: center !important;
        gap: 15px !important;
        background: #111111 !important; /* 버튼 배경 */
        padding: 12px 18px !important;
        border-radius: 8px !important;
        text-decoration: none !important;
        border: 1px solid #222222 !important;
        transition: all 0.3s ease !important;
    }

    .overlay-premium .overlay-menu-list li a.menu-link:active {
        background: #222 !important;
        transform: scale(0.98) !important;
    }

    .overlay-premium .overlay-menu-list li a.menu-link span.num {
        font-size: 14px !important; 
        font-family: 'Outfit', sans-serif !important;
        color: #00E5FF !important; 
        font-weight: 700 !important;
        opacity: 0.7;
    }

    .overlay-premium .overlay-menu-list li a.menu-link span.txt {
        font-size: 26px !important; /* 세련된 사이즈로 축소 */
        font-weight: 850 !important;
        color: #FFFFFF !important;
        letter-spacing: -1px !important; 
        line-height: 1.2 !important; 
        text-transform: uppercase;
    }

    /* 전화 버튼 모바일 최적화 (로고 사이즈에 맞춰 정밀 축소 + 색상 복구) */
    .premium-call-btn {
        padding: 3px 10px 3px 3.5px !important;
        gap: 6px !important;
        background: linear-gradient(135deg, #004799, #002e66) !important;
        box-shadow: 0 2px 8px rgba(0, 46, 102, 0.25) !important;
        border-radius: 30px !important;
        height: 26px !important; 
        align-items: center !important;
        border: none !important;
    }
    .premium-call-btn .call-icon {
        width: 19px !important;
        height: 19px !important;
        background: #fff !important;
        color: #004799 !important; /* 아이콘은 파랑, 배경은 흰색 (시인성) */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .premium-call-btn .call-icon i {
        font-size: 9px !important;
        color: #004799 !important;
    }
    .premium-call-btn .call-text .number {
        font-size: 13.5px !important;
        font-weight: 850 !important;
        color: #FFFFFF !important; /* 번호 색상 화이트로 강제 */
        letter-spacing: -0.3px !important;
        line-height: 1 !important;
    }
    .premium-call-btn .call-text .label {
        display: none !important;
    }

    /* 하단 푸터 */
    .overlay-footer {
        padding: 25px;
        background: rgba(255,255,255,0.03);
        opacity: 0;
        transition: opacity 0.5s ease 0.4s;
    }

    .overlay-premium.open .overlay-footer {
        opacity: 1;
    }

    .footer-call {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        height: 50px;
        background: #004799; /* 브랜드 파란색 */
        color: #fff !important;
        text-decoration: none;
        border-radius: 8px;
        font-weight: 700;
        font-size: 15px;
        margin-bottom: 12px;
        transition: transform 0.2s, background 0.2s;
        box-shadow: 0 4px 15px rgba(0, 71, 153, 0.2);
    }
    .footer-call:active {
        transform: scale(0.98);
        background: #003a7d;
    }
    .footer-call i {
        font-size: 16px;
    }

    .footer-kakao {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        height: 50px;
        background: #FEE500;
        color: #000 !important;
        text-decoration: none;
        border-radius: 8px;
        font-weight: 700;
        font-size: 15px;
        margin-bottom: 20px;
        transition: transform 0.2s;
    }
    .footer-kakao:active {
        transform: scale(0.98);
    }
    .footer-kakao i {
        font-size: 18px;
    }

    .footer-msg {
        color: rgba(255,255,255,0.4);
        font-size: 11px;
        font-weight: 500;
        letter-spacing: 1px;
        text-align: center;
    }
}

/* PC 격리 */
@media screen and (min-width: 1025px) {
    .overlay-premium, .hamburger-premium {
        display: none !important;
    }
}
