/* Footer Styles */
.site-footer {
    background: #000;
    color: #fff;
    padding: 25px 0 20px;
    margin-top: 0;
}

/* Footer Main Content - 한 줄 레이아웃 */
.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

/* Footer Logo */
.footer-logo-section {
    flex: 0 0 auto;
}

.footer-logo h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.footer-logo img {
    max-height: 40px;
    width: auto;
}

/* Footer Menu with Kakao Icon */
.footer-menu-section {
    flex: 1;
    display: flex;
    justify-content: center;
}

.footer-navigation {
    display: flex;
}

.footer-menu-with-social {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.footer-menu li {
    margin: 0;
}

.footer-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.footer-menu a:hover {
    color: #f8f9fa;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Kakao Icon */
.footer-kakao-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.footer-kakao-link:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.1);
}

.footer-kakao-link svg {
    width: 24px;
    height: 24px;
}

/* Footer Info - 두 줄 고정 */
.footer-info {
    margin-bottom: 15px;
}

.company-info {
    text-align: center;
}

.company-line1 {
    font-size: 0.9rem;
    font-weight: normal;
    margin: 0 0 8px 0;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.company-line2 {
    font-size: 0.9rem;
    color: #f8f9fa;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.contact-phone a,
.contact-email a {
    color: #f8f9fa;
    text-decoration: none;
    transition: color 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.contact-phone a:hover,
.contact-email a:hover {
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.contact-divider {
    margin: 0 10px;
    color: #dee2e6;
}

.company-divider {
    margin: 0 10px;
    color: #dee2e6;
}

/* Footer Bottom - 한 줄 고정 */
.footer-bottom {
    padding-top: 15px;
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    text-align: center;
}

.copyright-text {
    font-size: 0.85rem;
    color: #e9ecef;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.footer-bottom-content a {
    color: #e9ecef;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.footer-bottom-content a:hover {
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.footer-divider {
    color: #ced4da;
    margin: 0 10px;
    font-size: 0.85rem;
}

/* Fixed Action Buttons */
.fixed-action-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

/* Kakao Contact Button */
.fixed-kakao-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background: #FEE500;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.fixed-kakao-btn:hover {
    background: #F5DC00;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.fixed-kakao-btn svg {
    width: 24px;
    height: 24px;
}

/* Scroll To Top Button */
.scroll-to-top {
    position: absolute !important;
    bottom: 58px !important; /* PC에서 카카오 버튼과 간격 조정 */
    right: 0 !important;
    width: 50px !important;
    height: 50px !important;
    background: #fff !important;
    color: #333 !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    padding: 0 !important;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.scroll-to-top svg {
    width: 50px;
    height: 50px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-footer {
        padding: 18px 0 18px;
    }
    
    .footer-main {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        margin-bottom: 8px;
        padding-bottom: 8px;
    }
    
    .footer-menu-with-social {
        gap: 20px;
        justify-content: center;
    }
    
    .footer-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .footer-menu a {
        font-size: 0.9rem;
    }
    
    .footer-kakao-link {
        width: 36px;
        height: 36px;
    }
    
    .footer-kakao-link svg {
        width: 20px;
        height: 20px;
    }
    
    .footer-bottom-content {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .fixed-action-buttons {
        bottom: 80px; /* 퀵 컨택트 버튼 위에 배치 */
        right: 20px;
    }
    
    .fixed-kakao-btn {
        bottom: 0;
        right: 0;
        width: 45px;
        height: 45px;
    }
    
    .fixed-kakao-btn svg {
        width: 22px;
        height: 22px;
    }
    
    .scroll-to-top {
        bottom: 50px !important; /* 모바일에서 더 가깝게 */
        right: 0 !important;
        width: 45px !important;
        height: 45px !important;
    }
    
    .scroll-to-top svg {
        width: 45px !important;
        height: 45px !important;
    }
}

@media (max-width: 480px) {
    .footer-menu-with-social {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-menu {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-menu a {
        font-size: 0.85rem;
    }
    
    .footer-kakao-link {
        width: 32px;
        height: 32px;
    }
    
    .footer-kakao-link svg {
        width: 18px;
        height: 18px;
    }
    
    .company-line1,
    .company-line2 {
        font-size: 0.8rem;
    }
    
    .company-line2 {
        flex-direction: column;
        gap: 5px;
    }
    
    .contact-divider {
        display: none;
    }
    
    .copyright-text,
    .footer-bottom-content a {
        font-size: 0.8rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 4px;
    }
    
    .footer-divider {
        display: none;
    }
    
    /* 모바일에서는 세로 배치 */
    .footer-bottom-content {
        line-height: 1.5;
    }
    
    /* 작은 모바일에서 고정 액션 버튼 위치 조정 */
    .fixed-action-buttons {
        bottom: 70px; /* 퀵 컨택트 버튼 위에 더 가깝게 배치 */
        right: 15px;
    }
    
    .fixed-kakao-btn {
        bottom: 0;
        right: 0;
        width: 42px;
        height: 42px;
    }
    
    .fixed-kakao-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .scroll-to-top {
        bottom: 47px !important; /* 작은 모바일에서 더 가깝게 */
        right: 0 !important;
        width: 42px !important;
        height: 42px !important;
    }
    
    .scroll-to-top svg {
        width: 42px !important;
        height: 42px !important;
    }
} 