/* 사이트맵 모달 스타일 */
.sitemap-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease-in-out;
}

.sitemap-modal-content {
    position: relative;
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease-out;
}

.sitemap-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 2px solid #f0f0f0;
    background-color: #fff;
    border-radius: 10px 10px 0 0;
}

.sitemap-header h3 {
    margin: 0;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    font-size: 28px;
    color: #aaa;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    color: #333;
    background-color: #f0f0f0;
}

.sitemap-content {
    padding: 20px 30px 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.sitemap-section h4 {
    color: #2c5aa0;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #e3f2fd;
}

.sitemap-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-section li {
    margin-bottom: 8px;
}

.sitemap-section a {
    display: block;
    color: #555;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.sitemap-section a:hover {
    background-color: #f5f5f5;
    color: #2c5aa0;
    transform: translateX(5px);
}

/* 애니메이션 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .sitemap-modal-content {
        margin: 10% auto;
        width: 95%;
        max-height: 85vh;
    }
    
    .sitemap-header {
        padding: 15px 20px;
    }
    
    .sitemap-header h3 {
        font-size: 20px;
    }
    
    .sitemap-content {
        padding: 15px 20px 20px;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sitemap-section h4 {
        font-size: 16px;
    }
    
    .sitemap-section a {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .sitemap-modal-content {
        margin: 5% auto;
        width: 98%;
        max-height: 90vh;
    }
    
    .sitemap-header {
        padding: 12px 15px;
    }
    
    .sitemap-content {
        padding: 12px 15px 15px;
        gap: 15px;
    }
}
