@charset "UTF-8";

/* ==========================================================================
   Footer
   ========================================================================== */
#footer {
    background-color: #050505;
    color: #a1a1aa;
    padding: 100px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand {
    flex: 0 0 350px;
}

.footer-brand .logo {
    font-family: var(--font-en);
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.05em;
    margin-bottom: 20px;
}

.footer-brand {
    flex: 0 0 450px;
}

/* 카카오 프리미엄 컨택트 카드 */
.kakao-card {
    background: linear-gradient(145deg, #111, #080808);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.kakao-card:hover {
    transform: translateY(-5px);
    border-color: rgba(254, 229, 0, 0.2);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 255, 120, 0.1);
    padding: 6px 12px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.status-badge .dot {
    width: 6px;
    height: 6px;
    background-color: #00ff78;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff78;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.status-badge .text {
    font-size: 11px;
    font-weight: 700;
    color: #00ff78;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-title {
    font-size: 22px;
    line-height: 1.4;
    color: #fff;
    font-weight: 700;
    margin-bottom: 30px;
    word-break: keep-all;
}

.btn-kakao {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #FEE500;
    color: #000;
    width: 100%;
    height: 64px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(254, 229, 0, 0.1);
}

.btn-kakao i {
    font-size: 24px;
}

.btn-kakao:hover {
    background-color: #fff;
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(254, 229, 0, 0.2);
}

.contact-info {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.contact-time {
    font-size: 13px;
    color: #71717a;
    margin: 0;
}

.contact-info .badge {
    font-size: 11px;
    color: #a1a1aa;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 4px;
}

/* Kakao Floating Button */
.kakao-floating-btn {
    position: fixed; bottom: 80px; right: 30px;
    width: 60px; height: 60px;
    background-color: #FEE500;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 9998;
    box-shadow: 0 10px 25px rgba(254, 229, 0, 0.3);
    transition: 0.3s;
}
.kakao-floating-btn:hover { transform: scale(1.1); }
.icon-kakao { width: 30px; height: 30px; color: #000; }

.btn-pulse {
    position: absolute; width: 100%; height: 100%;
    background-color: #FEE500; border-radius: 50%;
    z-index: -1; animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Kakao Modal Layer */
.kakao-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); backdrop-filter: blur(5px);
    display: flex; align-items: center; justify-content: center;
    z-index: 100000; opacity: 0; visibility: hidden;
    transition: 0.3s;
}
.kakao-modal-overlay.active { opacity: 1; visibility: visible; }

.kakao-modal-content {
    position: relative; width: 90%; max-width: 450px;
    transform: translateY(30px); transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.kakao-modal-overlay.active .kakao-modal-content { transform: translateY(0); }

.modal-close-btn {
    position: absolute; top: -50px; right: 0;
    background: none; border: none; color: #fff;
    font-size: 40px; cursor: pointer; opacity: 0.7; transition: 0.3s;
}
.modal-close-btn:hover { opacity: 1; transform: rotate(90deg); }

.footer-nav {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
}

.footer-menu-col h3 {
    font-family: var(--font-en);
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-sub-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-sub-list li {
    margin-bottom: 12px;
}

.footer-sub-list a {
    font-size: 14px;
    color: #888;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-sub-list a:hover {
    color: var(--electric-blue);
    transform: translateX(3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    color: #71717a;
}

.footer-info {
    flex: 1;
}

.info-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.info-row .bar {
    width: 1px;
    height: 10px;
    background-color: rgba(255,255,255,0.1);
    margin: 0 5px;
}

.info-row a {
    color: inherit;
    transition: color 0.3s;
}

.info-row a:hover {
    color: #fff;
}

.footer-info .copyright {
    margin-top: 20px;
    color: #52525b;
    font-size: 12px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

@media (max-width: 991px) {
    .footer-top {
        flex-direction: column;
        gap: 50px;
    }
    
    .footer-brand {
        flex: auto;
        text-align: left;
    }

    .kakao-card {
        padding: 25px;
    }

    .card-title {
        font-size: 18px;
    }

    .btn-kakao {
        height: 56px;
        font-size: 16px;
    }

    .contact-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        text-align: center;
    }

    .info-row {
        justify-content: center;
        gap: 8px;
    }

    .info-row .bar {
        display: none;
    }

    .info-row span {
        width: 100%;
    }

    .kakao-floating-btn {
        bottom: 80px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .icon-kakao {
        width: 25px;
        height: 25px;
    }
}
